]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
arm: Implement armv6 optimized string routines
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4dd4e157
AJ
12013-03-07 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4 bits/mman-linux.h.
5
adbb8027
SP
62013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7
ce544b5b
SP
8 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9 Include mpa.h and declare __MPEXP.
10 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
14 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17
4cc149fd
SP
18 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19 (__slowpow): Use long double EXPL and LOGL functions to
20 compute POW.
21 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27
e6ebd4a7
SP
28 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29 intermediate variable to calculate exponent.
30 (__sqr): Likewise.
31 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32 Likewise.
33 (__sqr): Likewise.
34
82a9811d
SP
35 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36 [!NO__SQR]: Define __sqr.
37 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38 and NO__SQR. Remove all code except __mul and __sqr. Include
39 sysdeps/ieee754/dbl-64/mpa.c.
40 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41
adbb8027
SP
42 [BZ #12723]
43 * posix/Makefile (tests): Add tst-pathconf.
44 * posix/tst-pathconf.c: New test case.
45 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46 _PC_PIPE_BUF.
47 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48
39120df9
PF
492013-03-06 Patsy Franklin <pfrankli@redhat.com>
50
51 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52
67525cb8
AJ
532013-03-06 Andreas Jaeger <aj@suse.de>
54
664a9ce4
AJ
55 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56 definition via __MAP_ANONYMOUS.
57
8e39047d
AJ
58 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59 it's not part of Linux headers.
60
67525cb8
AJ
61 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62 (MAP_HUGE_MASK): Define.
63
64 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65 Define.
66 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68 Define.
69 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
70 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
71 Define.
72 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
73 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
74 Define.
75 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
76
77 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
78 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
79 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
80 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
81 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
82 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
83
84 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85 Handle f2fs.
86
87 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88 Handle f2fs and efivarfs.
89
90 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
91 f2fs.
92
93 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
94 (EFIVARFS_MAGIC): Add.
95 (F2FS_LINK_MAX): Add.
96
e1b42695
PP
972013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
98
99 * stdio-common/vfprintf.c: Replace __builtin_expect with
100 __glibc_unlikely.
101
2d67d91a
JM
1022013-03-06 Joseph Myers <joseph@codesourcery.com>
103
104 [BZ #13550]
105 * sysdeps/generic/bp-sym.h: Remove file.
106 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
107 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
108 <bp-sym.h> and <bp-asm.h>.
109 (__longjmp): Don't use BP_SYM.
110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
111 and <bp-asm.h>.
112 (memcpy): Don't use BP_SYM.
113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
114 <bp-sym.h> and <bp-asm.h>.
115 (memcpy): Don't use BP_SYM.
116 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
117 <bp-asm.h>.
118 (memcpy): Don't use BP_SYM.
119 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
120 <bp-asm.h>.
121 (memset): Don't use BP_SYM.
122 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
123 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
124 (__bzero): Don't use BP_SYM.
125 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
126 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
127 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
128 <bp-sym.h> and <bp-asm.h>.
129 (memcmp): Don't use BP_SYM. Remove comment about bounded
130 pointers.
131 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (memcpy): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (memset): Don't use BP_SYM.
137 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
138 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
139 (__bzero): Don't use BP_SYM.
140 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
141 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
142 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
143 <bp-sym.h> and <bp-asm.h>.
144 (strncmp): Don't use BP_SYM. Remove comment about bounded
145 pointers.
146 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
147 <bp-sym.h> and <bp-asm.h>.
148 (memcpy): Don't use BP_SYM.
149 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
150 <bp-sym.h> and <bp-asm.h>.
151 (memset): Don't use BP_SYM.
152 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
153 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
154 (__bzero): Don't use BP_SYM.
155 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
156 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
157 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
158 <bp-sym.h> and <bp-asm.h>.
159 (__memchr): Don't use BP_SYM.
160 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
161 <bp-sym.h> and <bp-asm.h>.
162 (memcmp): Don't use BP_SYM. Remove comment about bounded
163 pointers.
164 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
165 <bp-sym.h> and <bp-asm.h>.
166 (memcpy): Don't use BP_SYM.
167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
168 <bp-sym.h> and <bp-asm.h>.
169 (__mempcpy): Don't use BP_SYM.
170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
171 <bp-sym.h> and <bp-asm.h>.
172 (__memrchr): Don't use BP_SYM.
173 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
174 <bp-sym.h> and <bp-asm.h>.
175 (memset): Don't use BP_SYM.
176 (__bzero): Likewise.
177 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
178 <bp-sym.h> and <bp-asm.h>.
179 (__rawmemchr): Don't use BP_SYM.
180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
181 <bp-sym.h> and <bp-asm.h>.
182 (__STRCMP): Don't use BP_SYM.
183 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
184 <bp-sym.h> and <bp-asm.h>.
185 (strchr): Don't use BP_SYM.
186 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
187 <bp-sym.h> and <bp-asm.h>.
188 (__strchrnul): Don't use BP_SYM.
189 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
190 <bp-sym.h> and <bp-asm.h>.
191 (strlen): Don't use BP_SYM.
192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
193 <bp-sym.h> and <bp-asm.h>.
194 (strncmp): Don't use BP_SYM. Remove comment about bounded
195 pointers.
196 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
197 <bp-sym.h> and <bp-asm.h>.
198 (__strnlen): Don't use BP_SYM.
199 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
200 <bp-sym.h> and <bp-asm.h>.
201 (__GI__setjmp): Don't use BP_SYM.
202 (_setjmp): Likewise.
203 (__sigsetjmp): Likewise.
204 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
205 (L(start_addresses)): Don't use BP_SYM.
206 (_start): Likewise.
207 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
208 <bp-asm.h>.
209 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
210 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
211 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
212 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
213 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
214 <bp-asm.h>.
215 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
216 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
217 about bounded pointers.
218 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
219 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
220 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
221 <bp-asm.h>.
222 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
223 about bounded pointers. Remove GKM FIXME comments.
224 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
225 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
226 <bp-asm.h>.
227 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
228 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
229 Remove GKM FIXME comments.
230 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
231 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
232 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
233 <bp-asm.h>.
234 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
235 about bounded pointers. Remove GKM FIXME comment.
236 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
237 and <bp-asm.h>.
238 (strncmp): Don't use BP_SYM. Remove comment about bounded
239 pointers.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
241 <bp-sym.h> and <bp-asm.h>.
242 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
244 <bp-sym.h> and <bp-asm.h>.
245 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
246 comment.
247
cdcf361f
PP
2482013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
249
250 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
251 call free(NULL).
252
3c4a2b15
DM
2532013-03-05 David S. Miller <davem@davemloft.net>
254
255 * po/es.po: Update from translation team.
256
cdcf361f 2572013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
258
259 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
260 <bits/mman-linux.h>.
261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
262 is fine.
263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
264 <bits/mman-linux.h> to end of file.
265 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
266 is fine.
267 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
268 <bits/mman-linux.h> to end of file.
269 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
270 is fine.
271 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
272 <bits/mman-linux.h> to end of file.
273
274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
275 (MCL_CURRENT, MCL_FUTURE): Define here.
276
5f67c04f
AK
2772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
278
8a4473cc 279 [BZ #15232]
5f67c04f
AK
280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
281 attribute_hidden.
282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
283
c3e94a95
AK
2842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
285
286 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
287 fourth parameter needed for rt_sigprocmask syscall.
288 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
289 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
290 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
291 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
292 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
293 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
294
cfb6382a
JM
2952013-03-04 Joseph Myers <joseph@codesourcery.com>
296
297 [BZ #13550]
298 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
299 comment about bounded pointers.
300 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
301 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
302
539d8e01
AJ
3032013-03-04 Andreas Jaeger <aj@suse.de>
304
305 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
306 common definitions.
307
308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
309 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
310 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
314
2e167a70 3152013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
316
317 [BZ #15055]
318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
319 __ieee754_sqrl instead of __sqrl.
320
68508633
JM
3212013-03-01 Joseph Myers <joseph@codesourcery.com>
322
323 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
324 * sysdeps/powerpc/fpu_control.h: ... here.
325 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
326 * sysdeps/powerpc/bits/fenvinline.h: ... here.
327 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
328 * sysdeps/powerpc/bits/mathinline.h: ... here.
329
7775448e
RM
3302013-03-01 Roland McGrath <roland@hack.frob.com>
331
332 * elf/dl-hwcaps.c (_dl_important_hwcaps):
333 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
334 to just [NEED_DL_SYSINFO_DSO].
335 * elf/dl-support.c: Likewise.
336 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
337 * elf/rtld.c (dl_main): Likewise.
338 * elf/setup-vdso.h (setup_vdso): Likewise.
339 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
340 * sysdeps/unix/sysv/linux/dl-sysdep.c
341 (_dl_discover_osversion): Likewise.
342
4e9b5995
CD
3432013-03-01 Carlos O'Donell <carlos@redhat.com>
344
345 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
346 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
347
e23872c8
SP
3482013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
349
e5c74c63
SP
350 * NEWS: Mention libm performance improvements and non-x86 PI
351 futex support.
352
e23872c8
SP
353 * csu/libc-start.c (__pthread_initialize_minimal): Change
354 function arguments.
355 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
356
b5510883
JM
3572013-02-28 Joseph Myers <joseph@codesourcery.com>
358
359 [BZ #13550]
360 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
361 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
362 <bp-sym.h> and <bp-asm.h>.
363 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
364 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
365 and <bp-asm.h>.
366 (memcpy): Don't use BP_SYM.
367 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
368 <bp-asm.h>.
369 (__mpn_add_n): Don't use BP_SYM.
370 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
371 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
372 and <bp-asm.h>.
373 (__mpn_addmul_1): Don't use BP_SYM.
374 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
375 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
376 <bp-sym.h>.
377 (_setjmp): Don't use BP_SYM.
378 (__novmx_setjmp): Likewise.
379 (__GI__setjmp): Likewise.
380 (__vmx_setjmp): Likewise.
381 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
382 <bp-sym.h>.
383 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
384 (__bzero): Don't use BP_SYM.
385 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
386 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
387 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
388 <bp-sym.h> and <bp-asm.h>.
389 (memcpy): Don't use BP_SYM.
390 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
391 <bp-sym.h> and <bp-asm.h>.
392 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
393 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
394 <bp-sym.h> and <bp-asm.h>.
395 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
396 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
397 <bp-asm.h>.
398 (__mpn_lshift): Don't use BP_SYM.
399 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
400 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
401 <bp-asm.h>.
402 (memset): Don't use BP_SYM.
403 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
404 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
405 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
406 <bp-asm.h>.
407 (__mpn_mul_1): Don't use BP_SYM.
408 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
410 <bp-sym.h> and <bp-asm.h>.
411 (memcmp): Don't use BP_SYM.
412 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
413 <bp-sym.h> and <bp-asm.h>.
414 (memcpy): Don't use BP_SYM.
415 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
416 <bp-sym.h> and <bp-asm.h>.
417 (memset): Don't use BP_SYM.
418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
419 <bp-sym.h> and <bp-asm.h>.
420 (strncmp): Don't use BP_SYM.
421 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
422 <bp-sym.h> and <bp-asm.h>.
423 (memcpy): Don't use BP_SYM.
424 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
425 <bp-sym.h> and <bp-asm.h>.
426 (memset): Don't use BP_SYM.
427 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
428 <bp-sym.h> and <bp-asm.h>.
429 (__memchr): Don't use BP_SYM.
430 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
431 <bp-sym.h> and <bp-asm.h>.
432 (memcmp): Don't use BP_SYM.
433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
434 <bp-sym.h> and <bp-asm.h>.
435 (memcpy): Don't use BP_SYM.
436 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
437 <bp-sym.h> and <bp-asm.h>.
438 (__mempcpy): Don't use BP_SYM.
439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
440 <bp-sym.h> and <bp-asm.h>.
441 (__memrchr): Don't use BP_SYM.
442 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
443 <bp-sym.h> and <bp-asm.h>.
444 (memset): Don't use BP_SYM.
445 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
446 <bp-sym.h> and <bp-asm.h>.
447 (__rawmemchr): Don't use BP_SYM.
448 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
449 <bp-sym.h> and <bp-asm.h>.
450 (__STRCMP): Don't use BP_SYM.
451 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
452 <bp-sym.h> and <bp-asm.h>.
453 (strchr): Don't use BP_SYM.
454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
455 <bp-sym.h> and <bp-asm.h>.
456 (__strchrnul): Don't use BP_SYM.
457 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
458 <bp-sym.h> and <bp-asm.h>.
459 (strlen): Don't use BP_SYM.
460 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
461 <bp-sym.h> and <bp-asm.h>.
462 (strncmp): Don't use BP_SYM.
463 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
464 <bp-sym.h> and <bp-asm.h>.
465 (__strnlen): Don't use BP_SYM.
466 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
467 <bp-asm.h>.
468 (__mpn_rshift): Don't use BP_SYM.
469 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
470 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
471 <bp-sym.h> and <bp-asm.h>.
472 (__sigsetjmp): Don't use BP_SYM.
473 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
474 (L(start_addresses)): Don't use BP_SYM.
475 (_start): Likewise.
476 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
477 <bp-asm.h>.
478 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
479 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
480 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
481 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
482 <bp-asm.h>.
483 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
484 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
485 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
486 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
487 <bp-asm.h>.
488 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
489 comments.
490 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
491 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
492 <bp-asm.h>.
493 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
494 FIXME comments.
495 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
496 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
497 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
498 <bp-asm.h>.
499 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
500 comment.
501 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
502 and <bp-asm.h>.
503 (strncmp): Don't use BP_SYM,
504 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
505 <bp-asm.h>.
506 (__mpn_sub_n): Don't use BP_SYM.
507 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
508 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
509 and <bp-asm.h>.
510 (__mpn_submul_1): Don't use BP_SYM.
511 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
513 <bp-sym.h> and <bp-asm.h>.
514 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
516 <bp-sym.h> and <bp-asm.h>.
517 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
518 comment.
519
8d19fe64
SP
5202013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
521
522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
523 Use ZK to minimize writes to Z.
524 (sub_magnitudes): Simplify code a bit.
525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
526 Use ZK to minimize writes to Z.
527 (sub_magnitudes): Simplify code a bit.
528
85bd816a
RM
5292013-02-27 Roland McGrath <roland@hack.frob.com>
530
531 * csu/gmon-start.c: Add special exception to license text.
532
b5977bf2
RH
5332013-02-27 Richard Henderson <rth@redhat.com>
534
535 * scripts/config.guess: Update from config.git.
536 * scripts/config.sub: Likewise.
537
11d6e2f2
SP
5382013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
539
09c14ed2
SP
540 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
541
a688864e
SP
542 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
543
6295157a
SP
544 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
545
b8de2202
SP
546 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
547
11d6e2f2
SP
548 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
549
7e80ddb8
RM
5502013-02-26 Roland McGrath <roland@hack.frob.com>
551
552 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
553 [$(build-shared = yes].
7e80ddb8 554
7da6d9ed
SP
5552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
556
45f05884
SP
557 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
558 (__mul): Reduce iterations for calculating mantissa.
559
2236d359
SP
560 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
561 MPTWO.
562 (__mpranred): Likewise.
563
7da6d9ed
SP
564 [BZ #15160]
565 * malloc/memusagestat.c (main): Draw graphs for heap and stack
566 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
567
b7688c42
PE
5682013-02-26 Paul Eggert <eggert@cs.ucla.edu>
569
570 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
571 Define __attribute__.
572
53a5c423
SP
5732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
574
575 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
576 unused.
577 * posix/regex_internal.h (__attribute): Remove.
578 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
579 (re_string_context_at): Likewise.
580 (bitset_not): Use __attribute__ and mark function as possibly
581 unused.
582 (bitset_merge): Likewise.
583 (bitset_mask): Likewise.
584 (re_string_char_size_at): Likewise.
585 (re_string_wchar_at): Likewise.
586 (re_string_elem_size_at): Likewise.
587
60f5a8b5
SP
5882013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
589
2a983a2e
SP
590 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
591 code.
592 (cc32): Likewise.
593
e69804d1
SP
594 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
595 (__acr): Likewise.
596 (__cpy): Likewise.
597 (norm): Likewise.
598 (denorm): Likewise.
599 (__dbl_mp): Likewise.
600 (add_magnitudes): Likewise.
601 (sub_magnitudes): Likewise.
602 (__mul): Likewise.
603 (__inv): Likewise.
604
2f22a1e8
SP
605 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
606 style.
607
8930ddc7
SP
608 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
609 style.
610
dc60cb11
SP
611 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
612 code.
613
60f5a8b5
SP
614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
615 up changes with default code.
616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
617 Likewise.
618
b4d1fd33
AM
6192013-02-24 Allan McRae <allan@archlinux.org>
620
faf6f8bc
AM
621 * manual/socket.texi (The Internet Namespace): Order menu items
622 to match that in the file.
623
b4d1fd33
AM
624 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
625 node listing of the info page menu.
626
2366713d
JM
6272013-02-21 Joseph Myers <joseph@codesourcery.com>
628
629 [BZ #13550]
630 * sysdeps/i386/bp-asm.h: Remove file.
631 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
632 (PARMS): Do not use macros from bp-asm.h.
633 (S1): Likewise.
634 (S2): Likewise.
635 (SIZE): Likewise.
636 (__mpn_add_n): Do not use BP_SYM
637 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
638 "bp-asm.h".
639 (PARMS): Do not use macros from bp-asm.h.
640 (S1): Likewise.
641 (SIZE): Likewise.
642 (__mpn_addmul_1): Do not use BP_SYM
643 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
644 "bp-asm.h".
645 (PARMS): Do not use macros from bp-asm.h.
646 (SIGMSK): Likewise.
647 (_setjmp): Likewise. Do not use BP_SYM.
648 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
649 "bp-asm.h".
650 (PARMS): Do not use macros from bp-asm.h.
651 (SIGMSK): Likewise.
652 (setjmp): Likewise. Do not use BP_SYM.
653 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
654 "bp-asm.h".
655 (PARMS): Do not use macros from bp-asm.h.
656 (__frexp): Do not use BP_SYM.
657 (frexp): Likewise.
658 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
659 "bp-asm.h".
660 (PARMS): Do not use macros from bp-asm.h.
661 (__frexpf): Do not use BP_SYM.
662 (frexpf): Likewise.
663 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
664 "bp-asm.h".
665 (PARMS): Do not use macros from bp-asm.h.
666 (__frexpl): Do not use BP_SYM.
667 (frexpl): Likewise.
668 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
669 "bp-asm.h".
670 (PARMS): Do not use macros from bp-asm.h.
671 (__remquo): Do not use BP_SYM.
672 (remquo): Likewise.
673 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
674 "bp-asm.h".
675 (PARMS): Do not use macros from bp-asm.h.
676 (__remquof): Do not use BP_SYM.
677 (remquof): Likewise.
678 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
679 "bp-asm.h".
680 (PARMS): Do not use macros from bp-asm.h.
681 (__remquol): Do not use BP_SYM.
682 (remquol): Likewise.
683 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
684 "bp-asm.h".
685 (PARMS): Do not use macros from bp-asm.h.
686 (DEST): Likewise.
687 (SRC): Likewise.
688 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
689 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
690 "bp-asm.h".
691 (PARMS): Do not use macros from bp-asm.h.
692 (strlen): Do not use BP_SYM.
693 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
694 "bp-asm.h".
695 (PARMS): Do not use macros from bp-asm.h.
696 (S1): Likewise.
697 (S2): Likewise.
698 (SIZE): Likewise.
699 (__mpn_add_n): Do not use BP_SYM.
700 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
701 "bp-asm.h".
702 (PARMS): Do not use macros from bp-asm.h.
703 (S1): Likewise.
704 (SIZE): Likewise.
705 (__mpn_addmul_1): Do not use BP_SYM.
706 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
707 weak_alias.
708 (bzero): Likewise.
709 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
710 "bp-asm.h".
711 (PARMS): Do not use macros from bp-asm.h.
712 (S): Likewise.
713 (SIZE): Likewise.
714 (__mpn_lshift): Do not use BP_SYM.
715 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
716 "bp-asm.h".
717 (PARMS): Do not use macros from bp-asm.h.
718 (DEST): Likewise.
719 (SRC): Likewise.
720 (LEN): Likewise.
721 (memcpy): Likewise. Do not use BP_SYM.
722 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
723 libc_hidden_def and weak_alias.
724 (mempcpy): Do not use BP_SYM in weak_alias.
725 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
726 "bp-asm.h".
727 (PARMS): Do not use macros from bp-asm.h.
728 (DEST): Likewise.
729 (LEN): Likewise.
730 [!BZERO_P] (CHR): Likewise.
731 (memset): Likewise. Do not use BP_SYM.
732 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
733 "bp-asm.h".
734 (PARMS): Do not use macros from bp-asm.h.
735 (S1): Likewise.
736 (SIZE): Likewise.
737 (__mpn_mul_1): Do not use BP_SYM.
738 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
739 "bp-asm.h".
740 (PARMS): Do not use macros from bp-asm.h.
741 (S): Likewise.
742 (SIZE): Likewise.
743 (__mpn_rshift): Do not use BP_SYM.
744 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
745 "bp-asm.h".
746 (PARMS): Do not use macros from bp-asm.h.
747 (STR): Likewise.
748 (CHR): Likewise.
749 (strchr): Likewise. Do not use BP_SYM.
750 (index): Do not use BP_SYM in weak_alias.
751 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
752 "bp-asm.h".
753 (PARMS): Do not use macros from bp-asm.h.
754 (DEST): Likewise.
755 (SRC): Likewise.
756 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
757 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
758 "bp-asm.h".
759 (PARMS): Do not use macros from bp-asm.h.
760 (strlen): Do not use BP_SYM.
761 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
762 "bp-asm.h".
763 (PARMS): Do not use macros from bp-asm.h.
764 (S1): Likewise.
765 (S2): Likewise.
766 (SIZE): Likewise.
767 (__mpn_sub_n): Do not use BP_SYM.
768 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
769 "bp-asm.h".
770 (PARMS): Do not use macros from bp-asm.h.
771 (S1): Likewise.
772 (SIZE): Likewise.
773 (__mpn_submul_1): Do not use BP_SYM.
774 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
775 "bp-asm.h".
776 (PARMS): Do not use macros from bp-asm.h.
777 (S1): Likewise.
778 (S2): Likewise.
779 (SIZE): Likewise.
780 (__mpn_add_n): Do not use BP_SYM.
781 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
782 weak_alias.
783 (bzero): Likewise.
784 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
785 "bp-asm.h".
786 (PARMS): Do not use macros from bp-asm.h.
787 (BLK2): Likewise.
788 (LEN): Likewise.
789 (memcmp): Do not use BP_SYM.
790 (bcmp): Do not use BP_SYM in weak_alias.
791 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
792 "bp-asm.h".
793 (PARMS): Do not use macros from bp-asm.h.
794 (DEST): Likewise.
795 (SRC): Likewise.
796 (LEN): Likewise.
797 (memcpy): Likewise. Do not use BP_SYM.
798 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
799 "bp-asm.h".
800 (PARMS): Do not use macros from bp-asm.h.
801 (DEST): Likewise.
802 (SRC): Likewise.
803 (LEN): Likewise.
804 (memmove): Likewise. Do not use BP_SYM.
805 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
806 "bp-asm.h".
807 (PARMS): Do not use macros from bp-asm.h.
808 (DEST): Likewise.
809 (SRC): Likewise.
810 (LEN): Likewise.
811 (__mempcpy): Likewise. Do not use BP_SYM.
812 (mempcpy): Do not use BP_SYM in weak_alias.
813 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
814 "bp-asm.h".
815 (PARMS): Do not use macros from bp-asm.h.
816 (DEST): Likewise.
817 (LEN): Likewise.
818 [!BZERO_P] (CHR): Likewise.
819 (memset): Likewise. Do not use BP_SYM.
820 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
821 "bp-asm.h".
822 (PARMS): Do not use macros from bp-asm.h.
823 (STR2): Likewise.
824 (strcmp): Do not use BP_SYM.
825 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
826 "bp-asm.h".
827 (PARMS): Do not use macros from bp-asm.h.
828 (STR): Likewise.
829 (DELIM): Likewise.
830 [USE_AS_STRTOK_R] (SAVE): Likewise.
831 (FUNCTION): Likewise. Do not use BP_SYM.
832 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
833 aliases.
834 (strtok_r): Likewise.
835 (__GI___strtok_r): Likewise.
836 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
837 (PARMS): Do not use macros from bp-asm.h.
838 (S): Likewise.
839 (SIZE): Likewise.
840 (__mpn_lshift): Do not use BP_SYM.
841 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
842 (PARMS): Do not use macros from bp-asm.h.
843 (STR): Likewise.
844 (CHR): Likewise.
845 (__memchr): Do not use BP_SYM.
846 (memchr): Do not use BP_SYM in weak_alias.
847 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
848 (PARMS): Do not use macros from bp-asm.h.
849 (BLK2): Likewise.
850 (LEN): Likewise.
851 (memcmp): Do not use BP_SYM.
852 (bcmp): Do not use BP_SYM in weak_alias.
853 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
854 (PARMS): Do not use macros from bp-asm.h.
855 (S1): Likewise.
856 (SIZE): Likewise.
857 (__mpn_mul_1): Do not use BP_SYM.
858 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
859 "bp-asm.h".
860 (PARMS): Do not use macros from bp-asm.h.
861 (STR): Likewise.
862 (CHR): Likewise.
863 (__rawmemchr): Do not use BP_SYM.
864 (rawmemchr): Do not use BP_SYM in weak_alias.
865 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
866 (PARMS): Do not use macros from bp-asm.h.
867 (S): Likewise.
868 (SIZE): Likewise.
869 (__mpn_rshift): Do not use BP_SYM.
870 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
871 (PARMS): Do not use macros from bp-asm.h.
872 (SIGMSK): Likewise.
873 (__sigsetjmp): Likewise. Do not use BP_SYM.
874 * sysdeps/i386/start.S: Do not include "bp-sym.h".
875 (_start): Do not use BP_SYM.
876 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
877 (PARMS): Do not use macros from bp-asm.h.
878 (DEST): Likewise.
879 (SRC): Likewise.
880 (__stpcpy): Likewise. Do not use BP_SYM.
881 (stpcpy): Do not use BP_SYM in weak_alias.
882 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
883 "bp-asm.h".
884 (PARMS): Do not use macros from bp-asm.h.
885 (DEST): Likewise.
886 (SRC): Likewise.
887 (LEN): Likewise.
888 (__stpncpy): Likewise. Do not use BP_SYM.
889 (stpncpy): Do not use BP_SYM in weak_alias.
890 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
891 (PARMS): Do not use macros from bp-asm.h.
892 (STR): Likewise.
893 (CHR): Likewise.
894 (strchr): Likewise. Do not use BP_SYM.
895 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
896 "bp-asm.h".
897 (PARMS): Do not use macros from bp-asm.h.
898 (STR): Likewise.
899 (CHR): Likewise.
900 (__strchrnul): Likewise. Do not use BP_SYM.
901 (strchrnul): Do not use BP_SYM in weak_alias.
902 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
903 "bp-asm.h".
904 (PARMS): Do not use macros from bp-asm.h.
905 (STOP): Likewise.
906 (strcspn): Do not use BP_SYM.
907 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
908 "bp-asm.h".
909 (PARMS): Do not use macros from bp-asm.h.
910 (STR): Likewise.
911 (STOP): Likewise.
912 (strpbrk): Likewise. Do not use BP_SYM.
913 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
914 "bp-asm.h".
915 (PARMS): Do not use macros from bp-asm.h.
916 (STR): Likewise.
917 (CHR): Likewise.
918 (strrchr): Likewise. Do not use BP_SYM.
919 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
920 (PARMS): Do not use macros from bp-asm.h.
921 (SKIP): Likewise.
922 (strspn): Do not use BP_SYM.
923 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
924 (PARMS): Do not use macros from bp-asm.h.
925 (STR): Likewise.
926 (DELIM): Likewise.
927 (SAVE): Likewise.
928 (FUNCTION): Likewise. Do not use BP_SYM.
929 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
930 aliases.
931 (strtok_r): Likewise.
932 (__GI___strtok_r): Likewise.
933 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
934 (PARMS): Do not use macros from bp-asm.h.
935 (S1): Likewise.
936 (S2): Likewise.
937 (SIZE): Likewise.
938 (__mpn_sub_n): Do not use BP_SYM.
939 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
940 "bp-asm.h".
941 (PARMS): Do not use macros from bp-asm.h.
942 (S1): Likewise.
943 (SIZE): Likewise.
944 (__mpn_submul_1): Do not use BP_SYM.
945 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
946 <bp-sym.h>.
947 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
948 and <bp-asm.h>.
949 (PARMS): Do not use macros from bp-asm.h.
950 (FLAGS): Likewise.
951 (PTID): Likewise.
952 (TLS): Likewise.
953 (CTID): Likewise.
954 (__clone): Do not use BP_SYM.
955 (clone): Do not use BP_SYM in weak_alias.
956 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
957 and <bp-asm.h>.
958 (PARMS): Do not use macros from bp-asm.h.
959 (LEN): Likewise.
960 (__mmap64): Do not use BP_SYM.
961 (mmap64): Do not use BP_SYM in weak_alias.
962 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
963 <bp-sym.h> and <bp-asm.h>.
964 (PARMS): Do not use macros from bp-asm.h.
965 (__posix_fadvise64_l64): Do not use BP_SYM.
966 * sysdeps/unix/sysv/linux/i386/semtimedop.S
967 (PARMS): Do not use macros from bp-asm.h.
968 (NSOPS): Likewise.
969 (semtimedop): Do not use BP_SYM.
970 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
971 and <bp-asm.h>.
972
582a3cff
AM
9732013-02-21 Allan McRae <allan@archlinux.org>
974
975 * manual/message.texi (Charset conversion in gettext):
976 Move @end statement to beginning of line.
977
bab8a695
SP
9782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
979
80945231
SP
980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
981 static.
982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
983 Likewise.
984
bab8a695
SP
985 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
986 (denorm): Likewise.
987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
989
e21d7aa7
AK
9902013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
991
992 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
993 tail-call to the resolved function if pltexit isn't needed.
994
4c7a4263
SP
9952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
996
997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
998 or Y being zero as being unlikely.
999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1000 Likewise.
1001
41f49342
CD
10022013-02-20 Carlos O'Donell <carlos@redhat.com>
1003
1004 * manual/nss.texi (System Databases and Name Service Switch):
1005 Remove frobnicate @pxref.
1006
50022a93
TS
10072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1008
1009 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1010 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1011
08cbd996
PM
10122013-02-20 Petr Machata <pmachata@redhat.com>
1013
1014 * elf/elf.h (R_ARM_TARGET1): New macro.
1015 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1016 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1017 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1018 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1019 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1020 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1021 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1022 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1023 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1024 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1025 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1026 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1027 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1028 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1029 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1030 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1031 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1032 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1033 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1034 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1035 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1036 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1037 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1038 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1039 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1040 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1041 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1042 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1043 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1044 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1045 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1046 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1047 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1048 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1049 (R_ARM_THM_GOT_BREL12): Likewise.
1050 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1051 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1052 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1053 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1054 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1055 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1056 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1057 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1058 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1059
c7b275d6
TS
10602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1061
1062 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1063 __attribute_used__ to __attribute__ ((unused)).
1064
20cd7fb3
SP
10652013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1066
1067 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1068 powerpc mpa.c.
1069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1070 comment formatting.
1071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1072
92945b52
JM
10732013-02-19 Joseph Myers <joseph@codesourcery.com>
1074
1075 [BZ #13550]
1076 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1077 Remove macro.
1078 (ENTER): Remove both macro definitions.
1079 (LEAVE): Likewise.
1080 (CHECK_BOUNDS_LOW): Likewise.
1081 (CHECK_BOUNDS_HIGH): Likewise.
1082 (CHECK_BOUNDS_BOTH): Likewise.
1083 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1084 (RETURN_BOUNDED_POINTER): Likewise.
1085 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1086 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1087 (POP_ERRNO_LOCATION_RETURN): Likewise.
1088 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1089 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1090 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1091 macros.
1092 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1093 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1094 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1095 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1096 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1097 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1098 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1099 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1100 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1101 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1102 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1103 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1104 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1105 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1106 removed macros.
1107 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1108 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1109 macros.
1110 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1111 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1112 * sysdeps/i386/i586/memset.S (memset): Likewise.
1113 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1114 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1115 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1116 macros.
1117 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1118 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1119 Change uses of L(2) to L(out).
1120 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1121 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1122 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1123 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1124 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1125 removed macros.
1126 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1127 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1128 macros.
1129 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1130 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1131 (RETURN): Do not use macro LEAVE.
1132 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1133 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1134 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1135 * sysdeps/i386/i686/memset.S (memset): Likewise.
1136 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1137 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1138 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1139 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1140 Likewise.
1141 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1142 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1143 L(1_2) and L(1_3) into L(1).
1144 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1145 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1146 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1147 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1148 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1149 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1150 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1151 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1152 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1153 macros.
1154 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1155 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1156 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1157 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1158 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1159 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1160 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1161 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1162 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1163 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1164 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1165 * sysdeps/i386/strspn.S (strspn): Likewise.
1166 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1167 conditional code.
1168 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1169 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1170 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1171 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1172 L(1_3) into L(1_1).
1173 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1174 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1175 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1176 macros.
1177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1178
2389741a
JJ
11792013-02-19 Jakub Jelinek <jakub@redhat.com>
1180
1181 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1182 macro.
1183
2016b3cd
SP
11842013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1185
e4f22324
SP
1186 * math/atest-exp.c (exp_mpn): Remove ROUND.
1187 * math/atest-exp2.c (exp_mpn): Likewise.
1188 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1189
2016b3cd
SP
1190 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1191 * stdlib/tst-tls-atexit-lib.c: Likewise.
1192 * stdlib/tst-tls-atexit.c: Likewise.
1193
4be9b544
MF
11942013-02-18 Mike Frysinger <vapier@gentoo.org>
1195
1196 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1197 and __attribute_alloc_size__.
1198
2f62b9ee
MF
11992013-02-18 Mike Frysinger <vapier@gentoo.org>
1200
1201 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1202 __attribute_alloc_size__.
1203 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1204 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1205
6ff444c4
MF
12062013-02-18 Mike Frysinger <vapier@gentoo.org>
1207
1208 * include/programs/xmalloc.h: New file.
1209 * catgets/gencat.c: Include it.
1210 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1211 * elf/pldd.c: Likewise.
1212 * iconv/iconv_charmap.c: Likewise.
1213 * iconv/iconvconfig.c: Likewise.
1214 * iconv/strtab.c: Likewise.
1215 * locale/programs/locale.c: Likewise.
1216 * locale/programs/localedef.h: Likewise.
1217 * locale/programs/simple-hash.c: Likewise.
1218 * nscd/nscd.h: Likewise.
1219 * nss/makedb.c: Likewise.
1220 * sysdeps/generic/ldconfig.h: Likewise.
1221
be179c8a
SP
12222013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1223
ba384f6e
SP
1224 * Versions.def: Add GLIBC_2.18.
1225 * include/link.h (struct link_map): New member l_tls_dtor_count.
1226 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1227 (__call_tls_dtors): Likewise.
1228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1229 __cxa_thread_atexit_impl.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1231 Likewise.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1233 Likewise.
1234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1235 Likewise.
1236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1237 Likewise.
1238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1240 Likewise.
1241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1245 Likewise.
1246 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1247 (tests): Add test case tst-tls-atexit.
1248 (modules-names): Add shared library for tst-tls-atexit.
1249 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1250 (GLIBC_PRIVATE): Add __call_tls_dtors.
1251 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1252 for libstdc++.
1253 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1254 * stdlib/tst-tls-atexit.c: New test case.
1255 * stdlib/tst-tls-atexit-lib.c: New test case.
1256
ffaa74cf 1257 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1258
be179c8a
SP
1259 * elf/Versions (ld): Add _dl_find_dso_for_object.
1260 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1261 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1262 (dl_open_worker): Use _dl_find_dso_for_object.
1263 * elf/dl-sym.c (do_sym): Likewise.
1264 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1265
f78b5caa
AK
12662013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1267
1268 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1269 Syntactic changes only.
1270 (_dl_runtime_profile): Do a tail-call to the resolved function.
1271
29691210
JM
12722013-02-17 Joseph Myers <joseph@codesourcery.com>
1273
1274 [BZ #13550]
1275 * sysdeps/x86_64/bp-asm.h: Remove file.
1276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1277 <bp-sym.h> and <bp-asm.h>.
1278 (__clone): Do not use BP_SYM.
1279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1280 <bp-sym.h> and <bp-asm.h>.
1281 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1282 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1283 "bp-asm.h".
1284 (_setjmp): Do not use BP_SYM.
1285 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1286 "bp-asm.h".
1287 (setjmp): Do not use BP_SYM.
1288 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1289 libc_hidden_def.
1290 (mempcpy): Do not use BP_SYM in weak_alias.
1291 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1292 "bp-asm.h".
1293 (strchr): Do not use BP_SYM.
1294 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1295 "bp-asm.h".
1296 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1297 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1298 (_start): Do not use BP_SYM.
1299 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1300 "bp-asm.h".
1301 (strcat): Do not use BP_SYM.
1302 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1303 "bp-asm.h".
1304 (STRCMP): Do not use BP_SYM.
1305 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1306 "bp-asm.h".
1307 (STRCPY): Do not use BP_SYM.
1308 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1309 "bp-asm.h".
1310 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1311 "bp-asm.h".
1312 (FUNCTION): Do not use BP_SYM.
1313 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1314 weak_alias.
1315 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1316
f238fd19
AJ
13172013-02-17 Andreas Jaeger <aj@suse.de>
1318
1319 * time/Versions: Sort entries.
1320 * string/Versions: Likewise.
1321 * resolv/Versions: Likewise.
1322 * posix/Versions: Likewise.
1323 * iconv/Versions: Likewise.
1324 * elf/Versions: Likewise.
1325 * wcsmbs/Versions: Likewise.
1326
bd07f23c 13272013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1328
22af19f9
SP
1329 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1330 loop termination condition.
1331
4709fe76
SP
1332 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1333 variable to calculate EZ.
1334 (__sqr): Likewise.
2d0e0f29
SP
1335
1336 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1337 the lower precision input.
1338
daaa7713
JM
13392013-02-15 Joseph Myers <joseph@codesourcery.com>
1340
1341 [BZ #13550]
1342 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1343 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1344 (run-via-rtld-prefix): Do not handle %-bp tests.
1345 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1346 (all-object-suffixes): Remove .ob.
1347 (bppfx): Remove variable.
1348 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1349 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1350 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1351 [$(build-bounded) = yes] (libtype.ob): Likewise.
1352 * Makerules (elide-routines.ob): Remove variable.
1353 (do-tests-clean): Do not handle *-bp.out.
1354 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1355 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1356 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1357 (tests): Do not include $(tests-bp.out).
1358 (xtests): Do not include $(xtests-bp.out).
1359 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1360 [$(build-bounded) = yes] ($(addprefix
1361 $(objpfx),$(binaries-bounded))): Remove rule.
1362 ($(objpfx)%-bp.out): Remove rule.
1363 * config.make.in (build-bounded): Remove variable.
1364 * crypt/Makefile [$(build-bounded) = yes]
1365 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1366 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1367 append to variable.
1368 [$(build-bounded) = yes] (install-lib): Likewise.
1369 [$(build-bounded) = yes] (generated): Likewise.
1370 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1371 Remove rule.
1372 * intl/Makefile [$(build-bounded) = yes]
1373 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1374 * math/Makefile [$(build-bounded) = yes]
1375 ($(tests:%=$(objpfx)%-bp): Likewise.
1376 * misc/Makefile [$(build-bounded) = yes]
1377 ($(objpfx)tst-tsearch-bp): Likewise.
1378 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1379 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1380 Remove dependency.
1381 * string/Makefile (o-objects.ob): Remove variable.
1382 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1383 (CFLAGS-.ob): Remove variable.
1384 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1385 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1386 both definitions of variable.
1387 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1388 (ASFLAGS-.ob): Remove variable.
1389
e97ed6dd
JM
13902013-02-14 Joseph Myers <joseph@codesourcery.com>
1391
2bdd4ca6
JM
1392 [BZ #13550]
1393 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1394 Remove __BOUNDED_POINTERS__ from condition.
1395 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1396 * string/bits/string2.h [!__NO_STRING_INLINES &&
1397 !__BOUNDED_POINTERS__]: Likewise.
1398 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1401 Remove conditional code.
1402 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1403 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1404 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1405 condition.
1406
e97ed6dd
JM
1407 [BZ #13550]
1408 * csu/libc-start.c: Do not include <bp-sym.h>.
1409 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1410 * elf/dl-open.c: Do not include <bp-sym.h>.
1411 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1412 * math/fegetenv.c: Do not include <bp-sym.h>.
1413 (fegetenv): Do not use BP_SYM in versioned symbols.
1414 * nptl/sysdeps/pthread/bits/libc-lockP.h
1415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1416 <bp-sym.h>.
1417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1418 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1420 (__pthread_mutex_destroy): Likewise.
1421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1422 (__pthread_mutex_lock): Likewise.
1423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1424 (__pthread_mutex_trylock): Likewise.
1425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1426 (__pthread_mutex_unlock): Likewise.
1427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1428 (__pthread_mutexattr_init): Likewise.
1429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1430 (__pthread_mutexattr_destroy): Likewise.
1431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1432 (__pthread_mutexattr_settype): Likewise.
1433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1434 (__pthread_rwlock_init): Likewise.
1435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1436 (__pthread_rwlock_destroy): Likewise.
1437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1438 (__pthread_rwlock_rdlock): Likewise.
1439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1440 (__pthread_rwlock_tryrdlock): Likewise.
1441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1442 (__pthread_rwlock_wrlock): Likewise.
1443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1444 (__pthread_rwlock_trywrlock): Likewise.
1445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1446 (__pthread_rwlock_unlock): Likewise.
1447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1448 (__pthread_key_create): Likewise.
1449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1450 (__pthread_setspecific): Likewise.
1451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1452 (__pthread_getspecific): Likewise.
1453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1454 Likewise.
1455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1456 (_pthread_cleanup_push_defer): Likewise.
1457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1458 (_pthread_cleanup_pop_restore): Likewise.
1459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1460 (pthread_setcancelstate): Likewise.
1461 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1462 <bp-sym.h>.
1463 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1464 (memchr): Do not use BP_SYM in weak_alias.
1465 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1466 (fegetenv): Do not use BP_SYM in versioned symbols.
1467 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1468 (fesetenv): Do not use BP_SYM in versioned symbols.
1469 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1470 (feupdateenv): Do not use BP_SYM in versioned symbols.
1471 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1472 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1473 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1474 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1475 (open64): Do not use BP_SYM in weak_alias.
1476 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1477 (fegetenv): Do not use BP_SYM in versioned symbols.
1478 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1479 (fesetenv): Do not use BP_SYM in versioned symbols.
1480 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1481 (feupdateenv): Do not use BP_SYM in versioned symbols.
1482 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1483 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1484 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1485 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1486 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1487 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1488 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1489 <bp-sym.h>.
1490 (__libc_start_main): Do not use BP_SYM.
1491
d6752ccd
SP
14922013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1493
cb57ce60
SP
1494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1495 redundant return line.
1496 (norm): Likewise.
1497 (denorm): Likewise.
1498 (dbl_mp): Likewise.
1499 (sub_magnitudes): Likewise.
1500 (__add): Likewise.
1501 (__sub): Likewise.
1502 (__mul): Likewise.
1503 (__inv): Likewise.
1504 (__dvd): Likewise.
1505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1506 (norm): Likewise.
1507 (denorm): Likewise.
1508 (dbl_mp): Likewise.
1509 (sub_magnitudes): Likewise.
1510 (__add): Likewise.
1511 (__sub): Likewise.
1512 (__mul): Likewise.
1513 (__inv): Likewise.
1514 (__dvd): Likewise.
1515
f414520d
SP
1516 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1517 instead of __mul.
1518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1519 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1520 (cc32): Likewise.
1521
d6752ccd
SP
1522 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1523 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1525 of __mul for squares.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1527 function
1528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1529 Likewise.
1530 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1531 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1532
70d9946a
JM
15332013-02-13 Joseph Myers <joseph@codesourcery.com>
1534
1535 [BZ #13550]
1536 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1537 code.
1538 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1539 prototype or function definition. Rename ubp_* variables and
1540 parameters. Remove argv definitions conditional on
1541 [__BOUNDED_POINTERS__].
1542 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1543 * elf/dl-runtime.c (_dl_fixup): Likewise.
1544 * include/set-hooks.h (RUN_HOOK): Likewise.
1545 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1546 definition.
1547 * string/strcpy.c (strcpy): Do not use __unbounded.
1548 * sysdeps/generic/frame.h (struct layout): Likewise.
1549 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1550 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1551 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1552 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1553 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1554 (__backtrace): Likewise.
1555 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1556 use __ptrvalue.
1557 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1558 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1559 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1560 Likewise.
1561 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1562 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1563 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1564 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1565 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1566 Do not use __unbounded.
1567 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1568 Rename __unboundedrlimits parameter to rlimits in prototype.
1569 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1570 Do not use __unbounded.
1571 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1572 not use __ptrvalue.
1573 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1574 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1575 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1576 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1577 __ptrvalue or __unbounded.
1578 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1579 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1580 use __unbounded.
1581 (__new_msgctl): Do not use __ptrvalue.
1582 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1583 __unbounded.
1584 (__libc_msgrcv): Do not use __ptrvalue.
1585 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1586 startup_info): Do not use __unbounded.
1587 (__libc_start_main): Likewise. Rename ubp_* variables and
1588 parameters. Remove argv definitions conditional on
1589 [__BOUNDED_POINTERS__].
1590 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1591 __ptrvalue.
1592 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1593 use __unbounded.
1594 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1595 or __ptrvalue.
1596 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1597 use __unbounded.
1598 (__new_shmctl): Do not use __ptrvalue.
1599 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1600 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1601 Likewise.
1602 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1604 (__libc_sigaction): Likewise.
1605 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1607 Likewise.
1608 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1609
cc7834d6
OB
16102013-02-13 Ondřej Bílka <neleai@seznam.cz>
1611
ffb1ec7b 1612 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1613
1614 * string/mempcpy.c: Implement by calling memcpy.
1615
bdf02814
SP
16162013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1617
c2af38aa
SP
1618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1619
4e92d59e
SP
1620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1621 evaluation.
1622
909279a5
SP
1623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1624 values in the mantissa.
1625
bdf02814
SP
1626 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1627 minimize writes to Z.
1628 (sub_magnitudes): Simplify code a bit.
1629
cd525923
RM
16302013-02-12 Roland McGrath <roland@hack.frob.com>
1631
1632 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1633 from the message. The linker prefixes all warnings with that already.
1634
7e2f0d2d
AS
16352013-02-12 Andreas Schwab <schwab@suse.de>
1636
a445af0b
AS
1637 [BZ #15078]
1638 * posix/regexec.c (extend_buffers): Add parameter min_len.
1639 (check_matching): Pass minimum needed length.
1640 (clean_state_log_if_needed): Likewise.
1641 (get_subexp): Likewise.
1642 * posix/Makefile (tests): Add bug-regex34.
1643 (bug-regex34-ENV): Define.
1644 * posix/bug-regex34.c: New file.
1645
7e2f0d2d
AS
1646 [BZ #11561]
1647 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1648 elements compare against the byte sequence of it, not its name.
1649 * posix/Makefile (tests): Add bug-regex35.
1650 (bug-regex35-ENV): Define.
1651 * posix/bug-regex35.c: New file.
1652
a175b684
TV
16532013-02-11 Tom de Vries <tom@codesourcery.com>
1654
1655 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1656 comment.
1657 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1658 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1659 (CHECK_EOL): Add undef.
1660
310998fe 16612013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1662
1663 * bits/stdlib-bsearch.h: New file.
1664 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1665 * stdlib/stdlib.h: Likewise.
41eda41d 1666
8ded91fb
RM
16672013-02-11 Roland McGrath <roland@hack.frob.com>
1668
1669 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1670 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1671 declaration.
1672 * manual/search.texi (Array Search Function): Add missing const in
1673 lfind prototype.
1674 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1675 declaration to use rlim_t.
1676 (Basic Scheduling Functions): Remove erroneous const from
1677 sched_getparam prototype. Remove erroneous * from
1678 sched_get_priority_max and sched_get_priority_min prototypes.
1679 (Resource Usage): Fix summary @comment on vtimes to refer to
1680 sys/vtimes.h rather than vtimes.h.
1681 Add missing *s in vtimes prototype.
1682 (Limits on Resources): Fix ulimit prototype to return long int.
1683 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1684 prototypes to use long int rather than double.
1685 (BSD Random): Fix initstate and setstate to use char *, not void *.
1686 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1687 prototype to make second argument 'struct aiocb64 *const[]'.
1688 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1689 (Status of AIO Operations): Remove erroneous const in aio_return and
1690 aio_return64 prototypes.
1691 (Synchronizing I/O): Fix sync prototype to return void.
1692 * manual/startup.texi (Suboptions): Remove an erroneous const in
1693 getsubopt prototype.
1694 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1695 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1696 use size_t rather than int.
1697 (Scanning All Users): Likewise for getpwent_r.
1698 (Setting Groups): Add missing const to setgroups prototype.
1699 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1700 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1701 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1702 'const void *' rather than 'const char *'.
1703 (Host Address Functions): Likewise for inet_ntop.
1704 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1705 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1706 ssize_t for return value.
1707 (Sending Data): Likewise for send, sendto, sendmsg.
1708 (Socket Option Functions): Add a missing const in setsockopt prototype.
1709 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1710 use wchar_t for the argument.
1711 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1712 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1713 take no arguments.
1714 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1715 double/float/long double for second argument.
1716 Fix return types of significand, significandf, significandl.
1717 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1718 argument in fchmod prototype.
1719 (File Owner): Use uid_t and gid_t in fchown prototype.
1720 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1721 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1722 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1723 use 'const struct dirent **' as argument types to CMP function pointer
1724 argument.
1725 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1726 (File Times): Fix summary magic @comment for struct utimbuf and utime
1727 to refer to utime.h, not time.h.
1728 * manual/string.texi (Argz Functions): Add missing const in
1729 argz_extract and argz_next prototypes.
1730 (Finding Tokens in a String): Likewise for basename.
1731 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1732 (Copying and Concatenation): Fix typo in wmemmove prototype.
1733 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1734 (Signal Stack): Remove erroneous const in sigstack prototype.
1735 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1736 prototype.
1737 (Simple Calendar Time): Likewise for stime.
1738 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1739 prototype.
1740 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1741 say sys/sysctl.h instead.
1742 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1743 and vsyslog prototypes.
1744
fe77fe6d
TV
17452013-02-11 Tom de Vries <tom@codesourcery.com>
1746
1747 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1748 Remove.
1749
3a09b620
RM
17502013-02-11 Roland McGrath <roland@hack.frob.com>
1751
1752 * misc/sys/mman.h: Fix typo in mremap comment.
1753
550a0b89
RM
17542013-02-08 Roland McGrath <roland@hack.frob.com>
1755
1756 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1757 the '\0' terminator.
1758
a2da1673
JM
17592013-02-08 Joseph Myers <joseph@codesourcery.com>
1760
1761 [BZ #13550]
1762 * debug/segfault.c: Don't include <bp-checks.h>.
1763 * sysdeps/generic/bp-checks.h: Remove file.
1764 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1765 (__GETDENTS): Don't use CHECK_N.
1766 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1767 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1768 (__getgroups): Don't use CHECK_N.
1769 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1770 (setgroups): Don't use CHECK_N.
1771 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1772 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1773 (__libc_msgrcv): Don't use CHECK_N.
1774 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1775 (__libc_msgsnd): Don't use CHECK_N.
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1777 <bp-checks.h>.
1778 (__libc_pread): Don't use CHECK_N.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1780 include <bp-checks.h>.
1781 (__libc_pread64): Don't use CHECK_N.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1783 include <bp-checks.h>.
1784 (__libc_pwrite): Don't use CHECK_N.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1786 include <bp-checks.h>.
1787 (__libc_pwrite64): Don't use CHECK_N.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1789 <bp-checks.h>.
1790 (__libc_pread): Don't use CHECK_N.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1792 include <bp-checks.h>.
1793 (__libc_pread64): Don't use CHECK_N.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1795 include <bp-checks.h>.
1796 (__libc_pwrite): Don't use CHECK_N.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1798 include <bp-checks.h>.
1799 (__libc_pwrite64): Don't use CHECK_N.
1800 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1801 (do_pread): Don't use CHECK_N.
1802 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1803 (do_pread64): Don't use CHECK_N.
1804 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1805 (do_pwrite): Don't use CHECK_N.
1806 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1807 (do_pwrite64): Don't use CHECK_N.
1808 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1809 (__libc_readv): Don't use CHECK_N.
1810 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1811 (semop): Don't use CHECK_N.
1812 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1813 <bp-checks.h>.
1814 (semtimedop): Don't use CHECK_N.
1815 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1816 (__libc_pread): Don't use CHECK_N.
1817 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1818 <bp-checks.h>.
1819 (__libc_pread64): Don't use CHECK_N.
1820 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1821 <bp-checks.h>.
1822 (__libc_pwrite): Don't use CHECK_N.
1823 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1824 <bp-checks.h>.
1825 (__libc_pwrite64): Don't use CHECK_N.
1826 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1827 <bp-checks.h>.
1828 (__libc_msgrcv): Don't use CHECK_N.
1829 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1830 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1831 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1832 (__libc_writev): Don't use CHECK_N.
1833
b84660a8
RM
18342013-02-08 Roland McGrath <roland@hack.frob.com>
1835
7f3e75f8
RM
1836 * string/strcpy.c: Removed unused variable.
1837
b84660a8
RM
1838 * Makeconfig (+sysdep-includes): Define with := rather than =.
1839 Use an existing include/ subdir of each sysdeps dir before it.
1840
471514d3
CD
18412013-02-08 Carlos O'Donell <carlos@redhat.com>
1842
1843 * nscd/connection.c (register_traced_file): Comment function.
1844 [HAVE_INOTIFY] (union __inev): Define.
1845 [HAVE_INOTIFY] (inotify_check_files): New function.
1846 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1847 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1848 clear_db_cache.
1849 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1850
b2d3c3be
CD
18512013-02-08 Carlos O'Donell <carlos@redhat.com>
1852
1853 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1854 loaded if not already and that a failure is permanent.
1855
b39949d2
CD
18562013-02-08 Carlos O'Donell <carlos@redhat.com>
1857
ddacd1db 1858 [BZ #15006]
b39949d2
CD
1859 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1860 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1861
b2c9eff4
JM
18622013-02-08 Joseph Myers <joseph@codesourcery.com>
1863
f3aae3f3
JM
1864 [BZ #13550]
1865 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1866 (CHECK_1_NULL_OK): Likewise.
1867 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1868 (__fxstat): Do not use CHECK_1.
1869 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1870 <bp-checks.h>.
1871 (___fxstat64): Do not use CHECK_1.
1872 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1873 <bp-checks.h>.
1874 (__fxstatat): Do not use CHECK_1.
1875 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1876 <bp-checks.h>.
1877 (__fxstatat64): Do not use CHECK_1.
1878 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1879 <bp-checks.h>.
1880 (__fxstat): Do not use CHECK_1.
1881 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1882 <bp-checks.h>.
1883 (__fxstatat): Do not use CHECK_1.
1884 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1885 <bp-checks.h>.
1886 (__getresgid): Do not use CHECK_1.
1887 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1888 <bp-checks.h>.
1889 (__getresuid): Do not use CHECK_1.
1890 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1891 <bp-checks.h>.
1892 (__lxstat): Do not use CHECK_1.
1893 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1894 <bp-checks.h>.
1895 (__old_msgctl): Do not use CHECK_1.
1896 (__new_msgctl): Likewise.
1897 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1898 <bp-checks.h>.
1899 (__new_setrlimit): Do not use CHECK_1.
1900 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1901 <bp-checks.h>.
1902 (__old_shmctl): Do not use CHECK_1.
1903 (__new_shmctl): Likewise.
1904 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1905 <bp-checks.h>.
1906 (__xstat): Do not use CHECK_1.
1907 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1908 (__lxstat): Do not use CHECK_1.
1909 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1910 <bp-checks.h>.
1911 (___lxstat64): Do not use CHECK_1.
1912 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1913 (__old_msgctl): Do not use CHECK_1.
1914 (__new_msgctl): Likewise.
1915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1916 <bp-checks.h>.
1917 (__gettimeofday): Do not use CHECK_1.
1918 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1919 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1920 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1921 <bp-checks.h>.
1922 (__gettimeofday): Do not use CHECK_1.
1923 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1924 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1925 (__new_shmctl): Do not use CHECK_1.
1926 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1927 <bp-checks.h>.
1928 (do_sigtimedwait): Do not use CHECK_1.
1929 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1930 <bp-checks.h>.
1931 (do_sigwaitinfo): Do not use CHECK_1.
1932 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1933 <bp-checks.h>.
1934 (msgctl): Do not use CHECK_1.
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1936 <bp-checks.h>.
1937 (shmctl): Do not use CHECK_1.
1938 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1939 (ustat): Do not use CHECK_1.
1940 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1941 <bp-checks.h>.
1942 (__fxstat): Do not use CHECK_1.
1943 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1944 <bp-checks.h>.
1945 (__fxstatat): Do not use CHECK_1.
1946 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1947 <bp-checks.h>.
1948 (__lxstat): Do not use CHECK_1.
1949 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1950 <bp-checks.h>.
1951 (__xstat): Do not use CHECK_1.
1952 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1953 (__xstat): Do not use CHECK_1.
1954 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1955 (___xstat64): Do not use CHECK_1.
1956
b2c9eff4
JM
1957 [BZ #13550]
1958 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1959 definitions.
1960 (CHECK_BOUNDS_HIGH): Likewise.
1961 * string/strcpy.c: Do not include <bp-checks.h>.
1962 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1963
f1d70dad
RM
19642013-02-07 Roland McGrath <roland@hack.frob.com>
1965
1966 * nscd/nscd-client.h (__nscd_drop_map_ref):
1967 Add __attribute__ ((unused)).
1968 * nis/nss-nisplus.h (niserr2nss): Likewise.
1969
1970 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1971 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1972
1973 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1974 Remove inline keyword.
1975 * include/rounding-mode.h (round_away): Likewise.
1976 * libio/wfileops.c (adjust_wide_data): Likewise.
1977 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1978 (__m128i_strloadu_tolower): Likewise.
1979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1980 (__m128i_strloadu_tolower): Likewise.
1981 * time/mktime.c (ydhms_diff): Likewise.
1982 * locale/elem-hash.h (elem_hash): Likewise.
1983 * locale/setlocale.c (setdata): Likewise.
1984 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1985 (re_string_wchar_at): Likewise.
1986 (bitset_not, bitset_merge, bitset_mask): Likewise.
1987 [!(__GNUC__ > 3)] (inline): Remove macro.
1988 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1989 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1990 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1991 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1992 * string/memcmp.c (memcmp_bytes): Likewise.
1993 * locale/programs/locarchive.c (compute_hashval): Likewise.
1994 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1995 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1996 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1997 * nss/getent.c (print_rpc, print_protocols): Likewise.
1998 (print_passwd, print_group, print_aliases): Likewise.
1999 * nis/nss-nisplus.h (niserr2nss): Likewise.
2000 * nscd/connections.c (restart_p): Likewise.
2001 Change return type to bool.
2002
eab55bfb
RM
20032013-02-05 Roland McGrath <roland@hack.frob.com>
2004
7bd642f5
RM
2005 * Makeconfig (all-Depend-files): Add existing
2006 $(sorted-subdirs:=/Depend) files.
2007 (all-subdirs): Remove nss.
2008 * sysdeps/unix/inet/Subdirs: Add it here instead.
2009 * hesiod/Depend: New file.
2010
573c29b2
RM
2011 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2012 instead of calling alloca.
2013
b2e25af0
RM
2014 * io/lseek.c (__lseek): Rename to __libc_lseek.
2015 Define __lseek as an alias.
2016
eab55bfb
RM
2017 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2018
9a0d1941
CD
20192013-02-04 Carlos O'Donell <carlos@redhat.com>
2020
2021 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2022 else clause and remove check for non-standard endianness.
2023
b83bbec4
DM
20242013-02-04 David S. Miller <davem@davemloft.net>
2025
2026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2027
6277fdab
JM
20282013-02-04 Joseph Myers <joseph@codesourcery.com>
2029
2030 [BZ #13550]
2031 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2032 (__ubp_memchr): Remove prototype.
2033 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2034 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2035 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2036 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2037 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2038 Remove alias.
2039 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2040 (__ubp_memchr): Likewise.
2041 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2042 (__ubp_memchr): Likewise.
2043 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2044 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2045 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2046 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2047 CHECK_STRING.
2048 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2049 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2050 (__getcwd): Do not use CHECK_STRING.
2051 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2052 <bp-checks.h>.
2053 (__real_chown): Do not use CHECK_STRING.
2054 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2055 <bp-checks.h>.
2056 (fchownat): Do not use CHECK_STRING.
2057 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2058 CHECK_STRING.
2059 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2060 <bp-checks.h>.
2061 (__lchown): Do not use CHECK_STRING.
2062 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2063 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2064 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2065 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2067 include <bp-checks.h>.
2068 (truncate64): Do not use CHECK_STRING.
2069 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2070 <bp-checks.h>.
2071 (__real_chown): Do not use CHECK_STRING.
2072 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2073 <bp-checks.h>.
2074 (__lchown): Do not use CHECK_STRING.
2075 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2076 <bp-checks.h>.
2077 (__chown): Do not use CHECK_STRING.
2078 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2079 <bp-checks.h>.
2080 (truncate64): Do not use CHECK_STRING.
2081 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2082 Likewise.
2083 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2084 (__xmknod): Do not use CHECK_STRING.
2085 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2086 <bp-checks.h>.
2087 (__xmknodat): Do not use CHECK_STRING.
2088 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2089 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2090
903ae060
AS
20912013-02-04 Andreas Schwab <schwab@suse.de>
2092
2093 [BZ #14142]
2094 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2095 * include/netdb.h: Likewise for h_errno.
2096 * elf/tst-stackguard1.c: Include <tls.h>.
2097
542f9466
JK
20982013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2099
2100 * elf/link.h (struct link_map): Extend the l_addr comment.
2101 * include/link.h (struct link_map): Likewise.
2102
e782a927
JM
21032013-02-01 Joseph Myers <joseph@codesourcery.com>
2104
2105 [BZ #13550]
2106 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2107 (BOUNDED_1): Remove macro.
2108 * debug/backtrace.c: Don't include <bp-checks.h>.
2109 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2110 (__backtrace): Likewise.
2111 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2112 <bp-checks.h>.
2113 (__backtrace): Don't use BOUNDED_1.
2114 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2115 <bp-checks.h>.
2116 (__backtrace): Don't use BOUNDED_1.
2117 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2118 (__backtrace): Don't use BOUNDED_1.
2119 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2120 (shmat): Don't use BOUNDED_N.
2121
8cf28c5e
JM
21222013-01-31 Joseph Myers <joseph@codesourcery.com>
2123
3a7ac8a0
JM
2124 [BZ #13550]
2125 * sysdeps/generic/bp-start.h: Remove file.
2126 * csu/libc-start.c: Don't include <bp-start.h>.
2127 (LIBC_START_MAIN): Set up __environ directly instead of using
2128 INIT_ARGV_and_ENVIRON.
2129 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2130 <bp-start.h>.
2131
f3499f95
JM
2132 [BZ #13550]
2133 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2134 definitions.
2135 (CHECK_FCNTL): Likewise.
2136 (CHECK_N_PAGES): Likewise.
2137
32a45bea
JM
2138 [BZ #13550]
2139 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2140 definitions.
2141 (CHECK_SIGSET_NULL_OK): Likewise.
2142 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2143 <bp-checks.h>.
2144 (sigpending): Don't use CHECK_SIGSET.
2145 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2146 <bp-checks.h>.
2147 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2148 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2149 <bp-checks.h>.
2150 (do_sigsuspend): Don't use CHECK_SIGSET.
2151 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2152 use CHECK_SIGSET.
2153 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2154 (do_sigwait): Don't use CHECK_SIGSET.
2155 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2156 use CHECK_SIGSET.
2157 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2158 include <bp-checks.h>.
2159 (sigpending): Don't use CHECK_SIGSET.
2160 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2161 include <bp-checks.h>.
2162 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2163 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2164 <bp-checks.h>.
2165 (sigpending): Don't use CHECK_SIGSET.
2166 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2167 <bp-checks.h>.
2168 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2169
2e8a5c8c
JM
2170 [BZ #13550]
2171 * sysdeps/generic/bp-semctl.h: Remove file.
2172 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2173 <bp-checks.h> and <bp-semctl.h>.
2174 (__old_semctl): Don't use CHECK_SEMCTL.
2175 (__new_semctl): Likewise.
2176 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2177 and <bp-semctl.h>.
2178 (__old_semctl): Don't use CHECK_SEMCTL.
2179 (__new_semctl): Likewise.
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2181 <bp-checks.h> and <bp-semctl.h>.
2182 (__old_semctl): Don't use CHECK_SEMCTL.
2183 (__new_semctl): Likewise.
2184 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2185 <bp-checks.h> and <bp-semctl.h>.
2186 (semctl): Don't use CHECK_SEMCTL.
2187
c2d54929
JM
2188 [BZ #13550]
2189 * Makerules (elide-bp-thunks): Remove variable.
2190 (elide-routines.oS): Don't use $(elide-bp-thunks).
2191 (elide-routines.os): Likewise.
2192 (elide-routines.o): Likewise.
2193 (elide-routines.op): Likewise.
2194 (elide-routines.og): Likewise.
2195 (objects): Don't use $(bp-thunks).
2196 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2197 include.
2198 (common-generated): Do not add s-proto-bp.d.
2199 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2200 (int): Likewise.
2201 (typ): Likewise.
2202 Do not generate makefile rules for bounded-pointer thunks.
2203 * sysdeps/generic/bp-thunks.h: Remove file.
2204 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2205 * sysdeps/unix/s-proto-bp.S: Likewise.
2206
8cf28c5e
JM
2207 [BZ #15062]
2208 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2209 parts of result separately when argument is not close to line from
2210 -i to i and one part of argument is small.
2211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2213 * math/libm-test.inc (cacos_test): Add more tests.
2214 (casin_test): Likewise.
2215 (casinh_test): Likewise.
2216 * sysdeps/i386/fpu/libm-test-ulps: Update.
2217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2218
c4e33b8d
DM
22192013-01-31 David S. Miller <davem@davemloft.net>
2220
2221 * po/de.po: Update from translation team.
2222
3b60b421
MK
22232013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2224
2225 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2226
bb931195
TS
22272013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2228
b5a5da23
TS
2229 * configure.in (_AC_PROG_CC_C89): New definition.
2230 * configure: Regenerate.
2231
bb931195
TS
2232 * configure.in (AC_PROG_CPP): New definition.
2233 * configure: Regenerate.
2234
8c53a12c
JM
22352013-01-23 Joseph Myers <joseph@codesourcery.com>
2236
2237 * debug/tst-backtrace.h: New file.
2238 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2239 (ret): Remove variable.
2240 (x): Likewise.
2241 (FAIL): Remove macro.
2242 (NO_INLINE): Likewise.
2243 (fn1): Use match function instead of strstr.
2244 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2245 (ret): Remove variable.
2246 (x): Likewise.
2247 (FAIL): Remove macro.
2248 (NO_INLINE): Likewise.
2249 (fn): Use match function instead of strstr.
2250 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2251 (ret): Remove variable.
2252 (x): Likewise.
2253 (FAIL): Remove macro.
2254 (NO_INLINE): Likewise.
2255 (handle_signal): Use match function instead of strstr.
2256 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2257 (ret): Remove variable.
2258 (x): Likewise.
2259 (FAIL): Remove macro.
2260 (NO_INLINE): Likewise.
2261 (handle_signal): Use match function instead of strstr.
2262
4858fa2a
RM
22632013-01-23 Roland McGrath <roland@hack.frob.com>
2264
2265 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2266
bae8e7f5
DM
22672013-01-23 David S. Miller <davem@davemloft.net>
2268
2269 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2270 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2271 argument of CAS if possible.
2272 * sysdeps/sparc/sparc64/bits/atomic.h
2273 (__arch_compare_and_exchange_val_32_acq): Likewise.
2274 (__arch_compare_and_exchange_val_64_acq): Likewise.
2275
9cbbc4ae
PT
22762013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2277
2278 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2279 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2280 Include <limits.h>.
67b3f58c 2281 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2282
5655a0b5
AC
22832013-01-23 Adam Conrad <adconrad@0c3.net>
2284
2285 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2286 (LDFLAGS-tst-array5): Likewise.
2287
052aff95
JM
22882013-01-23 Joseph Myers <joseph@codesourcery.com>
2289
2290 [BZ #15036]
2291 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2292 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2293 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2294 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2295
7c1e01aa
DM
22962013-01-21 David S. Miller <davem@davemloft.net>
2297
2298 * sysdeps/sparc/backtrace.c: New file.
2299 * sysdeps/sparc/sparc32/backtrace.h: New file.
2300 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2301 * sysdeps/sparc/sparc64/backtrace.h: New file.
2302 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2303 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2304 -funwind-tables.
2305
ab087e0a
AS
23062013-01-21 Andreas Schwab <schwab@suse.de>
2307
2308 [BZ #15020]
2309 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2310 closed its stdout.
2311
ed689c2f
AS
23122013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2313
2314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2315 "mpa2.h".
2316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2317
31d470ac
JM
23182013-01-18 Joseph Myers <joseph@codesourcery.com>
2319 Mark Mitchell <mark@codesourcery.com>
2320 Tom de Vries <tom@codesourcery.com>
2321 Paul Pluzhnikov <ppluzhnikov@google.com>
2322
2323 * debug/tst-backtrace2.c: New file.
2324 * debug/tst-backtrace3.c: Likewise.
2325 * debug/tst-backtrace4.c: Likewise.
2326 * debug/tst-backtrace5.c: Likewise.
2327 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2328 (CFLAGS-tst-backtrace3.c): Likewise.
2329 (CFLAGS-tst-backtrace4.c): Likewise.
2330 (CFLAGS-tst-backtrace5.c): Likewise.
2331 (LDFLAGS-tst-backtrace2): Likewise.
2332 (LDFLAGS-tst-backtrace3): Likewise.
2333 (LDFLAGS-tst-backtrace4): Likewise.
2334 (LDFLAGS-tst-backtrace5): Likewise.
2335 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2336 tst-backtrace4 and tst-backtrace5.
2337
90567f30 23382013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2339 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2340
2341 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2342 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2343 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2344 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2346 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2347 "+r" and remove output regs list as redundant. Add explicit inline
2348 asm to specify register of return val to work around compiler codegen
2349 bug. Remove (int) cast on return value. Add return type parameter to
2350 use in macro so that this macro does not truncate return value for
2351 64-bit values.
2352 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2353 pass to INTERNAL_VSYSCALL_NCS.
2354 (INLINE_VSYSCALL): Add 'long int' as return type to
2355 INTERNAL_VSYSCALL_NCS macro invocation.
2356 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2357 INTERNAL_VSYSCALL_NCS macro invocation.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2359
d3b9ea61
SP
23602013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2361
0b57daeb
SP
2362 [BZ #14496]
2363 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2364 Fix application of SIMD FP exception mask.
2365
caa99d06
SP
2366 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2367 mp_no from a power of two.
2368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2369 __mpexp_twomm1. Use __pow_mp.
2370
d3b9ea61
SP
2371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2372 multiplication.
2373
1dbaee3c
DM
23742013-01-17 David S. Miller <davem@davemloft.net>
2375
2376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2377
728d7b43
JM
23782013-01-17 Joseph Myers <joseph@codesourcery.com>
2379
2380 [BZ #15023]
2381 * include/complex.h: Condition contents on [!_COMPLEX_H].
2382 (__kernel_casinhf): New prototype.
2383 (__kernel_casinh): Likewise.
2384 (__kernel_casinhl): Likewise.
2385 * math/Makefile (libm_calls): Add k_casinh.
2386 * math/k_casinh.c: New file.
2387 * math/k_casinhf.c: Likewise.
2388 * math/k_casinhl.c: Likewise.
2389 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2390 finite nonzero arguments.
2391 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2392 finite nonzero arguments.
2393 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2394 finite nonzero arguments.
2395 * math/s_casinh.c: Do not include <float.h>.
2396 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2397 * math/s_casinhf.c: Do not include <float.h>.
2398 (__casinhf): Move code for finite nonzero arguments to
2399 k_casinhf.c.
2400 * math/s_casinhl.c: Do not include <float.h>.
2401 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2402 redefine.
2403 (__casinhl): Move code for finite nonzero arguments to
2404 k_casinhl.c.
2405 * math/libm-test.inc (cacos_test): Add more tests.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2408
2a26ef3a
PT
24092013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2410
2411 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2412 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2413 [!HAVE_MREMAP]: Remove [defined linux] case.
2414 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2415
a897655d
SP
24162013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2417
2418 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2419
881ebe89 24202013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2421
2422 * elf/elf.h (R_386_SIZE32): New relocation.
2423 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2424 R_386_SIZE32.
2425 (elf_machine_rela): Likewise.
2426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2427 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2428
59981e9b
JM
24292013-01-17 Joseph Myers <joseph@codesourcery.com>
2430
2431 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2432 (FP_FAST_FMA): Do not define.
2433 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2434 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2435 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2436 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2437 !_SOFT_FLOAT]: Likewise.
2438 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2440 value.
2441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2442 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2443 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2444 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2445 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2446 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2447 file.
2448
cfa8054f
AS
24492013-01-16 Andreas Schwab <schwab@suse.de>
2450
2451 [BZ #14327]
2452 * include/stdlib.h (__mktemp): Add declaration.
2453 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2454 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2455
dd930cc5
SP
24562013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2457
881ebe89
SP
2458 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2459 definitions.
2460 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2461 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2462 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2463 definitions here.
2464 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2465 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2466 definitions.
2467 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2468 and ONE.
2469 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2470 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2472 definitions.
2473 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2474 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2475 definitions.
2476 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2477
dd930cc5
SP
2478 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2479
c19a9f89
DM
24802013-01-15 David S. Miller <davem@davemloft.net>
2481
1aa61767
DM
2482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2483 trunc{,f} to libm-sysdep_routes.
2484 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2486 file.
2487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2489 file.
2490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2491 file.
2492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2495 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2497 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2500
c42d5e98
DM
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2502 nearbyint{,f} to libm-sysdep_routes.
2503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2505 New file.
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2507 file.
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2509 New file.
2510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2511 file.
2512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2515 file.
2516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2518 file.
2519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2520 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2521 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2522
c19a9f89
DM
2523 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2524 libc_feholdexcept and libc_fesetenv.
2525
357679d2
MF
25262013-01-15 Mike Frysinger <vapier@gentoo.org>
2527
2528 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2529
65a82e3d
DM
25302013-01-14 David S. Miller <davem@davemloft.net>
2531
8b954ab9
DM
2532 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2533 (SPARC_ASM_VIS2_IFUNC): Likewise.
2534 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2536 use of 'siam' instruction.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2538 Likewise.
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2540 Likewise.
2541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2542 Likewise.
2543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2548 file.
2549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2550 file.
2551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2552 file.
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2554 file.
2555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2560 new VIS2 routines.
2561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2564 Likewise.
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2570 routines to libm-sysdep_routines.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2572
65a82e3d
DM
2573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2574 fdim/fdimf to libm-sysdep_routines.
2575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2576 file.
2577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2579 file.
2580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2583 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2584 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2585 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2586 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2587
e34ab705
SP
25882013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2589
2a91b573
SP
2590 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2591 to optimize copies.
2592
1066a534
SP
2593 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2596
e34ab705
SP
2597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2598 local variable MPTWO.
2599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2600 Likewise.
2601
aba5e596
MF
26022013-01-13 Mike Frysinger <vapier@gentoo.org>
2603
2604 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2605 GLOB_NOESCAPE.
2606
e557e9e5
MF
26072013-01-13 Mike Frysinger <vapier@gentoo.org>
2608
2609 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2610
0428cec9
MF
26112013-01-13 Mike Frysinger <vapier@gentoo.org>
2612
2613 * manual/pattern.texi (glob_t): Document gl_flags.
2614 (glob64_t): Likewise.
2615
8794a964
DM
26162013-01-11 David S. Miller <davem@davemloft.net>
2617
66438c3f
RM
2618 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2619 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2620 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2621 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2622 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2623 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2624 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2625 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2626 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2627 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2628 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2629 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2630 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2631
4ae4244d
DM
2632 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2633 sparc V9 rather than using V8 code.
2634 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2635 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2636
8794a964
DM
2637 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2638 Move to...
2639 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2640 Here.
2641
6270516e
RM
26422013-01-11 Roland McGrath <roland@hack.frob.com>
2643
2644 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2645 not in the main loop.
2646 * configure: Regenerated.
2647
6a57d931
JM
26482013-01-11 Joseph Myers <joseph@codesourcery.com>
2649
2650 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2651 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2652 to just #else.
2653 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2654 [!__GLIBC_HAVE_LONG_LONG] case.
2655 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2656 condition to just #else.
2657 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2658 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2659 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2660 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2661 unconditional.
2662 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2663 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2664 #elif condition to just #else.
2665 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2666 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2667 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2668 #elif condition to just #else.
2669
0e8529e9
SE
26702013-01-11 Steve Ellcey <sellcey@mips.com>
2671
2672 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2673 (EF_MIPS_ARCH_64): Fix value.
2674 (EF_MIPS_ARCH_32R2): New.
2675 (EF_MIPS_ARCH_64R2): New.
2676
740b3dbe
L
26772013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2678
2679 * Makeconfig (+link-pie-before-libc): New.
2680 (+link-pie-after-libc): Likewise.
2681 (+link-pie-tests): Likewise.
2682 (+link-pie): Rewritten.
2683 (link-before-libc): Remove $(config-LDFLAGS).
2684 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2685 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2686 (config-LDFLAGS): Renamed to ...
2687 (rtld-LDFLAGS): This.
2688 (rtld-tests-LDFLAGS): New macro.
2689 (link-libc-rpath-link): Likewise.
2690 (link-libc-tests-rpath-link): Likewise.
2691 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2692 (link-libc): Prepand $(link-libc-rpath-link).
2693 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2694 (test-program-prefix): New macro.
2695 (test-via-rtld-prefix): Likewise.
2696 (test-program-cmd): Likewise.
2697 (host-test-program-cmd): Likewise.
2698 * Makefile ($(common-objpfx)testrun.sh): Replace
2699 $(run-program-prefix) with $(test-program-prefix).
2700 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2701 $(rtld-LDFLAGS).
2702 ($(common-objpfx)shlib.lds): Likewise.
2703 (build-module-helper): Likewise.
2704 ($(common-objpfx)format.lds): Likewise.
2705 * Rules (binaries-pie-tests): New.
2706 (binaries-pie-notests): Likewise.
2707 (binaries-pie): Rewritten.
2708 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2709 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2710 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2711 (make-test-out): Replace $(host-built-program-cmd) with
2712 $(host-test-program-cmd).
2713 * config.make.in (build-hardcoded-path-in-tests): New variable.
2714 * configure.in (--enable-hardcoded-path-in-tests): New configure
2715 option.
2716 (hardcoded_path_in_tests): New AC_SUBST.
2717 * configure: Regenerated.
2718 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2719 $(built-program-cmd) with $(test-program-cmd).
2720 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2721 (test_program_cmd): This.
2722 * elf/Makefile ($(objpfx)order.out): Run test with
2723 $(test-program-prefix).
2724 ($(objpfx)order2.out): Likewise.
2725 ($(objpfx)tst-initorder.out): Likewise.
2726 ($(objpfx)tst-initorder2.out): Likewise.
2727 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2728 $(test-program-cmd).
2729 ($(objpfx)tst-array1-static.out): Likewise.
2730 ($(objpfx)tst-array2.out): Likewise.
2731 ($(objpfx)tst-array3.out): Likewise.
2732 ($(objpfx)tst-array4.out): Likewise.
2733 ($(objpfx)tst-array5.out): Likewise.
2734 ($(objpfx)tst-array5-static.out): Likewise.
2735 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2736 $(test-program-cmd).
2737 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2738 $(run-program-prefix) with $(test-program-prefix).
2739 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2740 (test_program_prefix): This.
2741 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2742 $(run-program-prefix) with $(test-program-prefix).
2743 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2744 (test_program_prefix): This.
2745 * iconvdata/tst-tables.sh: Likewise.
2746 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2747 $(run-program-prefix) with $(test-program-prefix).
2748 ($(objpfx)tst-translit.out): Likewise.
2749 ($(objpfx)tst-gettext2.out): Likewise.
2750 ($(objpfx)tst-gettext4.out): Likewise.
2751 ($(objpfx)tst-gettext6.out): Likewise.
2752 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2753 (test_program_prefix): This.
2754 * intl/tst-gettext2.sh: Likewise.
2755 * intl/tst-gettext4.sh Likewise.
2756 * intl/tst-gettext6.sh: Likewise.
2757 * intl/tst-translit.sh: Likewise.
2758 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2759 with $(test-program-cmd).
2760 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2761 $(run-program-prefix) with $(test-program-prefix).
2762 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2763 (test_program_prefix): This.
2764 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2765 $(run-program-prefix) with $(test-program-prefix).
2766 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2767 (test_program_prefix): This.
2768 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2769 * posix/Makefile ($(objpfx)globtest.out): Replace
2770 $(run-via-rtld-prefix) and $(test-wrapper) with
2771 $(test-program-prefix) and $(test-via-rtld-prefix).
2772 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2773 $(test-program-prefix).
2774 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2775 $(host-test-program-cmd).
2776 (tst-spawn-ARGS): Likewise.
2777 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2778 $(test-program-prefix).
2779 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2780 (test_via_rtld_prefix): This.
2781 (test_wrapper): Renamed to ...
2782 (test_program_prefix): This.
2783 (run_program_prefix): Replaced by test_program_prefix.
2784 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2785 (test_program_prefix): This.
2786 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2787 with $(host-test-program-cmd).
2788 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2789 $(run-program-prefix) with $(test-program-prefix).
2790 ($(objpfx)tst-printf.out): Likewise.
2791 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2792 $(test-program-cmd).
2793 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2794 (test_program_prefix): This.
2795 * stdio-common/tst-unbputc.sh: Likewise.
2796 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2797 $(run-program-prefix) with $(test-program-prefix).
2798 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2799 (test_program_prefix): This.
2800 * string/Makefile ($(objpfx)tst-svc.out): Replace
2801 $(built-program-cmd) with $(test-program-cmd).
2802
c6fe55cf
AJ
28032013-01-11 Andreas Jaeger <aj@suse.de>
2804
2805 [BZ #15003]
2806 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2807 value. Sync with Linux 3.7.
2808
9e6919c8
DM
28092013-01-10 David S. Miller <davem@davemloft.net>
2810
2811 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2812 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2814
1c9f1a02
RM
28152013-01-10 Roland McGrath <roland@hack.frob.com>
2816
2817 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2818 never set.
2819 * configure: Regenerated.
2820
b9de2dde
DM
28212013-01-10 David S. Miller <davem@davemloft.net>
2822
2823 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2824 sparc V9 rather than using V8 code.
2825 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2826 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2827
e7f68ef4
RM
28282013-01-10 Roland McGrath <roland@hack.frob.com>
2829
2830 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2831 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2832 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2833 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2834 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2835 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2836 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2837 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2838 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2839 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2840 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2841 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2842 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2843 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2844 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2845 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2846 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2847 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2848 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2849 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2850 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2851 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2852 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2853 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2854 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2855 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2856 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2857
5a47cc9c
DM
28582013-01-10 David S. Miller <davem@davemloft.net>
2859
2860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2861
4cf8f209
L
28622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2863
2864 * posix/Makefile (tests-static): New variable.
2865 (tests): Add $(tests-static).
2866 (tst-exec-static-ARGS): New variable.
2867 (tst-spawn-static-ARGS): Likewise.
2868 * posix/tst-exec-static.c: New file.
2869 * posix/tst-spawn-static.c: Likewise.
2870 * posix/tst-exec.c: Support run directly.
2871 * posix/tst-spawn.c: Likewise.
2872
fed0faa1
JM
28732013-01-10 Joseph Myers <joseph@codesourcery.com>
2874
828beb13
JM
2875 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2876 long.
2877 * math/bits/mathcalls.h (llrint): Likewise.
2878 (llround): Likewise.
2879 * stdlib/stdlib.h (struct drand48_data): Likewise.
2880 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2881 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2883 Likewise.
2884 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2885 Likewise.
2886 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2887 (elf_greg_t): Likewise.
2888 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2889 (__jmp_buf): Likewise.
2890 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2891 definitions.
2892 (llrint): Likewise, for all definitions.
2893 (llrintl): Likewise.
2894
fed0faa1
JM
2895 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2896 Remove [__GNUC__] condition.
2897 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2898 condition to just [__USE_ISOC99].
2899 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2900
1a20cb20
L
29012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2902
2903 [BZ #14200]
2904 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2905 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2906 defined.
2907 (_POSIX_V6_ILP32_OFF32): Likewise.
2908 (_XBS5_ILP32_OFF32): Likewise.
2909 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2910 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2911
751b85f7
SP
29122013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2913
7490eb81
SP
2914 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2915
751b85f7
SP
2916 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2917 doubles __mpexp_twomm1. Adjust usage.
2918 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2919 Remove.
2920
988197f0
AS
29212013-01-10 Andreas Schwab <schwab@suse.de>
2922
2923 [BZ #14964]
2924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2925 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2926
e83d7298
DM
29272013-01-09 David S. Miller <davem@davemloft.net>
2928
034ed64b 2929 [BZ #15003]
e83d7298
DM
2930 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2931 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2932 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2933 TCP_FASTOPEN): Define.
2934 (tcp_repair_opt): New structure.
2935 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2936 enum values.
2937 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2938 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2939 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2940 (tcp_cookie_transactions): New structure.
2941
d5e0b9bd
AB
29422013-01-09 Anton Blanchard <anton@samba.org>
2943
2944 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2945 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2946 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2948
0c07e3ea
JM
29492013-01-09 Joseph Myers <joseph@codesourcery.com>
2950
2951 * include/features.h (__USE_ANSI): Remove.
2952
232f7002
RM
29532013-01-09 Roland McGrath <roland@hack.frob.com>
2954
ad98e30c
RM
2955 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2956
232f7002
RM
2957 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2958
950c99ca
SP
29592013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2960
b5792741
SP
2961 * sysdeps/s390/fpu/libm-test-ulps: Update.
2962
47cf2278
SP
2963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2964
950c99ca
SP
2965 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2966 (__acr): Likewise.
2967 (__cpy): Likewise.
2968 (norm): Likewise.
2969 (denorm): Likewise.
2970 (__mp_dbl): Likewise.
2971 (__dbl_mp): Likewise.
2972 (add_magnitudes): Likewise.
2973 (sub_magnitudes): Likewise.
2974 (__add): Likewise.
2975 (__sub): Likewise.
2976 (__mul): Likewise.
2977 (__inv): Likewise.
2978 (__dvd): Likewise.
2979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2980 (__acr): Likewise.
2981 (__cpy): Likewise.
2982 (norm): Likewise.
2983 (denorm): Likewise.
2984 (__mp_dbl): Likewise.
2985 (__dbl_mp): Likewise.
2986 (add_magnitudes): Likewise.
2987 (sub_magnitudes): Likewise.
2988 (__add): Likewise.
2989 (__sub): Likewise.
2990 (__mul): Likewise.
2991 (__inv): Likewise.
2992 (__dvd): Likewise.
2993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2994 (__acr): Likewise.
2995 (__cpy): Likewise.
2996 (norm): Likewise.
2997 (denorm): Likewise.
2998 (__mp_dbl): Likewise.
2999 (__dbl_mp): Likewise.
3000 (add_magnitudes): Likewise.
3001 (sub_magnitudes): Likewise.
3002 (__add): Likewise.
3003 (__sub): Likewise.
3004 (__mul): Likewise.
3005 (__inv): Likewise.
3006 (__dvd): Likewise.
3007
eede9df9
JM
30082013-01-08 Joseph Myers <joseph@codesourcery.com>
3009
3010 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3011 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3012 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3013 2 && __USE_EXTERN_INLINES]: Likewise.
3014
c40ea3d9
AJ
30152013-01-08 Andreas Jaeger <aj@suse.de>
3016
3017 [BZ# 14985]
3018 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3019 Remove.
3020 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3021 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3022
2ccdea26
AB
30232013-01-07 Anton Blanchard <anton@samba.org>
3024
3025 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3026 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3027 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3028 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3029 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3030 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3032 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3034 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3037 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3038 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3039 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3046 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3048 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3049 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3050 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3053 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3054 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3055 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3057 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3058 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3059 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3060 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3061 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3062 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3064 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3067 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3068
a9708fed
JM
30692013-01-07 Joseph Myers <joseph@codesourcery.com>
3070
375607b9
JM
3071 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3072 (__MALLOC_PMT): Likewise.
3073 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3074 [__GNUC__], only on [_LIBC].
3075 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3076 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3077 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3078 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3079 forward declaration.
3080 (realloc_hook_ini): Likewise.
3081 (memalign_hook_ini): Likewise.
3082 (__libc_memalign): Do not use __MALLOC_PMT in variable
3083 declaration.
3084 (__libc_valloc): Likewise.
3085 (__libc_pvalloc): Likewise.
3086 (__libc_calloc): Likewise.
3087 (__posix_memalign): Likewise.
3088
a9708fed
JM
3089 [BZ #14996]
3090 * math/s_casinh.c: Include <float.h>.
3091 (__casinh): Do not do computation with squaring and square root
3092 for large arguments.
3093 * math/s_casinhf.c: Include <float.h>.
3094 (__casinhf): Do not do computation with squaring and square root
3095 for large arguments.
3096 * math/s_casinhl.c: Include <float.h>.
3097 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3098 (__casinhl): Do not do computation with squaring and square root
3099 for large arguments.
3100 * math/libm-test.inc (casin_test): Add more tests.
3101 (casinh_test): Likewise.
3102 * sysdeps/i386/fpu/libm-test-ulps: Update.
3103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3104
afec409a
L
31052013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3108 (__x86_64_raw_data_cache_size): Likewise.
3109 (__x86_64_data_cache_size_half): Likewise.
3110 (__x86_64_raw_data_cache_size_half): Likewise.
3111 (__x86_64_shared_cache_size): Likewise.
3112 (__x86_64_raw_shared_cache_size): Likewise.
3113 (__x86_64_shared_cache_size_half): Likewise.
3114 (__x86_64_raw_shared_cache_size_half): Likewise.
3115 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3116 to ...
3117 (__x86_data_cache_size): This.
3118 (__x86_64_raw_data_cache_size): Renamed to ...
3119 (__x86_raw_data_cache_size): This.
3120 (__x86_64_data_cache_size_half): Renamed to ...
3121 (__x86_data_cache_size_half): This.
3122 (__x86_64_raw_data_cache_size_half): Renamed to ...
3123 (__x86_raw_data_cache_size_half): This.
3124 (__x86_64_shared_cache_size): Renamed to ...
3125 (__x86_shared_cache_size): This.
3126 (__x86_64_raw_shared_cache_size): Renamed to ...
3127 (__x86_raw_shared_cache_size): This.
3128 (__x86_64_shared_cache_size_half): Renamed to ...
3129 (__x86_shared_cache_size_half): This.
3130 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3131 (__x86_raw_shared_cache_size_half): This.
3132 * sysdeps/x86_64/memcpy.S: Updated.
3133 * sysdeps/x86_64/memset.S: Likewise.
3134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3135 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3137
0b3986d0
DM
31382013-01-04 David S. Miller <davem@davemloft.net>
3139
3140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3141
e47686e9
AS
31422013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3143
d643bac1
AS
3144 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3145 1 to avoid redefinition warning.
3146 (__USE_GNU): Don't define.
3147 (init_signaling_nan): Protoize.
3148
e47686e9
AS
3149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3150
b18decba
SP
31512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3152
fffb407f
SP
3153 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3155 (__cpymn): Likewise.
3156 (norm): Remove commented code.
3157 (denorm): Likewise.
3158 (__mp_dbl): Likewise.
3159 (__inv): Likewise.
3160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3161 (__cpymn): Likewise.
3162 (norm): Remove commented code.
3163 (denorm): Likewise.
3164 (__mp_dbl): Likewise.
3165 (__inv): Likewise.
3166
b18decba
SP
3167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3168 mp_no value for 1.0 and 2.0.
3169 (norm): Use RADIXI instead of radixi.d.
3170 (denorm): Likewise.
3171 (__mul): Use 0.0 instead of zero.d.
3172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3173 mp_no value for 1.0 and 2.0.
3174 (norm): Use RADIXI instead of radixi.d.
3175 (denorm): Likewise.
3176 (__mul): Use 0.0 instead of zero.d.
3177
cdc1c96f
JM
31782013-01-04 Joseph Myers <joseph@codesourcery.com>
3179
3180 [BZ #14994]
3181 * math/s_casinh.c (__casinh): Reduce finite argument to first
3182 quadrant then set signs of results at the end.
3183 * math/s_casinhf.c (__casinhf): Likewise.
3184 * math/s_casinhl.c (__casinhl): Likewise.
3185 * math/libm-test.inc (casin_test): Add more tests.
3186 (casinh_test): Likewise.
3187 * sysdeps/i386/fpu/libm-test-ulps: Update.
3188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3189
302913e1
SP
31902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3191
6420d207
SP
3192 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3193
a9e48ab4
SP
3194 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3195
b7837264
SP
3196 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3197 declarations.
3198 (denorm): Likewise.
3199 (__mp_dbl): Likewise.
3200 (__inv): Likewise.
3201
f8af25d2
SP
3202 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3203 and adjust the header comment.
3204
302913e1
SP
3205 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3206 variable name from declaration.
3207
5d7dd1ca
L
32082013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3209
3210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3211 Initialize COMMON_CPUID_INDEX_7 element.
3212 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3213 (CPUID_RTM): Likewise.
3214 (HAS_RTM): Likewise.
3215 (COMMON_CPUID_INDEX_7): New enum.
3216
2f5f40f4
AS
32172013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3218
3219 [BZ #14981]
3220 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3221 size is zero, record memory as freed.
3222
4056f4a0
AJ
32232013-01-03 Andreas Jaeger <aj@suse.de>
3224
3225 * po/ia.po: Add new Interlingua translation.
3226
ab15736f 32272012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3228
3229 * locale/programs/localedef.c: Fix description of '--posix' flag.
3230
568035b7
JM
32312013-01-02 Joseph Myers <joseph@codesourcery.com>
3232
e6898b8d
JM
3233 * NEWS: Update dates in second copyright notice.
3234 * README: Update copyright dates in example.
3235 * manual/libc.texinfo: Update copyright dates.
3236 * scripts/test-installation.pl: Update copyright date in --version
3237 output.
3238
0e2f9562
JM
3239 * hurd/ctty-input.c: Fix copyright notice formatting.
3240 * hurd/ctty-output.c: Likewise.
3241 * hurd/dtable.c: Likewise.
3242 * hurd/hurd-raise.c: Likewise.
3243 * hurd/hurdprio.c: Likewise.
3244 * hurd/msgportdemux.c: Likewise.
3245 * misc/sys/file.h: Likewise.
3246 * misc/sys/ioctl.h: Likewise.
3247 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3248 * sysdeps/mach/hurd/chdir.c: Likewise.
3249 * sysdeps/mach/hurd/fchdir.c: Likewise.
3250 * sysdeps/mach/hurd/rename.c: Likewise.
3251 * sysdeps/mach/hurd/rmdir.c: Likewise.
3252 * sysdeps/mach/hurd/seekdir.c: Likewise.
3253 * sysdeps/mach/hurd/setsid.c: Likewise.
3254 * sysdeps/posix/wait3.c: Likewise.
3255
568035b7
JM
3256 * All files with FSF copyright notices: Update copyright dates
3257 using scripts/update-copyrights.
3258 * intl/plural.c: Regenerated.
3259 * locale/programs/charmap-kw.h: Likewise.
3260 * locale/programs/locfile-kw.h: Likewise.
3261
da08f647
SP
32622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3263
0f5477af
SP
3264 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3265 four values.
3266
44e0d4c2
SP
3267 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3268 calculation loop and add branch prediction.
3269
4d55b4e5
SP
3270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3271 check access beyond bounds of m1np.
3272
da08f647
SP
3273 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3274 MPTWO.
3275 (__inv): Remove local variable MPTWO to use the global
3276 constant.
3277 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3278 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3279 variable MPTWO.
3280 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3281 MP3HALFS static const.
3282
8e051029
DM
32832013-01-01 David S. Miller <davem@davemloft.net>
3284
3285 * po/ca.po: Update from translation team.
3286
f4cf5f2d
JM
32872013-01-01 Joseph Myers <joseph@codesourcery.com>
3288
3289 * scripts/update-copyrights: New file.
3290 * Makeconfig: Reformat copyright notice.
3291 * ctype/ctype.h: Likewise.
3292 * debug/swprintf_chk.c: Likewise.
3293 * elf/dl-cache.c: Likewise.
3294 * elf/dl-debug.c: Likewise.
3295 * elf/dl-object.c: Likewise.
3296 * grp/initgroups.c: Likewise.
3297 * hurd/Makefile: Likewise.
3298 * hurd/hurd/signal.h: Likewise.
3299 * hurd/hurdfault.c: Likewise.
3300 * hurd/hurdioctl.c: Likewise.
3301 * hurd/hurdlookup.c: Likewise.
3302 * hurd/intr-msg.c: Likewise.
3303 * iconv/gconv_open.c: Likewise.
3304 * libio/swprintf.c: Likewise.
3305 * locale/lc-ctype.c: Likewise.
3306 * locale/nl_langinfo.c: Likewise.
3307 * mach/Machrules: Likewise.
3308 * mach/Makefile: Likewise.
3309 * malloc/obstack.h: Likewise.
3310 * manual/Makefile: Likewise.
3311 * manual/tsort.awk: Likewise.
3312 * misc/bits/stab.def: Likewise.
3313 * nis/nis_print_group_entry.c: Likewise.
3314 * nis/nis_table.c: Likewise.
3315 * nis/nss_compat/compat-pwd.c: Likewise.
3316 * nis/nss_compat/compat-spwd.c: Likewise.
3317 * po/Makefile: Likewise.
3318 * posix/fnmatch.c: Likewise.
3319 * posix/regex.h: Likewise.
3320 * resolv/Makefile: Likewise.
3321 * resolv/nss_dns/dns-network.c: Likewise.
3322 * resolv/res_hconf.c: Likewise.
3323 * scripts/gen-sorted.awk: Likewise.
3324 * soft-fp/soft-fp.h: Likewise.
3325 * stdio-common/printf.h: Likewise.
3326 * stdlib/monetary.h: Likewise.
3327 * stdlib/random.c: Likewise.
3328 * stdlib/random_r.c: Likewise.
3329 * sysdeps/generic/Makefile: Likewise.
3330 * sysdeps/gnu/Makefile: Likewise.
3331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3338 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3341 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3342 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3343 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3344 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3345 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3359 * sysdeps/mach/hurd/errnos.awk: Likewise.
3360 * sysdeps/mach/hurd/fork.c: Likewise.
3361 * sysdeps/mach/hurd/getcwd.c: Likewise.
3362 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3363 * sysdeps/mach/hurd/mmap.c: Likewise.
3364 * sysdeps/mach/hurd/utimes.c: Likewise.
3365 * sysdeps/mach/hurd/xmknod.c: Likewise.
3366 * sysdeps/posix/profil.c: Likewise.
3367 * sysdeps/posix/readdir_r.c: Likewise.
3368 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3369 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3370 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3371 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3373 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3374 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3375 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3377 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3379 * sysdeps/pthread/lio_listio.c: Likewise.
3380 * sysdeps/sparc/dl-procinfo.h: Likewise.
3381 * sysdeps/unix/i386/sysdep.S: Likewise.
3382 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3383 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3384 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3385 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3387 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3388 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3389 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3390 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3391 * sysdeps/wordsize-32/divdi3.c: Likewise.
3392 * time/sys/time.h: Likewise.
3393 * wcsmbs/Makefile: Likewise.
3394
0549fbba
DM
33952013-01-01 David S. Miller <davem@davemloft.net>
3396
a141f1a7
DM
3397 * po/fr.po: Update from translation team.
3398
0549fbba
DM
3399 * catgets/gencat.c: Update copyright year.
3400 * csu/version.c: Likewise.
3401 * debug/catchsegv.sh: Likewise.
3402 * debug/pcprofiledump.c: Likewise.
3403 * debug/xtrace.sh: Likewise.
3404 * elf/ldconfig.c: Likewise.
3405 * elf/ldd.bash.in: Likewise.
3406 * elf/pldd.c: Likewise.
3407 * elf/sotruss.ksh: Likewise.
3408 * elf/sprof.c: Likewise.
3409 * iconv/iconv_prog.c: Likewise.
3410 * iconv/iconvconfig.c: Likewise.
3411 * locale/programs/locale.c: Likewise.
3412 * locale/programs/localedef.c: Likewise.
3413 * login/programs/pt_chown.c: Likewise.
3414 * malloc/memusage.sh: Likewise.
3415 * malloc/memusagestat.c: Likewise.
3416 * malloc/mtrace.pl: Likewise.
3417 * nscd/nscd.c: Likewise.
3418 * nss/getent.c: Likewise.
3419 * nss/makedb.c: Likewise.
3420 * posix/getconf.c: Likewise.
3421
18ea052c
SP
34222012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3423
3424 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3425 numbers.
3426
9c89fca6
MF
34272012-12-30 Mike Frysinger <vapier@gentoo.org>
3428
3429 * math/bits/mathcalls.h (modf): Use __nonnull.
3430
085ec079
SP
34312012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
3433 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3434 (split): Use macro CN instead of the bare value.
3435 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3436 could be used.
3437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3438 instead of the bare value.
3439 (power1): Likewise.
3440
6d9f97e1
SP
34412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3442
d63f73be
SP
3443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3444 __ATAN_TWOM.
3445 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3446
6d9f97e1
SP
3447 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3448 their values.
3449 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3450 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3451 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3452 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3453
4c4febf5
AJ
34542012-12-28 Andreas Jaeger <aj@suse.de>
3455
af5843ef
AJ
3456 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3457 values are from Linux 3.7.
3458
4c4febf5
AJ
3459 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3460 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3461
99136f82
SP
34622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3463
2f216c3c 3464 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3465 TRUE case.
3466
99136f82
SP
3467 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3468 (norm): Likewise.
3469 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3470 variables with preprocessor constants.
3471 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3472 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3473 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3474
7fffbdff
BH
34752012-12-27 Bruno Haible <bruno@clisp.org>
3476
3477 [BZ #14317]
3478 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3479 only if needed.
3480
b76eb5f0
SP
34812012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3482
31a7fe5c
SP
3483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3484 and use variable directly.
3485 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3486
b76eb5f0
SP
3487 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3488 MPONE.
3489 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3491 variable MPONE.
3492 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3494 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3495 include directive. Remove local variable MPONE.
3496 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3497 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3498 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3499
2c8bfe7d
DM
35002012-12-25 David S. Miller <davem@davemloft.net>
3501
3502 * version.h (RELEASE): Set to "development".
3503 (VERSION): Set to "2.17.90".
3504 * NEWS: Add 2.18 section.
3505
147d03b0
DM
35062012-12-21 David S. Miller <davem@davemloft.net>
3507
3508 * po/hr.po: Update from translation team.
3509
a8ebb2b9
AK
35102012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3511
3512 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3513
95b4f1b6
SE
35142012-12-19 Steve Ellcey <sellcey@mips.com>
3515
b2d94007 3516 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3517
cedb2a90
MS
35182012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3519
3520 * manual/contrib.texi (Contributors): Spelling correction.
3521
bbf527d6
DM
35222012-12-15 David S. Miller <davem@davemloft.net>
3523
3524 * po/ru.po: Update from translation team.
3525
bc38c906
DM
35262012-12-13 David S. Miller <davem@davemloft.net>
3527
85429b1a
DM
3528 * NEWS: Mention IFUNC testsuite enhancements.
3529
d283e353
DM
3530 * po/pl.po: Update from translation team.
3531 * po/bg.po: Likewise.
3532
bc38c906
DM
3533 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3534 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3535
a181b0d7
DM
35362012-12-11 David S. Miller <davem@davemloft.net>
3537
4641d57e
DM
3538 * po/sv.po: Update from translation team.
3539
f7bc6495
DM
3540 * po/vi.po: Update from translation team.
3541
6fc9048f
DM
3542 * po/cs.po: Update from translation team.
3543
a181b0d7
DM
3544 * po/de.po: Update from translation team.
3545 * po/eo.po: Likewise.
3546 * po/nl.po: Likewise.
3547
f70bfe80
SP
35482012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3549
3c8b4190
SP
3550 [BZ #14246]
3551 * manual/argp.texi (Argp Helper Functions): Move node to follow
3552 Argp Parsing State.
3553
f70bfe80
SP
3554 [BZ #14872]
3555 * manual/conf.texi (Limits on File System Capacity): Mention if
3556 terminating null is included in the max size.
3557
188f0adf
AJ
35582012-12-10 Andreas Jaeger <aj@suse.de>
3559
3560 * po/cs.po: Update from translation team.
3561
56e7d3ad
SP
35622012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3563
3564 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3565 void pointer and cast to uintptr_t.
3566 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3567 path.
3568 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3569 * sysdeps/s390/s390-64/memset.S: Likewise.
3570
76f2d2ea 35712012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3572
3573 [BZ #14833]
3574 * menual/message.texi (Message Translation): Fix typos.
3575 (Helper programs for gettext): Likewise.
3576
67cbf9a2
AS
35772012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3578
3579 [BZ #14898]
3580 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3581 Change to -1.
3582
682d0e9a
DM
35832012-12-07 David S. Miller <davem@davemloft.net>
3584
3585 * po/libc.pot: Update.
3586
573cd484
RH
35872012-12-07 Richard Henderson <rth@redhat.com>
3588
7e9da188 3589 [BZ #10114]
573cd484
RH
3590 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3591 normal/normal case to before the switch.
3592 (_FP_DIV): Likewise.
3593
e933a943
MF
35942012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3595 Mike Frysinger <vapier@gentoo.org>
3596
3597 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3598 check for __NR_fadvise64_64.
3599
82123268
CM
36002012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3601
3602 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3603 0, not just to plain "0" as a statement.
3604 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3605 with cw.
3606
d9814526
JM
36072012-12-06 Joseph Myers <joseph@codesourcery.com>
3608
3609 * NEWS: Use sourceware.org in Bugzilla URL.
3610
7728c574
SP
36112012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3612
f16946dd
SP
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3614 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3615
5704bbcb
SP
3616 * stdio-common/tst-put-error.c (do_test): Add newline to the
3617 padded test to ensure flush.
3618
17aa0516
JL
36192012-12-05 Jeff Law <law@redhat.com>
3620
3621 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3622
363313b5
JM
36232012-12-05 Joseph Myers <joseph@codesourcery.com>
3624
effbd42a
JM
3625 * README: Don't refer to ports add-on as distributed separately.
3626 Mention AArch64 in list of systems supported in the ports add-on.
3627
87600365
JM
3628 * LICENSES: Add more non-FSF copyright and license notices.
3629
a0d7066a
JM
3630 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3631 ((unused)).
3632
66ca5a5b
JM
3633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3634
363313b5
JM
3635 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3636 10000 as width of padded output.
3637
b37984ad
JM
36382012-12-04 Joseph Myers <joseph@codesourcery.com>
3639
9003570a
JM
3640 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3641
b37984ad
JM
3642 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3643 variable LX with __attribute__ ((unused)).
3644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3645 Likewise.
3646 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3649 with __attribute__ ((unused)).
3650
c8df52ec
DM
36512012-12-04 David S. Miller <davem@abraco.davemloft.net>
3652
3653 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3654
b3b099af
JM
36552012-12-04 Joseph Myers <joseph@codesourcery.com>
3656
c33aa6e3
JM
3657 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3658 (CFLAGS-nldbl-acos.c): New variable.
3659 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3660 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3661 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3662 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3663 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3664 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3665 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3666 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3667 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3668 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3669 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3670 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3671 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3672 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3673 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3674 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3675 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3676 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3677 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3678 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3679 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3680 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3681 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3682 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3683 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3684 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3685 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3686 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3687 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3688 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3689 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3690 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3691 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3692 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3693 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3694 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3695 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3696 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3697 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3698 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3699 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3700 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3701 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3702 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3703 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3704 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3705 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3706 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3707 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3708 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3709 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3710 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3711 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3712 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3713 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3714 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3715 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3716 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3717 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3718 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3719 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3720 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3721 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3722 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3723 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3724 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3725 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3726 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3727 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3728 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3729 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3730 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3731 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3732 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3733 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3734 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3735 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3736 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3737 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3738 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3739 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3740 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3741 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3742 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3743 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3744 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3745 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3746 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3747 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3748 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3749 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3750 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3751 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3752 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3753 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3754 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3755 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3756
20f0018d
JM
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3758 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3759
b3b099af
JM
3760 [BZ #14914]
3761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3762 whole low double instead of just low 47 bits when splitting values
3763 into two parts.
3764
029264d1
AM
37652012-12-03 Allan McRae <allan@archlinux.org>
3766
3767 * manual/stdio.texi (Predefined Printf Handlers): Remove
3768 @hsep and @vsep usage.
3769
c9d6789e
MF
37702012-12-03 Mike Frysinger <vapier@gentoo.org>
3771
3772 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3773 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3774
4b7634a5
JL
37752012-12-03 Jeff Law <law@redhat.com>
3776
3777 * time/sys/time.h (settimeofday): Do not mark TV argument
3778 as __nonnull.
3779
eb6cbd24
MF
37802012-12-01 Mike Frysinger <vapier@gentoo.org>
3781
3782 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3783 when currently writing and seek to current position when not.
3784 * libio/Makefile (tests): Remove bug-fclose1.
3785 * libio/bug-fclose1.c: Delete.
3786
f638872a
JM
37872012-12-01 Joseph Myers <joseph@codesourcery.com>
3788
3789 * manual/arith.texi (feenableexcept): Fix typo.
3790 (fedisableexcept): Likewise.
3791
48085d14
RM
37922012-11-30 Roland McGrath <roland@hack.frob.com>
3793
3794 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3795 second, differently-typed declaration, rather than a cast.
3796
1a538b9f
SP
37972012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3798
3799 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3800 * include/rpc/svc.h: ... here.
3801
d07f2ff1 38022012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3803
3804 [BZ #13013]
3805 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3806 depending n and resplen2 to catch cases where answer
3807 equals answerp2.
3808
c93ec1f0
CD
38092012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3810
3811 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3812 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3813
37db69de
MF
38142012-11-29 Mike Frysinger <vapier@gentoo.org>
3815
3816 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3817
e10c4e4f
RM
38182012-11-29 Roland McGrath <roland@hack.frob.com>
3819
3820 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3821
2af1b328
JL
38222012-11-28 Jeff Law <law@redhat.com>
3823
3824 [BZ #13761]
3825 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3826 dataset_temporary. Track alloca usage into alloca_used.
3827 If dataset is large allocate and release it via malloc/free.
3828
111db5b1
FW
38292012-06-04 Florian Weimer <fweimer@redhat.com>
3830
f06cc227 3831 [BZ #14197]
111db5b1
FW
3832 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3833
dd694abd
DM
38342012-11-28 David S. Miller <davem@davemloft.net>
3835
3836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3837
9984dd01
JM
38382012-11-28 Joseph Myers <joseph@codesourcery.com>
3839
3840 [BZ #14803]
3841 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3842 of pi/2 rounded to nearest to 64 bits.
3843 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3844 nearest to 64 bits.
3845 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3846 bits.
3847
14bc93a9
JL
38482012-11-28 Jeff Law <law@redhat.com>
3849 Martin Osvald <mosvald@redhat.com>
3850
3851 [BZ #14889]
3852 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3853 * sunrpc/svc.c: Include time.h.
3854 (__svc_accept_failed): New function.
3855 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3856 any reason other than EINTR, call __svc_accept_failed.
3857 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3858 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3859
e3c6aa3a
AS
38602012-11-28 Andreas Schwab <schwab@suse.de>
3861
3862 * scripts/abilist.awk: Also handle indirect functions in .opd
3863 section.
3864
1bead169
JM
38652012-11-28 Joseph Myers <joseph@codesourcery.com>
3866
3867 [BZ #13881]
3868 * sysdeps/x86/fpu/powl_helper.c: New file.
3869 * sysdeps/x86/fpu/Makefile: Likewise.
3870 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3871 (p3): New object.
3872 (__ieee754_powl): Use __powl_helper for finite arguments except
3873 integer exponents below 8.
3874 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3875 (p3): New object.
3876 (__ieee754_powl): Use __powl_helper for finite arguments except
3877 integer exponents below 8.
3878 * math/libm-test.inc (pow_test): Add more tests and enable some
3879 previously disabled tests.
3880 * sysdeps/i386/fpu/libm-test-ulps: Update.
3881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3882
0817d63d
SP
38832012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3884 Carlos O'Donell <carlos_odonell@mentor.com>
3885
3886 * nss/makedb.c (is_prime): Assert that input is odd and greater
3887 than 4. Note that fact in a comment too.
3888 (next_prime): Add 4 to input.
3889
de2fd463
SP
38902012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3891
3892 [BZ #11741]
3893 * libio/Makefile (tests): Add test case tst-fwrite-error.
3894 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3895 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3896 * libio/tst-fwrite-error.c: New test case.
3897
c515fb51
L
38982012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3901 before casting to void *.
3902 * include/libc-internal.h (__pointer_type): New macro.
3903 (__integer_if_pointer_type_sub): Likewise.
3904 (__integer_if_pointer_type): Likewise.
3905 (cast_to_integer): Likewise.
3906 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3907 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3908 before casting to atomic64_t.
3909 (atomic_exchange_acq): Likewise.
3910 (__arch_exchange_and_add_body): Likewise.
3911 (__arch_add_body): Likewise.
3912 (atomic_add_negative): Likewise.
3913 (atomic_add_zero): Likewise.
3914
4cf77aa9
JM
39152012-11-26 Joseph Myers <joseph@codesourcery.com>
3916
3917 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3918 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3919 (add_fdes): Likewise.
3920 (linear_search_fdes): Likewise.
3921 (binary_search_unencoded_fdes): Likewise.
3922
d260b3b4
AS
39232012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3924
3925 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3926
67060746
AC
39272012-11-24 Adam Conrad <adconrad@0c3.net>
3928
3929 * configure.in: Autodetect C++ header directories.
3930 * configure: Regenerated.
3931
800938a1
MF
39322012-11-23 Mike Frysinger <vapier@gentoo.org>
3933
3934 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3935
4e6e34e6
AS
39362012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3937
3938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3939
7c7feb47
JM
39402012-11-22 Joseph Myers <joseph@codesourcery.com>
3941
7184dcdf
JM
3942 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3943 LDBL_MANT_DIG == 106]: Disable some tests.
3944 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3945 Likewise.
3946 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3947 Likewise.
3948
0a42601f
JM
3949 [BZ #14871]
3950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3951 input for small inputs. Return +/- pi/2 for large inputs.
3952 * math/libm-test.inc (atan_test): Add more tests.
3953
79c9b9fe
JM
3954 * sysdeps/generic/unwind-dw2-fde-glibc.c
3955 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3956 __attribute__ ((unused)).
3957
c60d3bf2
JM
3958 [BZ #14645]
3959 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3960 x * y if x and y are nonzero and z is zero.
3961
ef1e0867
JM
3962 [BZ #14811]
3963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3964 nonzero exponents with absolute value below 0x1p-117 to +/-
3965 0x1p-117.
3966
1468ded3
JM
3967 [BZ #14869]
3968 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3969 up arguments below 2**-450, not just those below 2**-500.
3970 * math/libm-test.inc (hypot_test): Add another test.
3971
8e27e3cc
JM
3972 [BZ #14868]
3973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3974 Return a+b for ratio over 2**120, not 2**60.
3975 * math/libm-test.inc (hypot_test): Add another test.
3976
c9c0279b
JM
3977 * math/libm-test.inc (clog_test): Use
3978 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3979 (clog10_test): Likewise.
3980
7c7feb47
JM
3981 [BZ #6778]
3982 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3983
fff1530e
AS
39842012-11-22 Andreas Schwab <schwab@suse.de>
3985
3986 * sysdeps/i386/fpu/libm-test-ulps: Update.
3987
94558d30
PT
39882012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3989
3990 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3991 printf output with newline.
3992
7e1be741
L
39932012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3994
6bfea974
L
3995 [BZ #14865]
3996 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3997 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3998 -z nodlopen, -z initfirst and -z execstack support.
3999 * configure: Regenerated.
4000
7e1be741
L
4001 * elf/elf.h (DF_1_NODIRECT): New macro.
4002 (DF_1_IGNMULDEF): Likewise.
4003 (DF_1_NOKSYMS): Likewise.
4004 (DF_1_NOHDR): Likewise.
4005 (DF_1_EDITED): Likewise.
4006 (DF_1_NORELOC): Likewise.
4007 (DF_1_SYMINTPOSE): Likewise.
4008 (DF_1_GLOBAUDIT): Likewise.
4009 (DF_1_SINGLETON): Likewise.
4010 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4011 DT_1_SUPPORTED_MASK bits.
4012 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4013
105ce2ce
CD
40142012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4015
4016 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4017
123be9de
TS
40182012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4019
d072f3f7
TS
4020 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4021 macro.
4022
123be9de
TS
4023 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4024 (sendmmsg): Move declarations...
4025 * socket/sys/socket.h: ... here.
4026 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4027 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4028 include it from...
4029 * socket/recvmmsg.c: ... this new file.
4030 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4031 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4032 definition of __sendmmsg hidden.
4033 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4034 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4035 Move ENOSYS stub into and include it from...
4036 * socket/sendmmsg.c: ... this new file.
4037 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4038 (sysdep_routines): Move recvmmsg and sendmmsg...
4039 * socket/Makefile (routines): ... here.
4040 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4041 (GLIBC_PRIVATE): Add __sendmmsg.
4042 * include/sys/socket.h (__sendmmsg): Add declarations.
4043 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4044 sendmmsg.
4045
cf9a5d18
JM
40462012-11-20 Joseph Myers <joseph@codesourcery.com>
4047
4048 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4049 variable I1 with __attribute__ ((unused)).
4050 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4051
ecd4caf9
JM
40522012-11-19 Joseph Myers <joseph@codesourcery.com>
4053
be14d48f
JM
4054 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4055 DUMMY variables with __attribute__ ((unused)).
4056
ecd4caf9
JM
4057 * bits/byteswap.h: Include <bits/types.h>.
4058 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4059
986cab95
PT
40602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4061
4062 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4063 string_t. Do not manually set errno.
4064 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4065 length with __strnlen. Make sure to both set errno and return it on
4066 failure.
4067
6d33cc9d
DM
40682012-11-19 David S. Miller <davem@davemloft.net>
4069
4070 With help from Joseph Myers.
4071 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4072 very large arguments properly.
4073 * math/libm-test.inc (atan_test): New tests.
4074 (atan2_test): New tests.
4075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4077
ee663277
JM
40782012-11-19 Joseph Myers <joseph@codesourcery.com>
4079
877f2d8e
JM
4080 [BZ #14856]
4081 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4082 Define to 3.
4083
116fc08a
JM
4084 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4085 [POSIX] (EADDRNOTAVAIL): Likewise.
4086 [POSIX] (EAFNOSUPPORT): Likewise.
4087 [POSIX] (EALREADY): Likewise.
4088 [POSIX] (ECONNABORTED): Likewise.
4089 [POSIX] (ECONNREFUSED): Likewise.
4090 [POSIX] (ECONNRESET): Likewise.
4091 [POSIX] (EDESTADDRREQ): Likewise.
4092 [POSIX] (EDQUOT): Likewise.
4093 [POSIX] (EHOSTUNREACH): Likewise.
4094 [POSIX] (EIDRM): Likewise.
4095 [POSIX] (EISCONN): Likewise.
4096 [POSIX] (ELOOP): Likewise.
4097 [POSIX] (EMULTIHOP): Likewise.
4098 [POSIX] (ENETDOWN): Likewise.
4099 [POSIX] (ENETUNREACH): Likewise.
4100 [POSIX] (ENOBUFS): Likewise.
4101 [POSIX] (ENODATA): Likewise.
4102 [POSIX] (ENOLINK): Likewise.
4103 [POSIX] (ENOMSG): Likewise.
4104 [POSIX] (ENOPROTOOPT): Likewise.
4105 [POSIX] (ENOSR): Likewise.
4106 [POSIX] (ENOSTR): Likewise.
4107 [POSIX] (ENOTCONN): Likewise.
4108 [POSIX] (ENOTSOCK): Likewise.
4109 [POSIX] (EOPNOTSUPP): Likewise.
4110 [POSIX] (EOVERFLOW): Likewise.
4111 [POSIX] (EPROTO): Likewise.
4112 [POSIX] (EPROTONOSUPPORT): Likewise.
4113 [POSIX] (EPROTOTYPE): Likewise.
4114 [POSIX] (ESTALE): Likewise.
4115 [POSIX] (ETIME): Likewise.
4116 [POSIX] (ETXTBSY): Likewise.
4117 [POSIX] (EWOULDBLOCK): Likewise.
4118 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4119 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4120 [POSIX] (SEEK_CUR): Likewise.
4121 [POSIX] (SEEK_END): Likewise.
4122 [POSIX || UNIX98] (mode_t): Do not require.
4123 [POSIX] (off_t): Likewise.
4124 [POSIX] (pid_t): Likewise.
4125 [POSIX] (sys/stat.h): Do not allow header.
4126 [POSIX] (unistd.h): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4128 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4130 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4131 require.
4132 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4133 sigevent): Specify elements.
4134 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4135 entry.
4136 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4137 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4138
a483863f
JM
4139 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4140 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4141 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4142 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4143 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4144 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4145 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4146 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4147 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4148 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4149 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4150 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4151 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4153 Likewise.
4154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4155 Likewise.
4156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4157 Likewise.
4158 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4159 Likewise.
4160 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4162 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4163 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4164 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4165 Specify lower bound on value.
4166 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4167 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4168 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4169 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4170 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4171 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4172 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4173 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4174 value.
4175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4176 as optional.
4177 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4178 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4179 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4180 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4181 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4182 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4183 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4184 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4185 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4186 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4187 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4188 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4189 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4190 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4191 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4192 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4193 entry.
4194 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4195 optional.
4196 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4197 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4198 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4199 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4200 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4202 Likewise.
4203 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4204 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4205 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4206 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4207 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4208 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4210 as optional.
4211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4212 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4213 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4214 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4215 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4216 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4217 specify as optional.
4218 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4219 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4220 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4221 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4222 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4223 [XPG3] (NL_LANGMAX): Likewise.
4224 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4225 [POSIX || XPG3] (NL_NMAX): Likewise.
4226 [POSIX || XPG3] (NL_SETMAX): Likewise.
4227 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4228 [XPG3] (NZERO): Likewise.
4229 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4230 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4231 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4232 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4233 (REG_ERANGE): Expect.
4234 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4235 optional-constant.
4236 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4237 Use (void) in prototype.
4238 [POSIX] (*_t): Allow.
4239 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4240 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4241 (WRDE_BADVAL): Expect.
4242
5ba924e3
JM
4243 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4244 expect.
4245 [XPG3 || XPG4] (O_RSYNC): Likewise.
4246 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4247 Likewise.
4248 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4249 [XPG3 || XPG4] (sigqueue): Likewise.
4250 [XPG3 || XPG4] (sigtimedwait): Likewise.
4251 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4252 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4253 [XPG3 || XPG4] (vsnprintf): Likewise.
4254 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4255 Likewise.
4256 [XPG3 || XPG4] (blksize_t): Likewise.
4257 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4258 Likewise.
4259 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4260 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4261 [XPG3 || XPG4] (struct itimerspec): Likewise.
4262 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4263 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4264 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4265 [XPG3 || XPG4] (clockid_t): Likewise.
4266 [XPG3 || XPG4] (timer_t): Likewise.
4267 [XPG3 || XPG4] (clock_getres): Likewise.
4268 [XPG3 || XPG4] (clock_gettime): Likewise.
4269 [XPG3 || XPG4] (clock_settime): Likewise.
4270 [XPG3 || XPG4] (nanosleep): Likewise.
4271 [XPG3 || XPG4] (timer_create): Likewise.
4272 [XPG3 || XPG4] (timer_delete): Likewise.
4273 [XPG3 || XPG4] (timer_gettime): Likewise.
4274 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4275 [XPG3 || XPG4] (timer_settime): Likewise.
4276 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4277 [XPG3 || XPG4] (getlogin_r): Likewise.
4278 [XPG3 || XPG4] (pread): Likewise.
4279 [XPG3 || XPG4] (pthread_atfork): Likewise.
4280 [XPG3 || XPG4] (pwrite): Likewise.
4281
ee663277
JM
4282 [BZ #14835]
4283 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4284 <bits/siginfo.h>.
4285
942caa16
PT
42862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4287
e19af380
PT
4288 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4289 finalizing MALLSTREAM.
4290
942caa16
PT
4291 * sysdeps/mach/hurd/syncfs.c: New file.
4292
cfde9b46
SP
42932012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4294
4295 [BZ #14719]
4296 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4297 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4298 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4299 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4300 (_nss_dns_gethostbyname4_r): Likewise.
4301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4302 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4303
f6da27e5
PH
43042012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4305
4306 [BZ #13763]
4307 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4308
6665d4a2
SM
43092012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4310
1f51ee92
SM
4311 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4312 * elf/cache.c (print_entry): Print ",AArch64" for
4313 FLAG_AARCH64_LIB64
4314
6665d4a2
SM
4315 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4316 * elf/cache.c (print_entry): Print ",hard-float" for
4317 FLAG_ARM_LIBHF.
4318
05b227bd
DM
43192012-11-18 David S. Miller <davem@davemloft.net>
4320
4321 With help from Joseph Myers.
4322 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4323 cutoff to 2**-13.
4324 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4325 cutoff to 2**-25.
4326 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4327 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4328 small.
4329 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4330 * math/libm-test.inc (y0_test): New tests.
4331 (y1_test): New tests.
4332 * sysdeps/i386/fpu/libm-test-ulps: Update.
4333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4335
786b0b67
AS
43362012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4337
4338 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4339 64-bit targets.
4340 * configure: Regenerated.
4341
8e18b86d
DM
43422012-11-17 David S. Miller <davem@davemloft.net>
4343
4344 [BZ #14811]
4345 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4346 nonzero exponents with absolute value below 0x1p-128 to +/-
4347 0x1p-128.
4348
531f1ae0
JM
43492012-11-17 Joseph Myers <joseph@codesourcery.com>
4350
12df29e2
JM
4351 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4352
150dc1a0
JM
4353 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4354
531f1ae0
JM
4355 * posix/getconf-speclist.c: New file.
4356 * posix/posix-envs.def: Likewise.
4357 * posix/confstr.c (START_ENV_GROUP): New macro.
4358 (END_ENV_GROUP): Likewise.
4359 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4360 (KNOWN_PRESENT_ENV_STRING): Likewise.
4361 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4362 (UNKNOWN_ENVIRONMENT): Likewise.
4363 (confstr): Include posix-envs.def instead of handling
4364 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4365 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4366 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4367 (END_ENV_GROUP): Likewise.
4368 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4369 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4370 (UNKNOWN_ENVIRONMENT): Likewise.
4371 (__sysconf): Include posix-envs.def instead of handling associated
4372 cases directly here.
4373 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4374 preprocessing getconf-speclist.c rather than running getconf or
4375 generating empty file.
4376
a93f9cbc
PT
43772012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4378
4379 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4380
d64d9f87
AL
43812012-11-16 Andrej Lajovic <natrij@gmail.com>
4382
4383 [BZ #14672]
4384 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4385
447885eb
DM
43862012-11-16 David S. Miller <davem@davemloft.net>
4387
4388 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4389 smaller than LDBL_EPSILON/2.0L, just return xm1.
4390
bcbf9830
L
43912012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4392
4393 * elf/tst-array1.c (init): Set constructor priority to 1000.
4394 (fini): Set destructor priority to 1000.
4395 * elf/tst-array2dep.c: Likewise.
4396
2b766585
SP
43972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4398
4399 [BZ #11741]
4400 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4401 (_IO_new_file_xsputn): Also return EOF if none of the input
4402 data was written when overflow failed.
4403 * libio/iopadn.c (_IO_padn): Likewise.
4404 * libio/iowpadn.c (_IO_wpadn): Likewise.
4405 * stdio-common/tst-put-error.c: Add copyright notice.
4406 (do_test): Add case for printing padded string.
4407 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4408 _IO_padn returned error.
4409 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4410 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4411 return EOF.
4412
b1848fde
SP
44132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4414
4415 * libio/libioP.h: Add comment note that the references to C++
4416 bits are now obsolete.
4417
2fd89785
MS
44182012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4419
4420 * math/libm-test.inc (check_complex): Use asprintf.
4421
e3ea5409
JM
44222012-11-14 Joseph Myers <joseph@codesourcery.com>
4423
4424 * debug/pcprofiledump.c (print_version): Update copyright year.
4425 * malloc/memusagestat.c (print_version): Likewise.
4426
2e64d265
L
44272012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4428
4429 [BZ #14831]
4430 * elf/Makefile (tests): Add tst-audit8.
4431 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4432 ($(objpfx)tst-audit8.out): New target.
4433 (tst-audit8-ENV): New variable.
4434 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4435 audit if l_reloc_result is NULL.
4436 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4437 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4438 * elf/tst-audit8.c: New file.
4439
c485e4d2
MS
44402012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4441
4442 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4443 * misc/Makefile (CFLAGS-select.c): Define.
4444 * posix/Makefile (CFLAGS-pause.c): Define.
4445
3a0d900a
DM
44462012-11-13 David S. Miller <davem@davemloft.net>
4447
4448 * crypt/Makefile: Move test targets after toplevel Rules
4449 inclusion. Grab any necessary sysdep routines when linking.
4450 * crypt/md5.c (md5_process_block): Remove define, we will always
4451 name it __md5_process_block.
4452 (md5_finish_ctx): Update md5_process_block call.
4453 (md5_stream): Likewise.
4454 (md5_process_bytes): Likewise.
4455 (md5_process_block): Rename to __md5_process_block and move to ...
4456 * crypt/md5-block.c: ... here.
4457 * crypt/sha256.c (sha256_process_block): Move to ...
4458 * crypt/sha256-block.c: ... here.
4459 * crypt/sha512.c (sha512_process_block): Move to ...
4460 * crypt/sha512-block.c: ... here.
4461 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4462 path.
4463 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4464 * sysdeps/sparc/sparc64/multiarch/Makefile
4465 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4466 crypt subdir.
4467 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4468 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4469 multiarch changes.
4470 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4471 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4472 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4473 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4474 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4475 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4476 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4477 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4479 file.
4480 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4482 file.
4483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4484
8ca89318
JM
44852012-11-13 Joseph Myers <joseph@codesourcery.com>
4486
e27d476a
JM
4487 * timezone/tzselect.ksh: Update from tzcode git revision
4488 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4489 * timezone/zdump.c: Likewise.
4490 * timezone/zic.c: Likewise.
4491 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4492 in TZVERSION setting, not $(PKGVERSION).
4493 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4494 REPORT_BUGS_TO settings.
4495
8ca89318
JM
4496 [BZ #14838]
4497 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4498 macro.
4499
47594329
MS
45002012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4501
4502 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4503 detection to immediately after _FP_ROUND().
4504 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4505 bits are 0.
4506
640ac3f1
DM
45072012-11-11 David S. Miller <davem@davemloft.net>
4508
4509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4510 inttypes.h
4511 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4512 __close rather than their public counterparts.
4513
3d2577bb
JM
45142012-11-10 Joseph Myers <joseph@codesourcery.com>
4515
4516 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4517 file.
4518 [UNIX98] (sem_timedwait): Do not expect.
4519 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4520 [XPG4 || UNIX98] (sockatmark): Do not expect.
4521 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4522 (clock_getcpuclockid): Do not expect.
4523 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4524 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4525 Do not expect.
4526 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4527 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4528 [UNIX98] (vwscanf): Likewise.
4529 [UNIX98] (vswscanf): Likewise.
4530
fb1ae1ee
JM
45312012-11-09 Joseph Myers <joseph@codesourcery.com>
4532
9ec6f8bd
JM
4533 * timezone/version.h: Remove file.
4534 * timezone/README: Do not refer to version.h.
4535 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4536 $(objpfx)version.h.
4537 ($(objpfx)zdump.o): Likewise.
c3f81911 4538 ($(objpfx)version.h): New target.
9ec6f8bd 4539
0aa8f8a1
JM
4540 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4541 2012i.
4542 * timezone/README: Don't mention modification to tzselect.ksh.
4543 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4544 work on unmodified tzselect.ksh. Substitute version numbers in
4545 tzselect.ksh.
4546
4e87147f
JM
4547 * Makefile (format-me): Remove.
4548 (INSTALL): Adjust indentation. Use commands directly instead of
4549 using $(format-me).
4550
8b748aed
JM
4551 * aclocal.m4 (ACX_PKGVERSION): New macro.
4552 (ACX_BUGURL): Likewise.
4553 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4554 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4555 (REPORT_BUGS_TO): Likewise.
4556 * configure: Regenerated.
4557 * config.h.in (PKGVERSION): New macro.
4558 (REPORT_BUGS_TO): Likewise.
4559 * config.make.in (PKGVERSION): New variable.
4560 (PKGVERSION_TEXI): Likewise.
4561 (REPORT_BUGS_TO): Likewise.
4562 (REPORT_BUGS_TEXI): Likewise.
4563 * Makefile (format-me): Use -I$(common-objpfx)manual.
4564 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4565 ($(common-objpfx)manual/%): New target.
4566 (manual/%): Remove target.
4567 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4568 (print_version): Use PKGVERSION.
4569 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4570 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4571 and REPORT_BUGS_TO.
4572 ($(objpfx)xtrace): Likewise.
4573 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4574 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4575 (print_version): Use PKGVERSION.
4576 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4577 (do_version): Use PKGVERSION.
4578 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4579 REPORT_BUGS_TO.
4580 (common-ldd-rewrite): Likewise.
4581 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4582 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4583 (print_version): Use PKGVERSION.
4584 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4585 * elf/pldd.c (argp_program_bug_address): Remove variable.
4586 (more_help): New function.
4587 (argp): Use more_help.
4588 (print_version): Use PKGVERSION.
4589 * elf/sln.c (main): Use PKGVERSION.
4590 (usage): Use REPORT_BUGS_TO.
4591 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4592 (top level): Use PKGVERSION.
4593 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4594 (print_version): Use PKGVERSION.
4595 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4596 (print_version): Use PKGVERSION.
4597 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4598 (print_version): Use PKGVERSION.
4599 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4600 (print_version): Use PKGVERSION.
4601 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4602 (print_version): Use PKGVERSION.
4603 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4604 (print_version): Use PKGVERSION.
4605 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4606 and BUGURL.
4607 ($(objpfx)memusage): Likewise.
4608 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4609 (do_version): Use PKGVERSION.
4610 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4611 (print_version): Use PKGVERSION.
4612 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4613 ($PKGVERSION): New variable.
4614 ($REPORT_BUGS_TO): Likewise.
4615 (usage): Use $REPORT_BUGS_TO.
4616 (top level): Use $PKGVERSION.
4617 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4618 ($(objpfx)pkgvers.texi): New rule.
4619 ($(objpfx)stamp-pkgvers): Likewise.
4620 * manual/install.texi: Include pkgvers.texi.
4621 (--with-pkgversion): Document new configure option.
4622 (--with-bugurl): Likewise.
4623 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4624 than necessarily for this particular distribution. Use
4625 REPORT_BUGS_TO for where to report bugs.
4626 * INSTALL: Regenerated.
4627 * manual/libc.texinfo: Include pkgvers.texi.
4628 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4629 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4630 (print_version): Use PKGVERSION.
4631 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4632 (print_version): Use PKGVERSION.
4633 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4634 (print_version): Use PKGVERSION.
4635 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4636 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4637 macro.
4638 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4639 (print_version): Use PKGVERSION.
4640 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4641 (print_version): Use PKGVERSION.
4642 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4643 and PKGVERSION.
4644
92e4b6a9
JM
4645 * timezone/checktab.awk: Update from tzcode 2012i.
4646 * timezone/ialloc.c: Likewise.
4647 * timezone/private.h: Likewise.
4648 * timezone/scheck.c: Likewise.
4649 * timezone/tzfile.h: Likewise.
4650 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4651 (TZVERSION): Hardcode tzcode version number.
4652 * timezone/zdump.c: Update from tzcode 2012i.
4653 * timezone/zic.c: Likewise.
4654 * timezone/version.h: New file.
4655 * timezone/README: Describe version.h. Update upstream location.
4656
9bde902c
JM
4657 [BZ #14824]
4658 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4659 (mktemp): Enable declaration.
4660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4664 Likewise.
4665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4666 Likewise.
4667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4668 Likewise.
4669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4670 Likewise.
4671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4672 Likewise.
4673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4674 Likewise.
4675
fb1ae1ee
JM
4676 [BZ #14821]
4677 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4678 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4679 for copies of such integer values.
4680 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4681 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4682
2c1adbcb
AJ
46832012-11-09 Andreas Jaeger <aj@suse.de>
4684
4685 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4686 definitions and declarations that are provided by
4687 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4688
d0f8457e
AK
46892012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4690
3a235abb 4691 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4692 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4693 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4694 definition.
4695
57241e26
MS
46962012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4697
4698 * elf/elf.h: Update comment before AArch64 relocations.
4699
60e8270d
DM
47002012-11-07 David S. Miller <davem@davemloft.net>
4701
4702 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4703 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4704 (__start_context): Declare.
4705 (__makecontext_ret): Delete.
4706 (__makecontext): Hook up __start_context instead of
4707 __makecontext_ret.
4708 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4709 (sysdep_routines): Add __start_context when in stdlib.
4710
0fbb0fbc
JM
47112012-11-07 Joseph Myers <joseph@codesourcery.com>
4712
4713 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4714 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4715 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4716 hardcoded "nm".
4717 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4718 (READELF): New variable. Use it instead of hardcoded "readelf".
4719
eb48db7e
L
47202012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4721
4722 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4723 * sysdeps/x86/Makefile: Here.
4724 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4725 * sysdeps/x86/tst-xmmymm.sh: This.
4726
05bcf62a
JM
47272012-11-07 Joseph Myers <joseph@codesourcery.com>
4728
c4b6cf53
JM
4729 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4730 expectations.
4731 [UNIX98] (pthread_barrier_t): Do not expect.
4732 [UNIX98] (pthread_barrierattr_t): Likewise.
4733 [UNIX98] (pthread_spinlock_t): Likewise.
4734 [UNIX98] (pthread_barrier_destroy): Likewise.
4735 [UNIX98] (pthread_barrier_init): Likewise.
4736 [UNIX98] (pthread_barrier_wait): Likewise.
4737 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4738 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4739 [UNIX98] (pthread_barrierattr_init): Likewise.
4740 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4741 [UNIX98] (pthread_getcpuclockid): Likewise.
4742 [UNIX98] (pthread_mutex_timedlock): Likewise.
4743 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4744 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4745 [UNIX98] (pthread_sigmask): Likewise.
4746 [UNIX98] (pthread_spin_destroy): Likewise.
4747 [UNIX98] (pthread_spin_init): Likewise.
4748 [UNIX98] (pthread_spin_lock): Likewise.
4749 [UNIX98] (pthread_spin_trylock): Likewise.
4750 [UNIX98] (pthread_spin_unlock): Likewise.
4751 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4752 Do not expect.
4753 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4754 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4755 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4756 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4757 [XPG3 || XPG4] (pthread_key_t): Likewise.
4758 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4759 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4760 [XPG3 || XPG4] (pthread_once_t): Likewise.
4761 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4762 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4764 [XPG3 || XPG4] (pthread_t): Likewise.
4765
cbe6e120
JM
4766 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4767 not expect.
4768 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4769
1b126443
JM
4770 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4771 Change function return type to int.
4772
b961a573
JM
4773 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4774 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4775 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4776 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4777 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4778 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4779 [!POSIX] (posix_madvise): Likewise.
4780 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4781 && !UNIX98].
4782 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4783 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4784 (mode_t): Likewise.
4785 (posix_mem_offset): Likewise.
4786 (posix_typed_mem_get_info): Likewise.
4787 (posix_typed_mem_open): Likewise.
4788
9e188909
JM
4789 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4790 Change condition to [XOPEN2K8].
4791
05bcf62a
JM
4792 * conform/conformtest.pl: Preprocess allow-header data with -x c
4793 instead of from stdin.
4794 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4795 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4796 [C99-based standards] (cerfc): Likewise.
4797 [C99-based standards] (cexp2): Likewise.
4798 [C99-based standards] (cexpm1): Likewise.
4799 [C99-based standards] (clog10): Likewise.
4800 [C99-based standards] (clog1p): Likewise.
4801 [C99-based standards] (clog2): Likewise.
4802 [C99-based standards] (clgamma): Likewise.
4803 [C99-based standards] (ctgamma): Likewise.
4804 [C99-based standards] (cerff): Likewise.
4805 [C99-based standards] (cerfcf): Likewise.
4806 [C99-based standards] (cexp2f): Likewise.
4807 [C99-based standards] (cexpm1f): Likewise.
4808 [C99-based standards] (clog10f): Likewise.
4809 [C99-based standards] (clog1pf): Likewise.
4810 [C99-based standards] (clog2f): Likewise.
4811 [C99-based standards] (clgammaf): Likewise.
4812 [C99-based standards] (ctgammaf): Likewise.
4813 [C99-based standards] (cerfl): Likewise.
4814 [C99-based standards] (cerfcl): Likewise.
4815 [C99-based standards] (cexp2l): Likewise.
4816 [C99-based standards] (cexpm1l): Likewise.
4817 [C99-based standards] (clog10l): Likewise.
4818 [C99-based standards] (clog1pl): Likewise.
4819 [C99-based standards] (clog2l): Likewise.
4820 [C99-based standards] (clgammal): Likewise.
4821 [C99-based standards] (ctgammal): Likewise.
4822 * conform/data/inttypes.h-data [C99-based standards]: Include
4823 stdint.h-data. Remove all expectations for stdint.h contents.
4824 [C99-based standards] (PRI*): Do not allow.
4825 [C99-based standards] (SCN*): Likewise.
4826 [C99-based standards] (*_t): Likewise.
4827 [C99-based-standards] (PRId8): Expect macro.
4828 [C99-based-standards] (PRIi8): Likewise.
4829 [C99-based-standards] (PRIo8): Likewise.
4830 [C99-based-standards] (PRIu8): Likewise.
4831 [C99-based-standards] (PRIx8): Likewise.
4832 [C99-based-standards] (PRIX8): Likewise.
4833 [C99-based-standards] (SCNd8): Likewise.
4834 [C99-based-standards] (SCNi8): Likewise.
4835 [C99-based-standards] (SCNo8): Likewise.
4836 [C99-based-standards] (SCNu8): Likewise.
4837 [C99-based-standards] (SCNx8): Likewise.
4838 [C99-based-standards] (PRIdLEAST8): Likewise.
4839 [C99-based-standards] (PRIiLEAST8): Likewise.
4840 [C99-based-standards] (PRIoLEAST8): Likewise.
4841 [C99-based-standards] (PRIuLEAST8): Likewise.
4842 [C99-based-standards] (PRIxLEAST8): Likewise.
4843 [C99-based-standards] (PRIXLEAST8): Likewise.
4844 [C99-based-standards] (SCNdLEAST8): Likewise.
4845 [C99-based-standards] (SCNiLEAST8): Likewise.
4846 [C99-based-standards] (SCNoLEAST8): Likewise.
4847 [C99-based-standards] (SCNuLEAST8): Likewise.
4848 [C99-based-standards] (SCNxLEAST8): Likewise.
4849 [C99-based-standards] (PRIdFAST8): Likewise.
4850 [C99-based-standards] (PRIiFAST8): Likewise.
4851 [C99-based-standards] (PRIoFAST8): Likewise.
4852 [C99-based-standards] (PRIuFAST8): Likewise.
4853 [C99-based-standards] (PRIxFAST8): Likewise.
4854 [C99-based-standards] (PRIXFAST8): Likewise.
4855 [C99-based-standards] (SCNdFAST8): Likewise.
4856 [C99-based-standards] (SCNiFAST8): Likewise.
4857 [C99-based-standards] (SCNoFAST8): Likewise.
4858 [C99-based-standards] (SCNuFAST8): Likewise.
4859 [C99-based-standards] (SCNxFAST8): Likewise.
4860 [C99-based-standards] (PRId16): Likewise.
4861 [C99-based-standards] (PRIi16): Likewise.
4862 [C99-based-standards] (PRIo16): Likewise.
4863 [C99-based-standards] (PRIu16): Likewise.
4864 [C99-based-standards] (PRIx16): Likewise.
4865 [C99-based-standards] (PRIX16): Likewise.
4866 [C99-based-standards] (SCNd16): Likewise.
4867 [C99-based-standards] (SCNi16): Likewise.
4868 [C99-based-standards] (SCNo16): Likewise.
4869 [C99-based-standards] (SCNu16): Likewise.
4870 [C99-based-standards] (SCNx16): Likewise.
4871 [C99-based-standards] (PRIdLEAST16): Likewise.
4872 [C99-based-standards] (PRIiLEAST16): Likewise.
4873 [C99-based-standards] (PRIoLEAST16): Likewise.
4874 [C99-based-standards] (PRIuLEAST16): Likewise.
4875 [C99-based-standards] (PRIxLEAST16): Likewise.
4876 [C99-based-standards] (PRIXLEAST16): Likewise.
4877 [C99-based-standards] (SCNdLEAST16): Likewise.
4878 [C99-based-standards] (SCNiLEAST16): Likewise.
4879 [C99-based-standards] (SCNoLEAST16): Likewise.
4880 [C99-based-standards] (SCNuLEAST16): Likewise.
4881 [C99-based-standards] (SCNxLEAST16): Likewise.
4882 [C99-based-standards] (PRIdFAST16): Likewise.
4883 [C99-based-standards] (PRIiFAST16): Likewise.
4884 [C99-based-standards] (PRIoFAST16): Likewise.
4885 [C99-based-standards] (PRIuFAST16): Likewise.
4886 [C99-based-standards] (PRIxFAST16): Likewise.
4887 [C99-based-standards] (PRIXFAST16): Likewise.
4888 [C99-based-standards] (SCNdFAST16): Likewise.
4889 [C99-based-standards] (SCNiFAST16): Likewise.
4890 [C99-based-standards] (SCNoFAST16): Likewise.
4891 [C99-based-standards] (SCNuFAST16): Likewise.
4892 [C99-based-standards] (SCNxFAST16): Likewise.
4893 [C99-based-standards] (PRId32): Likewise.
4894 [C99-based-standards] (PRIi32): Likewise.
4895 [C99-based-standards] (PRIo32): Likewise.
4896 [C99-based-standards] (PRIu32): Likewise.
4897 [C99-based-standards] (PRIx32): Likewise.
4898 [C99-based-standards] (PRIX32): Likewise.
4899 [C99-based-standards] (SCNd32): Likewise.
4900 [C99-based-standards] (SCNi32): Likewise.
4901 [C99-based-standards] (SCNo32): Likewise.
4902 [C99-based-standards] (SCNu32): Likewise.
4903 [C99-based-standards] (SCNx32): Likewise.
4904 [C99-based-standards] (PRIdLEAST32): Likewise.
4905 [C99-based-standards] (PRIiLEAST32): Likewise.
4906 [C99-based-standards] (PRIoLEAST32): Likewise.
4907 [C99-based-standards] (PRIuLEAST32): Likewise.
4908 [C99-based-standards] (PRIxLEAST32): Likewise.
4909 [C99-based-standards] (PRIXLEAST32): Likewise.
4910 [C99-based-standards] (SCNdLEAST32): Likewise.
4911 [C99-based-standards] (SCNiLEAST32): Likewise.
4912 [C99-based-standards] (SCNoLEAST32): Likewise.
4913 [C99-based-standards] (SCNuLEAST32): Likewise.
4914 [C99-based-standards] (SCNxLEAST32): Likewise.
4915 [C99-based-standards] (PRIdFAST32): Likewise.
4916 [C99-based-standards] (PRIiFAST32): Likewise.
4917 [C99-based-standards] (PRIoFAST32): Likewise.
4918 [C99-based-standards] (PRIuFAST32): Likewise.
4919 [C99-based-standards] (PRIxFAST32): Likewise.
4920 [C99-based-standards] (PRIXFAST32): Likewise.
4921 [C99-based-standards] (SCNdFAST32): Likewise.
4922 [C99-based-standards] (SCNiFAST32): Likewise.
4923 [C99-based-standards] (SCNoFAST32): Likewise.
4924 [C99-based-standards] (SCNuFAST32): Likewise.
4925 [C99-based-standards] (SCNxFAST32): Likewise.
4926 [C99-based-standards] (PRId64): Likewise.
4927 [C99-based-standards] (PRIi64): Likewise.
4928 [C99-based-standards] (PRIo64): Likewise.
4929 [C99-based-standards] (PRIu64): Likewise.
4930 [C99-based-standards] (PRIx64): Likewise.
4931 [C99-based-standards] (PRIX64): Likewise.
4932 [C99-based-standards] (SCNd64): Likewise.
4933 [C99-based-standards] (SCNi64): Likewise.
4934 [C99-based-standards] (SCNo64): Likewise.
4935 [C99-based-standards] (SCNu64): Likewise.
4936 [C99-based-standards] (SCNx64): Likewise.
4937 [C99-based-standards] (PRIdLEAST64): Likewise.
4938 [C99-based-standards] (PRIiLEAST64): Likewise.
4939 [C99-based-standards] (PRIoLEAST64): Likewise.
4940 [C99-based-standards] (PRIuLEAST64): Likewise.
4941 [C99-based-standards] (PRIxLEAST64): Likewise.
4942 [C99-based-standards] (PRIXLEAST64): Likewise.
4943 [C99-based-standards] (SCNdLEAST64): Likewise.
4944 [C99-based-standards] (SCNiLEAST64): Likewise.
4945 [C99-based-standards] (SCNoLEAST64): Likewise.
4946 [C99-based-standards] (SCNuLEAST64): Likewise.
4947 [C99-based-standards] (SCNxLEAST64): Likewise.
4948 [C99-based-standards] (PRIdFAST64): Likewise.
4949 [C99-based-standards] (PRIiFAST64): Likewise.
4950 [C99-based-standards] (PRIoFAST64): Likewise.
4951 [C99-based-standards] (PRIuFAST64): Likewise.
4952 [C99-based-standards] (PRIxFAST64): Likewise.
4953 [C99-based-standards] (PRIXFAST64): Likewise.
4954 [C99-based-standards] (SCNdFAST64): Likewise.
4955 [C99-based-standards] (SCNiFAST64): Likewise.
4956 [C99-based-standards] (SCNoFAST64): Likewise.
4957 [C99-based-standards] (SCNuFAST64): Likewise.
4958 [C99-based-standards] (SCNxFAST64): Likewise.
4959 [C99-based-standards] (PRIdMAX): Likewise.
4960 [C99-based-standards] (PRIiMAX): Likewise.
4961 [C99-based-standards] (PRIoMAX): Likewise.
4962 [C99-based-standards] (PRIuMAX): Likewise.
4963 [C99-based-standards] (PRIxMAX): Likewise.
4964 [C99-based-standards] (PRIXMAX): Likewise.
4965 [C99-based-standards] (SCNdMAX): Likewise.
4966 [C99-based-standards] (SCNiMAX): Likewise.
4967 [C99-based-standards] (SCNoMAX): Likewise.
4968 [C99-based-standards] (SCNuMAX): Likewise.
4969 [C99-based-standards] (SCNxMAX): Likewise.
4970 [C99-based-standards] (PRIdPTR): Likewise.
4971 [C99-based-standards] (PRIiPTR): Likewise.
4972 [C99-based-standards] (PRIoPTR): Likewise.
4973 [C99-based-standards] (PRIuPTR): Likewise.
4974 [C99-based-standards] (PRIxPTR): Likewise.
4975 [C99-based-standards] (PRIXPTR): Likewise.
4976 [C99-based-standards] (SCNdPTR): Likewise.
4977 [C99-based-standards] (SCNiPTR): Likewise.
4978 [C99-based-standards] (SCNoPTR): Likewise.
4979 [C99-based-standards] (SCNuPTR): Likewise.
4980 [C99-based-standards] (SCNxPTR): Likewise.
4981 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4982 allow.
4983 * conform/data/stdint.h-data: Update comments to clarify
4984 requirements.
4985 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4986 type.
4987 [C99-based standards] (INT8_MAX): Likewise.
4988 [C99-based standards] (INT16_MIN): Likewise.
4989 [C99-based standards] (INT16_MAX): Likewise.
4990 [C99-based standards] (INT32_MIN): Likewise.
4991 [C99-based standards] (INT32_MAX): Likewise.
4992 [C99-based standards] (INT64_MIN): Likewise.
4993 [C99-based standards] (INT64_MAX): Likewise.
4994 [C99-based standards] (UINT8_MAX): Likewise.
4995 [C99-based standards] (UINT16_MAX): Likewise.
4996 [C99-based standards] (UINT32_MAX): Likewise.
4997 [C99-based standards] (UINT64_MAX): Likewise.
4998 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4999 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5000 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5001 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5002 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5003 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5004 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5005 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5006 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5007 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5008 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5009 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5010 [C99-based standards] (INT_FAST8_MIN): Likewise.
5011 [C99-based standards] (INT_FAST8_MAX): Likewise.
5012 [C99-based standards] (INT_FAST16_MIN): Likewise.
5013 [C99-based standards] (INT_FAST16_MAX): Likewise.
5014 [C99-based standards] (INT_FAST32_MIN): Likewise.
5015 [C99-based standards] (INT_FAST32_MAX): Likewise.
5016 [C99-based standards] (INT_FAST64_MIN): Likewise.
5017 [C99-based standards] (INT_FAST64_MAX): Likewise.
5018 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5019 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5020 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5021 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5022 [C99-based standards] (INTPTR_MIN): Likewise.
5023 [C99-based standards] (INTPTR_MAX): Likewise.
5024 [C99-based standards] (UINTPTR_MAX): Likewise.
5025 [C99-based standards] (INTMAX_MIN): Likewise.
5026 [C99-based standards] (INTMAX_MAX): Likewise.
5027 [C99-based standards] (UINTMAX_MAX): Likewise.
5028 [C99-based standards] (PTRDIFF_MIN): Likewise.
5029 [C99-based standards] (PTRDIFF_MAX): Likewise.
5030 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5031 [C99-based standards] (SIZE_MAX): Likewise.
5032 [C99-based standards] (WCHAR_MAX): Likewise.
5033 [C99-based standards] (WINT_MAX): Likewise.
5034 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5035 constraint on value.
5036 [C99-based standards] (WCHAR_MIN): Likewise.
5037 [C99-based standards] (WINT_MIN): Likewise.
5038 [C99-based standards] (*_t): Allow.
5039 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5040 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5041 Include math.h-data and complex.h-data. Remove all expectations
5042 of math.h and complex.h contents.
5043 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5044 at end of line.
5045 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5046 (struct tm): Expect tag.
5047 [C99-based-standards] (wcstof): Expect function.
5048 [C99-based-standards] (wcstold): Likewise.
5049 [C99-based-standards] (wcstoll): Likewise.
5050 [C99-based-standards] (wcstoull): Likewise.
5051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5052 macro-int-constant. Specify type.
5053 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5054 constraint on value.
5055 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5056 Specify type.
5057 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5058 Specify value.
5059 [ISO C standards]: Do not allow headers.
5060 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5061 wcs[abcdefghijklmnopqrstuvwxyz]*.
5062 [ISO C standards] (*_t): Do not allow.
5063 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5064 Expect function.
5065 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5066 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5067 Specify type.
5068 [ISO C standards]: Do not allow headers.
5069 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5070 is[abcdefghijklmnopqrstuvwxyz]*.
5071 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5072 to[abcdefghijklmnopqrstuvwxyz]*.
5073 [ISO C standards] (*_t): Do not allow.
5074 * conform/data/stdalign.h-data: New file.
5075 * conform/data/stdbool.h-data: Likewise.
5076 * conform/data/stdnoreturn.h-data: Likewise.
5077
7514feb8
RM
50782012-11-07 Roland McGrath <roland@hack.frob.com>
5079
5080 [BZ #14815]
5081 * manual/filesys.texi (Directory Entries): Typo fix.
5082 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5083
19b2ecfc
MS
50842012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5085
5086 * elf/elf.h (EM_AARCH64): New macro.
5087 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5088 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5089 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5090 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5091 (R_AARCH64_TLSDESC): Likewise.
5092 (NT_ARM_TLS): Likewise.
5093 (NT_ARM_HW_BREAK): Likewise.
5094 (NT_ARM_HW_WATCH): Likewise.
5095
60e235ee
JM
50962012-11-07 Joseph Myers <joseph@codesourcery.com>
5097
5098 [BZ #14811]
5099 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5100 (__ieee754_powl): Saturate nonzero exponents with absolute value
5101 below 0x1p-79 to +/- 0x1p-79.
5102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5103 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5104 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5105 nonzero exponents with absolute value below 0x1p-32 to +/-
5106 0x1p-32.
5107 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5108 (__ieee754_powl): Saturate nonzero exponents with absolute value
5109 below 0x1p-79 to +/- 0x1p-79.
5110 * math/libm-test.inc (pow_test): Add more tests.
5111
0ab234b7
AK
51122012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5113
5114 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5115 _dl_s390_cap_flags with kernel. Increase string length.
5116 (_dl_s390_platforms): Add z196 and zEC12.
5117
45832f74
JM
51182012-11-07 Joseph Myers <joseph@codesourcery.com>
5119
5120 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5121 Change XOPEN21K to XOPEN2K.
5122
19218757
MK
51232012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5124
5125 * string/memmove.c: Use memcpy when possible.
5126
c5f45721
AJ
51272012-11-06 Andreas Jaeger <aj@suse.de>
5128
5129 * po/eo.po: Update from translation team.
5130
82477c28
JM
51312012-11-06 Joseph Myers <joseph@codesourcery.com>
5132
5133 [BZ #14793]
5134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5135 exponent and small x and y exponents, scale x or y up. Increase
5136 by 2 the exponent used in scaling up.
5137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5139 * math/libm-test.inc (fma_test): Add more tests.
5140 (fma_test_towardzero): Likewise.
5141 (fma_test_downward): Likewise.
5142 (fma_test_upward): Likewise.
5143
99252c8c
JM
51442012-11-05 Joseph Myers <joseph@codesourcery.com>
5145
acfa885f
JM
5146 [BZ #14805]
5147 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5148 fenv_t *.
5149
99252c8c
JM
5150 [BZ #14801]
5151 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5152 namespace for names of struct fields.
5153 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5154 fenv_t fields.
5155 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5156 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5157
d6d98dea
ST
51582012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5159
5160 [BZ #3665]
5161 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5162
e10bb107
TS
51632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5164
5165 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5166 PTR_DEMANGLE.
5167
5168 [BZ #5246]
5169 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5170 PTR_DEMANGLE.
5171
a0c2940d
JM
51722012-11-04 Joseph Myers <joseph@codesourcery.com>
5173
5174 [BZ #14797]
5175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5176 definitely overflow as x * y not x * y + z.
5177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5179 * math/libm-test.inc (fma_test): Add more tests.
5180 (fma_test_towardzero): Likewise.
5181 (fma_test_downward): Likewise.
5182 (fma_test_upward): Likewise.
5183
b830319d
TS
51842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5185
5186 [BZ #157]
5187
5188 * include/stub-tag.h: Remove file.
5189 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5190 '#include' of it.
5191 * manual/maint.texi (Porting): Don't reference it.
5192 * Makerules ($(objpfx)stubs): Likewise.
5193 * dirent/closedir.c: Don't include <stub-tag.h>.
5194 * dirent/dirfd.c: Likewise.
5195 * dirent/fdopendir.c: Likewise.
5196 * dirent/getdents.c: Likewise.
5197 * dirent/getdents64.c: Likewise.
5198 * dirent/opendir.c: Likewise.
5199 * dirent/readdir.c: Likewise.
5200 * dirent/readdir64.c: Likewise.
5201 * dirent/readdir64_r.c: Likewise.
5202 * dirent/readdir_r.c: Likewise.
5203 * dirent/rewinddir.c: Likewise.
5204 * dirent/seekdir.c: Likewise.
5205 * dirent/telldir.c: Likewise.
5206 * gmon/profil.c: Likewise.
5207 * grp/setgroups.c: Likewise.
5208 * inet/if_index.c: Likewise.
5209 * io/access.c: Likewise.
5210 * io/chdir.c: Likewise.
5211 * io/chmod.c: Likewise.
5212 * io/chown.c: Likewise.
5213 * io/close.c: Likewise.
5214 * io/dup.c: Likewise.
5215 * io/dup2.c: Likewise.
5216 * io/dup3.c: Likewise.
5217 * io/euidaccess.c: Likewise.
5218 * io/faccessat.c: Likewise.
5219 * io/fchdir.c: Likewise.
5220 * io/fchmod.c: Likewise.
5221 * io/fchmodat.c: Likewise.
5222 * io/fchown.c: Likewise.
5223 * io/fchownat.c: Likewise.
5224 * io/fcntl.c: Likewise.
5225 * io/flock.c: Likewise.
5226 * io/fstatfs.c: Likewise.
5227 * io/fstatfs64.c: Likewise.
5228 * io/fstatvfs.c: Likewise.
5229 * io/fstatvfs64.c: Likewise.
5230 * io/futimens.c: Likewise.
5231 * io/fxstat.c: Likewise.
5232 * io/fxstat64.c: Likewise.
5233 * io/fxstatat.c: Likewise.
5234 * io/fxstatat64.c: Likewise.
5235 * io/getcwd.c: Likewise.
5236 * io/isatty.c: Likewise.
5237 * io/lchmod.c: Likewise.
5238 * io/lchown.c: Likewise.
5239 * io/link.c: Likewise.
5240 * io/linkat.c: Likewise.
5241 * io/lseek.c: Likewise.
5242 * io/lseek64.c: Likewise.
5243 * io/lxstat64.c: Likewise.
5244 * io/mkdir.c: Likewise.
5245 * io/mkdirat.c: Likewise.
5246 * io/mkfifo.c: Likewise.
5247 * io/mkfifoat.c: Likewise.
5248 * io/open.c: Likewise.
5249 * io/open64.c: Likewise.
5250 * io/openat.c: Likewise.
5251 * io/openat64.c: Likewise.
5252 * io/pipe.c: Likewise.
5253 * io/pipe2.c: Likewise.
5254 * io/poll.c: Likewise.
5255 * io/posix_fadvise.c: Likewise.
5256 * io/posix_fadvise64.c: Likewise.
5257 * io/posix_fallocate.c: Likewise.
5258 * io/posix_fallocate64.c: Likewise.
5259 * io/read.c: Likewise.
5260 * io/readlink.c: Likewise.
5261 * io/readlinkat.c: Likewise.
5262 * io/rmdir.c: Likewise.
5263 * io/sendfile.c: Likewise.
5264 * io/sendfile64.c: Likewise.
5265 * io/statfs.c: Likewise.
5266 * io/statfs64.c: Likewise.
5267 * io/statvfs.c: Likewise.
5268 * io/statvfs64.c: Likewise.
5269 * io/symlink.c: Likewise.
5270 * io/symlinkat.c: Likewise.
5271 * io/ttyname.c: Likewise.
5272 * io/ttyname_r.c: Likewise.
5273 * io/umask.c: Likewise.
5274 * io/unlink.c: Likewise.
5275 * io/unlinkat.c: Likewise.
5276 * io/utime.c: Likewise.
5277 * io/utimensat.c: Likewise.
5278 * io/write.c: Likewise.
5279 * io/xmknod.c: Likewise.
5280 * io/xmknodat.c: Likewise.
5281 * io/xstat.c: Likewise.
5282 * io/xstat64.c: Likewise.
5283 * login/getpt.c: Likewise.
5284 * login/grantpt.c: Likewise.
5285 * login/unlockpt.c: Likewise.
5286 * math/e_acoshl.c: Likewise.
5287 * math/e_acosl.c: Likewise.
5288 * math/e_asinl.c: Likewise.
5289 * math/e_atan2l.c: Likewise.
5290 * math/e_atanhl.c: Likewise.
5291 * math/e_coshl.c: Likewise.
5292 * math/e_expl.c: Likewise.
5293 * math/e_fmodl.c: Likewise.
5294 * math/e_gammal_r.c: Likewise.
5295 * math/e_hypotl.c: Likewise.
5296 * math/e_j0l.c: Likewise.
5297 * math/e_j1l.c: Likewise.
5298 * math/e_jnl.c: Likewise.
5299 * math/e_lgammal_r.c: Likewise.
5300 * math/e_log10l.c: Likewise.
5301 * math/e_log2l.c: Likewise.
5302 * math/e_logl.c: Likewise.
5303 * math/e_powl.c: Likewise.
5304 * math/e_rem_pio2l.c: Likewise.
5305 * math/e_sinhl.c: Likewise.
5306 * math/e_sqrtl.c: Likewise.
5307 * math/fclrexcpt.c: Likewise.
5308 * math/fedisblxcpt.c: Likewise.
5309 * math/feenablxcpt.c: Likewise.
5310 * math/fegetenv.c: Likewise.
5311 * math/fegetexcept.c: Likewise.
5312 * math/fegetround.c: Likewise.
5313 * math/feholdexcpt.c: Likewise.
5314 * math/fesetenv.c: Likewise.
5315 * math/fesetround.c: Likewise.
5316 * math/feupdateenv.c: Likewise.
5317 * math/fgetexcptflg.c: Likewise.
5318 * math/fraiseexcpt.c: Likewise.
5319 * math/fsetexcptflg.c: Likewise.
5320 * math/ftestexcept.c: Likewise.
5321 * math/k_cosl.c: Likewise.
5322 * math/k_rem_pio2l.c: Likewise.
5323 * math/k_sinl.c: Likewise.
5324 * math/k_tanl.c: Likewise.
5325 * math/s_asinhl.c: Likewise.
5326 * math/s_atanl.c: Likewise.
5327 * math/s_cbrtl.c: Likewise.
5328 * math/s_erfl.c: Likewise.
5329 * math/s_expm1l.c: Likewise.
5330 * math/s_log1pl.c: Likewise.
5331 * math/s_tanhl.c: Likewise.
5332 * misc/acct.c: Likewise.
5333 * misc/brk.c: Likewise.
5334 * misc/chflags.c: Likewise.
5335 * misc/chroot.c: Likewise.
5336 * misc/fchflags.c: Likewise.
5337 * misc/fgetxattr.c: Likewise.
5338 * misc/flistxattr.c: Likewise.
5339 * misc/fremovexattr.c: Likewise.
5340 * misc/fsetxattr.c: Likewise.
5341 * misc/fsync.c: Likewise.
5342 * misc/ftruncate.c: Likewise.
5343 * misc/futimes.c: Likewise.
5344 * misc/futimesat.c: Likewise.
5345 * misc/getdomain.c: Likewise.
5346 * misc/getdtsz.c: Likewise.
5347 * misc/gethostid.c: Likewise.
5348 * misc/gethostname.c: Likewise.
5349 * misc/getloadavg.c: Likewise.
5350 * misc/getpagesize.c: Likewise.
5351 * misc/getsysstats.c: Likewise.
5352 * misc/getxattr.c: Likewise.
5353 * misc/gtty.c: Likewise.
5354 * misc/ioctl.c: Likewise.
5355 * misc/lgetxattr.c: Likewise.
5356 * misc/listxattr.c: Likewise.
5357 * misc/llistxattr.c: Likewise.
5358 * misc/lremovexattr.c: Likewise.
5359 * misc/lsetxattr.c: Likewise.
5360 * misc/lutimes.c: Likewise.
5361 * misc/madvise.c: Likewise.
5362 * misc/mincore.c: Likewise.
5363 * misc/mlock.c: Likewise.
5364 * misc/mlockall.c: Likewise.
5365 * misc/mmap.c: Likewise.
5366 * misc/mprotect.c: Likewise.
5367 * misc/msync.c: Likewise.
5368 * misc/munlock.c: Likewise.
5369 * misc/munlockall.c: Likewise.
5370 * misc/munmap.c: Likewise.
5371 * misc/preadv.c: Likewise.
5372 * misc/preadv64.c: Likewise.
5373 * misc/ptrace.c: Likewise.
5374 * misc/pwritev.c: Likewise.
5375 * misc/pwritev64.c: Likewise.
5376 * misc/readv.c: Likewise.
5377 * misc/reboot.c: Likewise.
5378 * misc/remap_file_pages.c: Likewise.
5379 * misc/removexattr.c: Likewise.
5380 * misc/revoke.c: Likewise.
5381 * misc/select.c: Likewise.
5382 * misc/setdomain.c: Likewise.
5383 * misc/setegid.c: Likewise.
5384 * misc/seteuid.c: Likewise.
5385 * misc/sethostid.c: Likewise.
5386 * misc/sethostname.c: Likewise.
5387 * misc/setregid.c: Likewise.
5388 * misc/setreuid.c: Likewise.
5389 * misc/setxattr.c: Likewise.
5390 * misc/sstk.c: Likewise.
5391 * misc/stty.c: Likewise.
5392 * misc/swapoff.c: Likewise.
5393 * misc/swapon.c: Likewise.
5394 * misc/sync.c: Likewise.
5395 * misc/syncfs.c: Likewise.
5396 * misc/syscall.c: Likewise.
5397 * misc/truncate.c: Likewise.
5398 * misc/ualarm.c: Likewise.
5399 * misc/usleep.c: Likewise.
5400 * misc/ustat.c: Likewise.
5401 * misc/utimes.c: Likewise.
5402 * misc/vhangup.c: Likewise.
5403 * misc/writev.c: Likewise.
5404 * posix/_exit.c: Likewise.
5405 * posix/alarm.c: Likewise.
5406 * posix/execve.c: Likewise.
5407 * posix/fexecve.c: Likewise.
5408 * posix/fork.c: Likewise.
5409 * posix/fpathconf.c: Likewise.
5410 * posix/getaddrinfo.c: Likewise.
5411 * posix/getegid.c: Likewise.
5412 * posix/geteuid.c: Likewise.
5413 * posix/getgid.c: Likewise.
5414 * posix/getgroups.c: Likewise.
5415 * posix/getlogin.c: Likewise.
5416 * posix/getlogin_r.c: Likewise.
5417 * posix/getpgid.c: Likewise.
5418 * posix/getpid.c: Likewise.
5419 * posix/getppid.c: Likewise.
5420 * posix/getresgid.c: Likewise.
5421 * posix/getresuid.c: Likewise.
5422 * posix/getsid.c: Likewise.
5423 * posix/getuid.c: Likewise.
5424 * posix/glob64.c: Likewise.
5425 * posix/nanosleep.c: Likewise.
5426 * posix/pathconf.c: Likewise.
5427 * posix/pause.c: Likewise.
5428 * posix/posix_madvise.c: Likewise.
5429 * posix/pread.c: Likewise.
5430 * posix/pread64.c: Likewise.
5431 * posix/pwrite.c: Likewise.
5432 * posix/pwrite64.c: Likewise.
5433 * posix/sched_getaffinity.c: Likewise.
5434 * posix/sched_getp.c: Likewise.
5435 * posix/sched_gets.c: Likewise.
5436 * posix/sched_primax.c: Likewise.
5437 * posix/sched_primin.c: Likewise.
5438 * posix/sched_rr_gi.c: Likewise.
5439 * posix/sched_setaffinity.c: Likewise.
5440 * posix/sched_setp.c: Likewise.
5441 * posix/sched_sets.c: Likewise.
5442 * posix/sched_yield.c: Likewise.
5443 * posix/setgid.c: Likewise.
5444 * posix/setlogin.c: Likewise.
5445 * posix/setpgid.c: Likewise.
5446 * posix/setresgid.c: Likewise.
5447 * posix/setresuid.c: Likewise.
5448 * posix/setsid.c: Likewise.
5449 * posix/setuid.c: Likewise.
5450 * posix/sleep.c: Likewise.
5451 * posix/spawni.c: Likewise.
5452 * posix/sysconf.c: Likewise.
5453 * posix/times.c: Likewise.
5454 * posix/wait.c: Likewise.
5455 * posix/wait3.c: Likewise.
5456 * posix/wait4.c: Likewise.
5457 * posix/waitpid.c: Likewise.
5458 * resolv/gai_sigqueue.c: Likewise.
5459 * resource/getpriority.c: Likewise.
5460 * resource/getrlimit.c: Likewise.
5461 * resource/getrusage.c: Likewise.
5462 * resource/nice.c: Likewise.
5463 * resource/setpriority.c: Likewise.
5464 * resource/setrlimit.c: Likewise.
5465 * resource/ulimit.c: Likewise.
5466 * rt/aio_cancel.c: Likewise.
5467 * rt/aio_fsync.c: Likewise.
5468 * rt/aio_read.c: Likewise.
5469 * rt/aio_sigqueue.c: Likewise.
5470 * rt/aio_suspend.c: Likewise.
5471 * rt/aio_write.c: Likewise.
5472 * rt/clock_getres.c: Likewise.
5473 * rt/clock_gettime.c: Likewise.
5474 * rt/clock_nanosleep.c: Likewise.
5475 * rt/clock_settime.c: Likewise.
5476 * rt/lio_listio.c: Likewise.
5477 * rt/mq_close.c: Likewise.
5478 * rt/mq_getattr.c: Likewise.
5479 * rt/mq_notify.c: Likewise.
5480 * rt/mq_open.c: Likewise.
5481 * rt/mq_receive.c: Likewise.
5482 * rt/mq_send.c: Likewise.
5483 * rt/mq_setattr.c: Likewise.
5484 * rt/mq_timedreceive.c: Likewise.
5485 * rt/mq_timedsend.c: Likewise.
5486 * rt/mq_unlink.c: Likewise.
5487 * rt/shm_open.c: Likewise.
5488 * rt/shm_unlink.c: Likewise.
5489 * rt/timer_create.c: Likewise.
5490 * rt/timer_delete.c: Likewise.
5491 * rt/timer_getoverr.c: Likewise.
5492 * rt/timer_gettime.c: Likewise.
5493 * rt/timer_settime.c: Likewise.
5494 * setjmp/__longjmp.c: Likewise.
5495 * setjmp/setjmp.c: Likewise.
5496 * signal/kill.c: Likewise.
5497 * signal/killpg.c: Likewise.
5498 * signal/raise.c: Likewise.
5499 * signal/sigaction.c: Likewise.
5500 * signal/sigaltstack.c: Likewise.
5501 * signal/sigblock.c: Likewise.
5502 * signal/sigignore.c: Likewise.
5503 * signal/sigintr.c: Likewise.
5504 * signal/signal.c: Likewise.
5505 * signal/sigpause.c: Likewise.
5506 * signal/sigpending.c: Likewise.
5507 * signal/sigqueue.c: Likewise.
5508 * signal/sigreturn.c: Likewise.
5509 * signal/sigset.c: Likewise.
5510 * signal/sigsetmask.c: Likewise.
5511 * signal/sigstack.c: Likewise.
5512 * signal/sigsuspend.c: Likewise.
5513 * signal/sigtimedwait.c: Likewise.
5514 * signal/sigvec.c: Likewise.
5515 * signal/sigwait.c: Likewise.
5516 * signal/sigwaitinfo.c: Likewise.
5517 * signal/sysv_signal.c: Likewise.
5518 * socket/accept.c: Likewise.
5519 * socket/accept4.c: Likewise.
5520 * socket/bind.c: Likewise.
5521 * socket/connect.c: Likewise.
5522 * socket/getpeername.c: Likewise.
5523 * socket/getsockname.c: Likewise.
5524 * socket/getsockopt.c: Likewise.
5525 * socket/isfdtype.c: Likewise.
5526 * socket/listen.c: Likewise.
5527 * socket/recv.c: Likewise.
5528 * socket/recvfrom.c: Likewise.
5529 * socket/recvmsg.c: Likewise.
5530 * socket/send.c: Likewise.
5531 * socket/sendmsg.c: Likewise.
5532 * socket/sendto.c: Likewise.
5533 * socket/setsockopt.c: Likewise.
5534 * socket/shutdown.c: Likewise.
5535 * socket/sockatmark.c: Likewise.
5536 * socket/socket.c: Likewise.
5537 * socket/socketpair.c: Likewise.
5538 * stdio-common/ctermid.c: Likewise.
5539 * stdio-common/cuserid.c: Likewise.
5540 * stdio-common/remove.c: Likewise.
5541 * stdio-common/rename.c: Likewise.
5542 * stdio-common/renameat.c: Likewise.
5543 * stdio-common/tempname.c: Likewise.
5544 * stdlib/getcontext.c: Likewise.
5545 * stdlib/makecontext.c: Likewise.
5546 * stdlib/setcontext.c: Likewise.
5547 * stdlib/swapcontext.c: Likewise.
5548 * stdlib/system.c: Likewise.
5549 * streams/fattach.c: Likewise.
5550 * streams/fdetach.c: Likewise.
5551 * streams/getmsg.c: Likewise.
5552 * streams/getpmsg.c: Likewise.
5553 * streams/putmsg.c: Likewise.
5554 * streams/putpmsg.c: Likewise.
5555 * sysdeps/unix/bsd/getpt.c: Likewise.
5556 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5557 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5558 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5560 Likewise.
5561 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5562 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5563 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5564 * sysvipc/msgctl.c: Likewise.
5565 * sysvipc/msgget.c: Likewise.
5566 * sysvipc/msgrcv.c: Likewise.
5567 * sysvipc/msgsnd.c: Likewise.
5568 * sysvipc/semctl.c: Likewise.
5569 * sysvipc/semget.c: Likewise.
5570 * sysvipc/semop.c: Likewise.
5571 * sysvipc/semtimedop.c: Likewise.
5572 * sysvipc/shmat.c: Likewise.
5573 * sysvipc/shmctl.c: Likewise.
5574 * sysvipc/shmdt.c: Likewise.
5575 * sysvipc/shmget.c: Likewise.
5576 * termios/tcdrain.c: Likewise.
5577 * termios/tcflow.c: Likewise.
5578 * termios/tcflush.c: Likewise.
5579 * termios/tcgetattr.c: Likewise.
5580 * termios/tcgetpgrp.c: Likewise.
5581 * termios/tcsendbrk.c: Likewise.
5582 * termios/tcsetattr.c: Likewise.
5583 * termios/tcsetpgrp.c: Likewise.
5584 * time/adjtime.c: Likewise.
5585 * time/clock.c: Likewise.
5586 * time/getitimer.c: Likewise.
5587 * time/gettimeofday.c: Likewise.
5588 * time/setitimer.c: Likewise.
5589 * time/settimeofday.c: Likewise.
5590 * time/stime.c: Likewise.
5591 * time/time.c: Likewise.
5592
55932012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5594
a20492cf
PT
5595 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5596 /usr/old/bin.
5597
72e182e3
PT
5598 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5599 instead of spaces.
5600 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5601
fbeafede
JM
56022012-11-03 Joseph Myers <joseph@codesourcery.com>
5603
5b5b04d6
JM
5604 [BZ #14796]
5605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5606 FE_TONEAREST before applying Dekker multiplication and Knuth
5607 addition. Clear inexact exceptions and check for exact zero
5608 results afterwards.
5609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5612 * math/libm-test.inc (fma_test): Add more tests.
5613 (fma_test_towardzero): Likewise.
5614 (fma_test_downward): Likewise.
5615 (fma_test_upward): Likewise.
5616 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5617 function.
5618 (libc_fesetround): New macro.
5619 (libc_fesetroundf): Likewise.
5620 (libc_fesetroundl): Likewise.
5621 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5622 function.
5623 (libc_fesetround_387): Likewise.
5624 (libc_fesetroundf): New macro.
5625 (libc_fesetround): Likewise.
5626 (libc_fesetroundl): Likewise.
5627 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5628 function.
5629 (libc_fesetroundf): New macro.
5630 (libc_fesetround): Likewise.
5631 (libc_fesetroundl): Likewise.
5632 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5633 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5634 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5635 libm_hidden_ver.
5636 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5637 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5638 libm_hidden_def.
5639 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5640 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5641 libm_hidden_ver.
5642 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5643 libm_hidden_def.
5644
fbeafede
JM
5645 [BZ #3439]
5646 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5647 integer constant usable in #if and use that to give value to enum
5648 constant.
5649 (FE_DIVBYZERO): Likewise.
5650 (FE_UNDERFLOW): Likewise.
5651 (FE_OVERFLOW): Likewise.
5652 (FE_INVALID): Likewise.
5653 (FE_INVALID_SNAN): Likewise.
5654 (FE_INVALID_ISI): Likewise.
5655 (FE_INVALID_IDI): Likewise.
5656 (FE_INVALID_ZDZ): Likewise.
5657 (FE_INVALID_IMZ): Likewise.
5658 (FE_INVALID_COMPARE): Likewise.
5659 (FE_INVALID_SOFTWARE): Likewise.
5660 (FE_INVALID_SQRT): Likewise.
5661 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5662 (FE_TONEAREST): Likewise.
5663 (FE_TOWARDZERO): Likewise.
5664 (FE_UPWARD): Likewise.
5665 (FE_DOWNWARD): Likewise.
5666 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5667 (FE_DIVBYZERO): Likewise.
5668 (FE_OVERFLOW): Likewise.
5669 (FE_UNDERFLOW): Likewise.
5670 (FE_INEXACT): Likewise.
5671 (FE_TONEAREST): Likewise.
5672 (FE_DOWNWARD): Likewise.
5673 (FE_UPWARD): Likewise.
5674 (FE_TOWARDZERO): Likewise.
5675 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5676 (FE_UNDERFLOW): Likewise.
5677 (FE_OVERFLOW): Likewise.
5678 (FE_DIVBYZERO): Likewise.
5679 (FE_INVALID): Likewise.
5680 (FE_TONEAREST): Likewise.
5681 (FE_TOWARDZERO): Likewise.
5682 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5683 (FE_OVERFLOW): Likewise.
5684 (FE_UNDERFLOW): Likewise.
5685 (FE_DIVBYZERO): Likewise.
5686 (FE_INEXACT): Likewise.
5687 (FE_TONEAREST): Likewise.
5688 (FE_TOWARDZERO): Likewise.
5689 (FE_UPWARD): Likewise.
5690 (FE_DOWNWARD): Likewise.
5691 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5692 (FE_DIVBYZERO): Likewise.
5693 (FE_OVERFLOW): Likewise.
5694 (FE_UNDERFLOW): Likewise.
5695 (FE_INEXACT): Likewise.
5696 (FE_TONEAREST): Likewise.
5697 (FE_DOWNWARD): Likewise.
5698 (FE_UPWARD): Likewise.
5699 (FE_TOWARDZERO): Likewise.
5700
105ca950
CM
57012012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5702
5703 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5704
a542b389
AS
57052012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5706
5707 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5708 commands. Quote $PWD.
5709 (blacklist_exports): Don't use remove_newlines. Replace "declare
5710 -x" by "export".
5711 (remove_newlines): Remove.
5712
f62c8abc
L
57132012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5714
5715 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5716 * stdlib/stdlib.h (atof): Moved to ...
5717 * include/bits/stdlib-float.h: Here. New file.
5718 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5719 * stdlib/bits/stdlib-float.h: New file.
5720 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5721 -mno-sse -mno-mmx.
5722 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5723 <xmmintrin.h>.
5724
0155d5b2
JM
57252012-11-02 Joseph Myers <joseph@codesourcery.com>
5726
a68d0680
JM
5727 * conform/conformtest.pl (@headers): Add fenv.h.
5728 * conform/data/fenv.h-data: New file.
5729 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5730 include of <math/fenv.h>.
5731
caf7f573
JM
5732 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5733 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5734 && !UNIX98]. Enables tests for XOPEN2K8.
5735 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5736 POSIX2008]: Likewise.
5737
6c073ad6
JM
5738 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5739 (struct rusage): Do not expect type or its members.
5740
0155d5b2
JM
5741 [BZ #3439]
5742 * math/math.h (FP_NAN): Define macro to integer constant usable in
5743 #if and use that to give value to enum constant.
5744 (FP_INFINITE): Likewise.
5745 (FP_ZERO): Likewise.
5746 (FP_SUBNORMAL): Likewise.
5747 (FP_NORMAL): Likewise.
5748
b5dcacb4
AS
57492012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5750
5751 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5752 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5753 arguments.
5754
f7934be8
RM
57552012-11-02 Roland McGrath <roland@hack.frob.com>
5756
5757 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5758 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5759 autoconf-time if not.
5760 * configure.in: Remove AC_PREREQ.
5761
d7d08bde
TMQMF
57622012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5763
5764 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5765 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5766 of the internal implementation.
5767
dcdae19a
JM
57682012-11-02 Joseph Myers <joseph@codesourcery.com>
5769
5770 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5771 except include of <misc/sys/syslog.h>.
5772
d6cffd3e
AS
57732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5774
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5776 function returns with a NULL context exit with zero.
5777
b3563932
TMQMF
57782012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5779
5780 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5781
b288a93d
L
57822012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5783
5784 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5785 (run_program_cmd): This.
5786 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5787 (tst_langinfo): New variable. Use it.
5788
a2421a68
SAS
57892012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5790
5791 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5792 floating point opcodes.
5793
6f796e1b
TS
57942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5795
7402596b
TS
5796 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5797 variable.
5798
d0d4f868
TS
5799 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5800
6f796e1b
TS
5801 * sysdeps/mach/hurd/powerpc: Remove directory.
5802 * sysdeps/mach/powerpc: Likewise.
5803
4da224a2
AS
58042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5805
5806 * scripts/check-local-headers.sh: Ignore c++ headers.
5807
341dd673
TS
58082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5809
5810 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5811 __libc_cleanup_region_start argument.
5812
473611b2
JM
58132012-11-01 Joseph Myers <joseph@codesourcery.com>
5814
5815 [BZ #14784]
5816 [BZ #14785]
5817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5818 x * y using scaling, not as x * y + z.
5819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5821 * math/libm-test.inc (fma_test): Add more tests.
5822 (fma_test_towardzero): Likewise.
5823 (fma_test_downward): Likewise.
5824 (fma_test_upward): Likewise.
5825
4078da3d
TS
58262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5827
5828 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5829
903252aa
JM
58302012-10-31 Joseph Myers <joseph@codesourcery.com>
5831
5832 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5833 New variable.
5834
cbc818d0
TS
58352012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5836
5837 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5838
5a03cb1e
AS
58392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5840
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5842 Fix sort order.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5844 Likewise.
5845
90aff2ff
TMQMF
58462012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5847
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5849 Fix the order of the list for glibc 2.17.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5851 Likewise.
5852
1818fcb7
AS
58532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5854
5855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5856
ef82f4da
JM
58572012-10-31 Joseph Myers <joseph@codesourcery.com>
5858
16a0e2ec
JM
5859 [BZ #14610]
5860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5861 for low part of x being zero before using __atanl (y).
5862 * math/libm-test.inc (atan2_test): Add another test.
5863
0eb69512
JM
5864 * manual/install.texi (Configuring and compiling): Document
5865 general use of test-wrapper and test-wrapper-env.
5866 * INSTALL: Regenerated.
5867
ef82f4da
JM
5868 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5869 (__fma): Do not extract and scale down low bits on after-rounding
5870 systems when result rounded to normal precision would have normal
5871 exponent.
5872 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5873 (__fmal): Do not extract and scale down low bits on after-rounding
5874 systems when result rounded to normal precision would have normal
5875 exponent.
5876 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5877 (__fmal): Do not extract and scale down low bits on after-rounding
5878 systems when result rounded to normal precision would have normal
5879 exponent.
5880 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5881 macro.
5882 (fma_test): Add more tests.
5883 (fma_test_towardzero): Likewise.
5884 (fma_test_downward): Likewise.
5885 (fma_test_upward): Likewise.
5886
954ef0d9
L
58872012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5888
5889 * sysdeps/i386/tininess.h: Renamed to ...
5890 * sysdeps/x86/tininess.h: This.
5891 * sysdeps/x86_64/tininess.h: Removed.
5892
df61ffb2
JM
58932012-10-30 Joseph Myers <joseph@codesourcery.com>
5894
5895 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5896 input. Use $(build-program-cmd).
5897 ($(objpfx)tst-array1-static.out): Likewise.
5898 ($(objpfx)tst-array2.out): Likewise.
5899 ($(objpfx)tst-array3.out): Likewise.
5900 ($(objpfx)tst-array4.out): Likewise.
5901 ($(objpfx)tst-array5.out): Likewise.
5902 ($(objpfx)tst-array5-static.out): Likewise.
5903
01767843
CM
59042012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5905
47cc1490
CM
5906 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5907 if defined.
5908
01767843
CM
5909 * nss/nsswitch.h (nss_interface_function): Provide new
5910 macro for use with NSS functions.
5911 * grp/initgroups.c: Use new macro.
5912 * nss/getXXbyYY.c: Likewise.
5913 * nss/getXXbyYY_r.c: Likewise.
5914 * nss/getXXent.c: Likewise.
5915 * nss/getXXent_r.c: Likewise.
5916 * sysdeps/posix/getaddrinfo.c: Likewise.
5917
8321aa97
AJ
59182012-10-30 Andreas Jaeger <aj@suse.de>
5919
5920 * po/ru.po: Update Russion translation from translation project.
5921
2a27fd6d
JM
59222012-10-30 Joseph Myers <joseph@codesourcery.com>
5923
8627a232
JM
5924 [BZ #14152]
5925 [BZ #14783]
5926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5927 result and shift together with sticky bit instead of replicating
5928 round-to-nearest rounding.
5929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5931 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5932 missing underflow exceptions.
5933 (fma_test_towardzero): Add more tests.
5934 (fma_test_downward): Likewise.
5935 (fma_test_upward): Likewise.
5936
2a27fd6d
JM
5937 [BZ #14047]
5938 * sysdeps/generic/tininess.h: New file.
5939 * sysdeps/i386/tininess.h: Likewise.
5940 * sysdeps/sh/tininess.h: Likewise.
5941 * sysdeps/x86_64/tininess.h: Likewise.
5942 * stdlib/tst-strtod-underflow.c: Likewise.
5943 * stdlib/tst-tininess.c: Likewise.
5944 * stdlib/strtod_l.c: Include <tininess.h>.
5945 (round_and_return): Do not set errno for exact underflow cases.
5946 Force an underflow exception when setting errno for underflow.
5947 Determine underflow based on rounding to normal precision if
5948 TININESS_AFTER_ROUNDING.
5949 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5950 ERANGE for exact underflow cases.
5951 * stdlib/Makefile (tests): Add tst-tininess and
5952 tst-strtod-underflow.
5953 ($(objpfx)tst-tininess): Use $(link-libm).
5954 ($(objpfx)tst-strtod-underflow): Likewise.
5955
e7170363
AJ
59562012-10-30 Andreas Jaeger <aj@suse.de>
5957
e5088dc6
AJ
5958 [BZ#14767]
5959 * elf/Makefile (tests): Remove conditional for have-initfini-array
5960 since this is now always required and the variable does not exist
5961 anymore.
5962 (tests-static): Likewise.
5963 (modules-names): Likewise.
5964
e7170363 5965 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5966
5967 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5968 merged with constructor/destructor.
5969 (init_array): Likewise.
5970 * elf/tst-array2dep.c (fini_array): Likewise.
5971 (init_array): Likewise.
5972
60457d8a
MF
59732012-10-29 Mike Frysinger <vapier@gentoo.org>
5974
5975 * manual/message.texi: Delete @cartouche tags.
5976
8bece752
PT
59772012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5978
94ce799f
PT
5979 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5980 EOPNOTSUPP.
5981 * sysdeps/mach/hurd/fsync.c: Likewise.
5982
8bece752
PT
5983 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5984 [_POSIX_REALTIME_SIGNALS]: Change condition to
5985 [_POSIX_REALTIME_SIGNALS > 0].
5986
86ebe6b1
AJ
59872012-10-27 Andreas Jaeger <aj@suse.de>
5988
5989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5990 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5992 [__WORDSIZE != 64]: Likewise.
5993
54399c08
L
59942012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5995
5996 * iconvdata/tst-table.sh: Remove ${SHELL}.
5997 * iconvdata/tst-tables.sh: Likewise.
5998
e2211bed
DM
59992012-10-25 David S. Miller <davem@davemloft.net>
6000
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6002 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6003 of strtoull.
6004
f303f97c
DM
6005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6006 ifunc-impl-list.c
6007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6008 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6009 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6010 file.
6011
1e9d84cd
RM
60122012-10-25 Roland McGrath <roland@hack.frob.com>
6013
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6015 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6016 __getdirentries.
6017
df381762
JM
60182012-10-25 Joseph Myers <joseph@codesourcery.com>
6019 Jim Blandy <jimb@codesourcery.com>
6020
6021 * scripts/cross-test-ssh.sh: New file.
6022 * manual/install.texi (Configuring and compiling): Document use of
6023 cross-test-ssh.sh.
6024 * INSTALL: Regenerated.
6025
bff64913
PT
60262012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6027
6028 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6029 EOPNOTSUPP.
6030
25fe8932
JM
60312012-10-25 Joseph Myers <joseph@codesourcery.com>
6032
6033 * Makeconfig (run-program-prefix): Fix comment.
6034
cc1290d0
JM
60352012-10-24 Joseph Myers <joseph@codesourcery.com>
6036 Jim Blandy <jimb@codesourcery.com>
6037
6038 * Makeconfig (test-wrapper): New variable,
6039 (test-wrapper-env): Likewise.
6040 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6041 (run-built-tests): Define to yes.
6042 (run-program-prefix): Use $(test-wrapper).
6043 (built-program-cmd): Likewise.
6044 * Rules (make-test-out): Use $(test-wrapper-env) and
6045 $(host-built-program-cmd).
6046 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6047 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6048 tst-pathopt.sh.
6049 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6050 $(test-wrapper-env) to tst-rtld-load-self.sh.
6051 ($(objpfx)order2.out): Use $(test-wrapper).
6052 ($(objpfx)tst-initorder.out): Likewise.
6053 ($(objpfx)tst-initorder2.out): Likewise.
6054 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6055 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6056 (test_wrapper_env): New variable. Use it to run ld.so.
6057 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6058 Use it to run ld.so.
6059 (test_wrapper_env): Likewise.
6060 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6061 $(test-wrapper) to run-iconv-test.sh.
6062 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6063 (ICONV): Use $test_wrapper.
6064 * posix/Makefile ($(objpfx)globtest.out): Pass
6065 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6066 globtest.sh, not $(run-program-prefix).
6067 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6068 (test_wrapper): Likewise.
6069 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6070 set together with run_via_rtld_prefix.
6071 (run_program_prefix): Define in terms of test_wrapper and
6072 run_via_rtld_prefix.
6073
6e6249d0
RM
60742012-10-24 Roland McGrath <roland@hack.frob.com>
6075
6076 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6077 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6078 Targets removed.
6079
6080 [BZ #14743]
6081 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6082 Declare __clock_getres, __clock_gettime, __clock_settime,
6083 __clock_nanosleep, and __clock_getcpuclockid.
6084 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6085 Remove librt_hidden_def (clock_gettime).
6086 * sysdeps/unix/clock_gettime.c: Likewise.
6087 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6088 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6089 * rt/clock_getres.c: Define __clock_getres as an alias.
6090 * sysdeps/posix/clock_getres.c: Likewise.
6091 * rt/clock_settime.c: Define __clock_settime as an alias.
6092 * sysdeps/unix/clock_settime.c: Likewise.
6093 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6094 * sysdeps/unix/clock_nanosleep.c: Likewise.
6095 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6096 * rt/clock-compat.c: New file.
6097 * rt/Makefile (librt-routines): Add clock-compat and move
6098 $(clock-routines) to ...
6099 (routines): ... here, new variable.
6100 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6101 Don't add get_clockfreq here.
6102 * rt/Versions (libc: GLIBC_2.17): New version set.
6103 Add clock_* symbols here.
6104 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6106 (GLIBC_2.17): Add clock_* symbols.
6107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6111 Likewise.
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6113 Likewise.
6114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6118 * NEWS: Mention the move.
6119
6120 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6121 Use __open, __read, __close rather than their public counterparts.
6122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6123 (__get_clockfreq_via_cpuinfo): Likewise.
6124 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6125 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6126
6127 * config.h.in (HAVE_IFUNC): New #undef.
6128 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6129 was successful.
6130 * configure: Regenerated.
6131
0cae3f4b
MF
61322012-10-24 Mike Frysinger <vapier@gentoo.org>
6133
6134 * configure.in: Move READELF check to start of file.
6135 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6136 libc_cv_asm_gnu_indirect_function in the process.
6137 * configure: Regenerated.
6138
8175a253
MF
61392012-10-24 Mike Frysinger <vapier@gentoo.org>
6140
6141 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6142 send the output to /dev/null.
6143 (libc_cv_cc_with_libunwind): Likewise.
6144 (libc_cv_as_noexecstack): Likewise.
6145 * configure: Regenerate.
6146
0708a7d1
JM
61472012-10-24 Joseph Myers <joseph@codesourcery.com>
6148
10b40d85
JM
6149 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6150
0708a7d1
JM
6151 * posix/globtest.sh (TMPDIR): Do not set.
6152 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6153 (testout): Likewise.
6154
9fddec1a
AJ
61552012-10-24 Andreas Jaeger <aj@suse.de>
6156
3a8db22f
AJ
6157 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6158 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6159 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6160 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6161 posix_fadvise64, posix_fallocate64.
6162
9fddec1a
AJ
6163 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6164 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6165 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6166 Likewise.
6167 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6168 Likewise.
6169 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6170
6171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6172 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6173 <bits/fcntl-linux.h>.
6174 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6175
6176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6177 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6178 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6179 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6180 [__WORDSIZE != 64]: Likewise.
6181
ebfd1bbd
JM
61822012-10-23 Joseph Myers <joseph@codesourcery.com>
6183
03ac099f
JM
6184 * Makeconfig (run-built-tests): New variable.
6185 * Rules [$(cross-compiling) = yes]: Change condition to
6186 [$(run-built-tests) = no].
6187 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6188 to [$(run-built-tests) = yes].
6189 * elf/Makefile [$(cross-compiling) = no]: Likewise
6190 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6191 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6192 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6193 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6194 * io/Makefile [$(cross-compiling) = no]: Likewise.
6195 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6196 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6197 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6198 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6199 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6200 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6201 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6202 * string/Makefile [$(cross-compiling) = no]: Likewise.
6203
ebfd1bbd
JM
6204 * posix/Makefile ($(objpfx)globtest.out): Pass
6205 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6206 $(rtld-installed-name).
6207 * posix/globtest.sh (elf_objpfx): Remove variable.
6208 (rtld_installed_name): Likewise.
6209 (library_path): Likewise.
6210 (run_program_prefix): New variable. Use for running globtest
6211 binary.
6212
166bca24
JB
62132012-10-23 Jim Blandy <jimb@codesourcery.com>
6214 Joseph Myers <joseph@codesourcery.com>
6215
6216 * Makeconfig (host-built-program-cmd): New variable.
6217 * elf/Makefile (tst-stackguard1-ARGS): Use
6218 $(host-built-program-cmd).
6219 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6220 (tst-spawn-ARGS): Likewise.
6221 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6222
88866099
JM
62232012-10-23 Joseph Myers <joseph@codesourcery.com>
6224 Jim Blandy <jimb@codesourcery.com>
6225
6226 * Makeconfig (run-via-rtld-prefix): New variable.
6227 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6228 (built-program-cmd): Likewise.
6229
b4b4c296
AJ
62302012-10-22 Andreas Jaeger <aj@suse.de>
6231
6232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6233 __O_RSYNC if it exists, otherwise to O_SYNC.
6234
6fb54a22
JB
62352012-10-22 Jim Blandy <jimb@codesourcery.com>
6236 Joseph Myers <joseph@codesourcery.com>
6237
6238 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6239 /dev/null.
6240 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6241 from /dev/null
6242 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6243 /dev/null.
6244
481b90b9
AJ
62452012-10-22 Andreas Jaeger <aj@suse.de>
6246
2a0e2669
AJ
6247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6248 Define always.
6249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6250
76e38f9a
AJ
6251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6252 bits/fcntl-linux.h.
6253
7cd37b43
AJ
6254 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6255 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6256
481b90b9
AJ
6257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6258 to __O_LARGEFILE.
6259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6260 to __O_LARGEFILE.
6261
aba75984
JB
62622012-10-21 Jim Blandy <jimb@codesourcery.com>
6263 Joseph Myers <joseph@codesourcery.com>
6264
6265 * config.make.in (NM): New variable.
6266
88d4247f
AJ
62672012-10-21 Andreas Jaeger <aj@suse.de>
6268
6269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6270 definitions and declarations that are provided by
6271 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6272
f2eed205
L
62732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6274
6275 [BZ #14683]
6276 * elf/Makefile (tests-static): Add tst-leaks1-static.
6277 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6278 ($(objpfx)tst-leaks1-static): New rule.
6279 ($(objpfx)tst-leaks1-static-mem): Likewise.
6280 (tst-leaks1-static-ENV): New macro.
6281 * elf/dl-open.c (dl_open_worker): Check the main application
6282 only if SHARED is defined.
6283 * elf/tst-leaks1-static.c: New file.
6284
335e6931
AJ
62852012-10-20 Andreas Jaeger <aj@suse.de>
6286
6287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6288 generic values for Linux.
6289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6290 and declarations that are provided by <bits/fcntl-linux.h> and
6291 include <bits/fcntl-linux.h>.
6292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6294
ac5c94d3
RM
62952012-10-20 Roland McGrath <roland@hack.frob.com>
6296
6297 * io/fcntl.h: Move include of <bits/types.h> to the top and
6298 include it unconditionally.
6299
de54b33a
L
63002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6301
228cfb01
L
6302 * wcsmbs/Makefile (tests-ifunc): New variable.
6303 (tests): Add $(tests-ifunc).
6304 * wcsmbs/test-wcschr-ifunc.c: New file.
6305 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6306 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6307 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6308 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6309 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6310
69f07e5f
L
6311 * string/Makefile (tests-ifunc): New variable.
6312 (tests): Add $(tests-ifunc).
6313 * string/test-memccpy.c (TEST_NAME): New macro.
6314 * string/test-memchr.c (TEST_NAME): Likewise.
6315 * string/test-memcmp.c (TEST_NAME): Likewise.
6316 * string/test-memcpy.c (TEST_NAME): Likewise.
6317 * string/test-memmem.c (TEST_NAME): Likewise.
6318 * string/test-memmove.c (TEST_NAME): Likewise.
6319 * string/test-memset.c (TEST_NAME): Likewise.
6320 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6321 * string/test-stpcpy.c (TEST_NAME): Likewise.
6322 * string/test-stpncpy.c (TEST_NAME): Likewise.
6323 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6324 * string/test-strcasestr.c (TEST_NAME): Likewise.
6325 * string/test-strcat.c (TEST_NAME): Likewise.
6326 * string/test-strchr.c (TEST_NAME): Likewise.
6327 * string/test-strcmp.c(TEST_NAME): Likewise.
6328 * string/test-strcpy.c (TEST_NAME): Likewise.
6329 * string/test-strcspn.c (TEST_NAME): Likewise.
6330 * string/test-strlen.c (TEST_NAME): Likewise.
6331 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6332 * string/test-strncmp.c (TEST_NAME): Likewise.
6333 * string/test-strncpy.c (TEST_NAME): Likewise.
6334 * string/test-strnlen.c (TEST_NAME): Likewise.
6335 * string/test-strpbrk.c (TEST_NAME): Likewise.
6336 * string/test-strrchr.c (TEST_NAME): Likewise.
6337 * string/test-strspn.c (TEST_NAME): Likewise.
6338 * string/test-strstr.c (TEST_NAME): Likewise.
6339 * string/test-bcopy-ifunc.c: New file.
6340 * string/test-bzero-ifunc.c: Likewise.
6341 * string/test-memccpy-ifunc.c: Likewise.
6342 * string/test-memchr-ifunc.c: Likewise.
6343 * string/test-memcmp-ifunc.c: Likewise.
6344 * string/test-memcpy-ifunc.c: Likewise.
6345 * string/test-memmem-ifunc.c: Likewise.
6346 * string/test-memmove-ifunc.c: Likewise.
6347 * string/test-mempcpy-ifunc.c: Likewise.
6348 * string/test-memset-ifunc.c: Likewise.
6349 * string/test-rawmemchr-ifunc.c: Likewise.
6350 * string/test-stpcpy-ifunc.c: Likewise.
6351 * string/test-stpncpy-ifunc.c: Likewise.
6352 * string/test-strcasecmp-ifunc.c: Likewise.
6353 * string/test-strcasestr-ifunc.c: Likewise.
6354 * string/test-strcat-ifunc.c: Likewise.
6355 * string/test-strchr-ifunc.c: Likewise.
6356 * string/test-strchrnul-ifunc.c: Likewise.
6357 * string/test-strcmp-ifunc.c: Likewise.
6358 * string/test-strcpy-ifunc.c: Likewise.
6359 * string/test-strcspn-ifunc.c: Likewise.
6360 * string/test-strlen-ifunc.c: Likewise.
6361 * string/test-strncasecmp-ifunc.c: Likewise.
6362 * string/test-strncat-ifunc.c: Likewise.
6363 * string/test-strncmp-ifunc.c: Likewise.
6364 * string/test-strncpy-ifunc.c: Likewise.
6365 * string/test-strnlen-ifunc.c: Likewise.
6366 * string/test-strpbrk-ifunc.c: Likewise.
6367 * string/test-strrchr-ifunc.c: Likewise.
6368 * string/test-strspn-ifunc.c: Likewise.
6369 * string/test-strstr-ifunc.c: Likewise.
6370
de54b33a
L
6371 * debug/Makefile (tests-ifunc): New variable.
6372 (tests): Add $(tests-ifunc).
6373 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6374 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6375 * debug/test-stpcpy_chk-ifunc.c: New file.
6376 * debug/test-strcpy_chk-ifunc.c: Likewise.
6377
88481c16
SP
63782012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6379
6380 [BZ #13601]
6381 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6382 header is not read in.
6383
135948bd
JM
63842012-10-19 Joseph Myers <joseph@codesourcery.com>
6385
89f1c388
JM
6386 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6387 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6388 directly. Pass built executable to script as
6389 $(built-program-cmd).
6390 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6391 $testprogram without using LD_LIBRARY_PATH and $ldso.
6392
e40a0d21
JM
6393 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6394 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6395 $(rtld-installed-name).
6396 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6397 (rtld_installed_name): Likewise.
6398 (library_path): Likewise.
6399 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6400 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6401 $(run-program-prefix) to tst-tables.sh.
6402 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6403 it to run tst-table-from and tst-table-to.
6404 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6405 Pass it to tst-table.sh.
6406 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6407 $(run-program-prefix) to tst-gettext.sh.
6408 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6409 tst-translit.sh.
6410 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6411 tst-gettext2.sh.
6412 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6413 to run tst-gettext.
6414 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6415 to run tst-gettext2.
6416 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6417 to run tst-translit.
6418 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6419 $(run-program-prefix) to tst-mtrace.sh.
6420 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6421 to run tst-mtrace.
6422 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6423 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6424 $(rtld-installed-name).
6425 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6426 (rtld_installed_name): Likewise.
6427 (run_program_prefix): New variable. Use it to run wordexp-test.
6428
728e272a
JM
6429 * Makeconfig (ARCH): Remove all definitions.
6430 (machine): Likewise.
6431 [ARCH]: Remove conditional code.
6432 [!objdir]: Give error.
6433 [!objdir] (objpfx): Remove.
6434 [!objdir] (common-objpfx): Likewise.
6435 [!objdir] (common-objdir): Likewise.
6436 * configure.in (config_makefile): Remove. Hardcode Makefile in
6437 AC_CONFIG_FILES call.
6438 * configure: Regenerated.
6439
d528cdcf
JM
6440 [BZ #13888]
6441 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6442 or TMPDIR.
6443 (testout): Likewise.
6444
135948bd
JM
6445 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6446 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6447 $(rtld-installed-name).
6448 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6449 (rtld_installed_name): Likwise.
6450 (runit): Remove function.
6451 (run_getconf): New variable, Use it for running getconf binary.
6452
38c78296
L
64532012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 [BZ #14716]
6456 * string/test-memmem.c (check_result): New function.
6457 (do_one_test): Use it.
6458 (check1): New function.
6459 (test_main): Use it.
6460
d077f65f
MT
64612012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6462
6463 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6464
ced52c71
JM
64652012-10-18 Joseph Myers <joseph@codesourcery.com>
6466
6467 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6468 (_G_LSEEK64): Likewise.
6469 (_G_MMAP64): Likewise.
6470 (_G_FSTAT64): Likewise.
6471 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6472 (_G_LSEEK64): Likewise.
6473 (_G_MMAP64): Likewise.
6474 (_G_FSTAT64): Likewise.
6475 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6476 unconditional. Call __mmap64 directly.
6477 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6478 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6479 __lseek64 directly.
6480 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6481 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6482 __mmap64 directly.
6483 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6484 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6485 __lseek64 directly.
6486 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6487 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6488 __lseek64 directly.
6489 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6490 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6491 __lseek64 directly.
6492 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6493 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6494 __fxstat64 directly.
6495 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6496 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6497 unconditional.
6498 (freopen64) [!_G_OPEN64]: Remove conditional code.
6499 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6500 unconditional.
6501 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6502 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6503 unconditional.
6504 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6505 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6506 unconditional.
6507 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6508 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6509 unconditional.
6510 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6511 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6512 unconditional.
6513 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6514 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6515 unconditional.
6516 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6517 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6518 unconditional.
6519 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6520
b741de23
SP
65212012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6522
6523 [BZ #12140]
6524 * manual/memory.texi (Malloc Tunable Parameters): Add note
6525 about free list pointers overwriting some perturb bytes.
6526 Wording suggested by Roland McGrath.
6527
f9b9d9c9
JM
65282012-10-17 Joseph Myers <joseph@codesourcery.com>
6529
6530 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6531 (lgamma_test): Likewise.
6532 (tgamma_test): Likewise.
6533
172a631a
FW
65342012-10-16 Florian Weimer <fweimer@redhat.com>
6535
6536 [BZ #14700]
6537 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6538 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6539
e9f37252
MK
65402012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6541
6542 * NEWS: Mention BZ #14716.
6543 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6544 when removing AVAILABLE1_USES_J macro.
6545
d394eb74
L
65462012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6547
6548 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6549 (__bswap_64): __uint64_t for unsigned 64-bit int.
6550
ca38dc17
AS
65512012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6552
6553 * include/string.h (memmem): Declare libc hidden alias.
6554 * string/memmem.c (memmem): Define libc hidden alias.
6555 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6556 __read, __close instead of open, read, close.
6557
9a387d1f
L
65582012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6559
ac49ecaf
L
6560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6561 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6562 global and hidden.
6563 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6564 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6565 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6566 Likewise.
6567 (__rawmemchr_sse2): Likewise.
6568 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6569 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6570 (__strchr_sse2): Likewise.
6571 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6572 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6573 (__strcasecmp_sse2): Likewise.
6574 (__strncasecmp_sse2): Likewise.
6575 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6576 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6577 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6578 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6579 (__strrchr_sse2): Likewise.
6580 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6581 ifunc-impl-list.c.
6582 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6583 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6584 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6585 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6586 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6588 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6589 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6590 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6591 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6592 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6593 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6594 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6595 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6596 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6597 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6598 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6599 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6600 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6601 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6602 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6603 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6604 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6605 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6606 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6607 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6608 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6609 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6610 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6611 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6612
b090e8ea
L
6613 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6614 global and hidden.
6615 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6616 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6617 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6618 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6619 Likewise.
6620 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6621 Likewise.
6622 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6623 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6624 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6625 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6626 ifunc-impl-list.c.
6627 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6628 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6629 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6630 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6631 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6632 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6633 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6634 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6636 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6637 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6638 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6639 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6640 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6641 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6642 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6643 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6644 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6645 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6646 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6648 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6649 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6650 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6651 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6659 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6661 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6666 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6667 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6668
11dd4af6
L
6669 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6670 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6671 * include/ifunc-impl-list.h: New file.
6672 * misc/ifunc-impl-list.c: Likewise.
6673 * misc/Makefile (routines): Add ifunc-impl-list.
6674 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6675 * string/test-string.h: Include <ifunc-impl-list.h>.
6676 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6677 impl_array): New variables.
6678 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6679 are defined.
6680 (test_init): Call __libc_ifunc_impl_list to initialize
6681 func_list if TEST_IFUNC and TEST_NAME are defined.
6682
9a387d1f
L
6683 * string/Makefile (strop-tests): Add bcopy and bzero.
6684 * string/test-bcopy.c: New file.
6685 * string/test-bzero.c: Likewise.
6686 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6687 defined.
6688 * string/test-memset.c: Support bzero test if TEST_BZERO is
6689 defined.
6690 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6691 __libc_memmove.
6692 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6693 __libc_memset.
6694 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6695 of memset.
6696
472371b9
JM
66972012-10-10 Joseph Myers <joseph@codesourcery.com>
6698
1e4a9536
JM
6699 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6700 * configure: Regenerated.
6701
d173d12e
JM
6702 * Makeconfig (+link-static-before-libc): Don't include
6703 $(link-static-libc).
6704
472371b9
JM
6705 * libio/libio.h (_IO_pos_t): Remove.
6706
89a3ad0b
AO
67072012-10-10 Alexandre Oliva <aoliva@redhat.com>
6708
6709 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6710 McGrath.
6711
e7451425
AO
67122012-10-10 Alexandre Oliva <aoliva@redhat.com>
6713
6714 * crypt/crypt-entry.c: Include fips-private.h.
6715 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6716 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6717 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6718 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6719
4ba74a35
AO
67202012-10-10 Alexandre Oliva <aoliva@redhat.com>
6721
6722 * crypt/crypt-private.h: Include stdbool.h.
6723 (_ufc_setup_salt_r): Return bool.
6724 * crypt/crypt-entry.c: Include errno.h.
6725 (__crypt_r): Return NULL with EINVAL for bad salt.
6726 * crypt/crypt_util.c (bad_for_salt): New.
6727 (_ufc_setup_salt_r): Check that salt is long enough and within
6728 the specified alphabet.
6729 * crypt/badsalttest.c: New file.
6730 * crypt/Makefile (tests): Add it.
6731 ($(objpfx)badsalttest): New.
6732
f96f1242
MK
67332012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6734
6735 * NEWS: Add entry for BZ #14602.
6736
0e8e0c1c
JM
67372012-10-09 Joseph Myers <joseph@codesourcery.com>
6738
6739 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6740 type-generic.
6741 * math/libm-test.inc: Update comment listing what functions and
6742 macros are tested.
6743 (isgreater_test): New function.
6744 (isgreaterequal_test): Likewise.
6745 (isless_test): Likewise.
6746 (islessequal_test): Likewise.
6747 (islessgreater_test): Likewise.
6748 (isunordered_test): Likewise.
6749 (main): Call the new functions.
6750
273edc5e
RM
67512012-10-09 Roland McGrath <roland@hack.frob.com>
6752
b8493de0
RM
6753 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6754 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6755 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6756 * sysdeps/i386/configure: Regenerated.
6757 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6758 * sysdeps/mach/configure: Regenerated.
6759 * sysdeps/mach/hurd/configure: Regenerated.
6760 * sysdeps/powerpc/configure: Regenerated.
6761 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6762 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6763 * sysdeps/s390/s390-32/configure: Regenerated.
6764 * sysdeps/s390/s390-64/configure: Regenerated.
6765 * sysdeps/sh/configure: Regenerated.
6766 * sysdeps/sparc/configure: Regenerated.
6767 * sysdeps/unix/sysv/linux/configure: Regenerated.
6768 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6769 * sysdeps/x86_64/configure: Regenerated.
6770
273edc5e
RM
6771 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6772 defined. Don't check if MAP is NULL.
6773
c8450f70
JM
67742012-10-09 Joseph Myers <joseph@codesourcery.com>
6775
6776 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6777 (_G_stat64): Likewise.
6778 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6779 (_G_stat64): Likewise.
6780 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6781 instead of struct _G_stat64.
6782 * libio/fileops.c (mmap_remap_check): Likewise.
6783 (decide_maybe_mmap): Likewise.
6784 (_IO_new_file_seekoff): Likewise.
6785 (_IO_file_stat): Likewise.
6786 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6787 _G_off64_t.
6788 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6789 instead of struct _G_stat64.
6790 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6791
57e605ba
MK
67922012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6793
6794 [BZ #14602]
6795 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6796 Replace with ...
6797 (CHECK_EOL): New macro.
6798 (two_way_short_needle): Check beginning of haystack for EOL. Use
6799 CHECK_EOL.
6800 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6801 Replace with CHECK_EOL.
6802 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6803 Replace with CHECK_EOL.
6804
ef1bb361
JM
68052012-10-08 Joseph Myers <joseph@codesourcery.com>
6806
6807 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6808 type-generic.
6809 * math/libm-test.inc: Update comment listing what functions and
6810 macros are tested.
6811 (finite_test): New function.
6812 (isinf_test): Likewise.
6813 (isnan_test): Likewise.
6814 (fpclassify_test): Test subnormal input.
6815 (isfinite_test): Likewise.
6816 (isnormal_test): Likewise.
6817 (main): Call the new functions.
6818
55f11534
JN
68192012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6820
6821 [BZ #14660]
6822 * Makerules (%.dynsym): Force C locale when running
6823 $(OBJDUMP) --dynamic-syms.
6824
1ab29350
AS
68252012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6826
6827 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6828 <stdint.h>.
6829
f1ecb7ef
DM
68302012-10-06 David S. Miller <davem@davemloft.net>
6831
6832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6833 upper 32-bits of the length value in %o2 since we use branch-on-register
6834 tests which consider the entire 64-bit register.
6835
5d41d91a
L
68362012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6837
6838 * string/test-strstr.c (check2): Add a test for page boundary.
6839
3baddb72
DM
68402012-10-05 David S. Miller <davem@davemloft.net>
6841
6842 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6843 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6844 file.
6845 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6846 sysdep_routines.
6847 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6848 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6849 and bzero when HWCAP_SPARC_CRYPTO is present.
6850
9cee5585
L
68512012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6852
d7e0dab9
L
6853 [BZ #14602]
6854 * string/test-strstr.c (check2): New function.
6855 (test_main): Call check2.
6856
03759f47
L
6857 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6858 and bug-strchr1.
6859 * string/bug-strcasestr1.c (do_test): Moved to ...
6860 * string/test-strcasestr.c (check1): Here. New function.
6861 (do_one_test): Break out result checking code into ...
6862 (check_result): This. New function.
6863 (do_one_test): Call check_result.
6864 (test_main): Call check1.
6865 * string/bug-strchr1.c (do_test): Moved to ...
6866 * string/test-strchr.c (check1): Here. New function.
6867 (do_one_test): Break out result checking code into ...
6868 (check_result): This. New function.
6869 (do_one_test): Call check_result.
6870 (test_main): Call check1.
6871 * string/bug-strstr1.c (main): Moved to ...
046f153e 6872 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6873 (do_one_test): Break out result checking code into ...
6874 (check_result): This. New function.
6875 (do_one_test): Call check_result.
6876 (test_main): Call check1.
6877 * string/bug-strcasestr1.c: Removed.
6878 * string/bug-strchr1.c: Likewise.
6879 * string/bug-strstr1.c: Likewise.
6880
53cea63e
L
6881 * elf/Makefile (dl-routines): Add hwcaps.
6882 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6883 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6884 (_dl_important_hwcaps): Moved to ...
6885 * elf/dl-hwcaps.c: Here. New file.
6886 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6887
9cee5585 6888 [BZ #14557]
bb859b06
L
6889 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6890 if IS_IN_rtld isn't defined.
6891
9cee5585
L
6892 * elf/dl-support.c (_dl_sysinfo_map): New.
6893 Include "get-dynamic-info.h" and "setup-vdso.h".
6894 (_dl_non_dynamic_init): Call setup_vdso.
6895 * elf/dynamic-link.h: Don't include <assert.h>.
6896 (elf_get_dynamic_info): Moved to ...
6897 * elf/get-dynamic-info.h: Here. New file.
6898 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6899 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6900 * elf/setup-vdso.h: Here. New file.
6901 * elf/rtld.c: Include "setup-vdso.h".
6902 (dl_main): Call setup_vdso.
6903
23c31b76
JM
69042012-10-05 Joseph Myers <joseph@codesourcery.com>
6905
28234b07
JM
6906 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6907 creal in comment listing functions tested. List finite, isinf,
6908 isnan, isless, islessequal, isgreater, isgreaterequal,
6909 islessgreater, isunordered, lgamma_r and pow10 as functions and
6910 macros not tested. Mention which functions not tested are aliases
6911 for other functions. Fix typo. Note that signs of NaNs are not
6912 tested.
6913
23c31b76
JM
6914 * scripts/config.guess: Update from config.git.
6915 * scripts/config.sub: Likewise.
6916
9043e228
RM
69172012-10-04 Roland McGrath <roland@hack.frob.com>
6918
6919 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6920 * misc/madvise.c (madvise): Renamed to __madvise.
6921 Make madvise a weak alias.
6922 * include/sys/mman.h: Declare __madvise.
6923 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6924 * sysdeps/unix/syscalls.list
6925 (madvise): Make __madvise the strong name, and madvise a weak alias.
6926 * sysdeps/unix/sysv/linux/syscalls.list
6927 (madvise, mmap): Remove redundant entries.
6928 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6929 * malloc/malloc.c (mtrim): Likewise.
6930 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6931
f57f8055
RM
69322012-10-03 Roland McGrath <roland@hack.frob.com>
6933
6934 * sysdeps/mach/hurd/dl-cache.c: File removed.
6935 * config.h.in (USE_LDCONFIG): New #undef.
6936 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6937 * configure: Regenerated.
6938 * elf/Makefile (dl-routines): Add dl-cache only under
6939 [$(use-ldconfig) = yes].
6940 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6941 cache on [USE_LDCONFIG].
6942 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6943 [USE_LDCONFIG].
6944 * elf/rtld.c (dl_main): Likewise.
6945
5bb0c10a
PT
69462012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6947
6948 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6949 _SC_LEVEL4_CACHE_LINESIZE.
6950
010188c6
RM
69512012-10-03 Roland McGrath <roland@hack.frob.com>
6952
6953 * sysdeps/unix/bsd/confstr.h: File removed.
6954
b6c5ec07
AO
69552012-10-02 Alexandre Oliva <aoliva@redhat.com>
6956
6957 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6958 sys/sdt-config.h.
6959
408223d4
RM
69602012-10-02 Roland McGrath <roland@hack.frob.com>
6961
6962 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6963 Make 'mapoff' field ElfW(Off) rather than off_t.
6964
bb9510dc
DL
69652012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6966
fc997c6e
DL
6967 * nscd/Makefile: Remove nscd-cflags and all its users.
6968 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6969 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6970
bb9510dc
DL
6971 [BZ #10631]
6972 * malloc.c (malloc_printerr): Clarify error message.
6973
05699367
L
69742012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6975
6976 [BZ #14648]
6977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6978 Set bit_FMA_Usable if FMA is supported.
6979 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6980 macro.
6981 (bit_FMA4_Usable): Updated.
6982 (index_FMA_Usable): New macro.
6983 (CPUID_FMA): Likewise
6984 (HAS_FMA): Defined with bit_FMA_Usable.
6985
51367701
RM
69862012-10-01 Roland McGrath <roland@hack.frob.com>
6987
6988 * bits/types.h (__swblk_t): Type removed.
6989 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6990 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6992 (__SWBLK_T_TYPE): Likewise.
6993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6994 (__SWBLK_T_TYPE): Likewise.
6995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6996 (__SWBLK_T_TYPE): Likewise.
6997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6998 (__SWBLK_T_TYPE): Likewise.
6999
4d57bf63 70002012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7001 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7002
7003 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7004 (xdr_mapname): Use YPMAXMAP as maxsize.
7005 (xdr_peername): Use YPMAXPEER as maxsize.
7006 (xdr_keydat): Use YPAXRECORD as maxsize.
7007 (xdr_valdat): Use YPMAXRECORD as maxsize.
7008
93c65d43
RM
70092012-10-01 Roland McGrath <roland@hack.frob.com>
7010
497a03d6
RM
7011 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7012
93c65d43
RM
7013 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7014 * csu/init-first.c: ... here.
7015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7016 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7017 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7018 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7019 * sysdeps/i386/init-first.c: File removed.
7020 * sysdeps/sh/init-first.c: File removed.
7021
bec749fd
JM
70222012-10-01 Joseph Myers <joseph@codesourcery.com>
7023
7024 [BZ #14645]
7025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7026 if x * y might underflow to zero and z is zero.
7027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7029 * math/libm-test.inc (min_subnorm_value): New variable.
7030 (fma_test): Add more tests.
7031 (fma_test_towardzero): Likewise.
7032 (fma_test_downward): Likewise
7033 (fma_test_upward): Likewise.
7034 (initialize): Set min_subnorm_value.
7035
8ec5b013
JM
70362012-09-29 Joseph Myers <joseph@codesourcery.com>
7037
7038 [BZ #14638]
7039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7040 0 + 0.
7041 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7042 mode for addition resulting in exact zero.
7043 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7045 exact 0 + 0.
7046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7048 * math/libm-test.inc (fma_test): Add more tests.
7049 (fma_test_towardzero): New function.
7050 (fma_test_downward): Likewise.
7051 (fma_test_upward): Likewise.
7052 (main): Call the new functions.
7053
b1fa802e
DM
70542012-09-28 David S. Miller <davem@davemloft.net>
7055
7056 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7057
d3b9fd9e
RM
70582012-09-28 Roland McGrath <roland@hack.frob.com>
7059
ea4d37b3
RM
7060 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7061 instead of SIGALRM.
7062
ac51c949
RM
7063 * sysdeps/gnu/_G_config.h: Moved to ...
7064 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7065 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7066 * sysdeps/generic/_G_config.h: ... here.
7067
28c195f7
RM
7068 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7069
848917f9
RM
7070 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7071
6bacf05b
RM
7072 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7073 Conditionalize target on [libnss_test1.so-version].
7074
91363dbb
RM
7075 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7076
cc87f7d8
RM
7077 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7078 (elfobjdir): Move out of conditionals.
7079
b1c608fe
RM
7080 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7081 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7082 (__nss_lookup_function): Conditionalize label remove_from_tree on
7083 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7084
1d9a6d96
DM
70852012-09-28 David S. Miller <davem@davemloft.net>
7086
7087 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7088 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7089 file.
7090 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7091 sysdep_routines.
7092 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7094 when HWCAP_SPARC_CRYPTO is present.
7095
72581615
PT
70962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7097
7098 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7099
715a900c
JL
71002012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7101
7102 [BZ #6530]
7103 * stdio-common/vfprintf.c (process_string_arg): Revert
7104 2000-07-22 change.
7105
71062011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7107
7108 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7109 for testcase.
7110 * stdio-common/tst-sprintf.c: Include <locale.h>
7111 (main): Test sprintf's handling of incomplete multibyte
7112 characters.
7113
9bac1d86
L
71142012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 * elf/dl-runtime.c (VERSYMIDX): Removed.
7117 * elf/dl-version.c (VERSYMIDX): Likewise.
7118 * elf/do-rel.h (VERSYMIDX): Likewise.
7119 (VALIDX): Likewise.
7120 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7121 * elf/rtld.c (VALIDX): Likewise.
7122 (ADDRIDX): Likewise.
9bac1d86
L
7123 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7124 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7125 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7126 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7127 (VALIDX): Likewise.
7128 (ADDRIDX): Likewise.
9bac1d86 7129
b31606c0
PT
71302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7131
7132 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7133
11541177
JL
71342012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7135
7136 [BZ #11438]
7137 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7138 to global scope.
7139 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7140 addresses are in the same scope as 192.0.2/24.
7141 * posix/gai.conf: Document new scope table defaults.
7142
adb26fae
SP
71432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7144
7145 [BZ #5298]
7146 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7147 for ftell. Compute offsets from write pointers instead.
7148 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7149
4573c6b0
SP
71502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7151
7152 [BZ #14543]
7153 * libio/Makefile (tests): New test case tst-fseek.
7154 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7155 combination works in wide mode.
7156 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7157 state when the external buffer state changes.
7158
aa9bbfe6
DM
71592012-09-27 David S. Miller <davem@davemloft.net>
7160
7161 [BZ #14376]
7162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7163 pass reloc->r_addend in as the 'high' argument to
7164 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7165
784421e7
DM
7166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7167
c39bc8b8
PT
71682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7169
7170 * rt/tst-aio2.c: Include <pthread.h>.
7171 * rt/tst-aio3.c: Likewise.
7172
1ccc2399
SE
71732012-09-27 Steve Ellcey <sellcey@mips.com>
7174
7175 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7176
31ed4153
L
71772012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7178
25f5f885
L
7179 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7180 contents on [SHARED].
31ed4153 7181
b7bfe116
MP
71822012-09-26 Marek Polacek <polacek@redhat.com>
7183
7184 [BZ #14530]
7185 [BZ #13741]
7186 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7187 for C++ and GCC <4.3 as well as for non GCC compilers.
7188
43c4edba
MT
71892012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7190
7191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7192
6a1bf82f
RM
71932012-09-25 Roland McGrath <roland@hack.frob.com>
7194
7195 * Makefile.in (all, install): Declare with .PHONY.
7196 Reported by Michael Hope <michael.hope@linaro.org>.
7197
8ad11b9a
TMQMF
71982012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7199
7200 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7201 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7202 system header.
7203 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7204 Likewise.
7205 (sydep_routines): Add the new and the internal functions.
7206 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7207 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7209 (GLIBC_2.17): Add the new function.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7211 (GLIBC_2.17): Likewise.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7213 (GLIBC_2.17): Likewise.
7214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7215 (GLIBC_2.17): Likewise.
7216 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7217
7e2fca8d
AM
72182012-09-25 Alan Modra <amodra@gmail.com>
7219
7220 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7221 Add release barrier before setting once_control to say
7222 initialisation is done. Add hints on lwarx. Use macro in
7223 place of isync.
7224 (clear_once_control): Add release barrier.
7225
b87c4b24
JM
72262012-09-25 Joseph Myers <joseph@codesourcery.com>
7227
d032e0d2
JM
7228 [BZ #13629]
7229 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7230 specially.
7231 * math/s_clog10.c (__clog10): Likewise.
7232 * math/s_clog10f.c (__clog10f): Likewise.
7233 * math/s_clog10l.c (__clog10l): Likewise.
7234 * math/s_clogf.c (__clogf): Likewise.
7235 * math/s_clogl.c (__clogl): Likewise.
7236 * math/Makefile (libm-calls): Add x2y2m1.
7237 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7238 (__x2y2m1): Likewise.
7239 (__x2y2m1l): Likewise.
7240 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7241 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7242 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7244 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7245 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7246 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7247 * sysdeps/i386/fpu/libm-test-ulps: Update.
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7249
b87c4b24
JM
7250 [BZ #14621]
7251 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7252 int as type of variable DEPTH.
7253 (glob): Use size_t instead of int as type of variables NEWCOUNT
7254 and OLD_PATHC.
7255
6d3bf199
LD
72562012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7257
22bf5c17
LD
7258 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7259 Add s_sincosf-sse2.
7260 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7261 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7262 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7263 macros for using routine as __sincosf_ia32.
7264 Use macro for function declaration and weak_alias.
7265 * sysdeps/i386/fpu/libm-test-ulps: Update.
7266
7267 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7269
7270 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7271 subnormal argument.
7272 * math/s_cexpf.c (__cexpf): Likewise.
7273 * math/s_csinf.c (__csinf): Likewise.
7274 * math/s_csinhf.c (__csinhf): Likewise.
7275 * math/s_ctanf.c (__ctanf): Likewise.
7276 * math/s_ctanhf.c (__ctanhf): Likewise.
7277 * math/s_ccosh.c (__ccoshf): Likewise.
7278 * math/s_cexp.c (__cexpl): Likewise.
7279 * math/s_csin.c (__csin): Likewise.
7280 * math/s_csinh.c (__csinh): Likewise.
7281 * math/s_ctan.c (__ctan): Likewise.
7282 * math/s_ctanh.c (ctanh): Likewise.
7283 * math/s_ccoshl.c (__ccoshl): Likewise.
7284 * math/s_cexpl.c (__cexpl): Likewise.
7285 * math/s_csinl.c (__csinl): Likewise.
7286 * math/s_csinhl.c (__csinhl): Likewise.
7287 * math/s_ctanl.c (__ctanl): Likewise.
7288 * math/s_ctanhl.c (__ctanhl): Likewise.
7289
203e5603
JM
72902012-09-25 Joseph Myers <joseph@codesourcery.com>
7291
7292 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7293 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7294 (_IO_off_t): Define to __off_t, not _G_off_t.
7295 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7296 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7297 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7298 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7299 type of __dummy and __dummy2 fields.
7300 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7301 (_G_ssize_t): Likewise.
7302 (_G_off_t): Likewise.
7303 (_G_pid_t): Likewise.
7304 (_G_uid_t): Likewise.
7305 (_G_wchar_t): Likewise.
7306 (_G_wint_t): Likewise.
7307 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7308 (_G_ssize_t): Likewise.
7309 (_G_off_t): Likewise.
7310 (_G_pid_t): Likewise.
7311 (_G_uid_t): Likewise.
7312 (_G_wchar_t): Likewise.
7313 (_G_wint_t): Likewise.
7314 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7315 (_G_ssize_t): Likewise.
7316 (_G_off_t): Likewise.
7317 (_G_pid_t): Likewise.
7318 (_G_uid_t): Likewise.
7319 (_G_wchar_t): Likewise.
7320 (_G_wint_t): Likewise.
7321
9fab36eb
SP
73222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7323
7324 * malloc/arena.c: Include malloc-sysdep.h.
7325 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7326 is sufficient to shrink the heap or an unmap is needed.
7327 * sysdeps/generic/malloc-sysdep.h: New file. Define
7328 new function check_may_shrink_heap.
7329 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7330 new function check_may_shrink_heap.
7331
2b4f00d1
SP
73322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7333
7334 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7335 comments.
7336
9a9028b1
DL
73372012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7338
57c69bef
DL
7339 * catgets/test-gencat.sh: Add "set -e".
7340 * elf/tst-pathopt.sh: Likewise.
7341 * grp/tst_fgetgrent.sh: Likewise.
7342 * iconvdata/run-iconv-test.sh: Likewise.
7343 * intl/tst-gettext.sh: Likewise.
7344 * intl/tst-gettext2.sh: Likewise.
7345 * intl/tst-gettext4.sh: Likewise.
7346 * intl/tst-gettext6.sh: Likewise.
7347 * intl/tst-translit.sh: Likewise.
7348 * io/ftwtest-sh: Likewise.
7349 * libio/test-freopen.sh: Likewise.
7350 * malloc/tst-mtrace.sh: Likewise.
7351 * posix/globtest.sh: Likewise.
7352 * posix/tst-getconf.sh: Likewise.
7353 * posix/wordexp-tst.sh: Likewise.
7354 * stdio-common/tst-printf.sh: Likewise.
7355 * stdio-common/tst-unbputc.sh: Likewise.
7356 * stdlib/tst-fmtmsg.sh: Likewise.
7357 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7358 * catgets/Makefile: Do not specify -e option when running
7359 testsuite shell scripts.
7360 * elf/Makefile: Likewise.
7361 * grp/Makefile: Likewise.
7362 * iconvdata/Makefile: Likewise.
7363 * intl/Makefile: Likewise.
7364 * io/Makefile: Likewise.
7365 * libio/Makefile: Likewise.
7366 * malloc/Makefile: Likewise.
7367 * posix/Makefile: Likewise.
7368 * stdio-common/Makefile: Likewise.
7369 * stdlib/Makefile: Likewise.
7370 * sysdeps/x86_64/Makefile: Likewise.
7371
9a9028b1
DL
7372 * io/ftwtest-sh: Add copyright header.
7373 * posix/globtest.sh: Likewise.
7374 * posix/tst-getconf.sh: Likewise.
7375 * posix/wordexp-tst.sh: Likewise.
7376 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7377
ced6f16e
L
73782012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7379
94b32c39
L
7380 [BZ #13679]
7381 * Makeconfig (+link): Defined as $(+link-static) if
7382 $(build-shared) isn't yes.
7383 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7384 isn't yes.
7385 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7386
189e935b
L
7387 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7388
ced6f16e
L
7389 [BZ #14562]
7390 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7391 new chunk size with MALLOC_ALIGN_MASK.
7392
a9f8e53a
JM
73932012-09-24 Joseph Myers <joseph@codesourcery.com>
7394
7395 [BZ #5044]
7396 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7397 <rounding-mode.h>.
7398 (__printf_fphex): Determine rounding using get_rounding_mode and
7399 round_away.
7400 * stdio-common/tst-printf-round.c (struct hex_test): New
7401 structure.
7402 (hex_tests): New variable.
7403 (test_hex_in_one_mode): New function.
7404 (do_test): Also run tests for hex float output.
7405
43153109
JM
74062012-09-21 Joseph Myers <joseph@codesourcery.com>
7407
7408 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7409 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7410 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7411 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7412 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7413 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7414 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7415 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7416
8a26625d
JM
74172012-09-20 Joseph Myers <joseph@codesourcery.com>
7418
7419 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7420 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7421 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7422 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7423
f3fd569c
DL
74242012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7425
7426 [BZ #14579]
7427 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7428 mode only.
7429 * elf/tst-rtld-load-self.sh: New test.
7430 * elf/Makefile: Run it.
7431
63bbedd4
JM
74322012-09-18 Joseph Myers <joseph@codesourcery.com>
7433
7434 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7435 (tst-writev-ENV): Remove.
7436 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7437
626f8b6a
CM
74382012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7439
7440 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7441
b7aaa4d6
JM
74422012-09-17 Joseph Myers <joseph@codesourcery.com>
7443
7444 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7445 unconditional.
7446 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7447 Likewise.
7448 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7449 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7450 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7451 Likewise.
7452
65513990
L
74532012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7454
7455 [BZ #14587]
7456 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7457 * config.make.in (have-cpp-asm-debuginfo): Removed.
7458 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7459 * configure: Regenerated.
7460
784761be
JM
74612012-09-14 Joseph Myers <joseph@codesourcery.com>
7462
7463 [BZ #5044]
7464 * stdio-common/printf_fp.c: Include <stdbool.h> and
7465 <rounding-mode.h>.
7466 (___printf_fp): Determine rounding using get_rounding_mode and
7467 round_away.
7468 * stdio-common/tst-printf-round.c: New file.
7469 * stdio-common/Makefile (tests): Add tst-printf-round.
7470 (link-libm): New variable.
7471 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7472
9503345f
L
74732012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7474
7475 [BZ #14576]
7476 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7477 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7478 Likewise.
7479 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7480 Likewise.
7481
ad35fc00
JM
74822012-09-13 Joseph Myers <joseph@codesourcery.com>
7483
7484 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7485 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7486 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7487 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7488
6c9b0f68
JM
74892012-09-12 Joseph Myers <joseph@codesourcery.com>
7490
7491 [BZ #14518]
7492 * include/rounding-mode.h: New file.
7493 * sysdeps/generic/get-rounding-mode.h: Likewise.
7494 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7495 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7496 (MAX_VALUE): New macro.
7497 (MIN_VALUE): Likewise.
7498 (overflow_value): New function.
7499 (underflow_value): Likewise.
7500 (round_and_return): Use overflow_value and underflow_value to
7501 determine return values in overflow and underflow cases. Use
7502 round_away to determine rounding depending on rounding mode.
7503 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7504 determine return values in overflow and underflow cases.
7505 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7506 (struct test_results): New structure.
7507 (struct test): Use struct test_results to store expected results
7508 for all rounding modes.
7509 (TEST): Include expected results for all rounding modes.
7510 (test_in_one_mode): New function.
7511 (do_test): Use test_in_one_mode to compute and check results.
7512 Check results for all rounding modes.
7513 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7514 $(link-libm).
7515
19fcedd5
AM
75162012-12-09 Allan McRae <allan@archlinux.org>
7517
1e9d84cd 7518 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7519
8bbfd2f1
JM
75202012-09-11 Joseph Myers <joseph@codesourcery.com>
7521
7522 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7523 (_G_int32_t): Likewise.
7524 (_G_uint16_t): Likewise.
7525 (_G_uint32_t): Likewise.
7526 (_G_HAVE_BOOL): Likewise.
7527 (_G_HAVE_ATEXIT): Likewise.
7528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7529 (_G_HAVE_IO_FILE_OPEN): Likewise.
7530 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7531 (_G_int32_t): Likewise.
7532 (_G_uint16_t): Likewise.
7533 (_G_uint32_t): Likewise.
7534 (_G_HAVE_BOOL): Likewise.
7535 (_G_HAVE_ATEXIT): Likewise.
7536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7537 (_G_HAVE_IO_FILE_OPEN): Likewise.
7538 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7539 (_G_int32_t): Likewise.
7540 (_G_uint16_t): Likewise.
7541 (_G_uint32_t): Likewise.
7542 (_G_HAVE_BOOL): Likewise.
7543 (_G_HAVE_ATEXIT): Likewise.
7544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7545 (_G_HAVE_IO_FILE_OPEN): Likewise.
7546
b1dc5912
L
75472012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7548
7549 * csu/libc-tls.c: Update copyright years.
7550
0e886ef9
JM
75512012-09-10 Joseph Myers <joseph@codesourcery.com>
7552
28361c5e
JM
7553 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7554 [!_G_USING_THUNKS]: Remove conditional code.
7555 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7556 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7557
0e886ef9
JM
7558 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7559 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7560 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7561 (_G_VTABLE_LABEL_PREFIX): Likewise.
7562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7563 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7564 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7565 (_G_VTABLE_LABEL_PREFIX): Likewise.
7566 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7567 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7568 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7569 (_G_VTABLE_LABEL_PREFIX): Likewise.
7570 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7571
bcba7aa2
L
75722012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7573
7574 * libio/Makefile: Include ../Makeconfig before tests.
7575 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7576 only if $(build-shared) is yes.
7577
06585ee8
L
7578 * iconv/gconv_db.c: Update copyright years.
7579
80ccd52c
LD
75802012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7581
7582 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7583 unwind info if defined PIC. Fix special cases description.
7584 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7585
7586 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7587 DP_HI_MASK entry.
7588 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7589
691bc9c1
L
75902012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7591
3d9b46b3
L
7592 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7593
de2139a9
L
7594 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7595 is NULL.
7596
5ca78dd0
L
7597 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7598 (LDLIBS-tst-chk4): This.
7599 (LDFLAGS-tst-chk5): Renamed to ...
7600 (LDLIBS-tst-chk5): This.
7601 (LDFLAGS-tst-chk6): Renamed to ...
7602 (LDLIBS-tst-chk6): This.
7603 (LDFLAGS-tst-lfschk4): Renamed to ...
7604 (LDLIBS-tst-lfschk4): This.
7605 (LDFLAGS-tst-lfschk5): Renamed to ...
7606 (LDLIBS-tst-lfschk5): This.
7607 (LDFLAGS-tst-lfschk6): Renamed to ...
7608 (LDLIBS-tst-lfschk6): This.
7609
691bc9c1
L
7610 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7611 on $(common-objpfx)soversions.mk.
7612
65cafb1c
JM
76132012-09-07 Joseph Myers <joseph@codesourcery.com>
7614
7615 [BZ #10014]
7616 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7617 example host name.
7618
c78ab094
SP
76192012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7620
7621 * malloc/arena.c (arena_get_retry): New function that gets
7622 another arena for the caller to try its request on.
7623 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7624 current arena cannot fulfill the request.
7625 (__libc_memalign): Likewise.
7626 (__libc_memalign): Likewise.
7627 (__libc_pvalloc): Likewise.
7628 (__libc_calloc): Likewise.
7629
01f49f59
JT
76302012-09-05 John Tobey <john.tobey@gmail.com>
7631
7632 [BZ #13542]
7633 * manual/arith.texi (Operations on Complex): Fix description
7634 of carg branch cut.
7635
4c23fed5
JM
76362012-09-06 Joseph Myers <joseph@codesourcery.com>
7637
1d3c8572
JM
7638 [BZ #10014]
7639 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7640 host name.
7641
4c23fed5
JM
7642 [BZ #10038]
7643 * manual/memory.texi (Memory): Make order of menu items match
7644 order of sections.
7645
04570aaa
L
76462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7647
7648 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7649 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7650 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7651
b80af2f4
L
76522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7653
7654 * csu/libc-tls.c (static_dtv): Renamed to ...
7655 (_dl_static_dtv): This. Make it global.
7656 (_dl_initial_dtv): Removed.
7657 (__libc_setup_tls): Updated.
7658 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7659 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7660 DL_INITIAL_DTV.
7661
2abe9f15
PM
76622012-09-06 Petr Machata <pmachata@redhat.com>
7663
7664 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7665 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7666 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7667 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7668
0948c3af
L
76692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7670
7671 [BZ #14545]
7672 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7673 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7674 freeing dtv[-1].
7675
a5055ad1
L
76762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 [BZ #14544]
7679 * Makeconfig (link-static-before-libc): Replace $(+prector)
7680 with $(+prectorT).
7681 (link-static-after-libc): Replace $(+postctor) with
7682 $(+postctorT).
7683 (link-bounded): Replace $(+prector)/$(+postctor) with
7684 $(+prectorT)/$(+postctorT).
7685 (+prectorT): New macro.
7686 (+postctorT): Likewise.
7687
ed8c2ecd
JM
76882012-09-06 Joseph Myers <joseph@codesourcery.com>
7689
7690 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7691 (round_str): Handle values above the maximum for IBM long double
7692 as inexact.
7693 * stdlib/tst-strtod-round.c (tests): Regenerated.
7694
14c996c8
AK
76952012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7696
7697 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7698 assembler flag.
7699 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7700 zarch_nohighgprs around the zarch optimized routines.
7701 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7702 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7703 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7704 for zarch.
7705
430d6ce6
DM
77062012-09-05 David S. Miller <davem@davemloft.net>
7707
7708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7709
ff04dda4
DM
7710 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7711 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7712 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7713 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7714 entries.
7715
24d4e01b
AO
77162012-09-05 Alexandre Oliva <aoliva@redhat.com>
7717
7718 * malloc/arena.c: Fold copyright years.
7719 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7720
61d58174
AO
77212012-09-05 Alexandre Oliva <aoliva@redhat.com>
7722
7723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7724
20196a5e
AO
77252012-09-05 Alexandre Oliva <aoliva@redhat.com>
7726
7727 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7728
5c447383
AO
77292012-09-05 Alexandre Oliva <aoliva@redhat.com>
7730
7731 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7732 change internal state upon failure.
7733
fad64255
AO
77342012-09-05 Alexandre Oliva <aoliva@redhat.com>
7735
7736 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7737 * malloc/memusage.c (mmap): Likewise.
7738 (mmap64, mremap): Likewise. Adjust name in comment.
7739
1ffb8c90
SP
77402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7741
7742 * libio/fileops.c: Fix typos in comments.
7743 * libio/oldfileops.c: Likewise.
7744 * libio/wfileops.c: Likewise.
7745
6ef9cc37
SP
77462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
7748 [BZ #1349]
7749 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7750 (tst-malloc-usable-ENV): Set environment for test case.
7751 * malloc/hooks.c (malloc_check_get_size): New function to get
7752 requested size.
7753 * malloc/malloc.c (musable): Use malloc_check_get_size.
7754 * malloc/tst-malloc-usable.c: New test case.
7755
4d038ae3
AS
77562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7757
7758 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7759
c4e85184
AM
77602012-09-05 Allan McRae <allan@archlinux.org>
7761
b9dafc56 7762 [BZ #13966]
c4e85184
AM
7763 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7764 determine header location.
7765 * configure: Regenerated.
7766
e1343020
AS
77672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7768
7769 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7770 float format.
7771 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7772 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7773 format.
e1343020
AS
7774 (test): Regenerate.
7775
0a9f1987
DM
77762012-09-04 David S. Miller <davem@davemloft.net>
7777
7778 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7779 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7780 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7781
29237804
FW
77822012-09-04 Florian Weimer <fweimer@redhat.com>
7783
7784 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7785 failures.
7786
edb3cb88
FW
7787 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7788
60160d83
JM
77892012-09-04 Joseph Myers <joseph@codesourcery.com>
7790
7791 [BZ #9914]
7792 * libio/iogetdelim.c: Include <limits.h>.
7793 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7794 + len + 1 would overflow.
7795
bcd6c8dc
AJ
77962012-09-03 Andreas Jaeger <aj@suse.de>
7797
7798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7799 * sysdeps/i386/fpu/libm-test-ulps: Update.
7800
4ffffbd2
LD
78012012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7802
7803 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7804 Add s_sinf-sse2, s_conf-sse2.
7805
7806 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7807 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7808 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7809 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7810
7811 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7812 for using routine as __sinf_ia32.
7813 Use macro for function declaration and weak_alias.
7814 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7815 for using routine as __cosf_ia32.
7816 Use macro for function declaration and weak_alias.
7817
7818 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7819 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7820
7821 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7822 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7824
7825 * math/libm-test.inc (cos_test): Add more test cases.
7826 (sin_test): Likewise.
7827 (sincos_test): Likewise.
7828
511fa286
AK
78292012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7830
7831 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7832 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7833 hidden.
7834 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7835
5f30cfec
L
78362012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7837
7838 [BZ #14538]
7839 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7840 first element of the GOT.
7841 (elf_machine_load_address): Return the difference between
7842 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7843
0786794f
AM
78442012-09-01 Allan McRae <allan@archlinux.org>
7845
5f30cfec
L
7846 [BZ #13412]
7847 * configure.in (AWK): Require gawk version 3.0 or later.
7848 * configure: Regenerated.
0786794f 7849
26889eac
JM
78502012-09-01 Joseph Myers <joseph@codesourcery.com>
7851
7852 * sysdeps/unix/sysv/linux/kernel-features.h
7853 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7855 [__NR_clock_getres]: Make code unconditional.
7856 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7857 (clock_getcpuclockid): Remove code left unreachable by removal of
7858 conditionals.
7859 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7860 code unconditional.
7861 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7862 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7863 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7864 Make code unconditional.
7865 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7867 * sysdeps/unix/sysv/linux/clock_settime.c
7868 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7869 conditional code.
7870 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7871 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7872
d22e28b0
L
78732012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7874
7875 [BZ #14476]
7876 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7877 scripts/test-installation.pl.
7878
7879 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7880 and $ld_so_version if it is set.
7881
050af9c4
SP
78822012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7883
7884 [BZ #14516]
7885 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7886 failure if reading from procfs failed.
7887 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7888
ad845c0b
JM
78892012-08-27 Joseph Myers <joseph@codesourcery.com>
7890
7891 * sysdeps/unix/sysv/linux/kernel-features.h
7892 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7893 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7894 Remove conditional code.
7895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7896 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7897 Remove conditional code.
7898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7899 * sysdeps/unix/sysv/linux/i386/fxstat.c
7900 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7902 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7903 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7904 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7905 * sysdeps/unix/sysv/linux/i386/lxstat.c
7906 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7908 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7909 Remove conditional code.
7910 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7911 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7912 Remove conditional code.
7913 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7914 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7915 <kernel-features.h>.
7916 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7917 Remove.
7918 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7919 Remove conditional code.
7920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7921 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7922 Remove conditional.
7923
5dbf56af
MF
79242012-08-27 Mike Frysinger <vapier@gentoo.org>
7925
7926 [BZ #5400]
7927 * NEWS: Add fixed bug number.
7928
d6e70f43
JM
79292012-08-27 Joseph Myers <joseph@codesourcery.com>
7930
7efb4737
JM
7931 [BZ #14519]
7932 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7933 underflowing exponent in case of negative sign.
7934 * stdlib/tst-strtod-round-data: Add more tests.
7935 * stdlib/tst-strtod-round.c (tests): Regenerated.
7936
af92131a
JM
7937 [BZ #3479]
7938 * stdlib/strtod_l.c (NDIG): Remove.
7939 (HEXNDIG): Likewise.
7940 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7941 smallest representable value.
7942 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7943 lie within an exact representation of 1/2 ulp of the result.
7944 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7945 unconditionally.
7946 (TENS_P9_IDX): Define unconditionally.
7947 (TENS_P9_SIZE): Likewise.
7948 (TENS_P10_IDX): Likewise.
7949 (TENS_P10_SIZE): Likewise.
7950 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7951 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7953 entries for 10^2^13 and 10^2^14.
7954 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7955 (TENS_P13_IDX): Define.
7956 (TENS_P13_SIZE): Likewise.
7957 (TENS_P14_IDX): Likewise.
7958 (TENS_P14_SIZE): Likewise.
7959 (_fpioconst_pow10): Change array size to
7960 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7961 unconditional.
7962 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7963 1024]: Add entries for 10^2^13 and 10^2^14.
7964 [LAST_POW10 > _LAST_POW10]: Remove #error.
7965 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7966 (_fpioconst_pow10): Change array size to
7967 FPIOCONST_POW10_ARRAY_SIZE.
7968 * stdlib/gen-fpioconst.c: New file.
7969 * stdlib/gen-tst-strtod-round.c: Likewise.
7970 * stdlib/tst-strtod-round-data: Likewise.
7971 * stdlib/tst-strtod-round.c: Likewise.
7972 * stdlib/Makefile (tests): Add tst-strtod-round.
7973
d6e70f43
JM
7974 [BZ #14459]
7975 * stdlib/strtod_l.c: Include <stdint.h>.
7976 (NDEBUG): Do not define.
7977 (round_and_return): Change EXPONENT parameter to type intmax_t.
7978 Rearrange calculations to avoid internal overflow possibilities.
7979 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7980 Rearrange calculations to avoid internal overflow possibilities.
7981 Assert that number fits inside MPNSIZE limbs.
7982 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7983 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7984 calculations and add assertions to avoid internal overflow
7985 possibilities. Add casts to avoid signed/unsigned operations.
7986 * stdlib/tst-strtod-overflow.c: New file.
7987 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7988
1f529f7d
MP
79892012-08-25 Marek Polacek <polacek@redhat.com>
7990
7991 * time/time.h: Fix some typos in comments.
7992
59a629f1
RM
79932012-08-23 Roland McGrath <roland@hack.frob.com>
7994
7995 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7996 * posix/tst-rfc3484-2.c: Likewise.
7997 * posix/tst-rfc3484-3.c: Likewise.
7998
d3bafbc9
SM
79992012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8000
8001 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8002 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8003
4efcc022
JM
80042012-08-23 Joseph Myers <joseph@codesourcery.com>
8005
8006 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8007 #include of fxstatat64.c.
8008
3cc3ef96
RM
80092012-08-22 Roland McGrath <roland@hack.frob.com>
8010
f04e2132
RM
8011 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8012 * shadow/getspent_r.c: Likewise.
8013 * shadow/getspnam.c: Likewise.
8014 * shadow/getspnam_r.c: Likewise.
8015 * gshadow/getsgent.c: Likewise.
8016 * gshadow/getsgent_r.c: Likewise.
8017 * gshadow/getsgnam.c: Likewise.
8018 * gshadow/getsgnam_r.c: Likewise.
8019 * inet/getnetbyad.c: Likewise.
8020 * inet/getnetbyad_r.c: Likewise.
8021 * inet/getnetbynm.c: Likewise.
8022 * inet/getnetbynm_r.c: Likewise.
8023 * inet/getnetent.c: Likewise.
8024 * inet/getnetent_r.c: Likewise.
8025 * inet/getproto.c: Likewise.
8026 * inet/getproto_r.c: Likewise.
8027 * inet/getprtent.c: Likewise.
8028 * inet/getprtent_r.c: Likewise.
8029 * inet/getprtname.c: Likewise.
8030 * inet/getprtname_r.c: Likewise.
8031 * inet/getrpcbyname.c: Likewise.
8032 * inet/getrpcbyname_r.c: Likewise.
8033 * inet/getrpcbynumber.c: Likewise.
8034 * inet/getrpcbynumber_r.c: Likewise.
8035 * inet/getrpcent.c: Likewise.
8036 * inet/getrpcent_r.c: Likewise.
8037 * inet/getaliasent.c: Likewise.
8038 * inet/getaliasent_r.c: Likewise.
8039 * inet/getaliasname.c: Likewise.
8040 * inet/getaliasname_r.c: Likewise.
8041 * nscd/getgrgid_r.c: Likewise.
8042 * nscd/getgrnam_r.c: Likewise.
8043 * nscd/gethstbyad_r.c: Likewise.
8044 * nscd/gethstbynm3_r.c: Likewise.
8045 * nscd/getpwnam_r.c: Likewise.
8046 * nscd/getpwuid_r.c: Likewise.
8047 * nscd/getsrvbynm_r.c: Likewise.
8048 * nscd/getsrvbypt_r.c: Likewise.
8049 * nscd/gai.c: Likewise.
8050
c53d909c
RM
8051 * configure.in (build_nscd): New substituted variable, set
8052 by --disable-build-nscd and defaults to $use_nscd.
8053 * configure: Regenerated.
8054 * config.make.in (build-nscd): New substituted variable.
8055 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8056 Change conditional to require [$(build-nscd) = yes] as well.
8057 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8058
3cc3ef96
RM
8059 [BZ# 13696]
8060 * configure.in (use_nscd): New substituted variable, set by
8061 --disable-nscd. If enabled, define USE_NSCD.
8062 * configure: Regenerated.
8063 * config.h.in: Add USE_NSCD.
8064 * config.make.in (use-nscd): New substituted variable.
8065 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8066 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8067 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8068 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8069 (CFLAGS-getgrnam_r.c): Likewise.
8070 (CFLAGS-initgroups.c): Likewise.
8071 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8072 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8073 Variables removed.
8074 * inet/getnetgrent_r.c
8075 (nscd_setnetgrent): New function, broken out of ...
8076 (setnetgrent): ... here. Call it.
8077 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8078 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8079 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8080 * nscd/Makefile (routines, aux): Move definitions after include of
8081 Makeconfig. Conditionalize on [$(use-nscd) != no].
8082 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8083 Conditionalize on [USE_NSCD].
8084 (is_nscd, nscd_init_cb): Likewise.
8085 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8086 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8087 * nss/nss_db/db-init.c: Likewise.
8088 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8089 [USE_NSCD].
8090 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8091 (make_request): Use it.
8092 (cache_valid_p): New function.
8093 (__check_pf): Use it.
8094 * NEWS: Add item for --disable-nscd.
8095
07e51550
DL
80962012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8097
8098 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8099 to support sed >= 4.2.1-20-ga9bf076.
8100 * configure: Regenerated.
8101
35a5b08b
RM
81022012-08-22 Roland McGrath <roland@hack.frob.com>
8103
8104 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8105 Conditionalize whole body on [IREL].
8106
8479f23a
JL
81072012-08-22 Jeff Law <law@redhat.com>
8108
8109 [BZ #14505]
8110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8111 if the family is PF_UNSPEC.
8112
48da0b21
MF
81132012-08-22 Mike Frysinger <vapier@gentoo.org>
8114
8115 * Makerules (lib-version): Rename from V.
8116 (install-lib-nosubdir): Change V to lib-version.
8117
15d0da8c
WS
81182012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8119
8120 [BZ #14252]
8121 * powerpc32/power6/wcschr.c: New file.
8122 * powerpc32/power6/wcscpy.c: New file.
8123 * powerpc32/power6/wcsrchr.c: New file.
8124 * powerpc64/power6/wcschr.c: New file.
8125 * powerpc64/power6/wcscpy.c: New file.
8126 * powerpc64/power6/wcsrchr.c: New file.
8127
bcca0895
MK
81282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8129
8130 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8131 (two_way_short_needle): Use it.
5a4aaa33
RM
8132 * string/strstr.c (AVAILABLE1_USES_J): Define.
8133 * string/strcasestr.c: Likewise.
99677e57
MK
8134
8135 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8136 array references.
8137 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8138
400726de
MK
8139 [BZ #11607]
8140 * NEWS: Add an entry.
8141 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8142 define their defaults.
8143 (two_way_short_needle): Detect end-of-string on-the-fly.
8144 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8145 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8146 * string/bug-strcasestr1.c: New test.
8147 * string/Makefile: Run it.
8148
20a71f2c
MK
81492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8150
8151 [BZ #11607]
8152 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8153 the first character.
8154
21ad0558
RM
81552012-08-21 Roland McGrath <roland@hack.frob.com>
8156
8157 * csu/elf-init.c (__libc_csu_irel): Function removed.
8158 * csu/libc-start.c (apply_irel): New function.
8159 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8160
0e1d9911
JM
81612012-08-21 Joseph Myers <joseph@codesourcery.com>
8162
8163 * sysdeps/unix/sysv/linux/kernel-features.h
8164 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8165 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8166 <kernel-features.h>.
8167 [__NR_fadvise64_64]: Make code unconditional.
8168 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8169 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8170 !__NR_fadvise64_64)]: Likewise.
8171 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8172 !__NR_fadvise64_64))]: Likewise.
8173 [__NR_fadvise64]: Make code unconditional.
8174 [!__NR_fadvise64]: Remove conditional code.
8175 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8176 <kernel-features.h>.
8177 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8178 unconditional.
8179 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8180 conditional code.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8182 not include <kernel-features.h>.
8183 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8184 unconditional.
8185 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8186 conditional code.
8187 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8188 include <kernel-features.h>.
8189 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8190 unconditional.
8191 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8192 conditional code.
8193
14a50c9d
WS
81942012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8195
8196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8197 slight instruction rearrangements per scrollpipe analysis.
8198 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8199
c0f4faf0
RM
82002012-08-20 Roland McGrath <roland@hack.frob.com>
8201
696da859
RM
8202 * manual/syslog.texi (syslog; vsyslog, closelog):
8203 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8204 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8205
c0f4faf0
RM
8206 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8207 DSOCAPS to match condition on defining it.
8208
348363b2
JM
82092012-08-20 Joseph Myers <joseph@codesourcery.com>
8210
a35cbf28
JM
8211 * sysdeps/unix/sysv/linux/kernel-features.h
8212 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8214 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8215 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8217 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8218 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8220 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8221 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8222
445f7ecd
JM
8223 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8224 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8225
348363b2
JM
8226 * sysdeps/unix/sysv/linux/kernel-features.h
8227 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8228 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8229 unconditional.
8230 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8231 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8232 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8233 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8234 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8235 Make code unconditional.
8236 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8237 (__mmap64) [!__NR_mmap2]: Likewise.
8238 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8239 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8240 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8241 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8242 [__NR_mmap2]: Make code unconditional.
8243 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8244 (__mmap64) [!__NR_mmap2]: Likewise.
8245
bc5bc0e5
AK
82462012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8247
8248 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8249
88d506de
AJ
82502012-08-18 Andreas Jaeger <aj@suse.de>
8251
8252 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8253
493387d2
MF
82542012-08-18 Mike Frysinger <vapier@gentoo.org>
8255
8256 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8257 * include/unistd.h (__have_sock_cloexec): Likewise.
8258 (__have_pipe2): Likewise.
8259 (__have_dup3): Likewise.
8260
a277af22
MF
82612012-08-18 Mike Frysinger <vapier@gentoo.org>
8262
8263 [BZ #9685]
8264 * include/unistd.h (__have_pipe2): Change define into an extern int.
8265 (__have_dup3): Likewise.
8266 * socket/have_sock_cloexec.c: Include fcntl.h.
8267 (__have_pipe2): New variable.
8268 (__have_dup3): Likewise.
8269
fdab8fd3
MF
82702012-08-17 Mike Frysinger <vapier@gentoo.org>
8271
8272 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8273
31035e80
MP
82742012-08-17 Marek Polacek <polacek@redhat.com>
8275
8276 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8277 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8278
3bd9e993
RM
82792012-08-17 Roland McGrath <roland@hack.frob.com>
8280
c91c505f
RM
8281 * configure.in: Add AC_SUBST for sysheaders.
8282 * configure: Regenerated.
8283 * config.make.in (sysheaders): New substituted variable.
8284
7c6f9d53
RM
8285 * sysdeps/unix/mkfifo.c: Moved ...
8286 * sysdeps/posix/mkfifo.c: ... here.
8287 * sysdeps/unix/mkfifoat.c: Moved ...
8288 * sysdeps/posix/mkfifoat.c: ... here.
8289
8290 * sysdeps/unix/utime.c: Moved ...
8291 * sysdeps/posix/utime.c: ... here.
8292
8293 * sysdeps/unix/time.c: Moved ...
8294 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8295 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8296 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8297
8298 * sysdeps/unix/nice.c: Moved ...
8299 * sysdeps/posix/nice.c: ... here.
8300
8301 * sysdeps/unix/alarm.c: Moved ...
8302 * sysdeps/posix/alarm.c: ... here.
8303
3bd9e993
RM
8304 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8305
d1f09384
JL
83062012-08-17 Jeff Law <law@redhat.com>
8307
8308 * intl/Makefile (codeset_mo): New variable.
8309 ($(codeset_mo)): New target.
8310 (tst-codeset.out): Depend on that. Remove explicit rule.
8311 (tst-gettext3.out, tst-gettext5.out): Likewise.
8312 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8313 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8314 * intl/tst-codeset.sh: Remove.
8315 * intl/tst-gettext3.sh: Likewise.
8316 * intl/tst-gettext5.sh: Likewise.
8317
2ae1ae5c
RM
83182012-08-17 Roland McGrath <roland@hack.frob.com>
8319
c31fdb83
RM
8320 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8321 * sysdeps/unix/syscalls.list: ... here.
8322
a0844057
RM
8323 * sysdeps/posix/getaddrinfo.c
8324 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8325 (gaiconf_init, gaiconf_reload): Use them.
8326 [!_STATBUF_ST_NSEC]
8327 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8328 Define using time_t rather than struct timespec.
8329
750c1f2a
RM
8330 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8331 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8332 Macros removed.
8333 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8334 [!NO_THREADS].
8335 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8336 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8337 Likewise.
8338
2ae1ae5c
RM
8339 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8340 __libc_cleanup_push argument.
8341
e66a42f5
RM
8342 * bits/param.h: New file.
8343 * misc/sys/param.h: New file.
8344 * include/sys/param.h: New file.
8345 * misc/Makefile (headers): Add bits/param.h.
8346 * sysdeps/generic/sys/param.h: File removed.
8347 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8348 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8349 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8350 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8351
b7c08a66
RM
8352 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8353 last change.
8354
b2e1c562
RM
8355 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8356 [_IO_MTSAFE_IO].
8357 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8358 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8359 New macros.
8360
c75ccd4c
RM
8361 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8362 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8363 rather than -D_IO_MTSAFE_IO conditionally.
8364 * stdio-common/Makefile (CPPFLAGS): Likewise.
8365 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8366 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8367 Use $(libio-mtsafe).
8368 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8369 of -D_IO_MTSAFE_IO.
8370 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8371 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8372 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8373 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8374 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8375 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8376 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8377 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8378 (CFLAGS-fread_u_chk.c): Likewise.
8379 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8380 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8381 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8382 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8383 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8384 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8385 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8386 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8387 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8388
8389 * libio/Makefile: Test [$(libc-reentrant) = yes]
8390 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8391
8392 * Makeconfig
8393 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8394 * sysdeps/pthread/configure: File removed.
8395 * sysdeps/pthread/Makeconfig: New file.
8396 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8397 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8398
d9195db8
GB
83992012-08-16 Gary Benson <gbenson@redhat.com>
8400
8401 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8402 unmapping the first object in a namespace.
8403
86466cd9
RM
84042012-08-16 Roland McGrath <roland@hack.frob.com>
8405
8406 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8407 (__internal_setnetgrent): ... this. Add internal_function to
8408 definition. Add libc_hidden_def.
8409 (setnetgrent): Update caller.
8410 (internal_endnetgrent): Renamed to ...
8411 (__internal_endnetgrent): ... this. Add internal_function to
8412 definition. Add libc_hidden_def.
8413 (endnetgrent): Update caller.
8414 (internal_getnetgrent_r): Renamed to ...
8415 (__internal_getnetgrent_r): ... this. Add internal_function to
8416 definition. Add libc_hidden_def.
8417 (__getnetgrent_r): Update caller.
8418 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8419
c3c8283c
JM
84202012-08-16 Joseph Myers <joseph@codesourcery.com>
8421
8422 * stdlib/longlong.h: Update from GCC.
8423
db1ee0a8
RM
84242012-08-16 Roland McGrath <roland@hack.frob.com>
8425
8426 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8427 on _QL, which is set by umul_ppmm but never used.
8428 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8429 variables, which are set by GMP macros but never used.
8430 * stdio-common/_itowa.c (_itowa): Likewise.
8431 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8432 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8433
30f69637
CD
84342012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8435
8436 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8437 struct La_sh_regs is not constant.
8438 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8439 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8440 and struct La_sparc64_regs are not constant.
8441
93a78ac4
JM
84422012-08-16 Joseph Myers <joseph@codesourcery.com>
8443
8444 * sysdeps/unix/sysv/linux/kernel-features.h
8445 (__ASSUME_POSIX_TIMERS): Remove.
8446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8447 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8448 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8449 Make code unconditional.
8450 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8451 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8452 Make code unconditional.
8453 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8454 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8455 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8456 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8457 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8458 Make code unconditional.
8459 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8460 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8461 (__libc_missing_posix_timers): Remove.
8462
dd924cd7
RM
84632012-08-15 Roland McGrath <roland@hack.frob.com>
8464
4b4f2771
RM
8465 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8466 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8467
601c888b
RM
8468 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8469
176790a7
RM
8470 * elf/dl-sym.c: Include <stdlib.h>.
8471
329bc018
RM
8472 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8473 constants, which avoids warnings in 32-bit builds.
8474
e04e272d
RM
8475 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8476 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8477
952bf94a
RM
8478 * misc/lseek.c: File moved to ...
8479 * io/lseek.c: ... here.
8480
7c99b50a
RM
8481 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8482
dd924cd7
RM
8483 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8484 shifting LEN more than 31 bits at once.
8485
b3f479a8
LD
84862012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8487
8488 [BZ #14195]
8c4ae0d4
RM
8489 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8490 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8491 * string/test-strncasecmp.c (check1): Renamed to...
8492 (bz12205): ...this.
8493 (bz14195): Add new testcase for two empty input strings and N > 0.
8494 (test_main): Call new testcase, adapt for renamed function.
8495
9c55864e
AJ
84962012-08-15 Andreas Jaeger <aj@suse.de>
8497
8498 [BZ #14090]
8499 * crypt/md5test2.c: New test, based on test supplied by Serge
8500 Belyshev <belyshev@depni.sinp.msu.ru>.
8501 * crypt/Makefile (xtests): Add md5test-giant..
8502 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8503
02dcb6c5
PE
85042012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8505
8506 [BZ #14090]
8507 * crypt/md5.c (md5_process_block): Don't assume the buffer
8508 length is less than 2**32.
8509 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8510 length is less than 2**64.
8511
a3f95dcc
RM
85122012-08-15 Roland McGrath <roland@hack.frob.com>
8513
be75d758
RM
8514 * string/str-two-way.h: Include <sys/param.h>.
8515 (MAX): Macro removed.
8516
7312ca90
RM
8517 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8518 Move #define and #undef of memmove to just before and after
8519 including <string.h>.
8520
9a0a5486
RM
8521 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8522 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8523 and after including <string.h>. Move declarations of
8524 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8525 to before #include "string/memmove.c".
8526
67cc348d
RM
8527 * include/dirent.h: Declare __getdirentries.
8528
a3f95dcc
RM
8529 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8530 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8531
ca98e171
MF
85322012-08-14 Mike Frysinger <vapier@gentoo.org>
8533
8534 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8535 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8536 * sysdeps/i386/configure: Regenerated.
8537 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8538 STABS_CURRENT_FILE, and STABS_FUN.
8539 (END): Remove call to STABS_FUN_END.
8540 (STABS_CURRENT_FILE1): Delete.
8541 (STABS_CURRENT_FILE): Likewise.
8542 (STABS_FUN): Likewise.
8543 (STABS_FUN_END): Likewise.
8544 (STABS_FUN2): Likewise.
8545 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8546 * sysdeps/x86_64/configure: Regenerated.
8547
5908bf46
RM
85482012-08-14 Roland McGrath <roland@hack.frob.com>
8549
8550 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8551 * elf/dl-lookup.c: Likewise.
5908bf46 8552
f2c05b9e
JM
85532012-08-14 Joseph Myers <joseph@codesourcery.com>
8554
8555 * sysdeps/unix/sysv/linux/kernel-features.h
8556 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8557 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8558 unconditionally.
8559 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8560 unconditionally.
8561 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8562 condition on __ASSUME_CLONE_THREAD_FLAGS.
8563
e11f5155
AJ
85642012-08-14 Andreas Jaeger <aj@suse.de>
8565
8566 * sysdeps/i386/fpu/libm-test-ulps: Update.
8567
51a9ba86
MK
85682012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8569
2fdd4f78
AJ
8570 * include/atomic.h (atomic_exchange_and_add): Split into ...
8571 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8572 New atomic macros.
51a9ba86 8573
ba6cba9e
MT
85742012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8575
8576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8577
42443a47
JL
85782012-08-13 Jeff Law <law@redhat.com>
8579
8580 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8581 null byte in the output string.
8582
121dce05
JM
85832012-08-10 Joseph Myers <joseph@codesourcery.com>
8584
8585 * sysdeps/unix/sysv/linux/kernel-features.h
8586 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8587 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8588 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8589 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8590 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8591 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8592 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8593
bf51f568
JL
85942012-08-09 Jeff Law <law@redhat.com>
8595
8596 [BZ #13939]
8597 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8598 When avoid_arena is set, don't retry in the that arena. Pick the
8599 next one, whatever it might be.
8600 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8601 (arena_lock): Pass in new parameter to arena_get2.
8602 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8603 arena_get2.
8604 (__libc_malloc): Unify retrying after main arena failure with
8605 __libc_memalign version.
8606 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8607
f85fa270
L
86082012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8609
8610 [BZ #14166]
8611 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8612 to __redirect_strstr.
8613 (__strstr_sse42): Use typeof __redirect_strstr.
8614 (__strstr_ia32): Likewise.
8615 (__libc_strstr): New prototype.
8616 (strstr): Renamed to ...
8617 (__libc_strstr): This.
8618 (strstr): New strong alias of __libc_strstr.
8619 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8620 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8621 __redirect_time.
8622 Include <time.h>.
8623 (__libc_time): New prototype.
8624 (time_ifunc): Replace time with __libc_time.
8625 (time): New strong alias and hidden definition of __libc_time.
8626 (__GI_time): Remove strong alias.
8627 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8628 Include <stddef.h>.
8629 (memmove): Redefined to __redirect_memmove.
8630 (__memmove_sse2): Use typeof __redirect_memmove.
8631 (__memmove_ssse3): Likewise.
8632 (__memmove_ssse3_back): Likewise.
8633 (__libc_memmove): New prototype.
8634 (memmove): Renamed to ...
8635 (__libc_memmove): This.
8636 (memmove): New strong alias of __libc_memmove.
8637
33b4a91e
MS
86382012-08-08 Mark Salter <msalter@redhat.com>
8639
8640 * elf/elf.h
8641 (R_MN10300_TLS_GD): Define.
8642 (R_MN10300_TLS_LD): Likewise.
8643 (R_MN10300_TLS_LDO): Likewise.
8644 (R_MN10300_TLS_GOTIE): Likewise.
8645 (R_MN10300_TLS_IE): Likewise.
8646 (R_MN10300_TLS_LE): Likewise.
8647 (R_MN10300_TLS_DTPMOD): Likewise.
8648 (R_MN10300_TLS_DTPOFF): Likewise.
8649 (R_MN10300_TLS_TPOFF): Likewise.
8650 (R_MN10300_SYM_DIFF): Likewise.
8651 (R_MN10300_ALIGN): Likewise.
8652 (R_MN10300_NUM): Update.
8653
b36137f1
JM
86542012-08-08 Joseph Myers <joseph@codesourcery.com>
8655
8656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8657 Remove.
8658
cdd915fd
RM
86592012-08-08 Roland McGrath <roland@hack.frob.com>
8660
a2433aac
RM
8661 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8662
cdd915fd
RM
8663 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8664 sysdeps/unix -> sysdeps/posix move.
8665 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8666
bf9b740a
AM
86672012-08-07 Allan McRae <allan@archlinux.org>
8668
8669 [BZ #14303]
8670 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8671 (SUNOS_CPP): Likewise.
8672 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8673 not found.
8674 (open_input): Call CPP using execvp.
8675
93df14ee
JM
86762012-08-07 Joseph Myers <joseph@codesourcery.com>
8677
8678 * sysdeps/unix/sysv/linux/kernel-features.h
8679 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8680 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8681 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8682 (__ASSUME_WAITID_SYSCALL): Likewise.
8683 * sysdeps/unix/sysv/linux/dl-execstack.c
8684 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8685 code unconditional.
8686 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8687 conditional code.
8688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8689 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8690 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8691 code.
8692 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8693 unconditional.
8694 [__ASSUME_WAITID_SYSCALL]: Likewise.
8695 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8696
d34689de
RM
86972012-08-07 Roland McGrath <roland@hack.frob.com>
8698
a281decc
RM
8699 * sysdeps/unix/closedir.c: Renamed to ...
8700 * sysdeps/posix/closedir.c: ... here.
8701 * sysdeps/unix/dirfd.c: Renamed to ...
8702 * sysdeps/posix/dirfd.c: ... here.
8703 * sysdeps/unix/dirstream.h: Renamed to ...
8704 * sysdeps/posix/dirstream.h: ... here.
8705 * sysdeps/unix/fdopendir.c: Renamed to ...
8706 * sysdeps/posix/fdopendir.c: ... here.
8707 * sysdeps/unix/opendir.c: Renamed to ...
8708 * sysdeps/posix/opendir.c: ... here.
8709 * sysdeps/unix/readdir.c: Renamed to ...
8710 * sysdeps/posix/readdir.c: ... here.
8711 * sysdeps/unix/readdir_r.c: Renamed to ...
8712 * sysdeps/posix/readdir_r.c: ... here.
8713 * sysdeps/unix/rewinddir.c: Renamed to ...
8714 * sysdeps/posix/rewinddir.c: ... here.
8715 * sysdeps/unix/seekdir.c: Renamed to ...
8716 * sysdeps/posix/seekdir.c: ... here.
8717 * sysdeps/unix/telldir.c: Renamed to ...
8718 * sysdeps/posix/telldir.c: ... here.
8719 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8720 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8721 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8722 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8723
22895b47
RM
8724 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8725 * bits/fcntl.h: ... here.
8726
707a53b6
RM
8727 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8728 not 0.
8729 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8730 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8731 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8732 (struct flock): Move l_start, l_len to the beginning.
8733 Use __pid_t for l_pid.
8734 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8735 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8736 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8737 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8738 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8739 [__USE_LARGEFILE64] (struct flock64): New type.
8740 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8741
f0bd3e25
RM
8742 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8743 * bits/dirent.h: ... here.
8744
d34689de
RM
8745 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8746 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8747
6dad2c06
JM
87482012-08-07 Joseph Myers <joseph@codesourcery.com>
8749
8750 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8751 Change from 2.6.0 to 2.6.16.
8752 * sysdeps/unix/sysv/linux/configure: Regenerated.
8753 * sysdeps/unix/sysv/linux/kernel-features.h
8754 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8755 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8756 version.
8757 (__ASSUME_UTIMES): Likewise.
8758 (__ASSUME_CLONE_STOPPED): Remove.
8759 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8760 architectures, not kernel version.
8761 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8762 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8763 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8764 (__ASSUME_WAITID_SYSCALL): Likewise.
8765 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8766 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8767 * README: State 2.6.16 as minimum Linux kernel version. Do not
8768 refer to older versions.
8769
03af9520
RM
87702012-08-06 Roland McGrath <roland@hack.frob.com>
8771
8e49df1d
RM
8772 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8773 Define alphasort64 as an alias.
8774 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8775 Define versionsort64 as an alias.
8776 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8777 Define scandir64 as an alias.
8778 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8779 Define scandirat64 as an alias.
8780 * dirent/alphasort64.c (alphasort64):
8781 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8782 * dirent/versionsort64.c: Likewise.
8783 * dirent/scandir64.c: Likewise.
8784 * dirent/scandirat64.c: Likewise.
8785 * sysdeps/wordsize-64/alphasort.c: File removed.
8786 * sysdeps/wordsize-64/alphasort64.c: File removed.
8787 * sysdeps/wordsize-64/scandir.c: File removed.
8788 * sysdeps/wordsize-64/scandir64.c: File removed.
8789 * sysdeps/wordsize-64/scandirat.c: File removed.
8790 * sysdeps/wordsize-64/scandirat64.c: File removed.
8791 * sysdeps/wordsize-64/versionsort.c: File removed.
8792 * sysdeps/wordsize-64/versionsort64.c: File removed.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8796 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8798 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8800 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8801
8802 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8804 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8806 [defined __arch64__ || defined __sparcv9]
8807 (__INO_T_MATCHES_INO64_T): New macro.
8808 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8809 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8810 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8811 * sysdeps/unix/sysv/linux/bits/dirent.h
8812 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8813 (_DIRENT_MATCHES_DIRENT64): New macro.
8814
03af9520
RM
8815 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8816 Define lockf64 as an alias.
8817 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8818 Define fseeko64 as an alias.
8819 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8820 Define ftello64 as an alias.
8821 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8822 Define _IO_fgetpos64 and fgetpos64 as aliases.
8823 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8824 Define _IO_fsetpos64 and fsetpos64 as aliases.
8825 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8826 Conditionalize body on this.
8827 * libio/fseeko64.c: Likewise.
8828 * libio/ftello64.c: Likewise.
8829 * libio/iofgetpos64.c: Likewise.
8830 * libio/iofsetpos64.c: Likewise.
8831 * sysdeps/wordsize-64/lockf.c: File removed.
8832 * sysdeps/wordsize-64/lockf64.c: File removed.
8833 * sysdeps/wordsize-64/fseeko.c: File removed.
8834 * sysdeps/wordsize-64/fseeko64.c: File removed.
8835 * sysdeps/wordsize-64/ftello.c: File removed.
8836 * sysdeps/wordsize-64/ftello64.c: File removed.
8837 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8838 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8839 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8840 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8842 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8844 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8850 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8851
8852 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8854 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8856 [defined __arch64__ || defined __sparcv9]
8857 (__OFF_T_MATCHES_OFF64_T): New macro.
8858 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8859 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8861 (__OFF_T_MATCHES_OFF64_T): New macro.
8862
c5757acd
L
88632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8864
8865 * stdlib/secure-getenv.c (__secure_getenv): Replace
8866 GLIBC_2_16 with GLIBC_2_17.
8867
3a31811e
L
88682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8871 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8872
faa2bccb
DM
88732012-08-03 David S. Miller <davem@davemloft.net>
8874
8875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8876
85fe1997
JM
88772012-08-03 Joseph Myers <joseph@codesourcery.com>
8878
8879 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8880 Remove.
8881 (__ASSUME_CORRECT_SI_PID): Likewise.
8882 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8883 (__ASSUME_TMPFS_NAME): Likewise.
8884 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8885 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8886 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8887 (HAVE_AUX_SECURE): Make definition unconditional.
8888 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8889 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8890
4f75b7a0
RM
88912012-08-03 Roland McGrath <roland@hack.frob.com>
8892
8893 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8894 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8895 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8896 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8897 __eloop_threshold instead of SYMLOOP_MAX.
8898
8899 * sysdeps/generic/eloop-threshold.h: New file.
8900 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8901 of MAXSYMLINKS.
8902 * elf/chroot_canon.c (chroot_canon): Likewise.
8903
7aab07e4
JM
89042012-08-03 Joseph Myers <joseph@codesourcery.com>
8905
8906 [BZ #13717]
8907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8908 Change to 2.6.0 everywhere.
8909 * sysdeps/unix/sysv/linux/configure: Regenerated.
8910 * sysdeps/unix/sysv/linux/kernel-features.h
8911 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8912 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8913 kernel versions.
8914 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8915 (__ASSUME_FUTEX_REQUEUE): Remove.
8916 (__ASSUME_STATFS64): Define unconditionally.
8917 (__ASSUME_AT_SECURE): Likewise.
8918 (__ASSUME_CORRECT_SI_PID): Likewise.
8919 (__ASSUME_TGKILL): Define without depending on kernel version for
8920 i386.
8921 (__ASSUME_UTIMES): Likewise.
8922 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8923 kernel version.
8924 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8925 (__ASSUME_TMPFS_NAME): Likewise.
8926 * README: Update reference to Linux kernel versions.
8927
b67e9372
MP
89282012-08-02 Marek Polacek <polacek@redhat.com>
8929
1f529f7d 8930 [BZ# 14150]
b67e9372
MP
8931 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8932 libc_cv_asm_type_prefix with %.
8933 * configure: Regenerated.
d2441631
RM
8934 * include/libc-symbols.h: Remove comment about
8935 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8936 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8937 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8938 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8939 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8940 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8941 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8942 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8943 * elf/tst-unique2mod1.c: Likewise.
8944 * elf/tst-unique1mod2.c: Likewise.
8945 * elf/tst-unique1mod1.c: Likewise.
8946 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8947 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8948 Replace ASM_TYPE_DIRECTIVE with .type.
8949 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8950 * sysdeps/i386/sysdep.h: Likewise.
8951 * sysdeps/x86_64/sysdep.h: Likewise.
8952 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8954 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8955 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8956 * sysdeps/powerpc/powerpc32/sysdep.h:
8957 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8958 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8960 * sysdeps/i386/fpu/e_powf.S: Likewise.
8961 * sysdeps/i386/fpu/e_expl.S: Likewise.
8962 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8963 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8964 * sysdeps/i386/fpu/e_pow.S: Likewise.
8965 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8967 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8968 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8969 * sysdeps/i386/fpu/e_log2.S: Likewise.
8970 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8972 * sysdeps/i386/fpu/e_powl.S: Likewise.
8973 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8974 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8975 * sysdeps/i386/fpu/e_logl.S: Likewise.
8976 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8977 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8978 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8979 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8980 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8981 * sysdeps/i386/fpu/e_log.S: Likewise.
8982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8983 * sysdeps/i386/fpu/e_logf.S: Likewise.
8984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8986 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8987 * sysdeps/i386/fpu/e_log10.S: Likewise.
8988 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8989 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8990 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8991 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8992 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8993 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8994 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8995 * sysdeps/i386/i686/strtok.S: Likewise.
8996 * sysdeps/i386/i386-mcount.S: Likewise.
8997 * sysdeps/i386/strtok.S: Likewise.
8998 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8999 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9000 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9001 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9002 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9003 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9004 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9005 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9006 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9007 * sysdeps/x86_64/_mcount.S: Likewise.
9008 * sysdeps/x86_64/strtok.S: Likewise.
9009 * sysdeps/sh/_mcount.S: Likewise.
9010
2747bf9a
RM
90112012-08-01 Roland McGrath <roland@hack.frob.com>
9012
9013 * libio/iofopen.c: Include <fcntl.h>.
9014 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9015 (_IO_fopen64, fopen64): Define as aliases.
9016 * libio/iofopen64.c: Include <fcntl.h>.
9017 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9018 Conditionalize body on this.
9019 * sysdeps/wordsize-64/iofopen.c: File removed.
9020 * sysdeps/wordsize-64/iofopen64.c: File removed.
9021
3fb791b8
MP
90222012-08-01 Marek Polacek <polacek@redhat.com>
9023
9024 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9025 Use dlfcn directly instead of a variable.
9026 (binfmt-subdir): Do not define.
9027 (dlfcn): Likewise.
9028
a9f1039f
JM
90292012-08-01 Joseph Myers <joseph@codesourcery.com>
9030
23bddc06
JM
9031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9032 Remove all definitions.
9033 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9034 <kernel-features.h>.
9035 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9036 (miss_F_GETOWN_EX): Remove all definitions.
9037 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9038 macro definition.
9039 [!__ASSUME_FCNTL64]: Remove conditional code.
9040 [__ASSUME_FCNTL64]: Make code unconditional.
9041 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9042 <kernel-features.h>.
9043 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9044 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9045 (lockf64) [__NR_fcntl64]: Make code unconditional.
9046 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9047
a9f1039f
JM
9048 * sysdeps/unix/sysv/linux/kernel-features.h
9049 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9050 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9051 Make code unconditional.
9052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9055 [__NR_vfork]: Make code unconditional.
9056 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9057 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9059 [__NR_vfork]: Make code unconditional.
9060 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9061 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9062
09c0ee5f
RM
90632012-08-01 Roland McGrath <roland@hack.frob.com>
9064
48aec5b9
RM
9065 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9066 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9067
cd97c966
RM
9068 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9069 Define mkstemp64 as an alias.
3f55550c
RM
9070 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9071 Define mkstemps64 as an alias.
cd97c966
RM
9072 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9073 Define mkostemp64 as an alias.
b8625cfc
RM
9074 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9075 Define mkostemps64 as an alias.
cd97c966
RM
9076 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9077 Conditionalize body on this.
9078 * misc/mkostemp64.c: Likewise.
b8625cfc 9079 * misc/mkostemps64.c: Likewise.
3f55550c 9080 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9081 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9082 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9083 * sysdeps/wordsize-64/mkostemp.c: File removed.
9084 * sysdeps/wordsize-64/mkstemp.c: File removed.
9085 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9087 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9089
09c0ee5f
RM
9090 [BZ #14138]
9091 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9092 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9093 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9094 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9095
9096 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9097 compat_symbol macros from <shlib-compat.h> rather than the underlying
9098 default_symbol_version and symbol_version macros, so that DEFAULT
9099 lines in shlib-versions are respected.
9100 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9101
7e66ee51
FW
91022012-08-01 Florian Weimer <fweimer@redhat.com>
9103
9104 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9105 Declare with warn_unused_result.
9106 (setgid, setregid, setegid, setresgid): Likewise.
9107 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9108 Likewise.
9109 * WUR-REPORT: Remove set*id functions.
9110
d2a54255
PT
91112012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9112
9113 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9114
7ecdb005
RM
91152012-07-31 Roland McGrath <roland@hack.frob.com>
9116
789bd351
RM
9117 * include/sys/socket.h (__libc_accept, __libc_accept4):
9118 Add attribute_hidden.
9119 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9120
40ce302d
RM
9121 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9122 use of PTR_MANGLE.
9123 * inet/getnetgrent_r.c (setup): Likewise.
9124
7ecdb005
RM
9125 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9126
e2eabb2c
DM
91272012-07-31 David S. Miller <davem@davemloft.net>
9128
9129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9130
d0419dbf
JM
91312012-07-31 Joseph Myers <joseph@codesourcery.com>
9132
9133 [BZ #13629]
9134 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9135 value between 1.0 and 2.0 and smaller part has absolute value less
9136 than 1.0.
9137 * math/s_clog10.c (__clog10): Likewise.
9138 * math/s_clog10f.c (__clog10f): Likewise.
9139 * math/s_clog10l.c (__clog10l): Likewise.
9140 * math/s_clogf.c (__clogf): Likewise.
9141 * math/s_clogl.c (__clogl): Likewise.
9142 * math/libm-test.inc (clog_test): Add more tests.
9143 (clog10_test): Likewise.
9144 * sysdeps/i386/fpu/libm-test-ulps: Update.
9145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9146
2bc13872
FW
91472012-07-31 Florian Weimer <fweimer@redhat.com>
9148
9149 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9150 Exit with zero in case no suitable GID is found, and write a
9151 message to standard error.
9152
bea9b193
RM
91532012-07-30 Roland McGrath <roland@hack.frob.com>
9154
9155 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9156 rather than to 1.
9157 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9158 (MAXPATHLEN): Removed.
9159 (NOGROUP, NODEV): New macros.
9160 (setbit, clrbit, isset, isclr): New macros.
9161 (howmany, roundup, powerof2): New macros.
9162 (DEV_BSIZE): New macro.
9163
9164 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9165 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9166
9167 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9168 definition on [!__NO_LONG_DOUBLE_MATH].
9169
9170 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9171 PTR_MANGLE and PTR_DEMANGLE.
9172
9173 * socket/accept4.c (accept4): Rename to __libc_accept4.
9174 Define accept4 as a weak alias.
9175
9176 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9177 on [_DIRENT_HAVE_D_TYPE].
9178 * io/ftw.c (ftw_dir): Likewise.
9179
9180 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9181
9182 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9183
9184 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9185 Use the BSD numbers rather than the arbitrary ones we had.
9186 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9187 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9188 (SIGXCPU, SIGXFSZ): New macros.
9189 (_NSIG): Now 32.
9190
9191 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9192 initializer on [_LIBC_REENTRANT].
9193
9194 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9195 definitions inside [_POSIX_MAPPED_FILES].
9196
9197 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9198
9199 * dirent/opendir.c: Include <fcntl.h>.
9200
9201 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9202 (__libc_getspecific): Likewise.
9203 (__libc_key_create): Likewise.
9204
9205 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9206 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9207 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9208 (tmpfile64): Define as alias.
9209 * sysdeps/wordsize-64/tmpfile.c: File removed.
9210 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9212 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9213
9214 * stdio-common/vfscanf.c: Include <stdbool.h>.
9215 * nss/makedb.c: Likewise.
9216 * stdio-common/_i18n_number.h: Likewise.
9217 * argp/argp-help.c: Likewise.
9218 * posix/wordexp.c: Likewise.
9219 * sysdeps/posix/spawni.c: Likewise.
9220 * nss/nss_files/files-initgroups.c: Likewise.
9221 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9222 * nss/nss_files/files-initgroups.c: Likewise.
9223 * nss/nss_db/db-netgrp.c: Likewise.
9224 * nss/nss_db/db-initgroups.c: Likewise.
9225 * io/fchmodat.c: Include <sys/stat.h>.
9226
9227 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9228 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9229
9230 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9231 [HAVE_MMAP].
9232
9233 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9234 Add multiple inclusion protection.
9235
e5abc686
DM
92362012-07-27 David S. Miller <davem@davemloft.net>
9237
9238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9239
815e6fa3
GB
92402012-07-27 Gary Benson <gbenson@redhat.com>
9241
9242 [BZ #14298]
9243 * elf/rtld.c: Include <stap-probe.h>.
9244 (dl_main): Added static probes "init_start" and "init_complete".
9245 * elf/dl-load.c: Include <stap-probe.h>.
9246 (lose): Take new parameter "nsid".
9247 Added static probe "map_failed".
9248 (_dl_map_object_from_fd): Pass namespace id to lose.
9249 Added static probe "map_start".
9250 (open_verify): Pass namespace id to lose.
9251 * elf/dl-open.c: Include <stap-probe.h>.
9252 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9253 and "reloc_complete".
9254 * elf/dl-close.c: Include <stap-probe.h>.
9255 (_dl_close_worker): Added static probes "unmap_start" and
9256 "unmap_complete".
9257 * elf/rtld-debugger-interface.txt: New file documenting the above.
9258
9f98c16c
RM
92592012-07-26 Roland McGrath <roland@hack.frob.com>
9260
9261 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9262 rather than a string variable.
9263 * sunrpc/rpc_main.c (h_output): Likewise.
9264 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9265
f3c22df3
PT
92662012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9267
9268 * inet/check_native.c: New file.
9269
3129cfc6
JM
92702012-07-26 Joseph Myers <joseph@codesourcery.com>
9271
da865e95
JM
9272 [BZ #13629]
9273 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9274 if larger part has absolute value 1.0.
9275 * math/s_clog10.c (__clog10): Likewise.
9276 * math/s_clog10f.c (__clog10f): Likewise.
9277 * math/s_clog10l.c (__clog10l): Likewise.
9278 * math/s_clogf.c (__clogf): Likewise.
9279 * math/s_clogl.c (__clogl): Likewise.
9280 * math/libm-test.inc (clog_test): Add more tests.
9281 (clog10_test): Likewise.
9282 * sysdeps/i386/fpu/libm-test-ulps: Update.
9283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9284
3129cfc6
JM
9285 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9286 (pltexit): Likewise.
9287 (La_regs): Likewise.
9288 (La_retval): Likewise.
9289 (int_retval): Likewise.
9290 Update #error for removed macros to refer only to definitions in
9291 tst-audit.h.
9292 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9293 macro.
9294 (pltexit): Likewise.
9295 (La_regs): Likewise.
9296 (La_retval): Likewise.
9297 (int_retval): Likewise.
9298 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9299 macro.
9300 (pltexit): Likewise.
9301 (La_regs): Likewise.
9302 (La_retval): Likewise.
9303 (int_retval): Likewise.
9304 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9305 macro.
9306 (pltexit): Likewise.
9307 (La_regs): Likewise.
9308 (La_retval): Likewise.
9309 (int_retval): Likewise.
9310 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9311 macro.
9312 (pltexit): Likewise.
9313 (La_regs): Likewise.
9314 (La_retval): Likewise.
9315 (int_retval): Likewise.
9316 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9317 macro.
9318 (pltexit): Likewise.
9319 (La_regs): Likewise.
9320 (La_retval): Likewise.
9321 (int_retval): Likewise.
9322 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9323 macro.
9324 (pltexit): Likewise.
9325 (La_regs): Likewise.
9326 (La_retval): Likewise.
9327 (int_retval): Likewise.
9328 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9329 macro definitions in tst-audit.h.
9330 * sysdeps/i386/tst-audit.h: New file.
9331 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9332 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9333 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9334 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9335 * sysdeps/sh/tst-audit.h: Likewise.
9336 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9337 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9338 * sysdeps/x86_64/tst-audit.h: Likewise.
9339
bfc07087
AJ
93402012-07-26 Andreas Jaeger <aj@suse.de>
9341
b1b2aaf8
AJ
9342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9343 ptrace.
9344
9345 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9346 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9347 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9348 PTRACE_O_MASK.
9349 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9350 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9351 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9352
bfc07087
AJ
9353 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9354 value.
9355
9356 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9357 _sigsys.
9358 (si_call_addr, si_syscall, si_arch): Define new macro.
9359 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9360 _sigsys.
9361 (si_call_addr, si_syscall, si_arch): Define new marcro.
9362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9363 _sigsys.
9364 (si_call_addr, si_syscall, si_arch): Define new macro.
9365 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9366 _sigsys.
9367 (si_call_addr, si_syscall, si_arch): Define new macro.
9368
89b4b02f
JM
93692012-07-25 Joseph Myers <joseph@codesourcery.com>
9370
9371 [BZ #13717]
9372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9373 Change to 2.4.21 where previously 2.4.1.
9374 * sysdeps/unix/sysv/linux/configure: Regenerated.
9375 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9376 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9377 Linux kernel version.
9378 (__ASSUME_STD_AUXV): Remove.
9379 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9380 kernel version.
9381 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9382 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9383 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9384 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9385 (__ASSUME_NETLINK_SUPPORT): Likewise.
9386 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9387 (__no_netlink_support): Remove conditional definition.
9388 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9389 Remove.
9390 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9391 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9392 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9393 (if_nameindex_ioctl): Remove.
9394 (if_nameindex_netlink): Do not handle __no_netlink_support.
9395 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9396 code.
9397 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9398 Remove conditional code.
9399 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9400 code.
9401 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9402 unconditional.
9403 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9404 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9405 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9406 Remove.
9407 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9408 [!__ASSUME_STD_AUXV]: Remove conditional code.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9410 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9411 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9413 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9414 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9415 code.
9416 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9418 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9419 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9420 conditional code.
9421 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9423 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9424 code.
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9426 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9427 conditional code.
9428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9429 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9430 code unconditional.
9431 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9432 conditional code.
9433 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9434 unconditional.
9435 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9436 conditional code.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9438 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9439 unconditional.
9440 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9441 conditional code.
9442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9443 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9444 code unconditional.
9445 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9446 conditional code.
9447 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9448 unconditional.
9449 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9450 conditional code.
9451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9452 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9453 code unconditional.
9454 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9455 conditional code.
9456 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9457 unconditional.
9458 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9459 conditional code.
9460
842a39cd
AS
94612012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9462
9463 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9465 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9466 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9467 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9468 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9469 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9470 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9471 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9472 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9473 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9474 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9475 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9476 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9477 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9478 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9479 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9481 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9483 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9484 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9486
84b3fd84
FW
94872012-07-25 Florian Weimer <fweimer@redhat.com>
9488
9489 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9490 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9491 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9492 Introduce __libc_secure_getenv.
0c7936d5
FW
9493 * stdlib/Versions (2.17): Add secure_getenv
9494 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9495 * stdlib/secure-getenv.c: Rename __secure_getenv to
9496 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9497 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9498 * stdlib/tst-secure-getenv.c: New.
9499 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9500 * manual/startup.texi (Environment Access): Document
9501 secure_getenv.
84b3fd84
FW
9502 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9503 __libc_secure_getenv.
9504 * inet/ruserpass.c (ruserpass): Likewise.
9505 * malloc/mtrace.c (mtrace): Likewise.
9506 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9507 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9508 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9509 * sysdeps/posix/tempname.c: Likewise. Evaluate
9510 HAVE_SECURE_GETENV.
9511 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9512 __secure_getenv to __libc_secure_getenv.
84b3fd84 9513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9515 Likewise.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9517 Likewise.
9518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9525
56e49b71
JM
95262012-07-25 Joseph Myers <joseph@codesourcery.com>
9527
9528 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9529 (struct La_i86_retval): Likewise.
9530 (struct La_x86_64_regs): Likewise.
9531 (struct La_x86_64_retval): Likewise.
9532 (struct La_x32_regs): Likewise.
9533 (struct La_x32_retval): Likewise.
9534 (struct La_ppc32_regs): Likewise.
9535 (struct La_ppc32_retval): Likewise.
9536 (struct La_ppc64_regs): Likewise.
9537 (struct La_ppc64_retval): Likewise.
9538 (struct La_sh_regs): Likewise.
9539 (struct La_sh_retval): Likewise.
9540 (struct La_s390_32_regs): Likewise.
9541 (struct La_s390_32_retval): Likewise.
9542 (struct La_s390_64_regs): Likewise.
9543 (struct La_s390_64_retval): Likewise.
9544 (struct La_sparc32_regs): Likewise.
9545 (struct La_sparc32_retval): Likewise.
9546 (struct La_sparc64_regs): Likewise.
9547 (struct La_sparc64_retval): Likewise.
9548 (struct audit_ifaces): Remove architecture-specific pltenter and
9549 pltexit members.
9550 * sysdeps/i386/ldsodefs.h: New file.
9551 * sysdeps/powerpc/ldsodefs.h: Likewise.
9552 * sysdeps/s390/ldsodefs.h: Likewise.
9553 * sysdeps/sh/ldsodefs.h: Likewise.
9554 * sysdeps/sparc/ldsodefs.h: Likewise.
9555 * sysdeps/x86_64/ldsodefs.h: Likewise.
9556
354691b7
MP
95572012-07-25 Marek Polacek <polacek@redhat.com>
9558
9559 [BZ #6808]
9560 * math/libm-test.inc (yn_test): Add another test.
9561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9562 to ERANGE when the result is +-Inf.
9563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9565 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9566 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9567
bf9e2071
JM
95682012-07-24 Joseph Myers <joseph@codesourcery.com>
9569
9570 * conform/data/time.h-data (NULL): Use macro-constant. Require
9571 equal to 0.
9572 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9573 clock_t.
9574 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9575
57633811
TS
95762012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9577
9578 * configure.in <sysdeps resolving>: Correct printing
9579 Implies_before.
9580 * configure: Regenerate.
9581
c23c33b0
TS
95822012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9583
9584 * math/w_ilogb.c: Include <limits.h>.
9585 * math/w_ilogbl.c: Likewise.
9586
b5982523
JM
95872012-07-20 Joseph Myers <joseph@codesourcery.com>
9588
9589 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9590 va_copy. Document allowing for unavailable va_copy only as
9591 pre-C99 compatibility.
9592 * manual/string.texi (Copying and Concatenation): Use va_copy
9593 instead of __va_copy in concat example.
9594
ac4ea442
PT
95952012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9596
9597 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9598 (__sendto): Use create_address_port. Initialize APORT and deallocate
9599 it if not null.
9600
f98eafbd
PT
9601 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9602 with O_NOLINK passed to __file_name_lookup.
9603
898c7aab
PT
9604 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9605 with O_NOLINK passed to __file_name_lookup.
9606
0ced335a
PT
9607 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9608 negative N or less than NGIDS.
9609
b3404dbd
PT
9610 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9611 type to string_t. Set ERANGE as errno and return it if NAME is not big
9612 enough. Use memcpy instead of strncpy.
9613
0f48659e
JM
96142012-07-20 Joseph Myers <joseph@codesourcery.com>
9615
9616 * elf/Makefile (check-data): Remove.
9617 (localplt.data): New vpath directive.
9618 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9619 instead of $(check-data).
9620 * scripts/data/localplt-generic.data: Move to ...
9621 * sysdeps/generic/localplt.data: ... here.
9622 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9623 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9624 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9626 ... here.
9627 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9629 ... here.
9630 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9632 ... here.
9633 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9635 ... here.
9636 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9638 ... here.
9639 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9641 ... here.
9642
d37cbdaa
AZ
96432012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9644
9645 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9646 PPC32 and PPC64 files.
9647 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9648 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9649
46f85fc2
AK
96502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9651
9652 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9653 __makecontext_ret to ...
9654 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9655 ... here and call exit if uc_link is NULL. New file.
9656 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9657 __makecontext_ret.S.
9658 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9659 __makecontext_ret to ...
9660 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9661 ... here and call exit if uc_link is NULL. New file.
9662 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9663 __makecontext_ret.S.
9664
08f43f9b
AK
96652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9666
9667 * elf/elf.h (R_390_IRELATIVE): New definition.
9668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9669 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9670 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9671 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9672 (elf_machine_lazy_rel): Likewise.
9673 * sysdeps/s390/dl-irel.h: New file.
9674 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9675 * sysdeps/s390/s390-64/memset.S: New asm code.
9676 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9677 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9679 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9680 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9681 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9683 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9684 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9685 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9686 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9687 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9688 * sysdeps/s390/s390-32/memset.S: New asm code.
9689 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9690
3b05db33
MP
96912012-07-17 Marek Polacek <polacek@redhat.com>
9692
9693 [BZ #14349]
9694 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9695 * sysdeps/s390/s390-64/configure.in: Likewise.
9696 * sysdeps/sparc/configure.in: Likewise.
9697 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9698 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9699 * sysdeps/i386/configure.in: Likewise.
9700 * sysdeps/x86_64/configure.in: Likewise.
9701 * sysdeps/sh/configure.in: Likewise.
9702 * sysdeps/s390/s390-32/configure: Regenerated.
9703 * sysdeps/s390/s390-64/configure: Likewise.
9704 * sysdeps/x86_64/configure: Likewise.
9705 * sysdeps/sh/configure: Likewise.
9706 * sysdeps/powerpc/powerpc64/configure: Likewise.
9707 * sysdeps/powerpc/powerpc32/configure: Likewise.
9708 * sysdeps/sparc/configure: Likwise.
9709 * sysdeps/i386/configure: Likewise.
9710
a66877c6
MP
9711 * elf/dl-open.c: Comment fixes.
9712
cfc82fd8
JM
97132012-07-17 Joseph Myers <joseph@codesourcery.com>
9714
bd29910a
JM
9715 * Makefile [CXX] (check-data): Remove.
9716 [CXX] (c++-types.data): New vpath directive.
9717 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9718 vpath. Do not allow for C++ type data being missing.
9719 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9720 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9721 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9722 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9723 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9724 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9725 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9727 ... here.
9728 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9730 ... here.
9731 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9733 ... here.
9734 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9736 ... here.
9737 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9739 ... here.
9740 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9742 ... here.
9743 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9745 ... here.
9746 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9748
cfc82fd8
JM
9749 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9750 definitions to architecture-specific files.
9751 (TLS_IE): Likewise.
9752 (TLS_LD): Likewise.
9753 (TLS_GD): Likewise.
9754 * sysdeps/i386/tls-macros.h: New file.
9755 * sysdeps/powerpc/tls-macros.h: Likewise.
9756 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9757 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9758 * sysdeps/sh/tls-macros.h: Likewise.
9759 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9760 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9761 * sysdeps/x86_64/tls-macros.h: Likewise.
9762
f7db3170
TS
97632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9764
07cbfc23
TS
9765 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9766 zero value for regular exit case.
9767
f7db3170
TS
9768 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9769 (__start_context): Preserve zero value for regular exit case.
9770
dc97c227
TS
97712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9772 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9773
9774 * manual/setjmp.texi (setcontext): Clarify normal process
9775 termination when uc_link is the null pointer.
9776 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9777 exit call.
9778
d0cd7d02
AS
97792012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9780
9781 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9782 preprocessor. Test for each exception mask separately.
9783
dd318934
AJ
97842012-07-16 Andreas Jaeger <aj@suse.de>
9785
9786 * po/ru.po: Update from translation team.
9787
8048311a
JM
97882012-07-15 Joseph Myers <joseph@codesourcery.com>
9789
9790 * conform/data/string.h-data (NULL): Use macro-constant. Require
9791 equal to 0.
9792 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9793 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9794 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9795 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9797
b637d46e
AJ
97982012-07-13 Andreas Jaeger <aj@suse.de>
9799
9800 * po/fr.po: Update from translation team.
9801
541428fe
MP
98022012-07-12 Marek Polacek <polacek@redhat.com>
9803
9804 [BZ #14173]
9805 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9806 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9807 loop condition.
9808
ec332e94
JM
98092012-07-12 Joseph Myers <joseph@codesourcery.com>
9810
9811 [BZ #13717]
9812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9813 Change to 2.4.1 where previously 2.4.0.
9814 * sysdeps/unix/sysv/linux/configure: Regenerated.
9815 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9816 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9817 version.
9818 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9819 (__ASSUME_AT_CLKTCK): Remove.
9820 (__ASSUME_AT_PAGESIZE): Likewise.
9821 (__ASSUME_AT_XID): Likewise.
9822 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9823 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9824 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9825 unconditionally.
9826 (HAVE_AUX_PAGESIZE): Likewise.
9827 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9828 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9829 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9830
7b6e99be
JB
98312012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9832
9833 [BZ #14307]
9834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9835 the temporary buffer used to invoke __gethostbyname2_r,
9836 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9837 host_data / struct gaih_addrtuple.
9838 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9839 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9840 header file nss/nsswitch.h.
9841 * nss/nsswitch.h (global scope): Add definition of implementation
9842 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9843 resolv/nss_dns/dns-host.c).
9844
608404eb
AJ
98452012-07-11 Andreas Jaeger <aj@suse.de>
9846
9847 * po/fr.po: Update from translation team.
9848
71220aca
AJ
9849 * po/sv.po: Update from translation team
9850 * po/fr.po: Another update from translation team.
9851
28cfe843
AZ
98522012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9853
9854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9855 for subnormals or multiply small sinh result by itself.
9856 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9858
6b90f981
DM
98592012-07-11 David S. Miller <davem@davemloft.net>
9860
9861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9862
c6825772
AS
98632012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9864
9865 [BZ #14347]
9866 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9867 (INTERNAL_MARK): Shift it here.
9868
7b8e0d49
MP
98692012-07-10 Marek Polacek <polacek@redhat.com>
9870
9871 [BZ #14151]
9872 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9873 libc_cv_asm_global_directive with .globl.
9874 * configure: Regenerated.
9875 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9876 with .globl.
9877 * sysdeps/i386/configure: Regenerated.
9878 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9879 with .globl.
9880 * sysdeps/x86_64/configure: Regenerated.
9881 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9882 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9883 * elf/tst-unique2mod2.c: Likewise.
9884 * elf/tst-unique2mod1.c: Likewise.
9885 * elf/tst-unique1mod2.c: Likewise.
9886 * elf/tst-unique1mod1.c: Likewise.
9887 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9888 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9890 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9891 * sysdeps/mach/sysdep.h: Likewise.
9892 * sysdeps/i386/sysdep.h: Likewise.
9893 * sysdeps/i386/i386-mcount.S: Likewise.
9894 * sysdeps/x86_64/_mcount.S: Likewise.
9895 * sysdeps/x86_64/sysdep.h: Likewise.
9896 * sysdeps/sh/_mcount.S: Likewise.
9897 * sysdeps/sh/sysdep.h: Likewise.
9898 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9899 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9900 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9901 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9902 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9903 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9904 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9905 * locale/localeinfo.h: Likewise.
9906 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9907 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9908
6c55cda3
RM
99092012-07-09 Roland McGrath <roland@hack.frob.com>
9910
9911 [BZ #14336]
9912 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9913 system".
9914 * manual/message.texi (The Uniforum approach): Likewise.
9915 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9916 (glibc iconv Implementation): Likewise.
9917
638a572e
JM
99182012-07-09 Joseph Myers <joseph@codesourcery.com>
9919
9920 [BZ #14337]
9921 * math/s_clog.c (__clog): Avoid scaling a value down where that
9922 could result in underflow.
9923 * math/s_clog10.c (__clog10): Likewise.
9924 * math/s_clog10f.c (__clog10f): Likewise.
9925 * math/s_clog10l.c (__clog10l): Likewise.
9926 * math/s_clogf.c (__clogf): Likewise.
9927 * math/s_clogl.c (__clogl): Likewise.
9928 * math/libm-test.inc (clog_test): Add more tests.
9929 (clog10_test): Likewise.
9930 * sysdeps/i386/fpu/libm-test-ulps: Update.
9931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9932
261f4859
AS
99332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9934
0abaf3e4
AS
9935 [BZ #14283]
9936 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9937 by 7 not 8 to examine high bit of fractional part.
9938
261f4859
AS
9939 [BZ #14042]
9940 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9941 for call to __mcount_internal.
9942 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9943 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9944 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9945
f17ac40d
JM
99462012-07-06 Joseph Myers <joseph@codesourcery.com>
9947
9ad63c23
JM
9948 [BZ #14154]
9949 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9950 approximation for values within 0x1p-13f of an odd multiple of
9951 pi/4.
9952 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9953 exception. Add more tests.
9954 * sysdeps/i386/fpu/libm-test-ulps: Update.
9955
f17ac40d
JM
9956 [BZ #6778]
9957 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9958 inputs and return -1 for them. Do not check for +Inf in case not
9959 reachable for +Inf.
9960 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9961 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9962 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9963 and return -1 for them. Do not check for +Inf in case not
9964 reachable for +Inf.
9965 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9966 define.
9967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9968 and return -1 for them. Do not check for +Inf in case not
9969 reachable for +Inf.
9970 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9971 spurious underflow.
9972 * sysdeps/i386/fpu/libm-test-ulps: Update.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9974
fb21f89b
MF
99752012-07-06 Mike Frysinger <vapier@gentoo.org>
9976
9977 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9978
cdfe2c5e
JM
99792012-07-05 Joseph Myers <joseph@codesourcery.com>
9980
9981 [BZ #14157]
9982 [BZ #14331]
9983 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9984 could result in spurious underflow. Scale down values above
9985 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9986 * math/s_csqrtf.c (__csqrtf): Likewise.
9987 * math/s_csqrtl.c (__csqrtl): Likewise.
9988 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9989 spurious underflow.
9990 * sysdeps/i386/fpu/libm-test-ulps: Update.
9991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9992
70d35b67
AS
99932012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9994
704bc459
AS
9995 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9996 xopen-msg.sed.
9997 * catgets/xopen-msg.awk: New file.
9998 * catgets/xopen-msg.sed: Removed.
9999
70d35b67
AS
10000 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10001 po2text.sed.
10002 * intl/po2test.awk: New file.
10003 * intl/po2test.sed: Removed.
10004
ca61cf32
JM
100052012-07-04 Joseph Myers <joseph@codesourcery.com>
10006
10007 [BZ #14328]
10008 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10009 or multiply small sinh result by itself.
10010 * math/s_ctanf.c (__ctanf): Likewise.
10011 * math/s_ctanh.c (__ctanh): Likewise.
10012 * math/s_ctanhf.c (__ctanhf): Likewise.
10013 * math/s_ctanhl.c (__ctanhl): Likewise.
10014 * math/s_ctanl.c (__ctanl): Likewise.
10015 * math/libm-test.inc (ctan_test_tonearest): New function.
10016 (ctan_test_towardzero): Likewise.
10017 (ctan_test_downward): Likewise.
10018 (ctan_test_upward): Likewise.
10019 (ctanh_test_tonearest): Likewise.
10020 (ctanh_test_towardzero): Likewise.
10021 (ctanh_test_downward): Likewise.
10022 (ctanh_test_upward): Likewise.
10023 (main): Call these new functions.
10024 * sysdeps/i386/fpu/libm-test-ulps: Update.
10025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10026
ca48a46a
MF
100272012-07-03 Mike Frysinger <vapier@gentoo.org>
10028
10029 * .gitignore: Delete /ports entry.
10030
9d63d37d
AJ
100312012-07-03 Andreas Jaeger <aj@suse.de>
10032
10033 * po/bg.po: Update from translation team.
10034 * po/cs.po: Likewise.
10035 * po/de.po: Likewise.
10036 * po/hr.po: Likewise.
10037 * po/nl.pl: Likewise.
10038 * po/pl.po: Likewise.
10039 * po/vi.po: Likewise.
10040
370ca3d2
JM
100412012-07-03 Joseph Myers <joseph@codesourcery.com>
10042
95f5a9a8
JM
10043 * Makeconfig [!+link] (+link-before-libc): New variable.
10044 [!+link] (+link-after-libc): Likewise.
10045 [!+link] (+link-tests): Likewise.
10046 [!+link] (+link): Define in terms of $(+link-before-libc) and
10047 $(+link-after-libc).
10048 [!+link-static] (+link-static-before-libc): New variable.
10049 [!+link-static] (+link-static-after-libc): Likewise.
10050 [!+link-static] (+link-static-tests): Likewise.
10051 [!+link-static] (+link-static): Define in terms of
10052 $(+link-static-before-libc) and $(+link-static-after-libc).
10053 [build-shared] (link-libc-before-gnulib): New variable.
10054 [build-shared] (link-libc-tests): Likewise.
10055 [build-shared] (link-libc): Define in terms of
10056 $(link-libc-before-gnulib).
10057 [!build-shared] (link-libc-tests): New variable.
10058 (link-libc-static-tests): New variable.
10059 [!gnulib] (gnulib-arch): New variable.
10060 [!gnulib] (gnulib-tests): Likewise.
10061 [!gnulib] (static-gnulib-arch): Likewise.
10062 [!gnulib] (static-gnulib-tests): Likewise.
10063 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10064 Define with "=" instead of ":=".
10065 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10066 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10067 * Rules (binaries-all-notests): New variable.
10068 (binaries-all-tests): Likewise.
10069 (binaries-static-notests): Likewise.
10070 (binaries-static-tests): Likewise.
10071 (binaries-all): Define using $(binaries-all-notests) and
10072 $(binaries-all-tests).
10073 (binaries-static): Define using $(binaries-static-notests) and
10074 $(binaries-static-tests).
10075 (binaries-shared-tests): New variable.
10076 (binaries-shared-notests): Likewise.
10077 (binaries-shared): Remove variable.
10078 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10079 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10080 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10081 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10082 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10083 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10084 * elf/Makefile (sln-modules): New variable.
10085 (extra-objs): Add $(sln-modules:=.o).
10086 (ldconfig-modules): Add static-stubs.
10087 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10088 * elf/static-stubs.c: New file.
10089
7a845b2c
JM
10090 [BZ #14283]
10091 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10092 by 7 not 8 to examine high bit of fractional part. Use volatile
10093 variables when splitting into final array of floats if
10094 __FLT_EVAL_METHOD__ != 0.
10095 * math/libm-test.inc (cos_test): Add another test.
10096 (sin_test): Likewise.
10097 * sysdeps/i386/fpu/libm-test-ulps: Update.
10098
e2283f38
JM
10099 [BZ #14273]
10100 * math/libm-test.inc (cosh_test): Add more tests.
10101
370ca3d2
JM
10102 * version.h (RELEASE): Set to "development".
10103 (VERSION): Set to "2.16.90".
10104
ee9247c3
CD
101052012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10106
10107 * NEWS: Update copyright. Remove last-updated date.
10108 Mention math library bug fixes and timezone data changes.
10109 * README: Mention GNU/Hurd, x32, and HPPA support status.
10110
4648c381
TS
101112012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10112
10113 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10114
aac78a43
AJ
101152012-06-27 Andreas Jaeger <aj@suse.de>
10116
10117 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10118
ed3dbfad
AJ
101192012-06-25 Andreas Jaeger <aj@suse.de>
10120
10121 * sysdeps/s390/fpu/libm-test-ulps: Update.
10122
4d0ee855
AS
101232012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10124 Thomas Schwinge <thomas@codesourcery.com>
10125
10126 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10127 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10128 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10129 fanotify_mark.
10130
af1bce34
TS
101312012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10132
a9fa33ba
TS
10133 * sysdeps/mach/start.c: Remove file.
10134 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10135 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10136 * sysdeps/sh/init-first.c: Likewise.
10137
58f902b8
TS
10138 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10139 registers for frame unwinding purposes, add CFI directives.
10140 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10141 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10142 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10143 Likewise.
10144
1518f58b
TS
10145 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10146 __fortify_fail returning.
10147 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10148
db9b5059
TS
10149 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10150 sysdeps/sh/____longjmp_chk.S.
10151 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10152 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10153 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10154 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10155
967705fe
TS
10156 * sysdeps/sh/abort-instr.h: New file.
10157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10158 process in case exit returns.
10159
a9def8c4
TS
10160 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10161 initialize the GOT register before use.
10162
2a649725
TS
10163 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10164 calculation of ARGC > 4.
10165
af1bce34
TS
10166 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10167 meaningful names to some local labels.
10168
d230f50a
KK
101692012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10170 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10171
10172 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10173 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10174 (__arch_compare_and_exchange_val_16_acq): Likewise.
10175 (__arch_compare_and_exchange_val_32_acq): Likewise.
10176 (atomic_exchange_and_add): Fix gUSA sequence.
10177 (atomic_add): Likewise.
10178 (atomic_add_negative): Likewise.
10179 (atomic_add_zero): Likewise.
10180 (atomic_bit_test_set): Likewise.
10181
0479b305
AS
101822012-06-22 Andreas Schwab <schwab@redhat.com>
10183
10184 [BZ #13579]
10185 * include/link.h (struct link_map): Add l_free_initfini.
10186 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10187 l_initfini.
10188 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10189 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10190 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10191 set.
10192
0e3933b9
CD
101932012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10194
10195 * configure.in: Use AC_LANG_SOURCE.
10196 * configure: Regenerate.
10197
4248b1b1
RM
101982012-06-22 Roland McGrath <roland@hack.frob.com>
10199
10200 * configure.in (libc_cv_localstatedir): New substituted variable.
10201 * configure: Regenerated.
10202 * config.make.in (localstatedir): New variable, substituted from
10203 libc_cv_localstatedir.
10204 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10205 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10206 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10207 * sysdeps/gnu/configure: Regenerated.
10208
006dd861
JL
102092012-06-21 Jeff Law <law@redhat.com>
10210
10211 [BZ #14277]
10212 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10213 free. Simplify list management for _LIBC case.
10214
79662d42
JM
102152012-06-21 Joseph Myers <joseph@codesourcery.com>
10216
b7abb4bf
JM
10217 [BZ #14273]
10218 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10219 Clear sign bit of 64-bit integer value before comparing against
10220 overflow value.
10221
79662d42
JM
10222 * sysdeps/mach/configure: Regenerated.
10223
1f150908
L
102242012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10225
10226 [BZ #14278]
10227 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10228
28363bbf
JL
102292012-06-21 Jeff Law <law@redhat.com>
10230
10231 [BZ #13882]
10232 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10233 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10234 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10235 * elf/dl-open.c (dl_open_worker): Likewise.
10236
09615db4
CD
102372012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10238
10239 * scripts/list-sources.sh: Scan PORTS for translations.
10240 * po/libc.pot: Regenerated.
10241
2174c6dd
AJ
102422012-06-21 Andreas Jaeger <aj@suse.de>
10243
10244 [BZ #12194]
10245 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10246 warning.
10247 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10248 * bits/byteswap-16.h (__bswap_16): Likewise.
10249 * bits/byteswap.h (__bswap_constant_16): Likewise.
10250
3ee947b1
L
102512012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 [BZ #14117]
a2f34833
L
10254 * sysdeps/i386/fpu_control.h: Removed.
10255 * sysdeps/x86_64/fpu_control.h: Moved to ...
10256 * sysdeps/x86/fpu_control.h: Here.
10257
3ee947b1
L
10258 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10259 (_FPU_SETCW): Likewise.
10260
ed1825f8
L
102612012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10262
25f1282a
L
10263 [BZ #14117]
10264 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10265 * sysdeps/x86/fpu/bits/mathinline.h: This.
10266 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10267
ed1825f8
L
10268 [BZ #14050]
10269 [BZ #14117]
10270 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10271 functions if __x86_64__ is defined.
10272
36d54b74
CLT
102732012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10274
10275 * string/endian.h: Add !__ASSEMBLER__ condition for including
10276 conversion interfaces.
10277
10285c21
JM
102782012-06-15 Joseph Myers <joseph@codesourcery.com>
10279
10280 [BZ #14241]
10281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10282 of ABS(x) in calculating zero to negative powers other than odd
10283 integers.
10284 * math/libm-test.inc (pow_test): Add more tests.
10285
06c5abbd
AJ
102862012-06-15 Andreas Jaeger <aj@suse.de>
10287
10288 * manual/contrib.texi (Contributors): Update entry of Liubov
10289 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10290 Machado Filho.
10291
a3aeac40
CH
102922012-06-15 Cyril Hrubis <metan@ucw.cz>
10293
10294 * string/string.h: Add __wur to GNU version of strerror_r.
10295
49bdf4c1
L
102962012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 [BZ #14229]
10299 * string/Makefile (tests): Add tst-strtok_r.
10300 * string/tst-strtok_r.c: New file.
10301 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10302 RAX_LP/RDX_LP on SAVE_PTR.
10303
834f9b8d
RM
103042012-06-14 Roland McGrath <roland@hack.frob.com>
10305
10306 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10307
75fa1921
JM
103082012-06-14 Joseph Myers <joseph@codesourcery.com>
10309
10310 * libm_test.inc (csqrt_test): Allow more spurious underflow
10311 exceptions.
10312 (j0_test): Likewise.
10313 (j1_test): Likewise.
10314 (y0_test): Likewise.
10315 (y1_test): Likewise.
10316
771766df
CD
103172012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10318
10319 * po/Makefile (libc.pot): Use UTF-8 charset.
10320
ceb9e56b
PP
103212012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10322
10323 [BZ #14210]
10324 Suppress sign-conversion warning from FD_SET.
10325 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10326 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10327 not unsigned long int.
10328 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10329
ddb28975
L
103302012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 [BZ #14050]
10333 [BZ #14117]
10334 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10335 __extern_always_inline instead of __extern_inline.
10336 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10337 (__signbit): Likewise.
10338 (__signbitl): Support C++ namespace.
10339 (lrintf): New inline function.
10340 (lrint): Likewise.
10341 (llrintf): Likewise.
10342 (llrint): Likewise.
10343 (fmaxf): Likewise.
10344 (fmax): Likewise.
10345 (fminf): Likewise.
10346 (fmin): Likewise.
10347 (rint): Likewise.
10348 (rintf): Likewise.
10349 (ceil): Likewise.
10350 (ceilf): Likewise.
10351 (floor): Likewise.
10352 (floorf): Likewise.
10353 (nearbyint): Likewise.
10354 (nearbyintf): Likewise.
10355
d7b4fb26
TS
103562012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10357
10358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10359 non-default versions.
10360
eb55f5c2
RM
103612012-06-11 Roland McGrath <roland@hack.frob.com>
10362
10363 [BZ #14218]
10364 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10365
366af02c
TS
103662012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10367
99ff6e5c
TS
10368 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10369 (FE_UPWARD, FE_DOWNWARD): Don't define.
10370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10371 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10372
366af02c
TS
10373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10374 reading it.
10375 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10377
793ea851
KK
103782012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10379
10380 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10382 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10383 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10384
a728a38f
L
103852012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10386
10387 [BZ #14117]
c08010c7
L
10388 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10389 * sysdeps/i386/fpu/Implies: New file.
10390 * sysdeps/x86_64/fpu/Implies: Likewise.
10391 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10392 * sysdeps/x86/fpu/bits/fenv.h: This.
10393
a728a38f
L
10394 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10395 __SSE_MATH__.
10396
6e230d11
SP
103972012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10398
10399 [BZ #14134]
10400 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10401 character 0xffff that matches the last element of the
10402 conversion table.
10403
1b671feb
AZ
104042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10405
10406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10407 fmodl commit.
10408
6043738b
AZ
104092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10410
10411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10412 values higher than 25.6283.
10413
34ae0b32
AZ
104142012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10415
10416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10417 subnormal exponent extraction and add some __builtin_expect.
10418 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10419 Fix for subnormal mantissa calculation.
10420
1214ec8f
MF
104212012-06-04 Mike Frysinger <vapier@gentoo.org>
10422
10423 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10424 cpu2 is -1 and errno is not ENOSYS.
10425
f3d1f93c
L
104262012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10427
10428 [BZ #14117]
0e4a3cd7
L
10429 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10430 * sysdeps/x86/bits/string.h: This.
10431 * sysdeps/x86_64/bits/string.h: Removed.
10432
6704c645
L
10433 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10434 if not compiling for x86-64, but compiling for >= i486.
10435
48495318
L
10436 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10437 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10438
14adcbfc
L
10439 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10440 New macro from Linux kernel 3.4.0.
10441 (FP_XSTATE_MAGIC2): Likewise.
10442 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10443 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10444 (struct _fpx_sw_bytes): New struct.
10445 (struct _xsave_hdr): Likewise.
10446 (struct _ymmh_state): Likewise.
10447 (struct _xstate): Likewise.
10448
68e408ab
L
10449 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10450 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10452 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10453 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10454 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10455
f3d1f93c
L
10456 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10457 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10458 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10459 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10460 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10461 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10462
d9dc34cd
TMQMF
104632012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10464
10465 [BZ #13743]
10466 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10467 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10468 (sysdep_headers): Include sys/platform/ppc.h.
10469 * sysdeps/powerpc/test-gettimebase.c: Test for
10470 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10471 * manual/Makefile (appendices): Include platform.texi.
10472 * manual/contrib.texi (Contributors): Update @node pointers.
10473 * manual/maint.texi (Maintenance): Likewise.
10474 (Platform): New node.
10475 * manual/platform.texi: New file. Document the new features.
10476
4af3879c
SP
104772012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 Jakub Jelinek <jakub@redhat.com>
10479
10480 [BZ #14188]
10481 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10482 where __builtin_expect is unavailable.
10483
2fd6ff13
DM
104842012-06-03 David S. Miller <davem@davemloft.net>
10485
10486 * stdlib/longlong.h: Updated from GCC.
10487
173f7220
AS
104882012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10489
10490 [BZ #14042]
10491 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10492 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10493 __mcount_internal.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10495 (GLIBC_2.16): Likewise.
10496
f34a1c6f
L
104972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10498
10499 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10500
88a4576f
JM
105012012-06-01 Joseph Myers <joseph@codesourcery.com>
10502
ea32bcdd
JM
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10504 (default-abi): New variable.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10506 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10507 variable.
10508 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10509 Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10511 Likewise.
10512 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10513 Likewise.
10514
88a4576f
JM
10515 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10516 definition. Document in comment.
10517
402fe938
DM
105182012-06-01 David S. Miller <davem@davemloft.net>
10519
10520 * stdlib/longlong.h: Updated from GCC.
10521
3553723f
L
105222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10523
10524 [BZ #14117]
3bd872c4
L
10525 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10526 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10527 sys/debugreg.h sys/io.h here.
10528 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10529 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10530 sys/io.h.
10531 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10532 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10533 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10534 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10535 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10536 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10537
3553723f
L
10538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10539 Define only if __x86_64__ is defined.
10540
4842e4fe
JM
105412012-06-01 Joseph Myers <joseph@codesourcery.com>
10542
c5bfe3d5
JM
10543 [BZ #14048]
10544 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10545 Use int64_t for variable i.
10546 * math/libm-test.inc (fmod_test): Add more tests.
10547
4842e4fe
JM
10548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10549 z computation is not scheduled after fetestexcept.
10550 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10551 Use math_force_eval instead of asm to ensure calculation scheduled
10552 before exception test.
10553 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10554 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10555
efb73488
AJ
105562012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10557
10558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10559 computation is not scheduled after fetestexcept.
10560
29bcce7c
L
105612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10562
10563 [BZ #14117]
10564 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10565 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10566
73a68f94
AZ
105672012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10568
10569 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10570 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10571
67b6df78
L
105722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10573
edf2933a 10574 [BZ #14117]
ebc64a18
L
10575 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10576 <bits/wordsize.h>.
10577 (__WCHAR_MIN): Support __WORDSIZE == 64.
10578 (__WCHAR_MAX): Likewise.
10579
edf2933a
L
10580 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10582
57c6cf40
L
10583 [BZ #14183]
10584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10585 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10586
67b6df78 10587 [BZ #14117]
8eb6281e
L
10588 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10589 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10590
aac639f4
L
10591 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10592 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10593
67b6df78
L
10594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10595 Defined to 1 if __x86_64__ isn't defined.
10596 (_STAT_VER_LINUX_OLD): New.
10597 (st_atime): Remove duplicate.
10598 (st_mtime): Likewise.
10599 (st_ctime): Likewise.
10600
1c2cfe81
DM
106012012-05-31 David S. Miller <davem@davemloft.net>
10602
10603 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10604 entries.
10605
5be8418c
AS
106062012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10607
e7725326
AS
10608 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10609 gen-libm-test.pl.
10610
5be8418c
AS
10611 [BZ #14132]
10612 * elf/dl-reloc.c: Include <_itoa.h>.
10613 (_dl_reloc_bad_type): Remove use of INTUSE.
10614 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10615 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10616 * stdio-common/psiginfo.c (psiginfo): Likewise.
10617 * stdio-common/psignal.c (psignal): Likewise.
10618 * string/strsignal.c (strsignal): Likewise.
10619 * include/signal.h (_sys_siglist): Declare hidden proto.
10620 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10621 INTVARDEF with libc_hidden_data_def.
10622 * stdio-common/itoa-udigits.c: Likewise.
10623 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10624 (_itoa_lower_digits_internal): Remove declaration.
10625 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10626 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10627 (_sys_sigabbrev_internal): Remove aliases.
10628 (_sys_siglist): Define hidden alias.
10629
507352f1
MT
106302012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10631
10632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10633 bits/sysctl.h.
10634
42bbb1c3
L
106352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10636
10637 [BZ #14117]
6bd784b6
L
10638 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10639 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10640
8bca20f0
L
10641 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10642 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10643 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10644 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10646 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10647
f9e890a9
L
10648 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10649 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10650 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10651
471101a1
L
10652 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10653 with __addr.
10654 (insw): Likewise.
10655 (insl): Likewise.
10656 (outsb): Likewise.
10657 (outsw): Likewise.
10658 (outsl): Likewise.
10659
6451c862
L
10660 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10661 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10663
a254b8c9
L
10664 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10665 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10666 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10667 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10668 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10669 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10670
b8dfdd92
L
10671 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10672 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10673
578cd270
L
10674 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10675 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10676
de662f5f
L
10677 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10678 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10680
25653439
L
10681 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10682 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10683 to ...
10684 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10685
6bad24a0
L
10686 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10687 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10688 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10689
42bbb1c3
L
10690 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10691 for x86-64.
10692 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10693
2d10d547
JM
106942012-05-31 Joseph Myers <joseph@codesourcery.com>
10695
10696 * math/math.h (M_El): Use two more decimal places.
10697 (M_LOG2El): Likewise.
10698 (M_LOG10El): Likewise.
10699 (M_LN2l): Likewise.
10700 (M_LN10l): Likewise.
10701 (M_PIl): Likewise.
10702 (M_PI_2l): Likewise.
10703 (M_PI_4l): Likewise.
10704 (M_1_PIl): Likewise.
10705 (M_2_PIl): Likewise.
10706 (M_2_SQRTPIl): Likewise.
10707 (M_SQRT2l): Likewise.
10708 (M_SQRT1_2l): Likewise.
10709
f230c29b
DM
107102012-05-31 David S. Miller <davem@davemloft.net>
10711
10712 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10713 values between float registers.
10714 * sysdeps/sparc/sparc64/memset.S: Likewise.
10715 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10716
fed806c3
MF
107172012-05-31 Mike Frysinger <vapier@gentoo.org>
10718
10719 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10720 -D_FORTIFY_SOURCE=1.
10721 (CPPFLAGS-tst-longjmp_chk.c): Define.
10722 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10723 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10724 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10725 CFLAGS-tst-wchar-h.c.
10726
30917259
MP
107272012-05-31 Marek Polacek <polacek@redhat.com>
10728
10729 [BZ #14132]
10730 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10731 __endmntent_internal): Remove declaration.
10732 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10733 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10734 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10735
1c58d5dc
DM
107362012-05-30 David S. Miller <davem@davemloft.net>
10737
10738 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10739 (___Q_simulate_exceptions): Use real FP ops rather than writing
10740 into the %fsr.
10741 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10742 Likewise.
10743
7dc00e0d
L
107442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10745
10746 [BZ #14117]
0bd53985
L
10747 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10748 * sysdeps/x86/bits/xtitypes.h: This.
10749
3a257e66
L
10750 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10751 * sysdeps/x86/bits/wordsize.h: This.
10752
62f62904
L
10753 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10754 * sysdeps/x86/bits/huge_vall.h: This.
10755
404fe9d9
L
10756 * sysdeps/i386/bits/select.h: Removed.
10757 * sysdeps/x86_64/bits/select.h: Renamed to ...
10758 * sysdeps/x86/bits/select.h: This.
10759
d48d0446
L
10760 * sysdeps/i386/bits/setjmp.h: Removed.
10761 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10762 * sysdeps/x86/bits/setjmp.h: This.
10763
7dc00e0d
L
10764 * sysdeps/i386/bits/mathdef.h: Removed.
10765 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10766 * sysdeps/x86/bits/mathdef.h: This.
10767
03277f8f
AS
107682012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10769
10770 [BZ #14132]
10771 * include/sys/socket.h (__connect_internal)
10772 (__libc_sa_len_internal): Remove declaration.
10773 (__connect, __libc_sa_len): Declare hidden_proto.
10774 (SA_LEN): Remove use of INTUSE.
10775 * socket/connect.c: Add libc_hidden_def.
10776 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10777 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10778 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10779 alias.
10780 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10782 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10783 of adding _internal alias.
10784
13764867
L
107852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 [BZ #14117]
6bd97696
L
10788 * sysdeps/i386/bits/link.h: Removed.
10789 * sysdeps/i386/bits/linkmap.h: Likewise.
10790 * sysdeps/x86_64/bits/link.h: Renamed to ...
10791 * sysdeps/x86/bits/link.h: This.
10792 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10793 * sysdeps/x86/bits/linkmap.h: This.
10794
f726f0bb
L
10795 * sysdeps/i386/bits/endian.h: Removed.
10796 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10797 * sysdeps/x86/bits/endian.h: This.
10798
13764867
L
10799 * sysdeps/i386/bits/byteswap.h: Removed.
10800 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10801 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10802 * sysdeps/x86/bits/byteswap.h: This.
10803 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10804 * sysdeps/x86/bits/byteswap-16.h: This.
10805 * sysdeps/i386/Implies: Add x86.
10806 * sysdeps/x86_64/Implies: Likewise.
10807
ae251b0b
DM
108082012-05-30 David S. Miller <davem@davemloft.net>
10809
10810 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10811 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10813 (FP_TRAPPING_EXCEPTIONS): Define.
10814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10815 (FP_TRAPPING_EXCEPTIONS): Define.
10816 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10817 subnormals only when inexact has been signalled or underflow
10818 exceptions are enabled.
10819 (_FP_PACK_CANONICAL): Likewise.
10820
d5c90867
L
108212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10822
10823 [BZ #14183]
10824 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10825 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10826
63f1549e
RH
108272012-05-30 Richard Henderson <rth@twiddle.net>
10828
8d8f2279
RH
10829 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10830 with #ifndef NOT_IN_libc.
10831
63f1549e
RH
10832 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10833 marked to avoid plt entry.
10834
0ab0291b
L
108352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 [BZ #14112]
10838 * Makeconfig (default-abi): New macro.
10839 (abi-includes): Likewise.
10840 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10841 $(abi-$(default-abi)-lib-soname) for soname if defined.
10842 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10843 abi-variants.
10844 * Makefile (installed-stubs): Likewise.
10845 * include/stubs-biarch.h: Removed.
10846 * scripts/lib-names.awk: Only handle one library at a time.
10847 * scripts/soversions.awk: Remove WORDSIZE support.
10848 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10849 entries.
10850 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10851 Removed.
10852 (syscall-list-default-condition): Likewise.
10853 (syscall-list-default-condition): Likewise.
10854 (syscall-list-includes): Likewise.
10855 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10856 syscall-list-* with abi-*. Handle undefined abi-variants.
10857 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10858 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10859 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10860 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10861 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10862 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10863 Removed.
10864 (syscall-list-32-options): Likewise.
10865 (syscall-list-32-condition): Likewise.
10866 (syscall-list-64-options): Likewise.
10867 (syscall-list-64-condition): Likewise.
10868 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10869 macro.
10870 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10871 Renamed to ...
10872 (abi-*): This.
10873 (abi-64-ld-soname): New macro.
10874 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10875 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10876 Renamed to ...
10877 (abi-*): This.
10878 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10879 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10880
4da0431d
JM
108812012-05-30 Joseph Myers <joseph@codesourcery.com>
10882
3a85279c
JM
10883 * sysdeps/unix/sysv/linux/kernel-features.h
10884 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10885 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10886 include <kernel-features.h>.
10887 [!__NR_ftruncate64]: Remove conditional code.
10888 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10889 [__NR_ftruncate64]: Make code unconditional.
10890 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10891 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10892 include <kernel-features.h>.
10893 [!__NR_ftruncate64]: Remove conditional code.
10894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10895 [__NR_ftruncate64]: Make code unconditional.
10896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10898 include <kernel-features.h>.
10899 [!__NR_ftruncate64]: Remove conditional code.
10900 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10901 [__NR_ftruncate64]: Make code unconditional.
10902 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10904 include <kernel-features.h>.
10905 [!__NR_ftruncate64]: Remove conditional code.
10906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10907 [__NR_ftruncate64]: Make code unconditional.
10908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10909
4da0431d
JM
10910 * configure.in (libc_cv_fpie): Weaken to a compile test using
10911 LIBC_TRY_CC_OPTION.
10912 * configure: Regenerated.
10913
11ef492c
AK
109142012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10915
10916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10920 Refreshed.
10921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10927 Refreshed.
10928
d66ef399
DM
109292012-05-27 David S. Miller <davem@davemloft.net>
10930
10931 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10932 (___Q_zero): New.
10933 (__Q_simulate_exceptions): Return void. Change to simulate
10934 exceptions by writing into the %fsr.
10935 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10936 (__Qp_handle_exceptions): Likewise.
10937 (numbers): Delete.
10938 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10939 __Qp_handle_exceptions.
10940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10941 __Qp_handle_exceptions.
10942 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10943 as unused and give dummy FP_RND_NEAREST initializer.
10944 (FP_INHIBIT_RESULTS): Define.
10945 (___Q_simulate_exceptions): Update declaration.
10946 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10947 formatting.
10948 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10949 as unused and give dummy FP_RND_NEAREST initializer.
10950 (__Qp_handle_exceptions): Update declaration.
10951 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10952 formatting.
10953
04fb54b5
TS
109542012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10955
10956 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10957 the temporary FPU control word.
10958 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10959 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10961 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10962 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10963 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10964 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10965 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10966 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10967 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10968 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10969
3f99608f
KK
109702012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10971
10972 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10973 fields.
10974
65a4de4e
CLT
109752012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10976
10977 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10978 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10979 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10980 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10981 Likewise.
10982 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10983 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10984 Likewise.
10985
15749d40
UD
109862012-05-27 Ulrich Drepper <drepper@gmail.com>
10987
10988 * po/h.po: Update from translation team.
10989
25dbcb27
AS
109902012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10991
3d3f8e55
AS
10992 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10993
25dbcb27
AS
10994 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10995 handling of denormals.
10996 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10997 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10998 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10999 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11003 Likewise.
11004
7ad47a80 110052012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11006
11007 [BZ #14152]
11008 * math/libm-test.inc (fma_test): Don't always expect underflow
11009 exception.
11010
9c6ea9fa
SP
110112012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11012
11013 [BZ #12416]
11014 * elf/tst-execstack.c: Include stackinfo.h.
11015 (do_test): Adjust test case to ensure that pthread_getattr_np
11016 behaviour remains the same after marking stack executable.
11017
a8239222
JM
110182012-05-25 Joseph Myers <joseph@codesourcery.com>
11019
11020 * sysdeps/unix/sysv/linux/kernel-features.h
11021 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11022 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11023 kernel-features.h.
11024 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11025 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11026 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11027 kernel-features.h.
11028 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11029 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11030
918b5606
L
110312012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11032
11033 * configure.in: Define the default includes to being none.
11034 * configure: Regenerated.
11035
3a097cc7
RM
110362012-05-25 Roland McGrath <roland@hack.frob.com>
11037
8422c9a5
RM
11038 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11039 * sysdeps/x86_64/setjmp.S: Likewise.
11040 * sysdeps/i386/bsd-setjmp.S: Likewise.
11041 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11042 * sysdeps/i386/setjmp.S: Likewise.
11043 * sysdeps/i386/__longjmp.S: Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11045 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11046
3a097cc7
RM
11047 * include/stap-probe.h: New file.
11048 * configure.in: Handle --enable-systemtap.
11049 * configure: Regenerated.
11050 * config.h.in (USE_STAP_PROBE): New #undef.
11051 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11052 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11053 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11054
21708942
JM
110552012-05-25 Joseph Myers <joseph@codesourcery.com>
11056
11057 [BZ #13717]
11058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11059 to 2.4.0 where earlier.
11060 * sysdeps/unix/sysv/linux/configure: Regenerated.
11061 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11062 <kernel-features.h>.
11063 [__ASSUME_32BITUIDS]: Make code unconditional.
11064 [!__ASSUME_32BITUIDS]: Remove conditional code.
11065 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11066 <kernel-features.h>.
11067 [__ASSUME_32BITUIDS]: Make code unconditional.
11068 [!__ASSUME_32BITUIDS]: Remove conditional code.
11069 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11070 [__ASSUME_32BITUIDS]: Make code unconditional.
11071 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11072 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11073 <kernel-features.h>.
11074 [__ASSUME_32BITUIDS]: Make code unconditional.
11075 [!__ASSUME_32BITUIDS]: Remove conditional code.
11076 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11077 <kernel-features.h>.
11078 [__ASSUME_32BITUIDS]: Make code unconditional.
11079 [!__ASSUME_32BITUIDS]: Remove conditional code.
11080 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11081 <kernel-features.h>.
11082 [__ASSUME_32BITUIDS]: Make code unconditional.
11083 [!__ASSUME_32BITUIDS]: Remove conditional code.
11084 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11085 <kernel-features.h>.
11086 [__ASSUME_32BITUIDS]: Make code unconditional.
11087 [!__ASSUME_32BITUIDS]: Remove conditional code.
11088 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11089 <kernel-features.h>.
11090 [__ASSUME_32BITUIDS]: Make code unconditional.
11091 [!__ASSUME_32BITUIDS]: Remove conditional code.
11092 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11093 <kernel-features.h>.
11094 [__ASSUME_32BITUIDS]: Make code unconditional.
11095 [!__ASSUME_32BITUIDS]: Remove conditional code.
11096 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11097 <kernel-features.h>.
11098 [__ASSUME_32BITUIDS]: Make code unconditional.
11099 [!__ASSUME_32BITUIDS]: Remove conditional code.
11100 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11101 <kernel-features.h>.
11102 [__ASSUME_32BITUIDS]: Make code unconditional.
11103 [!__ASSUME_32BITUIDS]: Remove conditional code.
11104 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11105 <kernel-features.h>.
11106 [__ASSUME_32BITUIDS]: Make code unconditional.
11107 [!__ASSUME_32BITUIDS]: Remove conditional code.
11108 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11109 <kernel-features.h>.
11110 [__ASSUME_32BITUIDS]: Make code unconditional.
11111 [!__ASSUME_32BITUIDS]: Remove conditional code.
11112 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11113 <kernel-features.h>.
11114 [__NR_setresgid] (__setresgid): Do not declare.
11115 [__ASSUME_32BITUIDS]: Make code unconditional.
11116 [!__ASSUME_32BITUIDS]: Remove conditional code.
11117 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11118 <kernel-features.h>.
11119 [__NR_setresuid] (__setresuid): Do not declare.
11120 [__ASSUME_32BITUIDS]: Make code unconditional.
11121 [!__ASSUME_32BITUIDS]: Remove conditional code.
11122 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11123 <kernel-features.h>.
11124 [__ASSUME_32BITUIDS]: Make code unconditional.
11125 [!__ASSUME_32BITUIDS]: Remove conditional code.
11126 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11127 <kernel-features.h>.
11128 [__ASSUME_32BITUIDS]: Make code unconditional.
11129 [!__ASSUME_32BITUIDS]: Remove conditional code.
11130 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11131 <kernel-features.h>.
11132 [__ASSUME_32BITUIDS]: Make code unconditional.
11133 [!__ASSUME_32BITUIDS]: Remove conditional code.
11134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11135 <kernel-features.h>.
11136 [__ASSUME_32BITUIDS]: Make code unconditional.
11137 [!__ASSUME_32BITUIDS]: Remove conditional code.
11138 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11139 <kernel-features.h>.
11140 [__ASSUME_32BITUIDS]: Make code unconditional.
11141 [!__ASSUME_32BITUIDS]: Remove conditional code.
11142 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11143 <kernel-features.h>.
11144 [__ASSUME_32BITUIDS]: Make code unconditional.
11145 [!__ASSUME_32BITUIDS]: Remove conditional code.
11146 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11147 <kernel-features.h>.
11148 [__ASSUME_32BITUIDS]: Make code unconditional.
11149 [!__ASSUME_32BITUIDS]: Remove conditional code.
11150 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11151 <kernel-features.h>.
11152 [__ASSUME_32BITUIDS]: Make code unconditional.
11153 [!__ASSUME_32BITUIDS]: Remove conditional code.
11154 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.c: Do not include
11159 <kernel-features.h>.
11160 [__ASSUME_32BITUIDS]: Make code unconditional.
11161 [!__ASSUME_32BITUIDS]: Remove conditional code.
11162 * sysdeps/unix/sysv/linux/kernel-features.h
11163 (__ASSUME_SETRESUID_SYSCALL): Remove.
11164 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11165 (__ASSUME_32BITUIDS): Likewise.
11166 (__ASSUME_LDT_WORKS): Likewise.
11167 (__ASSUME_O_DIRECTORY): Likewise.
11168 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11169 architecture but not kernel version.
11170 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11171 (__ASSUME_MMAP2_SYSCALL): Likewise.
11172 (__ASSUME_STAT64_SYSCALL): Likewise.
11173 (__ASSUME_IPC64): Likewise.
11174 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11175 <kernel-features.h>.
11176 [__ASSUME_32BITUIDS]: Make code unconditional.
11177 [!__ASSUME_32BITUIDS]: Remove conditional code.
11178 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11179 <kernel-features.h>.
11180 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11181 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11182 132096]: Remove conditional code.
11183 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11185 <kernel-features.h>.
11186 [__ASSUME_32BITUIDS]: Make code unconditional.
11187 [!__ASSUME_32BITUIDS]: Remove conditional code.
11188 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11189 <kernel-features.h>.
11190 [__ASSUME_32BITUIDS]: Make code unconditional.
11191 [!__ASSUME_32BITUIDS]: Remove conditional code.
11192 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11193 <kernel-features.h>.
11194 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11195 unconditional.
11196 (__setresgid): Do not declare.
11197 [__ASSUME_32BITUIDS]: Make code unconditional.
11198 [!__ASSUME_32BITUIDS]: Remove conditional code.
11199 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11200 <kernel-features.h>.
11201 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11202 unconditional.
11203 (__setresuid): Do not declare.
11204 [__ASSUME_32BITUIDS]: Make code unconditional.
11205 [!__ASSUME_32BITUIDS]: Remove conditional code.
11206 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11207 <kernel-features.h>.
11208 [__ASSUME_32BITUIDS]: Make code unconditional.
11209 [!__ASSUME_32BITUIDS]: Remove conditional code.
11210 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11211 <kernel-features.h>.
11212 [__ASSUME_32BITUIDS]: Make code unconditional.
11213 [!__ASSUME_32BITUIDS]: Remove conditional code.
11214
a386f1cc
RH
112152012-05-25 Richard Henderson <rth@twiddle.net>
11216
11217 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11218 dl_hwcap to ifunc resolver.
11219 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11220 elf_ifunc_invoke.
11221 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11222 dl_hwcap to ifunc resolver.
11223 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11224
b6550497
JM
112252012-05-24 Joseph Myers <joseph@codesourcery.com>
11226
11227 [BZ #14153]
11228 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11229 for |x| <= 2**-26, not 2**-57.
11230 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11231 exception.
11232
b0bc23a1
JL
112332012-05-24 Jeff Law <law@redhat.com>
11234
11235 * stdio-common/Makefile (tests): Add bug25.
11236 * stdio-common/bug25.c: New test.
11237
347c92e9
L
112382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 [BZ #13576]
11241 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11242 multiple of MALLOC_ALIGNMENT in size.
11243 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11244
6bcc8b3f
JM
112452012-05-24 Joseph Myers <joseph@codesourcery.com>
11246
11247 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11248 Require >= 256.
11249 (FILENAME_MAX): Use macro-int-constant.
11250 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11251 (_IOFBF): Use macro-int-constant.
11252 (_IOLBF): Likewise.
11253 (_IONBF): Likewise.
11254 (SEEK_CUR): Likewise.
11255 (SEEK_END): Likewise.
11256 (SEEK_SET): Likewise.
11257 (TMP_MAX): Likewise.
11258 (EOF): Use macro-int-constant. Require < 0.
11259 (NULL): Use macro-constant. Require == 0.
11260 (stdin): Require type to be FILE *.
11261 (stdout): Likewise.
11262 (stderr): Likewise.
11263 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11264 macro-int-constant.
11265 (EXIT_SUCCESS): Likewise.
11266 (NULL): Use macro-constant. Require == 0.
11267 (RAND_MAX): Use macro-int-constant.
11268 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11269 [C99-based standards] (strtof): Require function.
11270 [C99-based standards] (strtold): Likewise.
11271 [C99-based standards] (strtoll): Likewise.
11272 [C99-based standards] (strtoull): Likewise.
11273 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11274 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11275 [ISO || ISO99 || ISO11] (math.h): Likewise.
11276 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11277 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11279
d18ea0c5
AS
112802012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11281
11282 [BZ #14132]
56d25bb8
AS
11283 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11284 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11285 * intl/dgettext.c (DCGETTEXT): Likewise.
11286 * intl/gettext.c (DCGETTEXT): Likewise.
11287 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11288 * posix/regex_internal.h (gettext): Likewise.
11289 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11290 Remove declaration.
11291 * include/argz.h (__argz_count_internal)
11292 (__argz_stringify_internal): Remove declaration.
11293 (__argz_count, __argz_stringify): Declare hidden proto.
11294 * intl/dcgettext.c: Remove use of INTDEF.
11295 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11296 * string/argz-stringify.c: Likewise.
11297 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11298 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11299 Declare hidden proto.
d18ea0c5
AS
11300 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11301 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11302 Declare hidden proto.
11303 * include/stdio.h (__asprintf_internal): Don't declare.
11304 (__asprintf): Don't define as macro. Declare hidden proto.
11305 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11306 (__fsetlocking): Declare hidden proto.
11307 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11308 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11309 hidden proto.
11310 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11311 (_IO_setlinebuf): Remove use of INTUSE.
11312 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11313 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11314 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11315 Remove declaration.
11316 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11317 (_IO_do_flush): Remove use of INTUSE.
11318 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11319 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11320 (_IO_adjust_column, _IO_least_wmarker)
11321 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11322 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11323 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11324 (_IO_default_doallocate, _IO_wdefault_doallocate)
11325 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11326 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11327 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11328 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11329 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11330 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11331 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11332 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11333 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11334 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11335 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11336 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11337 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11338 proto.
11339 (_IO_flush_all_internal, _IO_adjust_column_internal)
11340 (_IO_default_uflow_internal, _IO_default_finish_internal)
11341 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11342 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11343 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11344 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11345 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11346 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11347 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11348 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11349 (_IO_file_close_internal, _IO_file_close_it_internal)
11350 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11351 (_IO_file_init_internal, _IO_file_attach_internal)
11352 (_IO_file_fopen_internal, _IO_file_read_internal)
11353 (_IO_file_sync_internal, _IO_file_seek_internal)
11354 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11355 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11356 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11357 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11358 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11359 (_IO_list_all_internal, _IO_link_in_internal)
11360 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11361 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11362 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11363 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11364 (_IO_do_write_internal, _IO_padn_internal)
11365 (_IO_getline_info_internal, _IO_getline_internal)
11366 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11367 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11368 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11369 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11370 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11371 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11372 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11373 with libc_hidden_ver, remove use of INTUSE.
11374 * libio/genops.c: Likewise.
11375 * libio/freopen.c: Likewise.
11376 * libio/freopen64.c: Likewise.
11377 * libio/iofclose.c: Likewise.
11378 * libio/iofdopen.c: Likewise.
11379 * libio/iofflush.c: Likewise.
11380 * libio/iofflush_u.c: Likewise.
11381 * libio/iofgets.c: Likewise.
11382 * libio/iofgets_u.c: Likewise.
11383 * libio/iofopen.c: Likewise.
11384 * libio/iofopncook.c: Likewise.
11385 * libio/iofread.c: Likewise.
11386 * libio/iofread_u.c: Likewise.
11387 * libio/ioftell.c: Likewise.
11388 * libio/iofwrite.c: Likewise.
11389 * libio/iogetline.c: Likewise.
11390 * libio/iogets.c: Likewise.
11391 * libio/iogetwline.c: Likewise.
11392 * libio/iopadn.c: Likewise.
11393 * libio/iopopen.c: Likewise.
11394 * libio/ioseekoff.c: Likewise.
11395 * libio/ioseekpos.c: Likewise.
11396 * libio/iosetbuffer.c: Likewise.
11397 * libio/iosetvbuf.c: Likewise.
11398 * libio/ioungetc.c: Likewise.
11399 * libio/ioungetwc.c: Likewise.
11400 * libio/iovdprintf.c: Likewise.
11401 * libio/iovsprintf.c: Likewise.
11402 * libio/iovsscanf.c: Likewise.
11403 * libio/memstream.c: Likewise.
11404 * libio/obprintf.c: Likewise.
11405 * libio/oldfileops.c: Likewise.
11406 * libio/oldiofclose.c: Likewise.
11407 * libio/oldiofdopen.c: Likewise.
11408 * libio/oldiofopen.c: Likewise.
11409 * libio/oldiopopen.c: Likewise.
11410 * libio/oldstdfiles.c: Likewise.
11411 * libio/putc.c: Likewise.
11412 * libio/setbuf.c: Likewise.
11413 * libio/setlinebuf.c: Likewise.
11414 * libio/stdfiles.c: Likewise.
11415 * libio/strops.c: Likewise.
11416 * libio/vasprintf.c: Likewise.
11417 * libio/vscanf.c: Likewise.
11418 * libio/vsnprintf.c: Likewise.
11419 * libio/vswprintf.c: Likewise.
11420 * libio/wfiledoalloc.c: Likewise.
11421 * libio/wfileops.c: Likewise.
11422 * libio/wgenops.c: Likewise.
11423 * libio/wmemstream.c: Likewise.
11424 * libio/wstrops.c: Likewise.
11425 * libio/__fpurge.c: Likewise.
11426 * libio/__fsetlocking.c: Likewise.
11427 * assert/assert.c: Likewise.
11428 * debug/fgets_chk.c: Likewise.
11429 * debug/fgets_u_chk.c: Likewise.
11430 * debug/fread_chk.c: Likewise.
11431 * debug/fread_u_chk.c: Likewise.
11432 * debug/gets_chk.c: Likewise.
11433 * debug/obprintf_chk.c: Likewise.
11434 * debug/vasprintf_chk.c: Likewise.
11435 * debug/vdprintf_chk.c: Likewise.
11436 * debug/vsnprintf_chk.c: Likewise.
11437 * debug/vsprintf_chk.c: Likewise.
11438 * malloc/mtrace.c: Likewise.
11439 * misc/error.c: Likewise.
11440 * misc/syslog.c: Likewise.
11441 * stdio-common/asprintf.c: Likewise.
11442 * stdio-common/fxprintf.c: Likewise.
11443 * stdio-common/getw.c: Likewise.
11444 * stdio-common/isoc99_fscanf.c: Likewise.
11445 * stdio-common/isoc99_scanf.c: Likewise.
11446 * stdio-common/isoc99_vfscanf.c: Likewise.
11447 * stdio-common/isoc99_vscanf.c: Likewise.
11448 * stdio-common/isoc99_vsscanf.c: Likewise.
11449 * stdio-common/printf-prs.c: Likewise.
11450 * stdio-common/printf_fp.c: Likewise.
11451 * stdio-common/printf_fphex.c: Likewise.
11452 * stdio-common/printf_size.c: Likewise.
11453 * stdio-common/putw.c: Likewise.
11454 * stdio-common/scanf.c: Likewise.
11455 * stdio-common/sprintf.c: Likewise.
11456 * stdio-common/tmpfile.c: Likewise.
11457 * stdio-common/vfprintf.c: Likewise.
11458 * stdio-common/vfscanf.c: Likewise.
11459 * stdlib/strfmon_l.c: Likewise.
11460 * sunrpc/openchild.c: Likewise.
11461 * sunrpc/xdr_stdio.c: Likewise.
11462 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11463 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11464
d6c33fda
RM
114652012-05-24 Roland McGrath <roland@hack.frob.com>
11466
c1487492
RM
11467 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11468
11469 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11470 in the third column, to generate for the shared library an IFUNC
11471 that uses _dl_vdso_vsym.
11472 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11473 * Makeconfig (object-suffixes-noshared): New variable.
11474
11475 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11476 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11477 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11478 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11479
d6c33fda
RM
11480 [BZ #14132]
11481 * include/sys/time.h (__gettimeofday): Remove macro.
11482 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11483 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11484 Remove INTDEF.
11485 (__gettimeofday): Add libc_hidden_def.
11486 (gettimeofday): Add libc_hidden_weak.
11487 * sysdeps/mach/gettimeofday.c: Likewise.
11488 * sysdeps/posix/gettimeofday.c: Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11490 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11492 (__gettimeofday_internal): Remove strong_alias.
11493 (__gettimeofday): Add libc_hidden_def.
11494 (gettimeofday): Add libc_hidden_weak.
11495 * sysdeps/unix/syscalls.list (gettimeofday):
11496 Remove __gettimeofday_internal alias.
11497
b5a2bbe6
L
114982012-05-24 Daniel Jacobowitz <drow@false.org>
11499 H.J. Lu <hongjiu.lu@intel.com>
11500
11501 [BZ #12495]
11502 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11503 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11504 (largebin_index_32_big): New.
11505 (largebin_index): Use it for 16-byte alignment.
11506 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11507 correction with front_misalign.
11508
cfba4fda
L
115092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11510
7f907421
L
11511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11513 Likewise.
11514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11515 Likewise.
11516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11517 Likewise.
11518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11519 Likewise.
11520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11521 Likewise.
11522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11523 Likewise.
11524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11525 Likewise.
11526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11527 Likewise.
11528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11529 Likewise.
11530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11531 Likewise.
11532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11533 Likewise.
11534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11535 Likewise.
11536
cfba4fda
L
11537 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11538 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11539
80bad0cc
JM
115402012-05-24 Joseph Myers <joseph@codesourcery.com>
11541
7a25eb06
JM
11542 [BZ #10846]
11543 [BZ #14036]
11544 * math/libm-test.inc (exp_test): Add test from bug 14036.
11545 (pow_test): Add test from bug 10846.
11546
795405f9
JM
11547 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11548 and other flags.
11549 (special_function): Do not include flags in test name.
11550 (parse_args): Likewise.
11551 * sysdeps/i386/fpu/libm-test-ulps: Update.
11552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11554 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11556
80bad0cc
JM
11557 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11558 exceptions.
11559 * math/libm-test.inc ("Philosophy"): Update comment about
11560 exception testing.
11561 (UNDERFLOW_EXCEPTION): New macro.
11562 (UNDERFLOW_EXCEPTION_OK): Likewise.
11563 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11564 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11565 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11566 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11567 (INVALID_EXCEPTION_OK): Update value.
11568 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11569 (OVERFLOW_EXCEPTION_OK): Likewise.
11570 (IGNORE_ZERO_INF_SIGN): Likewise.
11571 (test_exceptions): Handle underflow exceptions.
11572 (acos_test): Update for underflow exception expectations.
11573 (cexp_test): Likewise.
11574 (clog_test): Likewise.
11575 (clog10_test): Likewise.
11576 (csqrt_test): Likewise.
11577 (ctan_test): Likewise.
11578 (ctanh_test): Likewise.
11579 (exp_test): Likewise.
11580 (exp10_test): Likewise.
11581 (exp2_test): Likewise.
11582 (expm1_test): Likewise.
11583 (fma_test): Likewise.
11584 (j0_test): Likewise.
11585 (jn_test): Likewise.
11586 (nexttoward_test): Likewise.
11587 (pow_test): Likewise.
11588 (scalbn_test): Likewise.
11589 (scalbln_test): Likewise.
11590 (tan_test): Likewise.
11591 (y1_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11594
9e0e3d0b
DM
115952012-05-23 David S. Miller <davem@davemloft.net>
11596
11597 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11598 (__libc_sigaction): Remove unused local variables.
11599
ccd0a08f
L
116002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11601
11602 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11603
62bdf9a6
PE
116042012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11605
f8591f80
PE
11606 mktime: avoid signed integer overflow
11607 * time/mktime.c (__mktime_internal): Do not mishandle the case
11608 where diff == INT_MIN.
11609
94c7d826
PE
11610 mktime: simplify computation of average
11611 * time/mktime.c (ranged_convert): Use new time_t_avg function
11612 instead of rolling our own (probably-slower) code.
11613
ce73d683
PE
11614 mktime: do not assume signed right shift propagates sign bit
11615 * time/mktime.c (isdst_differ): New static function.
11616 (__mktime_internal): No need to normalize tm_isdst now.
11617 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11618 tm_isdst values.
11619
72a22e59
PE
11620 mktime: merge another wrapv change from gnulib
11621 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11622 from some compilers.
11623
68605433
PE
11624 mktime: remove incorrect attempt at unusual arithmetics
11625 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11626 The code didn't really work on such machines anyway.
11627 (TYPE_MINIMUM): Assume two's complement.
11628 (twos_complement_arithmetic): Verify that long_int and time_t
11629 are two's complement (or unsigned, in the latter case).
11630
03cf7fe3
PE
11631 mktime: check signed shifts on long_int and time_t, too
11632 * time/mktime.c (SHR): Check that shifts work as desired
11633 on the types long_int and time_t too, as SHR is used on
11634 such types.
11635
f04dfbc2
PE
11636 mktime: do not assume 'long' is wide enough
11637 * time/mktime.c (verify): Move decl up.
11638 (long_int): New type.
11639 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11640 to remove assumption in the code that 'long' is wide enough to
11641 store year values. This assumption is not true on x32 and on
11642 some non-glibc platforms.
11643
62bdf9a6
PE
11644 mktime: merge wrapv change from gnulib
11645 * time/mktime.c (WRAPV): New macro.
11646 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11647 (guess_time_tm, __mktime_internal): Do not assume that signed
11648 integer overflow wraps around; modern compilers generate code
11649 where this assumption is no longer valid.
11650
5e292e4f
L
116512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11654 Replace "jmp L(pseudo_end)" with "ret".
11655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11656 Likewise.
11657
8caf8c87
AJ
116582012-05-23 Andreas Jaeger <aj@suse.de>
11659
11660 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11661 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11662
1a09dc56
AJ
116632012-05-23 Andreas Jaeger <aj@suse.de>
11664 Maximilian Attems <max@stro.at>
11665
11666 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11667 New macros.
11668
1c87aba0
L
116692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11670
11671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11672 code so that pseudo_end is just ret and the stack pointer is
11673 correct also for static library in error case.
11674
40e45bd5
JM
116752012-05-23 Joseph Myers <joseph@codesourcery.com>
11676
c2670533
JM
11677 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11678 move to syscalls.list.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11683
40e45bd5
JM
11684 * manual/install.texi (Running make install): Do not mention Linux
11685 kernel version for which pt_chown is not needed.
11686 (Linux): Do not mention problems with nscd with 2.0 kernels.
11687 * INSTALL: Regenerated.
11688
be08eda5
AJ
116892012-05-23 Andreas Jaeger <aj@suse.de>
11690
11691 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11692 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11693 macro.
11694 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11695 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11696 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11697 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11698 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11699 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11701 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11703 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11704 * sysdeps/unix/sysv/linux/bits/in.h
11705 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11706
a6a056bb
RM
117072012-05-22 Roland McGrath <roland@hack.frob.com>
11708
11709 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11710 (PREPARE_VERSION): Just use assert instead, it will be elided
11711 under [NDEBUG] anyway.
11712
c9009328
L
117132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11714
11715 * sysdeps/unix/sysv/linux/Makefile: Include
11716 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11717 (sysdep_routines): Remove sysctl.
c9009328
L
11718 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11719 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11722 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11723
73338355
AJ
117242012-05-22 Andreas Jaeger <aj@suse.de>
11725
11726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11727 that pseudo_end is just ret and the stack pointer is correct also
11728 for static library in error case.
11729
d44638b0
PP
117302012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11731
11732 [BZ #14122]
11733 * nss/nsswitch.c (defconfig_entries): New variable.
11734 (__nss_database_lookup): Don't leak defconfig entries.
11735 (nss_parse_service_list): Don't leak on error paths.
11736 (free_database_entries): New function.
11737 (free_defconfig): New function.
11738 (free_mem): Move common code to free_database_entries.
11739
31a39bd8
L
117402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11741
da0331a8
L
11742 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11743 Add arch_prctl.
11744 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11745
31a39bd8
L
11746 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11747 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11749 New macro.
11750 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11751 (INTERNAL_SYSCALL_TYPES): Likewise.
11752 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11753 (LOAD_REGS_TYPES_[1-6]): Likewise.
11754 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11755 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11756
45470df3
AZ
117572012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11758
11759 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11760 copysignl for GLIBC_2_0.
11761 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11762 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11764 logbl for GLIBC_2_0.
11765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11766 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11767
98a61bcb
L
117682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11769
a4f6e481
L
11770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11772
f63d5db6
L
11773 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11774 Use "neg %eax".
11775
98a61bcb
L
11776 * time/mktime.c: Update copyright years.
11777
95770f14
PE
117782012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11779
6226efbd
PE
11780 mktime: merge comment-quoting-style change from gnulib
11781 * time/mktime.c: Quote 'like this' in comments.
11782 The GNU coding standards suggest that we no longer quote `like this',
11783 as "`" and "'" are typically rendered asymmetrically nowadays.
11784 The typical gnulib style is to quote 'like this' when quoting
11785 code, and "like this" when quoting English.
11786
b99e4f78
PE
11787 * time/mktime.c (compile-command): Add "-I.".
11788
643e01e6
PE
11789 mktime: merge mktime-internal.h change from gnulib
11790 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11791
2554247d
PE
11792 mktime: merge time_r change from gnulib
11793 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11794
826dd0ab
PE
11795 mktime: merge DEBUG change from gnulib
11796 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11797 case system <time.h> has a #define.
11798
bd83aabe
PE
11799 mktime: merge <sys/types.h> change from gnulib
11800 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11801 since <time.t> is now guaranteed to define time_t.
11802
95770f14
PE
11803 mktime: merge HAVE_CONFIG_H change from gnulib
11804 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11805
5e1a27a9
L
118062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11807
0e44a77e
L
11808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11809 Use "neg %eax".
11810
5e1a27a9
L
11811 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11812 __rlim_t cast.
11813 (struct rusage): Use anonymous union to pad each field to
11814 __syscall_slong_t.
11815
46259bec
DM
118162012-05-21 David S. Miller <davem@davemloft.net>
11817
11818 * Makefules (o-iterator): Remove .s cases.
11819 (compile-command.s): Delete.
11820 (COMPILE.s): Delete.
11821 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11822
59f0c22e
JM
118232012-05-21 Joseph Myers <joseph@codesourcery.com>
11824
11825 * configure.in (libc_cv_predef_stack_protector): Only consider
11826 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11827 * configure: Regenerated.
11828
20c07380
L
118292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11830
bbb3154b
L
11831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11832 New macro. Use R*LP on int and pointer.
11833 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11834 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11836 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11837
20c07380
L
11838 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11839 [__WORDSIZE_TIME64_COMPAT32] instead of
11840 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11841 (struct utmp): Likewise.
11842 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11843 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11844 Renamed to ...
11845 (__WORDSIZE_TIME64_COMPAT32): This.
11846 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11847 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11848 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11850 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11851 (__WORDSIZE_TIME64_COMPAT32): New macro.
11852
d8d1017e
AJ
118532012-05-21 Andreas Jaeger <aj@suse.de>
11854
11855 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11856 only if [SHARED]. Add prototype for __wcschr_ia32.
11857
6c7fb145
RM
118582012-05-21 Roland McGrath <roland@hack.frob.com>
11859
11860 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11861 of %rbp unmolested in the jmp_buf while mangling the low bits.
11862 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11863 unmolested high bits of %rbp while demangling the low bits.
11864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11865
66274218
AJ
118662012-05-21 Andreas Jaeger <aj@suse.de>
11867
07c58f8f
AJ
11868 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11869 * sunrpc/svc_simple.c: Use it for registerrpc.
11870 * sunrpc/xcrypt.c: Use it for passwd2des.
11871
66274218
AJ
11872 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11873
61f65140
L
118742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11875
11876 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11877 Don't define if [__SYSCALL_WORDSIZE != 32].
11878 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11879 New macro.
11880
5fefb436
AJ
118812012-05-21 Bruno Haible <bruno@clisp.org>
11882 Andreas Jaeger <aj@suse.de>
11883
11884 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11885 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11886 inptr and inend for must_buffer_ch.
11887 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11888 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11889 * stdio-common/Makefile (tests): Remove bug15.
11890 (bug15-ENV): Remove macro.
11891 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11892 anymore.
11893
d8e272ab
AJ
118942012-05-19 Andreas Jaeger <aj@suse.de>
11895 Roland McGrath <roland@hack.frob.com>
11896
11897 * manual/contrib.texi: Completely rewritten. It contains now an
11898 alphabetical list of contributors and their contributions.
11899
4a56a162
RH
119002012-05-21 Richard Henderson <rth@twiddle.net>
11901
11902 * misc/getauxval.c (__getauxval): Use unsigned long int.
11903 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11904 (getauxval): Use unsigned long int.
11905
d024d23c
L
119062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11909
cbc00a03
RM
119102012-05-21 Roland McGrath <roland@hack.frob.com>
11911
11912 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11913 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11914 __alignof__ (long double).
11915
478143fa
AZ
119162012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11917
11918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11919
c7683a6d
RH
119202012-05-20 Richard Henderson <rth@twiddle.net>
11921
11922 * misc/getauxval.c: New file.
11923 * misc/sys/auxv.h: New file.
11924 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11925 (routines): Add getauxval.
11926 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11927 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11928 * elf/dl-sysdep.c (_dl_auxv): Remove.
11929 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11930 * elf/dl-support.c (_dl_auxv): New variable.
11931 (_dl_aux_init): Initialize it.
11932 * manual/startup.texi (Auxiliary Vector): New node.
11933 * sysdeps/generic/bits/hwcap.h: New file.
11934 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11935 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11936 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11937 * sysdeps/sparc/sysdep.h: ... here. Include it.
11938 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11939 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11941 Update.
c7683a6d
RH
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11945 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11950
a6f1845d
AZ
119512012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11952
11953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11954
cbcbe830
DM
119552012-05-19 David S. Miller <davem@davemloft.net>
11956
11957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11958
e0b16cc2
JM
119592012-05-19 Joseph Myers <joseph@codesourcery.com>
11960
11961 [BZ #14123]
11962 * math/s_ccosh.c: Include <float.h>
11963 (__ccosh): Avoid internal overflow calculating sinh and cosh
11964 values before multiplying by sin and cos values.
11965 * math/s_ccoshf.c: Likewise.
11966 * math/s_ccoshl.c: Likewise.
11967 * math/s_csin.c: Likewise.
11968 * math/s_csinf.c: Likewise.
11969 * math/s_csinl.c: Likewise.
11970 * math/s_csinh.c: Likewise.
11971 * math/s_csinhf.c: Likewise.
11972 * math/s_csinhl.c: Likewise.
11973 * math/libm-test.inc (ccos_test): Add more tests.
11974 (ccosh_test): Likewise.
11975 (csin_test): Likewise.
11976 (csinh_test): Likewise.
11977 * sysdeps/i386/fpu/libm-test-ulps: Update.
11978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11979
6ad13e08
L
119802012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11981
f66f0ce8
L
11982 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11983 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11984
6ad13e08
L
11985 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11986
b1d072a7
JM
119872012-05-19 Joseph Myers <joseph@codesourcery.com>
11988
11989 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11990 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11991 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11992 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11993 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11994 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11995 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11996 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11997 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11998 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11999 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12000 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12001 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12002 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12003 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12004 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12005 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12006 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12007 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12008 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12009 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12010 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12011 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12012 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12013 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12014 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12015 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12016 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12017 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12018 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12019 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12020
9eae47cb
AJ
120212012-05-18 Andreas Jaeger <aj@suse.de>
12022
12023 * csu/.gitignore: Delete.
12024
bb07f69f
L
120252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12026
12027 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12028 (timex): Use __syscall_slong_t.
12029
e6bdb741
AJ
120302012-05-18 Andreas Jaeger <aj@suse.de>
12031 Carlos O'Donell <carlos_odonell@mentor.com>
12032
12033 * manual/install.texi (Configuring and compiling): Update
12034 description about files modified in the source directory.
d6c33fda 12035 * INSTALL: Regenerated.
e6bdb741 12036
1b74487e
L
120372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12038
12039 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12040 value. Use "or" to set return value to -1.
12041 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12042 negate return value.
12043
a88b64b9
TMQMF
120442012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12045
12046 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12047 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12048 failure if the compiler has Graphite support disabled.
12049 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12050 Likewise.
12051 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12052 CFLAGS-memmove.c): Likewise.
12053 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12054 Likewise.
12055
3707636e
L
120562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12057
610b8622
L
12058 * sysdeps/x86_64/x32/_itoa.h: New file.
12059
7cd195df
L
12060 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12061 getdents system call only if kernel and user dirents have the
12062 same d_ino and d_off.
12063
94b07d20
L
12064 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12065 LLONG_MAX != LONG_MAX.
12066 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12067 (_fitoa_word): Likewise.
12068
18298070
L
12069 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12070 years.
12071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12072 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12073 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12074
553c7ea4
L
12075 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12076 include <bits/wordsize.h>. Check __x86_64__ instead of
12077 __WORDSIZE.
12078 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12079 if __x86_64__ is defined. Use anonymous union on fpstate.
12080
3707636e
L
12081 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12082 anonymous union.
12083
b53ef01a
AS
120842012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12085
37fb1dc0
AS
12086 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12087 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12088 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12089 Refer to _rtld_local_ro instead of _rtld_global_ro.
12090 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12091 Likewise.
12092 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12093 Likewise.
12094 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12095 Likewise.
12096 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12097 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12098 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12099
b53ef01a
AS
12100 * sysdeps/powerpc/powerpc32/dl-machine.c
12101 (__elf_machine_runtime_setup) [PROF]: Don't reference
12102 _dl_prof_resolve.
12103
7a185db2
AJ
121042012-05-18 Andreas Jaeger <aj@suse.de>
12105
12106 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12107 function only available for GCCs before 3.4 since GCC 3.4
12108 introduced a builtin.
12109 (lrint): Likewise.
12110 (llrintf): Likewise.
12111 (llrint): Likewise.
12112 (fmaxf): Likewise.
12113 (fmax): Likewise.
12114 (fminf): Likewise.
12115 (fmin): Likewise.
12116 (rint): Likewise.
12117 (rintf): Likewise.
12118 (nearbyint): Likewise.
12119 (nearbyintf): Likewise.
12120 (ceil): Likewise.
12121 (ceilf): Likewise.
12122 (floor): Likewise.
12123 (floorf): Likewise.
12124
3e5aef87
L
121252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12126
428bd707
L
12127 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12128 on both fields and cast pointer to __syscall_ulong_t.
12129
3e5aef87
L
12130 * bits/types.h (__fsword_t): New type.
12131 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12132 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12134 (__FSWORD_T_TYPE): Likewise.
12135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12136 (__FSWORD_T_TYPE): Likewise.
12137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12138 (__FSWORD_T_TYPE): Likewise.
12139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12140 (__FSWORD_T_TYPE): Likewise.
12141 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12142 __SWORD_TYPE with __fsword_t.
12143 (statfs64): Likewise.
12144
1ba7c3dc
DM
121452012-05-17 David S. Miller <davem@davemloft.net>
12146
12147 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12148
59910343
AJ
121492012-05-17 Andreas Jaeger <aj@suse.de>
12150
12151 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12152 warning.
12153
2e4c1e9e
L
121542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12155
12156 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12157
de7f5ce7
AJ
121582012-05-17 Andreas Jaeger <aj@suse.de>
12159
12160 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12161 when it is used.
12162
286abc3d
CM
121632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12164
12165 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12166
477cc68e
L
121672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12168
12169 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12170 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12171
1a0994f5
CD
121722012-05-17 Andreas Jaeger <aj@suse.de>
12173 Carlos O'Donell <carlos_odonell@mentor.com>
12174
12175 [BZ #14059]
12176 * sysdeps/x86_64/multiarch/init-arch.h
12177 (bit_YMM_Usable): Rename to...
12178 (bit_AVX_Usable): ... this.
12179 (bit_FMA4_Usable): New macro.
12180 (bit_XMM_state): New macro.
12181 (bit_YMM_state): New macro.
12182 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12183 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12184 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12185 (CPUID_OSXSAVE): New macro.
12186 (CPUID_AVX): New macro.
12187 (CPUID_FMA4): New macro.
12188 (index_YMM_Usable): Rename to...
12189 (index_AVX_Usable): ... this.
12190 (HAS_AVX): Use HAS_ARCH_FEATURE.
12191 (HAS_FMA4): Likewise.
12192 (HAS_YMM_USABLE): Remove.
12193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12194 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12195 are present.
12196 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12197 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12198 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12199 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12200 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12201
0af797de
CM
122022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12203
12204 * math/libm-test.c: Support platforms without multiple rounding modes.
12205 * math/bug-nextafter.c: Support platforms without FP exceptions.
12206 * math/bug-nexttoward.c: Likewise.
12207 * math/test-fenv.c: Likewise.
12208 * math/test-misc.c: Likewise.
12209 * stdlib/bug-getcontext.c: Likewise.
12210
e39745ff
AJ
122112012-05-17 Andreas Jaeger <aj@suse.de>
12212
12213 * manual/examples/search.c (critter_cmp): Change signature to
12214 avoid warnings.
12215 * manual/string.texi (Collation Functions): Likewise.
12216
48970aba
L
122172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 * bits/types.h: Fold copyright years.
12220 * bits/typesizes.h: Likewise.
12221 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12225 * time/time.h: Likewise.
12226
bedee953
PP
122272012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12228
12229 [BZ #208]
12230 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12231 in instead of returning them. Return void.
12232 (__libc_mallinfo): Accumulate over all arenas.
12233 (__malloc_stats): Adjust for change in int_mallinfo interface.
12234
61653dfb
RM
122352012-05-16 Roland McGrath <roland@hack.frob.com>
12236
30b99d79
RM
12237 [BZ #10375]
12238 * configure.in (NM): Add AC_CHECK_TOOL for it.
12239 (libc_extra_cflags): New substituted variable.
12240 Check for -fstack-protector being used implicitly.
12241 * configure: Regenerated.
12242 * config.make.in (config-extra-cflags): New variable,
12243 gets @libc_extra_cflags@.
12244 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12245
61653dfb
RM
12246 [BZ #10375]
12247 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12248 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12249 * configure: Regenerated.
12250 * config.make.in (CPPUNDEFS): New substituted variable.
12251 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12252 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12253 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12254
661768bb
L
122552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12256
12257 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12258 (mq_attr): Use __syscall_slong_t.
12259
d4261567
L
122602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12263 Check __x86_64__ instead of __WORDSIZE.
12264 (_STAT_VER_LINUX): Likewise.
12265 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12266 __syscall_ulong_t and __syscall_slong_t.
12267 (stat64): Likewise.
12268
cf3ff365
L
122692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12270
12271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12272
76cf3e4d
L
122732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12274
12275 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12276
a637753a
L
122772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12278
12279 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12280 __syscall_ulong_t.
12281
d5e05119
L
12282 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12283 include <bits/wordsize.h>. Check __x86_64__ instead of
12284 __WORDSIZE.
12285 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12286 defined.
12287 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12288
f62ee380
L
12289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12290 include <bits/wordsize.h>. Check __x86_64__ instead of
12291 __WORDSIZE.
12292 (user_regs_struct): Use "__extension__ unsigned long long"
12293 instead of "unsigned long" if __x86_64__ is defined.
12294 (user): Likewise. Pad after pointer field if __ILP32__ is
12295 defined.
12296
4e124ced
JM
122972012-05-16 Joseph Myers <joseph@codesourcery.com>
12298
6a3951a0
JM
12299 * configure.in (makeinfo): Require version 4.5 or later. Allow
12300 versions 5 to 9.
12301 * configure: Regenerated.
12302 * manual/install.texi (texinfo): Increase version requirement to
12303 4.5 or later.
12304 * INSTALL: Regenerated.
12305
4e124ced
JM
12306 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12307
953ca31a
L
123082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12309
12310 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12311
617aca05
L
12312 * sysdeps/x86_64/x32/ffs.c: New file.
12313
5762f7ae
L
12314 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12315 __syscall_ulong_t.
12316 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12317 defined. Use __syscall_ulong_t.
12318 (shminfo): Use __syscall_ulong_t.
12319 (shm_info): Likewise.
12320
a26b6856
L
12321 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12322 __syscall_ulong_t.
12323
cb2b9ef7
L
12324 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12325 <bits/wordsize.h>.
12326 (msgqnum_t): Use __syscall_ulong_t.
12327 (msglen_t): Likewise.
12328 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12329 __syscall_ulong_t.
12330
34683bb0
L
12331 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12332 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12333
84a68786
L
12334 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12335
48baa5f1
L
12336 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12337 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12338
180be88b
L
12339 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12340 __syscall_slong_t.
12341
5e90c8ad
L
12342 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12343 include <bits/wordsize.h>. Check __x86_64__ instead of
12344 __WORDSIZE.
12345
23dfb58b
L
12346 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12347 "unsigned long long int" if __x86_64__ is defined.
12348 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12349
ce5d54b0
L
12350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12351 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12352 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12353
13dc9eac
L
12354 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12355 <stdint.h>.
12356 (GET_PC): Cast to uintptr_t first.
12357 (GET_FRAME): Likewise.
12358 (GET_STACK): Likewise.
12359
a7895d15
L
12360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12361 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12363 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12365 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12366 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12367 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12368 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12374 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12376 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12378 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12379 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12381 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12384 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12386 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12388 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12389
656416c9
AS
123902012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12391
5bd66283
AS
12392 * Makerules (+depfiles): Also collect depfiles from .oS in
12393 $(extra-objs).
12394 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12395 .oS, $(libnldbl-routines)).
12396
656416c9
AS
12397 * Makerules (native-compile-mkdep-flags): Define.
12398 * sunrpc/Makefile (extra-objs): Add $(addprefix
12399 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12400 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12401 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12402 calling $(make-target-directory).
12403
a46f2169
L
124042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12405
12406 * bits/types.h (__snseconds_t): Removed.
12407 * time/time.h (struct timespec): Replace __snseconds_t with
12408 __syscall_slong_t.
12409 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12410 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12411 Likewise.
12412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12413 (__SNSECONDS_T_TYPE): Likewise.
12414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12415 (__SNSECONDS_T_TYPE): Likewise.
12416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12417 (__SNSECONDS_T_TYPE): Likewise.
12418
6af6528b
L
124192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12420
12421 * sysdeps/mach/hurd/bits/typesizes.h
12422 (__SYSCALL_SLONG_TYPE): New macro.
12423 (__SYSCALL_ULONG_TYPE): Likewise.
12424
de986b56
L
124252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12426
12427 * bits/types.h (__syscall_slong_t): New type.
12428 (__syscall_ulong_t): Likewise.
12429
12430 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12431 (__SYSCALL_ULONG_TYPE): Likewise.
12432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12433 (__SYSCALL_SLONG_TYPE): Likewise.
12434 (__SYSCALL_ULONG_TYPE): Likewise.
12435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12436 (__SYSCALL_SLONG_TYPE): Likewise.
12437 (__SYSCALL_ULONG_TYPE): Likewise.
12438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12439 (__SYSCALL_SLONG_TYPE): Likewise.
12440 (__SYSCALL_ULONG_TYPE): Likewise.
12441
85736dc7
L
124422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12443
12444 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12445 Add sigaltstack-offsets.sym.
12446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12447 <sigaltstack-offsets.h>.
12448 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12449 longjmp_msg pointer.
12450 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12451 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12452 signal stack.
12453 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12454
cc03b296
JM
124552012-05-15 Joseph Myers <joseph@codesourcery.com>
12456
a9538892
JM
12457 * elf/stackguard-macros.h: Remove file.
12458 * sysdeps/generic/stackguard-macros.h: New file.
12459 * sysdeps/i386/stackguard-macros.h: Likewise.
12460 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12461 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12462 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12463 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12464 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12465 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12466 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12467 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12468 <elf/stackguard-macros.h>.
12469
cc03b296
JM
12470 [BZ #14109]
12471 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12472 __aligned__ in attribute.
12473 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12474 (gregset_t): Likewise.
12475
93171016
L
124762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12477
12478 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12479 * sysdeps/x86_64/64/Implies-after: Here. New file.
12480 * sysdeps/x86_64/x32/Implies-after: New file.
12481
d86813a0
L
124822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12483
12484 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12485 and access return value for _dl_profile_fixup. Use R10_LP to
12486 load frame size.
12487
2953ec75
L
124882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12491
3b550e9e
L
124922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12495 * sysdeps/x86_64/x32/sysdep.h: New file.
12496
eda41706
L
124972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12500 * sysdeps/x86_64/setjmp.S: Likewise.
12501
9ea01d93
AZ
125022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12503
12504 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12506 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12507 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12508 remove unused global constant.
12509
02a91938
CM
125102012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12511
12512 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12513 include of <not-cancel.h>.
12514
6540185f
RM
125152012-05-15 Roland McGrath <roland@hack.frob.com>
12516
12517 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12518
509072a0
AJ
125192012-05-15 Jeff Law <law@redhat.com>
12520 Andreas Jaeger <aj@suse.de>
12521
12522 [BZ #13594]
12523 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12524 out from...
12525 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12526 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12527 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12528 code changing __hst_map_handle.map.
12529
ba75122d
RM
125302012-05-15 Roland McGrath <roland@hack.frob.com>
12531
12532 * configure.in (sysnames): Look for Implies-before and Implies-after
12533 files.
12534 * configure: Regenerated.
12535
890d8bd8
L
125362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12537
12538 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12539 8-byte data alignment with LP_SIZE alignment.
12540
f6ee6623
L
125412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12542
12543 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12544 into R10_LP.
12545
ea2626f6
L
125462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12549
085f715e
L
125502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12551
12552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12553 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12555 Likewise.
12556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12557
be8498fc
L
125582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12559
12560 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12561 (stackinfo_sub_sp): Likewise.
12562
70bc83b9
L
125632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12564
12565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12566 RAX_LP.
12567
9bc0b730
L
125682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12571 into R*_LP.
12572
6d2850e7
L
125732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12574
12575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12576 sizes into R*_LP.
12577
3cb84561
L
125782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12579
12580 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12581
54e2ed81
L
125822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12585 into R11_LP and load __x86_64_shared_cache_size_half into
12586 R8_LP.
12587
8a17f349
L
125882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12591 R8_LP.
12592
777b1eea
AZ
125932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12594
12595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12596 logb for POWER7.
12597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12598 logbf for POWER7.
12599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12600 logbl for POWER7.
12601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12602 powerpc32/power7/fpu/s_logb.c via #include.
12603 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12604 powerpc32/power7/fpu/s_logbf.c via #include.
12605 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12606 powerpc32/power7/fpu/s_logbl.c via #include.
12607
d20d4ac2
JM
126082012-05-15 Joseph Myers <joseph@codesourcery.com>
12609
12610 * README.libm: Remove file.
12611
6cdef1ab
L
126122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12613
12614 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12615 count for x32. Use R*_LP and omit operand-size suffix.
12616
0b254d8f
L
126172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12618
12619 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12620 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12621 * sysdeps/x86_64/x32/shlib-versions: New file.
12622
ceb809dc
RM
126232012-05-14 Roland McGrath <roland@hack.frob.com>
12624
12625 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12626 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12627 Use _dl_fatal_printf instead.
12628
37f1abd4
JM
126292012-05-14 Joseph Myers <joseph@codesourcery.com>
12630
12631 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12632 set if not set by the user. Do not allow for being unset.
12633 * sysdeps/unix/sysv/linux/configure: Regenerated.
12634
11de3a33
L
126352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12636
12637 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12638 the `q' suffix from lea and replace .quad with ASM_ADDR.
12639
e02f153a
L
126402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12641
12642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12643 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12644 instead of $17.
12645 (PTR_DEMANGLE): Likewise.
12646
520ae0fd
L
126472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12648
12649 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12650 (LP_OP): Likewise.
12651 (ASM_ADDR): Likewise.
12652 (RAX_LP): Likewise.
12653 (RBP_LP): Likewise.
12654 (RBX_LP): Likewise.
12655 (RCX_LP): Likewise.
12656 (RDI_LP): Likewise.
12657 (RSI_LP): Likewise.
12658 (RSP_LP): Likewise.
12659 (R8_LP): Likewise.
12660 (R9_LP): Likewise.
12661 (R10_LP): Likewise.
12662 (R10_LP): Likewise.
12663 (R11_LP): Likewise.
12664 (R12_LP): Likewise.
12665 (R13_LP): Likewise.
12666 (R14_LP): Likewise.
12667 (R15_LP): Likewise.
12668
b985be81
L
126692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12670
12671 * sysdeps/x86_64/x32/dl-machine.h: New file.
12672
6a4888ff
AJ
126732012-05-14 Andreas Jaeger <aj@suse.de>
12674
12675 * manual/Makefile (subdir): Remove export of subdir.
12676 (all): Remove target.
12677 (.PHONY): Remove all from list.
12678 (mkinstalldirs): Remove.
12679 (.PHONY): Remove installdirs from list.
12680 ($(inst_infodir)/libc.info): Use make-target-directory.
12681 (installdirs): Remove.
12682 (subdir_%): Remove.
12683 (glibc-targets): Remove.
12684 (lib): Remove.
12685 (stubs): Remove.
12686 ($(objpfx)stubs ../po/manual.pot): Remove.
12687 ($(objpfx)stamp%): Remove.
12688 (make-target-directory): Remove.
12689 (subdir_install): Remove.
12690 (routines): Remove.
12691 (aux): Remove.
12692 (sources): Remove.
12693 (objects): Remove.
12694 (headers): Remove.
12695
12696 [BZ #13750]
12697 * manual/.gitignore: Remove, it's not needed anymore.
12698 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12699 all files in it.
12700 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12701 directory.
12702 (texis): Renamed to $(objpfx)texis.
12703 (texis-path): New, contains path to generated files.
12704 (chapters.%): Use texis-path for complete path, add extra argument
12705 libc-texinfo.sh.
12706 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12707 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12708 (summary,texi, stamp-summary): Use complete path of
12709 files. Generate files in build dir.
12710 (dir-add.texi): Build in build dir.
12711 (libm-err.texi,stamp-libm-err): Likewise.
12712 (version.texi, stamp-version): Likewise.
12713 (.%c.texi): Likewise.
12714 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12715 (mostlyclean): Remove target.
12716 (realclean): Remove target.
12717 (generated): Add new variable with contents from mostlyclean and
12718 realclean, remove entries duplicated in common-mostlyclean, add
12719 stamp-libm-err and stamp-version.
12720 (generated-dirs): Add libc directory.
12721 ($(inst_infodir)/libc.info): Install files from build dir.
12722
12723 * manual/install.texi (Configuring and compiling): Adjust since
12724 the info files are not part of the tar ball anymore.
12725
7ac77294
AJ
127262012-05-14 Andreas Jaeger <aj@suse.de>
12727
12728 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12729 variable.
12730
ffb7875d
JM
127312012-05-14 Joseph Myers <joseph@codesourcery.com>
12732
12733 [BZ #13717]
12734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12735 to 2.2.0 where earlier.
12736 * sysdeps/unix/sysv/linux/configure: Regenerated.
12737 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12738 Remove conditional code.
12739 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12740 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12741 Remove conditional code.
12742 [!__NR_lchown]: Likewise.
12743 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12744 [__NR_lchown]: Likewise.
12745 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12746 comment referencing __ASSUME_LCHOWN_SYSCALL.
12747 * sysdeps/unix/sysv/linux/i386/sigaction.c
12748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12750 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12751 Remove conditional code.
12752 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12753 (__protocol_available): Remove #if 0 code.
12754 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12755 conditional code.
12756 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12757 * sysdeps/unix/sysv/linux/kernel-features.h
12758 (__ASSUME_GETCWD_SYSCALL): Don't define.
12759 (__ASSUME_REALTIME_SIGNALS): Likewise.
12760 (__ASSUME_PREAD_SYSCALL): Likewise.
12761 (__ASSUME_PWRITE_SYSCALL): Likewise.
12762 (__ASSUME_POLL_SYSCALL): Likewise.
12763 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12764 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12765 non-SPARC.
12766 (__ASSUME_SIOCGIFNAME): Don't define.
12767 (__ASSUME_MSG_NOSIGNAL): Likewise.
12768 (__ASSUME_SENDFILE): Define unconditionally.
12769 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12770 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12771 conditional code.
12772 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12773 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12774 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12775 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12776 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12777 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12778 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12803 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12804 Remove conditional code.
12805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12806 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12807 Remove conditional code.
12808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12809 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12810 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12811 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12812 Remove conditional code.
12813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12814 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12815 Remove conditional code.
12816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12817 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12818 Remove conditional code.
12819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12820 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12821 Remove conditional code.
12822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12823 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12824 Remove conditional code.
12825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12826 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12827 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12829 * sysdeps/unix/sysv/linux/sigaction.c
12830 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12831 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12832 * sysdeps/unix/sysv/linux/sigpending.c
12833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12835 * sysdeps/unix/sysv/linux/sigprocmask.c
12836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12838 * sysdeps/unix/sysv/linux/sigsuspend.c
12839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12842 (__libc_missing_rt_sigs): Remove.
12843 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12844 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12845 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12846 Remove conditional code.
12847 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12848 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12849 return 1.
12850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12851 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12852 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12853 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12854
1bfb7291
AJ
128552012-05-14 Andreas Jaeger <aj@suse.de>
12856
caae5a81
AJ
12857 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12858 it's not used in glibc.
12859 (__coshm1): Likewise.
12860 (__acosh1p): Likewise.
12861 (__sgn): Likewise.
12862
1bfb7291
AJ
12863 * manual/string.texi (Copying and Concatenation): Add missing
12864 variable in concat example.
12865 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12866
c044d724
L
128672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12868
144c5467 12869 [BZ #14103]
c044d724
L
12870 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12871 __builtin_clzl with __builtin_clzll.
12872
2523c62b
L
128732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 [BZ #14104]
12876 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12877 libc_freeres_ptr.
12878
d7bb4c42
LD
128792012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12880
12881 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12882 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12883 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12884 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12885
9dc4e1fb
MF
128862012-05-14 Mike Frysinger <vapier@gentoo.org>
12887
12888 * NEWS: Update ia64 info.
12889
c7df0112
AS
128902012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12891
12892 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12893 used as bcopy.
12894
dc70356c
TS
128952012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12896
12897 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12898 * sysdeps/unix/syscalls.list (dup3): Likewise.
12899 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12900 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12901
9fb1a21f
L
129022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12903
12904 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12905 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12906
4822a2a5
L
129072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12908
12909 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12910 thread pointer.
12911 (TLS_IE): Use mov/add instead of movq/addq to load thread
12912 pointer.
12913 (TLS_GD_PREFIX): New.
12914 (TLS_GD): Use it.
12915
842b81d6
DM
129162012-05-11 David S. Miller <davem@davemloft.net>
12917
12918 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12919 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12920 (_FPU_SETCW): Likewise.
12921
1cf463cd
L
129222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12925 is 32-byte aligned.
12926
60cc4a18
AS
129272012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12928
12929 [BZ #11837]
12930 * iconvdata/gb18030.c: Update tables.
12931 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12932 characters specially.
12933 (BODY for TO_LOOP): Add encoding of missing ranges.
12934
febb44a4
TS
129352012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12936
12937 [BZ #13673]
12938 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12939 * sysdeps/mach/hurd/dup3.c: Likewise.
12940 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12941 * sysdeps/powerpc/memmove.c:: Likewise.
12942
0a10fb9e
L
129432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12946 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12947
df8a552f
L
129482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12949
12950 * elf/elf.h (R_X86_64_RELATIVE64): New.
12951 (R_X86_64_NUM): Updated.
12952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12953 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12954 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12955 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12956 tst-quad1pie tst-quad2pie
12957 (modules-names): Add tst-quadmod1 tst-quadmod2.
12958 ($(objpfx)tst-quad1): New dependency.
12959 ($(objpfx)tst-quad2): Likewise.
12960 ($(objpfx)tst-quad1pie): Likewise.
12961 ($(objpfx)tst-quad2pie): Likewise.
12962 * sysdeps/x86_64/tst-quad1.c: New file.
12963 * sysdeps/x86_64/tst-quad1pie.c: New file.
12964 * sysdeps/x86_64/tst-quad2.c: Likewise.
12965 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12966 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12967 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12968 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12969 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12970
f34d6f84
ST
129712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12972
f42d41d1
ST
12973 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12974 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12975 * streams/stropts.h (t_scalar_t): Define type.
12976
3c3571fc
ST
12977 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12978 (_PATH_PRESERVE): Set to "/var/lib".
12979 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12980
61f06bd3
ST
12981 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12982 instead of int.
12983
918d4d71
ST
12984 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12985 if __dir_mkfile succeeded.
12986
f34d6f84
ST
12987 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12988 checking for _hurd_dtablesize. Unlock it right after having
12989 finished _hurd_dtable allocation.
12990
10589b4a
TS
129912012-05-10 Thomas Schwinge <thomas@schwinge.name>
12992
674cdbc7
TS
12993 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12994 * sysdeps/mach/hurd/configure: Regenerated.
12995 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12996 special-casing to...
12997 * sysdeps/gnu/configure.in: ... this new file.
12998 * sysdeps/unix/sysv/linux/configure: Regenerated.
12999 * sysdeps/gnu/configure: New generated file.
13000
8e41b99f
TS
13001 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13002 for Linux: use nsec instead of usec, as well as:
13003 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13004 members of type struct timespec.
13005 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13006 New macros.
13007 (struct stat64): Likewise.
13008 (_STATBUF_ST_NSEC): New macro.
13009 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13010
10589b4a
TS
13011 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13012 __strtoul_internal rather than strtoul.
13013
63643c85
PT
130142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13015
13016 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13017 and reject them.
13018
3faebe6a
ST
130192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13020
13021 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13022 which preserves existing values.
13023 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13024
c6474b07
PT
130252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13026
13027 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13028 TIMEOUT values. Return EINVAL for NFDS values either negative or
13029 greater than FD_SETSIZE.
13030
1043890b
ST
130312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13032
13033 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13034 allocated, call __vm_protect to finish enabling the existing space, and
13035 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13036 allocate the remainder.
13037
37ed8b9b
PT
130382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13039
13040 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13041 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13042
db653660
ST
130432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13044
37ed8b9b
PT
13045 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13046 sysdeps/mach/hurd/readlink.c.
b29d4053 13047
db653660
ST
13048 * posix/tst-sysconf.c (posix_options): Only use
13049 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13050 _POSIX_SYNCHRONIZED_IO when they are defined
13051 * sysdeps/mach/hurd/bits/posix_opt.h:
13052 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13053 (_XOPEN_REALTIME): Undefine macro.
13054 (_XOPEN_REALTIME_THREADS): Undefine macro.
13055 (_XOPEN_SHM): Undefine macro.
13056 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13057 macro to -1.
13058 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13059 macro to -1.
13060 (_POSIX_ASYNC_IO): Undefine macro.
13061 (_POSIX_PRIORITIZED_IO): Undefine macro.
13062 (_POSIX_SPIN_LOCKS): Define macro to -1.
13063
ee16e894
ST
13064 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13065 SA_NODEFER, SA_RESETHAND.
13066 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13067 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13068 F_DUPFD_CLOEXEC.
13069
6103ae3b
TS
130702012-05-10 Thomas Schwinge <thomas@schwinge.name>
13071
13072 * elf/Makefile (pldd-modules): Define unconditionally.
13073
80b4e5f3
TS
130742012-05-10 Thomas Schwinge <thomas@schwinge.name>
13075
13076 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13077
edadcbd6
ST
130782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13079
13080 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13081 Return ENOENT when name is empty.
13082 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13083
80694780
TS
130842012-05-10 Thomas Schwinge <thomas@schwinge.name>
13085
1792c087
TS
13086 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13087
80694780
TS
13088 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13089
6b645f0d
ST
130902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13091
80694780
TS
13092 Fix mlock in all cases except non-readable pages.
13093 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13094 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13095
6b645f0d
ST
13096 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13097 (__mkdir): When path is `/', just fail with EEXIST.
13098 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13099
e468f8a3
TS
131002012-05-10 Thomas Schwinge <thomas@schwinge.name>
13101
13102 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13103 <sys/uio.h> (for writev).
13104 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13105 and <sys/param.h> (for MIN).
13106
a4186cff
PT
131072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13108
13109 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13110 REQUESTED_TIME. Properly set the remaining time and return EINTR
13111 if interrupted.
13112
510bbf14
TS
131132012-05-10 Thomas Schwinge <thomas@schwinge.name>
13114
13115 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13116 Depend on against $(link-rpcuserlibs).
13117
5d5722e8
ST
131182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13119
a4186cff
PT
13120 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13121 (__libc_stack_end): Do not use attribute_relro.
13122 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13123 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13124 to libthread-provided value.
a4186cff
PT
13125 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13126 attribute_relro.
5d5722e8 13127
37233df9
TS
131282012-05-10 Thomas Schwinge <thomas@schwinge.name>
13129
be971a2b
TS
13130 [BZ #3748]
13131 * bits/libc-lock.h (__libc_once_get): New macro.
13132 * sysdeps/mach/bits/libc-lock.h: Likewise.
13133 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13135 instead of using implementation details.
13136
37233df9
TS
13137 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13138 * libio/freopen.c: Likewise.
13139 * libio/freopen64.c: Likewise.
13140 * misc/syslog.c: Likewise.
13141 * nscd/connections.c: Likewise.
13142 * nscd/netgroupcache.c: Likewise.
13143 * sysdeps/posix/getcwd.c: Likewise.
13144
38de94a5
RM
131452012-05-10 Roland McGrath <roland@hack.frob.com>
13146
13147 * math/w_ilogbf.c: Add #include <limits.h>.
13148
67530489
ST
131492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13150
a4186cff 13151 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13152 path instead of returning without unlocking.
13153
67530489
ST
13154 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13155 immediate-write ioctls.
13156 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13157
5aa3a74a
TS
131582012-05-10 Thomas Schwinge <thomas@schwinge.name>
13159
18bad2ae
TS
13160 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13161 __builtin_frame_address instead of making assumptions about the
13162 location of the return address relative to DATA. Force early load of
13163 the return address.
13164 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13165 __builtin_frame_address.
13166
5aa3a74a
TS
13167 dup3 for GNU Hurd.
13168 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13169 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13170 implement dup3 and do some further code clean-ups.
13171 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13172 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13173
ecd0de9a
ST
131742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13175
cd9fa985
ST
13176 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13177
a4186cff
PT
13178 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13179 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13180 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13181 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13182 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13183 d->port.lock.
802ca5a5 13184
a4186cff
PT
13185 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13186 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13187 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13188
bcf55240
TS
131892012-05-10 Thomas Schwinge <thomas@schwinge.name>
13190
6960eb42
TS
13191 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13192 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13193 definitions.
13194
eb43375f
TS
13195 accept4 for GNU Hurd.
13196 * include/sys/socket.h (__libc_accept4): New prototype.
13197 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13198 to implement __libc_accept4.
13199 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13200 __libc_accept4.
13201 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13202
bcf55240
TS
13203 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13204 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13205 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13206 signal-defines.sym.
13207
6178c55b
ST
132082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13209
a4186cff 13210 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13211
6f080c2f
TS
132122012-05-10 Thomas Schwinge <thomas@schwinge.name>
13213
13214 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13215 assertion on O_CLOEXEC flag.
13216 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13217 * hurd/intern-fd.c: Likewise.
13218 * hurd/port2fd.c: Likewise.
13219
bcfe3a54
ST
132202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13221
13222 [BZ #3906]
13223 * bits/in.h (IPV6_PKTINFO): Define new macro.
13224 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13225
89c9aa49
AZ
132262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13227
13228 [BZ #13954]
13229 [BZ #13955]
13230 [BZ #13956]
13231 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13233 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13234 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13235 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13236 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13237 * math/libm-test.inc (logb_test) : Additional logb tests.
13238
021db4be
AJ
132392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13240 Andreas Jaeger <aj@suse.de>
13241
13242 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13243 * configure: Regenerated.
13244 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13245 * config.make.in (link-obsolete-rpc): New substituted variable.
13246 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13247 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13248 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13249 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13250 so that libc.a contains the symbols.
13251 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13252 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13253 * sunrpc/auth_none.c: Likewise.
13254 * sunrpc/auth_unix.c: Likewise.
13255 * sunrpc/authdes_prot.c: Likewise.
13256 * sunrpc/authuxprot.c: Likewise.
13257 * sunrpc/clnt_gen.c: Likewise.
13258 * sunrpc/clnt_perr.c: Likewise.
13259 * sunrpc/clnt_raw.c: Likewise.
13260 * sunrpc/clnt_simp.c: Likewise.
13261 * sunrpc/clnt_tcp.c: Likewise.
13262 * sunrpc/clnt_udp.c: Likewise.
13263 * sunrpc/clnt_unix.c: Likewise.
13264 * sunrpc/des_crypt.c: Likewise.
13265 * sunrpc/des_soft.c: Likewise.
13266 * sunrpc/get_myaddr.c: Likewise.
13267 * sunrpc/key_call.c: Likewise.
13268 * sunrpc/key_prot.c: Likewise.
13269 * sunrpc/netname.c: Likewise.
13270 * sunrpc/pm_getmaps.c: Likewise.
13271 * sunrpc/pm_getport.c: Likewise.
13272 * sunrpc/pmap_clnt.c: Likewise.
13273 * sunrpc/pmap_prot.c: Likewise.
13274 * sunrpc/pmap_prot2.c: Likewise.
13275 * sunrpc/pmap_rmt.c: Likewise.
13276 * sunrpc/publickey.c: Likewise.
13277 * sunrpc/rpc_cmsg.c: Likewise.
13278 * sunrpc/rpc_common.c: Likewise.
13279 * sunrpc/rpc_dtable.c: Likewise.
13280 * sunrpc/rpc_prot.c: Likewise.
13281 * sunrpc/rpc_thread.c: Likewise.
13282 * sunrpc/rtime.c: Likewise.
13283 * sunrpc/svc.c: Likewise.
13284 * sunrpc/svc_auth.c: Likewise.
13285 * sunrpc/svc_raw.c: Likewise.
13286 * sunrpc/svc_run.c: Likewise.
13287 * sunrpc/svc_tcp.c: Likewise.
13288 * sunrpc/svc_udp.c: Likewise.
13289 * sunrpc/svc_unix.c: Likewise.
13290 * sunrpc/svcauth_des.c: Likewise.
13291 * sunrpc/xcrypt.c: Likewise.
13292 * sunrpc/xdr.c: Likewise.
13293 * sunrpc/xdr_array.c: Likewise.
13294 * sunrpc/xdr_float.c: Likewise.
13295 * sunrpc/xdr_intXX_t.c: Likewise.
13296 * sunrpc/xdr_mem.c: Likewise.
13297 * sunrpc/xdr_rec.c: Likewise.
13298 * sunrpc/xdr_ref.c: Likewise.
13299 * sunrpc/xdr_sizeof.c: Likewise.
13300 * sunrpc/xdr_stdio.c: Likewise.
13301
b5c086a2
RM
133022012-05-10 Roland McGrath <roland@hack.frob.com>
13303
13304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13305 change. Update copyright years.
13306
6d74dd09
JM
133072012-05-10 Joseph Myers <joseph@codesourcery.com>
13308
13309 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13310
28e72501
MK
133112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13312 Joseph Myers <joseph@codesourcery.com>
13313 Paul Pluzhnikov <ppluzhnikov@google.com>
13314
13315 [BZ #14012]
13316 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13317 requiring rpcgen.
13318 [cross-compiling] (extra-libs): Likewise.
13319 [cross-compiling] (extra-libs-others): Likewise.
13320 [cross-compiling] (librpcsvc-routines): Likewise.
13321 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13322 [cross-compiling] (omit-deps): Likewise.
13323 (sunrpc-CPPFLAGS): New variable.
13324 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13325 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13326 (cross-rpcgen-objs): New variable.
13327 (extra-objs): Append $(cross-rpcgen-objs).
13328 ($(cross-rpcgen-objs)): New rule.
13329 ($(objpfx)cross-rpcgen): Likewise.
13330 (rpcgen-cmd): Define to use $(built-program-file). Expand
13331 comment.
13332 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13333 ($(objpfx)x%.stmp): Likewise.
13334 * sunrpc/proto.h [IS_IN_build] (_): Define.
13335 [IS_IN_build] (_libc_intl_domainname): Likewise.
13336
c8c59454
L
133372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13338
13339 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13340 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13341 and R_X86_64_TPOFF64.
13342
6f27cd16
JM
133432012-05-10 Joseph Myers <joseph@codesourcery.com>
13344
13345 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13346 sysdeps/unix/sysv/syscalls.list.
13347 (stime): Likewise.
13348 (utime): Likewise.
13349 * sysdeps/unix/sysv/syscalls.list: Remove file.
13350
02467e1c
PE
133512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13352
13353 [BZ #3440]
13354 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13355 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13356 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13357 (__LC_IDENTIFICATION): Make these macros useful in #if
13358 expressions, as required by C99.
13359
da392631
AS
133602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13361
13362 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13363 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13364 after this.
13365
8115f29b
L
133662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13367
13368 * stdlib/longlong.h: Updated from GCC.
13369
bdd74070
AJ
133702012-05-09 Andreas Jaeger <aj@suse.de>
13371
edfe0dbe
AJ
13372 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13373 default is first entry.
13374 (run_mode): Set type.
13375 (main): Remove informal message about syslog.
13376 (options): Fix typo.
13377
bcfe3a54
ST
13378 [BZ #14053]
13379 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13380 to asm.
bcfe3a54
ST
13381 (lrint): Likewise.
13382 (llrintf): Likewise.
13383 (llrint): Likewise.
13384 (rint): Likewise.
13385 (rintf): Likewise.
13386 (nearbyint): Likewise.
13387 (nearbyintf): Likewise.
bdd74070 13388
91d8d69e
AJ
133892012-05-09 Andreas Jaeger <aj@suse.de>
13390 Pedro Alves <palves@redhat.com>
13391
13392 * nscd/nscd.c (run_mode): Use enum.
13393 (main): Cleanup coding style issue.
13394
bb90b80b
AJ
133952012-05-09 Alexandre Oliva <aoliva@redhat.com>
13396 Andreas Jaeger <aj@suse.de>
13397
bcfe3a54
ST
13398 * nscd/nscd.c (go_background): Replaced with...
13399 (run_mode): ... this.
bb90b80b 13400 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13401 (options): Add -F --foreground.
13402 (main): Implement it.
13403 (parse_opt): Parse it.
bb90b80b 13404
1a4b75a1
AJ
134052012-05-09 Andreas Jaeger <aj@suse.de>
13406
13407 [BZ #14083]
13408 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13409 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13410 -Wconversion warning.
13411 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13412 Likewise.
13413
b1cc2472
JM
134142012-05-09 Joseph Myers <joseph@codesourcery.com>
13415
13416 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13417 == 0.
13418 (LC_ALL): Use macro-int-constant.
13419 (LC_COLLATE): Likewise.
13420 (LC_CTYPE): Likewise.
13421 (LC_MESSAGES): Likewise.
13422 (LC_MONETARY): Likewise.
13423 (LC_NUMERIC): Likewise.
13424 (LC_TIME): Likewise.
13425 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13426 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13428 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13429 Specify type.
13430 [C99-based standards] (float_t): Expect type.
13431 [C99-based standards] (double_t): Expect type.
13432 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13433 type.
13434 [C99-based standards] (HUGE_VALL): Likewise.
13435 [C99-based standards] (INFINITY): Likewise.
13436 [C99-based standards] (NAN): Likewise.
13437 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13438 [C99-based standards] (FP_NAN): Likewise.
13439 [C99-based standards] (FP_NORMAL): Likewise.
13440 [C99-based standards] (FP_SUBNORMAL): Likewise.
13441 [C99-based standards] (FP_ZERO): Likewise.
13442 [C99-based standards] (FP_FAST_FMA): Use
13443 optional-macro-int-constant. Specify type. Require == 1.
13444 [C99-based standards] (FP_FAST_FMAF): Likewise.
13445 [C99-based standards] (FP_FAST_FMAL): Likewise.
13446 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13447 [C99-based standards] (FP_ILOGBNAN): Likewise.
13448 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13449 Specify type.
13450 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13451 [C99-based standards] (math_errhandling): Specify type.
13452 [ISO99 || ISO11] (signgam): Do not allow.
13453 [non-C99-based standards] (copysignf): Do not allow.
13454 [non-C99-based standards] (exp2f): Likewise.
13455 [non-C99-based standards] (log2f): Likewise.
13456 [non-C99-based standards] (modff): Allow.
13457 [non-C99-based standards] (erff): Do not allow.
13458 [non-C99-based standards] (erfcf): Likewise.
13459 [non-C99-based standards] (gammaf): Likewise.
13460 [non-C99-based standards] (hypotf): Likewise.
13461 [non-C99-based standards] (j0f): Likewise.
13462 [non-C99-based standards] (j1f): Likewise.
13463 [non-C99-based standards] (jnf): Likewise.
13464 [non-C99-based standards] (lgammaf): Likewise.
13465 [non-C99-based standards] (tgammaf): Likewise.
13466 [non-C99-based standards] (y0f): Likewise.
13467 [non-C99-based standards] (y1f): Likewise.
13468 [non-C99-based standards] (ynf): Likewise.
13469 [non-C99-based standards] (isnanf): Likewise.
13470 [non-C99-based standards] (acoshf): Likewise.
13471 [non-C99-based standards] (asinhf): Likewise.
13472 [non-C99-based standards] (atanhf): Likewise.
13473 [non-C99-based standards] (cbrtf): Likewise.
13474 [non-C99-based standards] (expm1f): Likewise.
13475 [non-C99-based standards] (ilogbf): Likewise.
13476 [non-C99-based standards] (log1pf): Likewise.
13477 [non-C99-based standards] (logbf): Likewise.
13478 [non-C99-based standards] (nextafterf): Likewise.
13479 [non-C99-based standards] (remainderf): Likewise.
13480 [non-C99-based standards] (rintf): Likewise.
13481 [non-C99-based standards] (scalbf): Likewise.
13482 [non-C99-based standards] (copysignl): Likewise.
13483 [non-C99-based standards] (exp2l): Likewise.
13484 [non-C99-based standards] (log2l): Likewise.
13485 [non-C99-based standards] (modfl): Allow.
13486 [non-C99-based standards] (erfl): Do not allow.
13487 [non-C99-based standards] (erfcl): Likewise.
13488 [non-C99-based standards] (gammal): Likewise.
13489 [non-C99-based standards] (hypotl): Likewise.
13490 [non-C99-based standards] (j0l): Likewise.
13491 [non-C99-based standards] (j1l): Likewise.
13492 [non-C99-based standards] (jnl): Likewise.
13493 [non-C99-based standards] (lgammal): Likewise.
13494 [non-C99-based standards] (tgammal): Likewise.
13495 [non-C99-based standards] (y0l): Likewise.
13496 [non-C99-based standards] (y1l): Likewise.
13497 [non-C99-based standards] (ynl): Likewise.
13498 [non-C99-based standards] (isnanl): Likewise.
13499 [non-C99-based standards] (acoshl): Likewise.
13500 [non-C99-based standards] (asinhl): Likewise.
13501 [non-C99-based standards] (atanhl): Likewise.
13502 [non-C99-based standards] (cbrtl): Likewise.
13503 [non-C99-based standards] (expm1l): Likewise.
13504 [non-C99-based standards] (ilogbl): Likewise.
13505 [non-C99-based standards] (log1pl): Likewise.
13506 [non-C99-based standards] (logbl): Likewise.
13507 [non-C99-based standards] (nextafterl): Likewise.
13508 [non-C99-based standards] (remainderl): Likewise.
13509 [non-C99-based standards] (rintl): Likewise.
13510 [non-C99-based standards] (scalbl): Likewise.
13511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13512 [non-C99-based standards] (FP_*): Do not allow.
13513 [C99-based standards] (FP_*): Change to
13514 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13515 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13516 allow.
13517 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13518 (SIG_ERR): Likewise.
13519 [X/Open-based standards] (SIG_HOLD): Likewise.
13520 (SIG_IGN): Likewise.
13521 (SIGABRT): Use macro-int-constant. Specify type. Require
13522 positive value.
13523 (SIGFPE): Likewise.
13524 (SIGILL): Likewise.
13525 (SIGINT): Likewise.
13526 (SIGSEGV): Likewise.
13527 (SIGTER): Likewise.
13528 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13529 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13530 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13531 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13532 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13533 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13534 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13535 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13536 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13537 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13538 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13539 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13540 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13541 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13542 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13543 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13544 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13545 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13546 [X/Open-based standards] (SIGTRAP): Likewise.
13547 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13548 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13549 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13550 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13551 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13552 allow.
13553
b9f1922d
IW
135542012-05-08 Ian Wienand <ianw@vmware.com>
13555
13556 [BZ #14080]
13557 * time/tzset.c (__tzset_parse_tz): Update default rules for
13558 daylight time changes in the Energy Policy Act of 2005.
13559
1db86e88
AJ
135602012-05-09 Andreas Jaeger <aj@suse.de>
13561
13562 [BZ #13983]
13563 * elf/ldconfig.c (parse_conf): Change string to make clear that
13564 ldconfig only issued a warning if ld.so.conf does not exist.
13565
dee4a4e3
DM
135662012-05-08 David S. Miller <davem@davemloft.net>
13567
ee0db190
DM
13568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13569 movxtod instead of popping the value on the stack.
13570
dee4a4e3
DM
13571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13572
6a43ec98
CD
135732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13574
13575 * config.h.in: Add HAVE_ARM_PCS_VFP.
13576
05c2c961
RMG
135772012-05-08 Roland Mc Grath <roland@hack.frob.com>
13578
bcfe3a54
ST
13579 [BZ #13979]
13580 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13581 checking but the checks are disabled for any reason.
05c2c961 13582
4b30f61a
L
135832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13584
13585 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13586 and ELF64_R_TYPE with ELFW(R_TYPE).
13587
eee2bc67
JM
135882012-05-08 Joseph Myers <joseph@codesourcery.com>
13589
7ea5391a
JM
13590 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13591 (ulimit): Likewise.
13592
eee2bc67
JM
13593 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13594 (settimeofday): Likewise.
13595
abb66a67
MF
135962012-05-08 Mike Frysinger <vapier@gentoo.org>
13597
13598 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13599 a struct th_u2 inside the union, and move tu_block/tu_code into
13600 a new th_u3 union of tu_block/tu_code inside of that. Move
13601 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13602 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13603 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13604 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13605 (th_stuff): Change to th_u1.tu_stuff.
13606 (th_data): Define.
13607 (th_msg): Change to th_u1.th_u2.tu_data.
13608
7f18b530
DM
136092012-05-07 David S. Miller <davem@davemloft.net>
13610
05760585
DM
13611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13612
7f18b530
DM
13613 [BZ #14074]
13614 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13615 (SETUP_PIC_REG): Use it.
13616 (SETUP_PIC_REG_LEAF): Use it.
13617
495fd99f
JM
136182012-05-07 Joseph Myers <joseph@codesourcery.com>
13619
13620 [BZ #13885]
13621 [BZ #13923]
13622 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13623 USE_AS_EXPM1L.
13624 (EXPL_FINITE): Likewise.
13625 (FLDLOG): Likewise.
13626 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13627 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13628 e_expl.S.
13629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13630 USE_AS_EXPM1L.
13631 (EXPL_FINITE): Likewise.
13632 (FLDLOG): Likewise.
13633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13634 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13635 e_expl.S.
13636 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13637 test of -max_value argument for long double.
13638 * sysdeps/i386/fpu/libm-test-ulps: Update.
13639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13640
6693d694
DM
136412012-05-06 David S. Miller <davem@davemloft.net>
13642
13643 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13644 quad soft-float symbols whose references which are compiler
13645 generated.
13646 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13647
6c23e11c
JM
136482012-05-06 Joseph Myers <joseph@codesourcery.com>
13649
d8b82cad
JM
13650 [BZ #13884]
13651 [BZ #13914]
13652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13653 USE_AS_EXP10L.
13654 (EXPL_FINITE): Likewise.
13655 (FLDLOG): Likewise.
13656 (c0): Likewise.
13657 (c1): Likewise.
13658 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13659 Adjust comments for base varying.
13660 (__expl_finite): Change alias to EXPL_FINITE.
13661 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13662 e_expl.S.
13663 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13664 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13666 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13668 USE_AS_EXP10L.
13669 (EXPL_FINITE): Likewise.
13670 (FLDLOG): Likewise.
13671 (c0): Likewise.
13672 (c1): Likewise.
13673 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13674 Adjust comments for base varying.
13675 (__expl_finite): Change alias to EXPL_FINITE.
13676 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13677 tests for bugs.
13678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13679
6c23e11c
JM
13680 [BZ #14064]
13681 * math/libm-test.inc (check_float_internal): Correct ulp
13682 calculation for subnormal expected results.
13683
29ba805c
AJ
136842012-05-06 Andreas Jaeger <aj@suse.de>
13685
13686 * Makeconfig (+math-flags): New, set to -frounding-math.
13687 (+cflags): Add +math-flags so that all of glibc gets compiled with
13688 it.
13689
13690 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13691
7b17aeda
JM
136922012-05-05 Joseph Myers <joseph@codesourcery.com>
13693
5779f134
JM
13694 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13695 Disable one test.
13696
41498f4d
JM
13697 [BZ #13787]
13698 [BZ #13922]
13699 [BZ #14036]
13700 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13701 (__ieee754_expl): Allow for and saturate large arguments.
13702 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13703 (u_threshold): Likewise.
13704 (__exp): Call __ieee754_exp before checking for overflow and
13705 underflow.
13706 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13707 (u_threshold): Likewise.
13708 (__expf): Call __ieee754_expf before checking for overflow and
13709 underflow.
13710 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13711 (u_threshold): Likewise.
13712 (__expl): Call __ieee754_expl before checking for overflow and
13713 underflow.
13714 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13715 (__ieee754_expl): Allow for and saturate large arguments.
13716 * math/libm-test.inc (exp_test): Add another test. Do not allow
13717 missing overflow exception on overflow.
13718 (expm1_test): Do not allow missing overflow exception on overflow.
13719
6698b8bf
JM
13720 * sysdeps/i386/fpu/e_expl.c: Move to ...
13721 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13722 rather than using inline asm.
13723 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13724 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13725 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13726
7b17aeda
JM
13727 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13728 (nice): Likewise.
13729 (poll): Likewise.
13730 (signal): Likewise.
13731 (time): Likewise.
13732 (times): Likewise.
13733
f7c85819
JM
137342012-05-04 Joseph Myers <joseph@codesourcery.com>
13735
13736 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13737 sysdeps/unix/common/syscalls.list.
13738 (fchmod): Likewise.
13739 (fchown): Likewise.
13740 (ftruncate): Likewise.
13741 (getrusage): Likewise.
13742 (gettimeofday): Likewise.
13743 (setpgid): Likewise.
13744 (setregid): Likewise.
13745 (setreuid): Likewise.
13746 (sigaction): Likewise.
13747 (truncate): Likewise.
13748 (vhangup): Likewise.
13749 * sysdeps/unix/common/syscalls.list: Remove file.
13750 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13751 * sysdeps/unix/sysv/linux/Implies: Likewise.
13752
336270d0
L
137532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13754
13755 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13757 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13758 Moved to ...
13759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13760 Here.
13761 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13762 to ...
13763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13764 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13765 to ...
13766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13767 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13768 to ...
13769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13770 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13771 to ...
13772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13773 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13774 to ...
13775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13776 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13777 to ...
13778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13779 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13780 to ...
13781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13782 Here.
13783 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13784 to ...
13785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13786 Here.
13787 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13788 to ...
13789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13790 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13791 Moved to ...
13792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13793 Here.
13794 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13795 to ...
13796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13797
d128e450
JM
137982012-05-04 Joseph Myers <joseph@codesourcery.com>
13799
fa8ee516
JM
13800 * sysdeps/unix/common/bits/dirent.h: Remove file.
13801 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13802
d128e450
JM
13803 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13804 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13805 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13806 * sysdeps/unix/bsd/isatty.c: Likewise.
13807 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13808 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13809 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13810
ff8faaf0 138112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13812
62881be4 13813 [BZ #13563]
31dc8730
AZ
13814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13815 long double comparison inaccuracies.
13816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13818
6fef930c
AS
138192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13820
13821 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13823
8f203e6c
JM
138242012-05-04 Joseph Myers <joseph@codesourcery.com>
13825
13826 [BZ #14049]
13827 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13828 nonzero digits before rounding a hex value.
13829 * stdlib/tst-strtod.c (tests): Add another test.
13830
5197d9c2
AK
138312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13832
13833 * sysdeps/s390/fpu/libm-test-ulps: Update.
13834
f0c1dedf
AJ
138352012-05-03 Andreas Jaeger <aj@suse.de>
13836
13837 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13838 does not get optimized out.
13839 (malloc_opt_barrier): New.
13840
a65ef2ae 138412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13842 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13843
2b942cb7 13844 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13845 intermediate file deletion.
2b942cb7 13846 (generated): Add .symlist files.
a65ef2ae 13847
54b71e02
JM
138482012-05-03 Joseph Myers <joseph@codesourcery.com>
13849
13850 [BZ #13775]
13851 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13852 Redirect under this condition.
13853 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13854 [__USE_GNU] (__dprintf_chk): Not under this condition.
13855 [__USE_GNU] (__vdprintf_chk): Likewise.
13856 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13857 under this condition.
13858 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13859 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13860 [__USE_XOPEN2K8] (vdprintf): Likewise.
13861 [__USE_GNU] (__dprintf_chk): Not under this condition.
13862 [__USE_GNU] (__vdprintf_chk): Likewise.
13863 [__USE_GNU] (dprintf): Likewise.
13864 [__USE_GNU] (vdprintf): Likewise.
13865
d3dfcc41
RM
138662012-05-03 Roland McGrath <roland@hack.frob.com>
13867
13868 * elf/Makefile (common-generated): Set this instead of generated for
13869 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13870 $(all-built-dso)-derived lists.
13871
7ac30cc5
AJ
138722012-05-03 Andreas Jaeger <aj@suse.de>
13873
0c51e550
AJ
13874 * sysdeps/i386/fpu/libm-test-ulps: Update.
13875
7ac30cc5
AJ
13876 * FAQ: Removed.
13877 * FAQ.in: Likewise.
13878 * scripts/gen-FAQ.pl: Likewise.
13879 * manual/install.texi (Installation): Point to online location of
13880 FAQ.
13881 * Makefile (files-for-dist): Remove FAQ.
13882 (FAQ): Remove.
13883
d4c2917f
AM
138842012-05-02 Allan McRae <allan@archlinux.org>
13885
13886 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13887 (LDFLAGS-reldepmod5.so): Likewise.
13888 (LDFLAGS-reldep6mod1.so): Likewise.
13889 (LDFLAGS-reldep6mod4.so): Likewise.
13890 (LDFLAGS-reldep8mod3.so): Likewise.
13891 (LDFLAGS-unload4mod1.so): Likewise.
13892 (LDFLAGS-unload4mod2.so): Likewise.
13893 (LDFLAGS-tst-initorder): Likewise.
13894 (LDFLAGS-tst-initordera2.so): Likewise.
13895 (LDFLAGS-tst-initordera3.so): Likewise.
13896 (LDFLAGS-tst-initordera4.so): Likewise.
13897 (LDFLAGS-tst-initorderb2.so): Likewise.
13898 (LDFLAGS-noload): Likewise.
13899 (LDFLAGS-next): Likewise.
13900 (LDFLAGS-order2mod1.so): Likewise.
13901 (LDFLAGS-order2mod2.so): Likewise.
13902 (LDFLAGS-tst-initorder2): Likewise.
13903 (LDFLAGS-tst-initorder2a.so): Likewise.
13904 (LDFLAGS-tst-initorder2b.so): Likewise.
13905 (LDFLAGS-tst-initorder2c.so): Likewise.
13906 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13907
d77f993f
DM
139082012-05-02 David S. Miller <davem@davemloft.net>
13909
13910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13911
171a70b4
PP
139122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13913
13914 [BZ #14055]
13915 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13916
0be196ad
AJ
139172012-05-02 Andreas Jaeger <aj@suse.de>
13918
13919 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13920 since we manipulate rounding mode.
13921 (CPPFLAGS-test-idouble.c): Likewise.
13922 (CPPFLAGS-test-ifloat.c): Likewise.
13923 (CFLAGS-test-ldouble.c): Likewise.
13924 (CFLAGS-test-double.c): Likewise.
13925 (CFLAGS-test-float.c): Likewise.
13926 (CFLAGS-test-misc.c): Likewise.
13927 (CFLAGS-test-test-fenv.c): Likewise.
13928
4f9d04aa
AZ
139292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13930
2b942cb7
RM
13931 [BZ #2550]
13932 [BZ #2570]
13933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13934 comparisons to determine direction to adjust input.
4f9d04aa 13935
82a79e7d
RM
139362012-05-01 Roland McGrath <roland@hack.frob.com>
13937
f5a01ca9
RM
13938 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13939 output to the target.
13940
90fe4186
RM
13941 * scripts/localplt.awk: New file.
13942 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13943 (check-localplt-CFLAGS): Variable removed.
13944 ($(all-built-dso:=.jmprel)): New static pattern rule.
13945 (generated): Add those targets.
13946 (localplt-built-dso): New variable.
13947 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13948
13949 * elf/check-localplt.c: File removed.
13950
82397ed6
RM
13951 * scripts/check-execstack.awk: New file.
13952 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13953 (check-execstack-CFLAGS): Variable removed.
13954 ($(objpfx)check-execstack.h): Target removed.
13955 ($(objpfx)execstack-default): New target.
13956 (generated): Add that instead of check-execstack.h.
13957 ($(all-built-dso:=.phdr)): New static pattern rule.
13958 (generated): Add those targets.
13959 * elf/check-execstack.c: File removed.
13960
82a79e7d
RM
13961 * scripts/check-textrel.awk: New file.
13962 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13963 (check-textrel-CFLAGS): Variable removed.
13964 (all-built-dso): Use := to define.o
13965 ($(all-built-dso:=.dyn)): New static pattern rule.
13966 (generated): Add those targets.
13967 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13968 * config.make.in (READELF): New substituted variable.
13969 * elf/check-textrel.c: File removed.
13970
62fde54f 139712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13972
615605c9
JM
13973 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13974 allow.
13975 * conform/data/ctype.h-data [C99-based standards] (isblank):
13976 Expect function.
13977 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13978 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13980 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13981 Specify type. Require positive value.
13982 (EILSEQ): Likewise.
13983 (ERANGE): Likewise.
13984 [ISO || POSIX] (EILSEQ): Do not expect.
13985 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13986 Specify type. Require positive value.
13987 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13988 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13989 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13990 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13991 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13992 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13993 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13994 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13995 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13996 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13997 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13998 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13999 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14000 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14001 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14003 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14004 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14005 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14006 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14007 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14008 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14009 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14010 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14011 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14012 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14013 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14014 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14015 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14016 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14017 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14018 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14019 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14020 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14021 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14022 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14023 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14024 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14025 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14026 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14027 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14028 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14029 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14030 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14031 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14032 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14033 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14034 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14035 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14036 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14037 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14038 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14039 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14040 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14041 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14042 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14043 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14044 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14045 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14046 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14047 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14048 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14049 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14050 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14051 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14052 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14053 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14054 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14055 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14056 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14057 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14058 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14059 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14060 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14061 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14062 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14063 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14064 Require >= 2.
14065 (FLT_ROUNDS): Expect as macro, not constant.
14066 (FLT_MANT_DIG): Use macro-int-constant.
14067 (DBL_MANT_DIG): Likewise.
14068 (LDBL_MANT_DIG): Likewise.
14069 (FLT_DIG): Likewise.
14070 (DBL_DIG): Likewise.
14071 (LDBL_DIG): Likewise.
14072 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14073 (DBL_MIN_EXP): Likewise.
14074 (LDBL_MIN_EXP): Likewise.
14075 (FLT_MAX_EXP): Use macro-int-constant.
14076 (DBL_MAX_EXP): Likewise.
14077 (LDBL_MAX_EXP): Likewise.
14078 (FLT_MAX_10_EXP): Likewise.
14079 (DBL_MAX_10_EXP): Likewise.
14080 (LDBL_MAX_10_EXP): Likewise.
14081 (FLT_MAX): Use macro-constant.
14082 (DBL_MAX): Likewise.
14083 (LDBL_MAX): Likewise.
14084 (FLT_EPSILON): Use macro-constant. Give upper bound.
14085 (DBL_EPSILON): Likewise.
14086 (LDBL_EPSILON): Likewise.
14087 (FLT_MIN): Likewise.
14088 (DBL_MIN): Likewise.
14089 (LDBL_MIN): Likewise.
14090 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14091 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14092 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14093 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14094 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14095 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14096 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14097 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14098 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14099 [ISO11] (FLT_TRUE_MIN): Likewise.
14100 [ISO11] (LDBL_TRUE_MIN): Likewise.
14101 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14102 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14103 (SCHAR_MIN): Use macro-int-constant. Specify type.
14104 (SCHAR_MAX): Likewise.
14105 (UCHAR_MAX): Likewise.
14106 (CHAR_MIN): Likewise.
14107 (CHAR_MAX): Likewise.
14108 (MB_LEN_MAX): Use macro-int-constant.
14109 (SHRT_MIN): Use macro-int-constant. Specify type.
14110 (SHRT_MAX): Likewise.
14111 (USHRT_MAX): Likewise.
14112 (INT_MAX): Likewise.
14113 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14114 bound negative.
14115 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14116 bound with "U".
14117 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14118 bound with "L".
14119 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14120 bound negative. Suffix upper bound with "L".
14121 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14122 bound with "UL".
14123 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14124 Specify type.
14125 [C99-based standards] (LLONG_MAX): Likewise.
14126 [C99-based standards] (ULLONG_MAX): Likewise.
14127 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14128 == 0.
14129 [ISO11] (max_align_t): Require type.
14130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14131
c9140a62
JM
14132 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14133 from $CFLAGS, without defining away __attribute__ calls.
14134 (checknamespace): Use $CFLAGS_namespace.
14135
9af0bf29
JM
14136 * conform/conformtest.pl (@keywords): Only include C99 keywords
14137 for standards based on C99 or C11.
14138
343222a2
JM
14139 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14140 Disable tests.
14141 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14142 UNIX98]: Likewise.
14143
661f8cf0
JM
14144 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14145 usability of symbols in #if.
14146
ee74b9cb
JM
14147 * conform/conformtest.pl: If macro or constant types start
14148 "promoted:", expect the symbol to be of the following type
14149 promoted by the integer promotions.
62fde54f 14150
aafc49b3
JM
14151 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14152 in one place. Also handle "macro-constant".
14153
fefdf574
JM
14154 * conform/conformtest.pl: Only accept expected macro values with
14155 "==". Parse all "macro" lines in one place.
14156 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14157
f2d922fe
JM
14158 * conform/conformtest.pl: Handle braced types on "constant" lines
14159 instead of handling "typed-constant".
14160 * conform/data/signal.h-data: Use "constant" instead of
14161 "typed-constant".
14162
d22956c9
JM
14163 * conform/conformtest.pl: Handle "optional-" at start of lines in
14164 one place rather than duplicating several cases. Handle each
14165 format of "macro" line with initial "optional-".
14166
028e2e38
JM
14167 * conform/conformtest.pl: Only accept expected constant or
14168 optional-constant values with "==". Parse all "constant" lines in
14169 one place. Parse all "optional-constant" lines in one place.
14170 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14171 * conform/data/fmtmsg.h-data: Likewise.
14172 * conform/data/netinet/in.h-data: Likewise.
14173 * conform/data/tar.h-data: Likewise.
14174 * conform/data/limits.h-data: Use "==" form on "constant" and
14175 "optional-constant" lines.
14176
1b8f2850
JM
14177 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14178 Use -std=c99 for XOPEN2K.
14179 (@knownproblems): Remove.
14180 (newtoken): Don't check %isknown.
14181
a05a144b
JM
14182 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14183 Do not expect macro.
14184 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14185 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14186 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14187 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14188 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14189 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14190 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14191 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14192 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14193 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14194 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14195 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14196 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14197 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14207 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14208 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14214 [XPG3] (acosh): Likewise.
14215 [XPG3] (asinh): Likewise.
14216 [XPG3] (atanh): Likewise.
14217 [XPG3] (cbrt): Likewise.
14218 [XPG3] (expm1): Likewise.
14219 [XPG3] (ilogb): Likewise.
14220 [XPG3] (log1p): Likewise.
14221 [XPG3] (logb): Likewise.
14222 [XPG3] (nextafter): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14225 [XPG3] (remainder): Likewise.
14226 [XPG3] (rint): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14228 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14229 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14230 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14232 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14233 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14234 [UNIX98 || XOPEN2K] (scalb): Expect.
14235 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14236 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14287 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14288 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14314 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14315 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14316 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14317 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14318 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14319 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14320 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14321 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14322 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14323 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14324 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14325 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14326 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14327 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14328 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14329 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14330 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14331 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14332 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14333 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14334 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14335 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14336 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14337 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14338 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14339 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14340 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14341 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14342 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14343 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14344 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14354 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14355 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14356 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14357 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14358 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14359 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14360 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14361 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14362 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14363 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14364 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14365 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14366 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14367 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14371 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14372
73c5ebe3
JM
14373 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14374 _XOPEN_SOURCE_EXTENDED for XPG4.
14375
39c33b6c
JM
14376 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14377
62fde54f
JM
14378 * Makeconfig (localtime): Remove variable.
14379 (inst_localtime-file): Likewise.
14380
0741d64c
AS
143812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14382
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14384 Update.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14386 Update.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14388 Update.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14390 Update.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14392 Update.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14394 Update.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14396 Update.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14398 Update.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14400 Update.
14401
7cb029ee
JM
144022012-05-01 Joseph Myers <joseph@codesourcery.com>
14403
14404 [BZ #2550]
14405 [BZ #2570]
14406 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14407 comparisons to determine direction to adjust input.
14408 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14409 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14411 Likewise.
14412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14413 Likewise.
14414 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14415 Likewise.
14416 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14417 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14418 Likewise.
14419 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14420 Likewise.
14421 * math/libm-test.inc (nexttoward_test): Add more tests.
14422
412bd966
AS
144232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14424
14425 [BZ #14040]
14426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14427 in version GLIBC_2.1, not GLIBC_2.0.
14428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14429 Likewise.
14430
9568c0c2
JM
144312012-04-30 Joseph Myers <joseph@codesourcery.com>
14432
adfbc8ac
JM
14433 [BZ #13942]
14434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14435 (1 - x) * (1 + x).
14436 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14437 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14438 * math/libm-test.inc (acos_test): Add more tests.
14439 (asin_test): Likewise.
14440 * sysdeps/i386/fpu/libm-test-ulps: Update.
14441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442
5ba3cc69
JM
14443 [BZ #14034]
14444 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14445 of square root.
14446 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14447 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14448 * math/libm-test.inc (acos_test_tonearest): New function.
14449 (acos_test_towardzero): Likewise.
14450 (acos_test_downward): Likewise.
14451 (acos_test_upward): Likewise.
14452 (asin_test_tonearest): Likewise.
14453 (asin_test_towardzero): Likewise.
14454 (asin_test_downward): Likewise.
14455 (asin_test_upward): Likewise.
14456 (main): Call the new functions.
14457 * sysdeps/i386/fpu/libm-test-ulps: Update.
14458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14459
9568c0c2
JM
14460 [BZ #13884]
14461 [BZ #13924]
14462 * math/e_exp10.c: Include <float.h>.
14463 (__ieee754_exp10): Handle underflow here rather than multiplying
14464 large negative argument by M_LN10.
14465 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14466 of __ieee754_expf.
14467 * math/e_exp10l.c: Include <float.h>.
14468 (__ieee754_exp10l): Handle underflow here rather than multiplying
14469 large negative argument by M_LN10l.
14470 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14471 spurious overflow exception on underflow.
14472
5ac3ea17
MP
144732012-04-29 Marek Polacek <polacek@redhat.com>
14474
14475 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14476 (__fortify_function): New macro.
14477 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14478 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14479 __extern_always_inline.
14480 * libio/bits/stdio2.h: Likewise.
14481 * libio/bits/stdio.h: Likewise.
14482 * string/string.h: Likewise.
14483 * string/bits/string3.h: Likewise.
14484 * include/stdio.h: Likewise.
14485 * stdlib/bits/stdlib.h: Likewise.
14486 * stdlib/stdlib.h: Likewise.
14487 * rt/bits/mqueue2.h: Likewise.
14488 * rt/mqueue.h: Likewise.
14489 * posix/bits/unistd.h: Likewise.
14490 * posix/unistd.h: Likewise.
14491 * io/bits/poll2.h: Likewise.
14492 * io/bits/fcntl2.h: Likewise.
14493 * io/fcntl.h: Likewise.
14494 * io/sys/poll.h: Likewise.
14495 * misc/bits/syslog.h: Likewise.
14496 * misc/bits/syslog-ldbl.h: Likewise.
14497 * misc/sys/syslog.h: Likewise.
14498 * socket/bits/socket2.h: Likewise.
14499 * socket/sys/socket.h: Likewise.
14500 * debug/tst-chk1.c: Likewise.
14501 * wcsmbs/bits/wchar2.h: Likewise.
14502 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14503 * wcsmbs/wchar.h: Likewise.
14504
ecf0ebfb
AJ
145052012-04-29 Andreas Jaeger <aj@suse.de>
14506
14507 * Makerules (tests): Remove enable-check-abi protection.
14508 (check-abi-warn): Remove.
14509 (check-abi-%): Remove check-abi-warn usage.
14510
14511 * configure.in: Remove check-abi configure option.
14512 * configure: Regenerated.
14513 * config.make.in (enable-check-abi): Remove.
14514
6d5c57fa
AS
145152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14516
24c5d07e 14517 [BZ #14033]
ded5180a
AS
14518 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14519 double functions to double *_finite functions.
14520
7e0d315d
AS
14521 [BZ #13941]
14522 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14523 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14524 LDBL_MIN_EXP.
14525 * stdio-common/Makefile (tests): Add tst-sprintf3.
14526 * stdio-common/tst-sprintf3.c: New file.
14527
6d5c57fa
AS
14528 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14529 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14530
0749ff8b
JM
145312012-04-28 Joseph Myers <joseph@codesourcery.com>
14532
14533 * conform/conformtest.pl: Remove duplicate typed-constant
14534 handling.
14535
8dbd5d7b
DM
145362012-04-28 David S. Miller <davem@davemloft.net>
14537
14538 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14539 (check-abi-%): Remove AWK script prerequisite and explicit
14540 abilist directory.
14541 (check-abi): Rewrite to just diff the symlist with the abilist.
14542 (config-tls, config-abi-config): Delete, no longer used.
14543 (update-abi-%): Remove AWK script and explicit abilist directory.
14544 (update-abi): Rewrite to simply compare and conditionally copy the
14545 symlist and the sysdep abilist file. Remove update-abi-config
14546 checks.
14547 * abilist/ld.abilist: Remove.
14548 * abilist/libBrokenLocale.abilist: Remove.
14549 * abilist/libanl.abilist: Remove.
14550 * abilist/libcrypt.abilist: Remove.
14551 * abilist/libdl.abilist: Remove.
14552 * abilist/librt.abilist: Remove.
14553 * abilist/libthread_db.abilist: Remove.
14554 * abilist/libutil.abilist: Remove.
14555 * scripts/extract-abilist.awk: Remove.
14556 * scripts/merge-abilist.awk: Remove.
14557 * sysdeps/generic/libcidn.abilist: New file.
14558 * sysdeps/generic/libnss_compat.abilist: New file.
14559 * sysdeps/generic/libnss_db.abilist: New file.
14560 * sysdeps/generic/libnss_dns.abilist: New file.
14561 * sysdeps/generic/libnss_files.abilist: New file.
14562 * sysdeps/generic/libnss_hesiod.abilist: New file.
14563 * sysdeps/generic/libnss_nis.abilist: New file.
14564 * sysdeps/generic/libnss_nisplus.abilist: New file.
14565 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14566 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14567 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14568 file.
14569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14570 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14571 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14572 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14573 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14574 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14575 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14576 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14577 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14578 file.
14579 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14580 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14581 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14582 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14583 file.
14584 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14585 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14586 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14587 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14588 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14589 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14590 file.
14591 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14592 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14593 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14594 file.
14595 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14597 New file.
14598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14599 New file.
14600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14601 New file.
14602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14603 New file.
14604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14605 New file.
14606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14607 New file.
14608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14609 New file.
14610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14611 New file.
14612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14613 New file.
14614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14615 New file.
14616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14617 New file.
14618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14619 New file.
14620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14621 New file.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14623 file.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14625 New file.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14627 New file.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14629 file.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14631 New file.
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14633 New file.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14635 file.
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14637 New file.
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14639 New file.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14641 New file.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14643 New file.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14645 New file.
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14647 New file.
14648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14650 file.
14651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14652 New file.
14653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14654 file.
14655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14656 file.
14657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14658 file.
14659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14660 file.
14661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14662 file.
14663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14664 New file.
14665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14666 file.
14667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14668 file.
14669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14670 New file.
14671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14672 file.
14673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14675 file.
14676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14677 New file.
14678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14679 file.
14680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14681 file.
14682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14683 file.
14684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14685 file.
14686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14687 file.
14688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14689 New file.
14690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14691 file.
14692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14693 file.
14694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14695 New file.
14696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14697 file.
14698 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14699 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14700 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14701 file.
14702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14703 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14704 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14705 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14706 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14708 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14709 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14710 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14711 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14714 file.
14715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14716 New file.
14717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14718 file.
14719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14720 file.
14721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14722 file.
14723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14724 file.
14725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14726 file.
14727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14728 New file.
14729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14730 New file.
14731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14732 file.
14733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14734 New file.
14735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14736 file.
14737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14739 file.
14740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14741 New file.
14742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14743 file.
14744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14745 file.
14746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14747 file.
14748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14749 file.
14750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14751 file.
14752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14753 New file.
14754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14755 New file.
14756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14757 file.
14758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14759 New file.
14760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14761 file.
14762
41d73a1b
JM
147632012-04-28 Joseph Myers <joseph@codesourcery.com>
14764
14765 * conform/conformtest.pl: Fix typo in handling typed-constant from
14766 allow-header.
14767
28aeeda4
JM
147682012-04-27 Joseph Myers <joseph@codesourcery.com>
14769
adae8f5e
JM
14770 * README: Cut down references to pre-2.6 Linux kernels and
14771 Linuxthreads. Update lists of configurations in libc and ports
14772 and sort alphabetically. Say "or newer" with Linux kernel version
14773 requirements.
14774
28aeeda4
JM
14775 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14776
a462cb63
RA
147772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14778
14779 [BZ #887]
14780 * math/libm-test.inc (logb_test_downward): New test to expose
14781 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14782 rounding mode.
14783
6ad3493e
JM
147842012-04-27 Joseph Myers <joseph@codesourcery.com>
14785
14786 [BZ #14027]
14787 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14788 to be done.
14789 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14790 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14791
2ce4f015
JM
147922012-04-26 Joseph Myers <joseph@codesourcery.com>
14793
5aeb141a
JM
14794 * sysdeps/unix/i386/brk.S: Remove file.
14795 * sysdeps/unix/i386/dl-brk.S: Likewise.
14796 * sysdeps/unix/i386/pipe.S: Likewise.
14797 * sysdeps/unix/i386/sigreturn.S: Likewise.
14798 * sysdeps/unix/i386/syscall.S: Likewise.
14799 * sysdeps/unix/i386/vfork.S: Likewise.
14800 * sysdeps/unix/i386/wait.S: Likewise.
14801
7143acae
JM
14802 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14803 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14804
2ce4f015
JM
14805 * configure.in (arm*-none*): Do not allow without
14806 --enable-hacker-mode.
14807 (netbsd*): Remove case setting base_os.
14808 (386bsd*): Likewise.
14809 (freebsd*): Likewise.
14810 (bsdi*): Likewise.
14811 (osf*): Likewise.
14812 (sunos*): Likewise.
14813 (ultrix*): Likewise.
14814 (newsos*): Likewise.
14815 (dynix*): Likewise.
14816 (*bsd*): Likewise.
14817 (sysv*): Likewise.
14818 (isc*): Likewise.
14819 (esix*): Likewise.
14820 (sco*): Likewise.
14821 (minix*): Likewise.
14822 (irix4*): Likewise.
14823 (irix6*): Likewise.
14824 (solaris[2-9]*): Likewise.
14825 (none): Likewise.
14826 * configure: Regenerated.
14827
0ac229c8
AZ
148282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14829
14830 [BZ #11521]
14831 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14832 overflow or cancellation in calculating denominator.
14833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14835 down expression to avoid unexpected rounding in newer GCCs.
14836 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14837
33f244f4
DM
148382012-04-26 David S. Miller <davem@davemloft.net>
14839
14840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14841 long-double compat symbols.
14842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14855
cfa1f3e8
DM
148562012-04-25 David S. Miller <davem@davemloft.net>
14857
14858 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14859 HWCAP_* values only after the memory barriers have been defined.
14860 (atomic_full_barrier): Define.
14861 (atomic_read_barrier): Define.
14862 (atomic_write_barrier): Define.
14863
6e236b92
SP
148642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14865
14866 * shlib-versions: Add libgcc_s version information.
14867 * sysdeps/generic/libgcc_s.h: Remove.
14868 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14869 libgcc_s.h.
14870 * sysdeps/gnu/unwind-resume.c: Likewise.
14871 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14872
aab39a09
DM
148732012-04-25 David S. Miller <davem@davemloft.net>
14874
14875 * sysdeps/unix/sparc/brk.S: Delete.
14876 * sysdeps/unix/sparc/dl-brk.S: Delete.
14877 * sysdeps/unix/sparc/pipe.S: Delete.
14878 * sysdeps/unix/sparc/sysdep.S: Delete.
14879 * sysdeps/unix/sparc/sysdep.h: Delete.
14880 * sysdeps/unix/sparc/vfork.S: Delete.
14881 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14882 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14883 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14884 ret_ERRVAL, r0, r1, MOVE): Define.
14885 (JUMPTARGET): Remove.
14886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14887 sysdeps/unix/sparc/sysdep.h
14888 (ENTRY, END): Remove.
14889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14890
a3cc4f48
JM
148912012-04-25 Joseph Myers <joseph@codesourcery.com>
14892
2ed8cda2
JM
14893 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14894 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14895 -DIS_IN_build.
14896
35d76d59
JM
14897 * timezone/README: Update upstream location and email address for
14898 tzcode and tzdata.
14899 * timezone/zdump.c: Update from tzcode 2012b.
14900 * timezone/zic.c: Likewise.
14901
a3cc4f48
JM
14902 * configure.in (libc_cv_as_needed): Remove test.
14903 * configure: Regenerated.
14904 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14905 conditional definition.
14906 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14907 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14908 * config.make.in (have-as-needed): Remove variable.
14909
ceab42c3
SP
149102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14911 Paul Pluzhnikov <ppluzhnikov@google.com>
14912
14913 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14914 strings correctly.
14915
3ce2865f
CLT
149162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14917
14918 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14919 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14920 * sysdeps/sh/strlen.S: Likewise.
14921
f37e0d68
JM
149222012-04-24 Joseph Myers <joseph@codesourcery.com>
14923
ae186e9a
JM
14924 * sysdeps/unix/fork.S: Remove file.
14925 * sysdeps/unix/i386/fork.S: Likewise.
14926 * sysdeps/unix/sparc/fork.S: Likewise.
14927
b96914af
JM
14928 * sysdeps/unix/system.c: Remove file.
14929 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14930
f37e0d68
JM
14931 * sysdeps/unix/getegid.S: Remove file.
14932 * sysdeps/unix/geteuid.S: Likewise.
14933
87ef29ca
RM
149342012-04-24 Roland McGrath <roland@hack.frob.com>
14935
83bcd236
RM
14936 * scripts/check-localplt.awk: New file.
14937 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14938 of diff.
14939 * scripts/data/localplt-generic.data: Add a comment.
14940
87ef29ca
RM
14941 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14942 NODE when __dir_mkfile failed.
14943 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14944 Reported by Ludovic Courtès <ludo@gnu.org>.
14945
e5a6e567
AJ
149462012-04-24 Andreas Jaeger <aj@suse.de>
14947
14948 * Makerules (common-clean): Also remove gen-as-const-headers
14949 files.
14950
c1820385
JM
149512012-04-24 Joseph Myers <joseph@codesourcery.com>
14952
14953 * Makerules (native-compile): Do not change working directory for
14954 build. Use $(OUTPUT_OPTION) in command.
14955 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14956
94e02fc4
AZ
149572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14958
14959 [BZ #13886]
14960 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14961 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14962 * math/libm-test.inc (floor_test): Add more tests.
14963 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14964
3a533ca3
JM
149652012-04-24 Joseph Myers <joseph@codesourcery.com>
14966
940ab4b3
JM
14967 * sysdeps/unix/getdents.c: Remove file.
14968 * sysdeps/unix/sysv/getdents.c: Likewise.
14969 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14970
90e037bd
JM
14971 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14972 sysdeps/unix/mman/syscalls.list.
14973 (mmap): Likewise.
14974 (mprotect): Likewise.
14975 (msync): Likewise.
14976 (munmap): Likewise.
14977 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14978 * sysdeps/unix/mman/syscalls.list: Remove.
14979 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14980
3a533ca3
JM
14981 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14982 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14983 * configure: Regenerated.
14984 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14985 $(libgcc_s_suffix).
14986 * config.make.in (libgcc_s_suffix): Remove variable.
14987
1ad743de
JM
149882012-04-23 Joseph Myers <joseph@codesourcery.com>
14989
4ad451e2
JM
14990 * sysdeps/unix/sysv/gethostname.c: Move to ...
14991 * sysdeps/posix/gethostname.c: ... here.
14992
5e37ce39
JM
14993 * sysdeps/unix/execve.S: Remove file.
14994
1ad743de
JM
14995 * sysdeps/unix/_exit.S: Remove file.
14996
4e681b5b
AJ
149972012-04-23 Andreas Jaeger <aj@suse.de>
14998
14999 [BZ #13739]
15000 * manual/Makefile: Remove make dist support, there's no
15001 need for a stand-alone documentation tar ball.
15002 (TEXI2DVI): Define always, it's not in Makeconfig.
15003 (dist): Removed.
15004 (tar-it): Removed.
15005 (edition): Removed.
15006 (glibc-doc-$(edition).tar): Removed
15007 (%.Z): Removed.
15008 (%.gz): Removed.
15009 (%.uu): Removed.
15010 (ETAGS): Remove, it's in Makeconfig.
15011 (move-if-change): Remove, it's in Makeconfig.
15012
38686a03 150132012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15014
15015 [BZ #13970]
15016 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15017 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15018 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15019 (strtod_l, strtof_l, strtold_l): Remove __wur.
15020 It is not necessarily an error to ignore strtol's return value.
15021 One can reliably look at the stored endptr to decide whether
15022 the number had valid syntax.
15023
7c0616fa
AJ
150242012-04-21 Andreas Jaeger <aj@suse.de>
15025
803cb6b7 15026 [BZ #13739]
7c0616fa
AJ
15027 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15028
b0fe253f
JM
150292012-04-21 Joseph Myers <joseph@codesourcery.com>
15030
15031 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15032 * sysdeps/unix/sysv/Versions: Remove file.
15033
8280f22d
MT
150342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15035
15036 [BZ #13927]
15037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15038
75ce411f 150392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15040
15041 [BZ #7064]
15042 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15043 version from __vm86.
15044
097d59fa
JM
150452012-04-20 Joseph Myers <joseph@codesourcery.com>
15046
a90f3bcb
JM
15047 * sysdeps/unix/common/lxstat.c: Remove file.
15048 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15049
edc7ea78
JM
15050 * sysdeps/unix/sysv/Makefile: Remove file.
15051
cb78c221
JM
15052 * sysdeps/unix/sysv/direct.h: Remove file.
15053
efa6a45f
JM
15054 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15055 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15056 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15057 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15058 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15059 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15060 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15061
9c9f2d0c
JM
15062 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15063
4541c83b
JM
15064 * sysdeps/unix/xmknod.c: Remove file.
15065 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15066
f5d153a0
JM
15067 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15068
aa746595
JM
15069 * sysdeps/unix/sysv/i386/time.S: Remove file.
15070
cce5905e
JM
15071 * sysdeps/unix/fxstat.c: Remove file.
15072 * sysdeps/unix/xstat.c: Likewise.
15073 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15074
37fa3841
JM
15075 * sysdeps/unix/sysv/sigaction.c: Remove file.
15076
ff1962a3
JM
15077 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15078 (sysdep_headers): Remove variable.
15079 [termio.h not in sysdep_headers] (generated): Likewise.
15080 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15081 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15082 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15083 * sysdeps/unix/sysv/tcflow.c: Likewise.
15084 * sysdeps/unix/sysv/tcflush.c: Likewise.
15085 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15086 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15087 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15088 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15089 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15090
e7740d31
JM
15091 * sysdeps/unix/siglist.c: Remove file.
15092
ee06f18b
JM
15093 * sysdeps/unix/getppid.S: Remove file.
15094
097d59fa
JM
15095 * sysdeps/unix/mkdir.c: Remove file.
15096 * sysdeps/unix/rmdir.c: Likewise.
15097
ff3d51ec
AS
150982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15099
15100 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15101 ERR_MAX value.
15102 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15103 errlist-compat value.
15104
50f81fd7
DM
151052012-04-18 David S. Miller <davem@davemloft.net>
15106
15107 * sysdeps/generic/memcopy.h (reg_char): Delete.
15108 * debug/strcat_chk.c: Use char, not reg_char.
15109 * debug/strcpy_chk.c: Likewise.
15110 * debug/strncat_chk.c: Likewise.
15111 * debug/strncpy_chk.c: Likewise.
15112 * string/memchr.c: Likewise.
15113 * string/memrchr.c: Likewise.
15114 * string/rawmemchr.c: Likewise.
15115 * string/strcat.c: Likewise.
15116 * string/strchr.c: Likewise.
15117 * string/strchrnul.c: Likewise.
15118 * string/strcmp.c: Likewise.
15119 * string/strcpy.c: Likewise.
15120 * string/strncat.c: Likewise.
15121 * string/strncmp.c: Likewise.
15122 * string/strncpy.c: Likewise.
15123
8ff41c46
WS
151242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15125
15126 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15127 __builtin_memcopy is called when src and dest ranges are known to not
15128 overlap.
15129
6b652f46
WS
151302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15131
15132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15133 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15134 fwd_align_merge macro call.
15135 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15136 bwd_align_merge macro call.
15137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15138
b282631e
WS
151392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15140
15141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15142 bwd_align_merge macros.
15143 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15144 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15146
95aa737c
DM
151472012-04-18 David S. Miller <davem@davemloft.net>
15148
15149 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15150
7a99a614
AJ
151512012-04-18 Andreas Jaeger <aj@suse.de>
15152
15153 [BZ# 6794]
15154 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15155 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15157
15158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15159 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15161
15162 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15163 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15164 Adjust for changed ldbl-128 files.
15165
15166 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15167 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15168 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15169
e5270c23
DM
151702012-04-17 David S. Miller <davem@davemloft.net>
15171
15172 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15173
fb5e92c9
AS
151742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15175
15176 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15177 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15178 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15179 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15180 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15181 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15182
76da7265
AZ
151832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15184
15185 [BZ #6794]
15186 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15187 * math/libm-test.inc: Add ilogb errno and exception tests.
15188 * math/w_ilogb.c: New file: ilogb wrapper.
15189 * math/w_ilogbf.c: New file: ilogbf wrapper.
15190 * math/w_ilogbl.c: New file: ilogbl wrapper.
15191 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15192 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15193 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15194 exception being thrown with 0.0 as argument.
15195 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15196 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15197 exception being thrown with 0.0 as argument.
15198 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15199 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15200 exception being thrown with 0.0 as argument.
15201 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15202 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15203 exception being thrown with 0.0 as argument.
15204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15205 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15206 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15207 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15208 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15210 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15211 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15212 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15213
0396e69d
PB
152142012-04-17 Petr Baudis <pasky@ucw.cz>
15215
15216 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15217 with altivec.
15218
750b5926
MP
152192012-04-16 Marek Polacek <polacek@redhat.com>
15220
15221 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15222
751728a1
MP
152232012-04-16 Marek Polacek <polacek@redhat.com>
15224
15225 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15226 operands of fdivp instruction.
15227
34a27407
L
152282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15229
15230 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15231 * elf/tst-auditmod3b.c: Likewise.
15232 * elf/tst-auditmod4b.c: Likewise.
15233 * elf/tst-auditmod5b.c: Likewise.
15234 * elf/tst-auditmod6b.c: Likewise.
15235 * elf/tst-auditmod6c.c: Likewise.
15236 * elf/tst-auditmod7b.c: Likewise.
15237 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15238 * sysdeps/x86_64/preconfigure.in: Likewise.
15239 * sysdeps/x86_64/preconfigure: Regenerated.
15240
7e73e17d
L
152412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15242
15243 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15244 __ILP32__.
15245
c7a6ab72
AB
152462012-04-13 Antoine Balestrat <merkil33@gmail.com>
15247
15248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15249 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15250
a9e8e0e0
CL
152512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15252
15253 [BZ #13973]
15254 * locale/iso-639.def: Fix gl language name. Spotted by
15255 Yaron Shahrabani.
15256
ec98af7d
RM
152572012-04-12 Roland McGrath <roland@hack.frob.com>
15258
15259 [BZ #2074]
15260 * libio/libio.h (__io_write_fn): Update comment.
15261
247c3ede
PB
152622012-04-12 Petr Baudis <pasky@ucw.cz>
15263
15264 [BZ #2074]
15265 * stdio.texi (Hook Functions): The user provided writer function
15266 is not allowed to return -1.
15267
55939d6d
DM
152682012-04-11 David S. Miller <davem@davemloft.net>
15269
15270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15271
90020f5a
MF
152722012-04-11 Mike Frysinger <vapier@gentoo.org>
15273
15274 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15275 Add a leading slash to rtkaio.
15276
288f9098
JM
152772012-04-11 Jim Meyering <meyering@redhat.com>
15278
90020f5a
MF
15279 [BZ #11959]
15280 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15281 It is not necessarily an error to ignore fwrite's return
15282 value. One can reliably use ferror to test for errors after
15283 the fact.
288f9098 15284
4be2b570
L
152852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15286
15287 * bits/types.h (__snseconds_t): New type.
15288 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15289
15290 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15292 (__SNSECONDS_T_TYPE): Likewise.
15293 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15294 (__SNSECONDS_T_TYPE): Likewise.
15295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15296 (__SNSECONDS_T_TYPE): Likewise.
15297
288f9098 152982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15299
15300 [BZ #2636]
15301 * manual/time.texi (Processor Time): Return type of times is
15302 elapsed real time since an arbitrary point in the past.
15303 (CPU Time): Move CLK_TCK from here...
15304 (Processor Time): ...to here. Correct description.
15305 * manual/conf.texi (Constants for Sysconf): Correct description of
15306 _SC_CLK_TCK.
15307
d7dd4413
DM
153082012-04-10 David S. Miller <davem@davemloft.net>
15309
15310 [BZ #13967]
15311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15312 where the is a gap between DT_REL(A) and DT_JMPREL.
15313
b46068fc
L
153142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15315
15316 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15317 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15318 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15319
73d65cc3
SP
153202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15321
15322 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15323 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15324 (dl_main): Handle --inhibit-cache.
15325 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15326 _dl_inhibit_cache.
15327 * elf/dl-load.c (_dl_map_object): Use it.
15328 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15329
bcc8d661
JM
153302012-04-09 Joseph Myers <joseph@codesourcery.com>
15331
8f9a2fae
JM
15332 [BZ #13872]
15333 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15334 (__ieee754_powl): Saturate large exponents rather than testing for
15335 overflow of y*log2(x).
15336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15337 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15338 exceptions.
15339
bcc8d661
JM
15340 [BZ #11521]
15341 * math/s_ctan.c: Include <float.h>.
15342 (__ctan): Avoid internal overflow or cancellation in calculating
15343 denominator.
15344 * math/s_ctanf.c: Likewise.
15345 * math/s_ctanl.c: Likewise.
15346 * math/s_ctanh.c: Likewise.
15347 * math/s_ctanhf.c: Likewise.
15348 * math/s_ctanhl.c: Likewise.
15349 * math/libm-test.inc (ctan_test): Add more tests.
15350 (ctanh_test): Likewise.
15351 * sysdeps/i386/fpu/libm-test-ulps: Update.
15352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15353
823fbbb4
AJ
153542012-04-09 Andreas Jaeger <aj@suse.de>
15355
03879793
AJ
15356 [BZ #6894]
15357 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15358 is an optional BSD extension.
15359
823fbbb4
AJ
15360 [BZ #10254]
15361 * manual/stdio.texi (Opening Streams): Document additional fopen
15362 parameters.
15363
8de131cb
RM
153642012-04-09 Roland McGrath <roland@hack.frob.com>
15365
15366 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15367 %eax without telling the compiler.
15368
c0ed9d7d
CD
153692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15370
15371 [BZ # 13963]
15372 * manual/install.texi: Use sourceware.org.
15373
c483f6b4
JM
153742012-04-09 Joseph Myers <joseph@codesourcery.com>
15375
d7dd9453
JM
15376 [BZ #13873]
15377 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15378 (__ieee754_pow): Generate overflow and underflow using huge*huge
15379 and tiny*tiny rather than just returning constant infinity or zero
15380 for large exponents.
15381 * math/libm-test.inc (pow_test): Require overflow exceptions for
15382 applicable cases of large exponents.
15383
c483f6b4
JM
15384 [BZ #706]
15385 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15386 (__ieee754_pow): Use iterative multiplication algorithm only for
15387 integer exponents with absolute value below 1024. Check for odd
15388 integer exponents when using algorithm for real exponents.
15389 * math/libm-test.inc (pow_test): Add more tests.
15390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15391
d2de7579
JM
153922012-04-08 Joseph Myers <joseph@codesourcery.com>
15393
15394 [BZ #13705]
15395 * math/libm-test.inc (exp_test): Do not allow overflow exception
15396 on underflow test.
15397
f77f1232
AJ
153982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15399
15400 [BZ #13705]
15401 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15402 instead of __kernel_standard_f.
15403
3884932b
MF
154042012-04-08 Mike Frysinger <vapier@gentoo.org>
15405
15406 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15407 * sysdeps/x86_64/memset_chk.S: Likewise.
15408
54472e9c
AJ
154092012-04-08 Andreas Jaeger <aj@suse.de>
15410
6ab0fbfc
AJ
15411 [BZ #10153]
15412 * manual/startup.texi (Environment Access): Describe return value
15413 for putenv and setenv.
15414
61efba8c
AJ
15415 [BZ #6895]
15416 * manual/filesys.texi (Directory Entries): Add description for
15417 DT_LNK.
15418
95c3f29a
AJ
15419 [BZ #6890]
15420 * manual/filesys.texi (Directory Entries): Clarify that it's file
15421 system not operating system in the description of DT_UNKNOWN.
15422
54472e9c
AJ
15423 [BZ #6578]
15424 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15425
624254b1
SC
154262012-04-08 Stephen Compall <s11@member.fsf.org>
15427
15428 [BZ #6649]
15429 * manual/llio.texi (Opening and Closing Files): Add cross
15430 reference to explain mode argument.
15431
1e4920e0
MF
154322012-04-07 Mike Frysinger <vapier@gentoo.org>
15433
15434 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15435 * sysdeps/x86_64/memset_chk.S: Likewise.
15436
5ed848f3
DM
154372012-04-07 David S. Miller <davem@davemloft.net>
15438
15439 * elf/elf.h (R_SPARC_WDISP10): Define.
15440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15441 R_SPARC_SIZE32.
15442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15443 R_SPARC_SIZE64 and R_SPARC_H34.
15444
96154cd8
CD
154452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15446
15447 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15448 conditions and remove no longer applicable assertion.
15449
9904dc47
L
154502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15451
15452 * bits/byteswap.h: Include <features.h>.
15453 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15454 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15455
f8887d0a
L
154562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15457
15458 * bits/byteswap.h (__bswap_16): Removed.
15459 Include <bits/byteswap-16.h> to get __bswap_16.
15460 * sysdeps/i386/bits/byteswap.h: Likewise.
15461 * sysdeps/s390/bits/byteswap.h: Likewise.
15462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15463 * bits/byteswap-16.h: New file.
15464 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15465 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15466 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15467 * string/Makefile (headers): Add bits/byteswap-16.h.
15468
62470f60
PP
154692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15470
15471 [BZ #13895]
15472 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15473 extra indirection.
15474 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15475 * nss/tst-nss-static.c: New.
15476
4dad7bab
RM
154772012-04-06 Robert Millan <rmh@gnu.org>
15478
15479 [BZ #6486]
15480 * manual/llio.texi (File Position Primitive): lseek
15481 refers to WHENCE when it really means OFFSET.
15482
e9142a17
AJ
154832012-04-06 Andreas Jaeger <aj@suse.de>
15484
2c040eff
AJ
15485 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15486 strncmp declarations.
15487
e9142a17
AJ
15488 * abilist/libc.abilist: Add __poll and __ppoll.
15489
ff9f1c5f
DM
154902012-04-05 David S. Miller <davem@davemloft.net>
15491
dcd2ae90
DM
15492 * scripts/check-local-headers.sh: Accept a host triplet in the
15493 path matched by the exclude regexp.
15494
993eb054
DM
15495 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15496 definition.
15497 * sysdeps/powerpc/powerpc32/dl-machine.h
15498 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15499 * sysdeps/s390/s390-32/dl-machine.h
15500 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15501 * sysdeps/sparc/sparc32/dl-machine.h
15502 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15503 * sysdeps/sparc/sparc64/dl-machine.h
15504 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15505
ff9f1c5f
DM
15506 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15507 lazy binding.
48e2e132 15508 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15509 undefined symbol errors.
15510
48e2e132 15511 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15512 DT_NEEDED entries.
15513
e80d6f94
MM
155142012-04-05 Michael Matz <matz@suse.de>
15515
15516 [BZ #13592]
15517 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15518
349fa79f
AJ
155192012-04-05 Andreas Jaeger <aj@suse.de>
15520
15521 [BZ #13908]
15522 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15523 comment.
15524
f402708f
KK
155252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15526
15527 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15528 which ROUND is no valid rounding mode.
15529
2ecccfc9
KK
155302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15531
15532 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15533 read again.
15534 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15535
8a53f50f
KK
155362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15537
15538 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15539 an exception using FPU order intentionally.
15540
155412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15542
15543 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15544 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15545 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15546 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15547
d653abb7
SJ
155482012-04-05 Simon Josefsson <simon@josefsson.org>
15549
15550 [BZ #12340]
15551 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15552 EINVAL when BUFLEN is too smal.
15553
c3b1bf7d
TS
155542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15555
15556 [BZ #13553]
15557 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15558 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15559
b1aa60f3
AJ
155602012-04-03 Andreas Jaeger <aj@suse.de>
15561
c3b1bf7d 15562 [BZ #13938]
67f60a26
AJ
15563 * manual/setjmp.texi (System V contexts): Fix sentence.
15564
b1aa60f3
AJ
15565 [BZ #13926]
15566 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15567 New macro for this case.
15568 [!__GNUC__] (__bswap_64): New inline function for this case.
15569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15570 * bits/byteswap.h: Likewise.
15571 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15572 ull, guard with __GLIBC_HAVE_LONG_LONG.
15573
15574 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15575 __GLIBC_HAVE_LONG_LONG.
15576
15577 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15578 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15579
39c59c35
TMQMF
155802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15581
15582 [BZ #13691]
15583 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15584 inptr and inend, rather than using last_ch.
15585
135ffda8
DM
155862012-04-02 David S. Miller <davem@davemloft.net>
15587
15588 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15589 * stdio-common/printf-parse.h (read_int): Change return type to
15590 'int', return -1 on INT_MAX overflow.
15591 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15592 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15593 overflows INT_MAX. Check for overflow of in-format-string precision
15594 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15595 SIZE_MAX not INT_MAX for integer overflow test.
15596 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15597 skip the construct in the format string but do not record anything.
15598 * stdio-common/bug22.c: Adjust to test both width/prevision
15599 INT_MAX overflow as well as total length INT_MAX overflow. Check
15600 explicitly for proper errno values.
15601
228c019e
TS
156022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15603
302cadd3
TS
15604 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15605 CHAR_MAX.
15606 * string/test-strcmp.c [! WIDE]: Likewise.
15607 * time/tst-mktime2.c: Likewise for INT_MAX.
15608 * string/test-string.h: #include <sys/param.h> for MIN.
15609
228c019e
TS
15610 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15611 * sysdeps/i386/init-first.c (init): Likewise.
15612 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15613 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15614 * sysdeps/sh/init-first.c (init): Likewise.
15615
cfa633f5
UD
156162012-04-01 Ulrich Drepper <drepper@gmail.com>
15617
15618 * po/ru.po: Update from translation team.
d1635ef8 15619 * po/vi.po: Likewise.
cfa633f5 15620
6cd0a5ea
SP
156212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15622
15623 * resolv/nss_dns/dns-host.c: Merge copyright years.
15624
4b43400f
LD
156252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15626
15627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15628 Optimize memcpy with prefetch if
15629 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15630 src, dst pointers have unequal 16 byte alignments.
15631
48c41d04
SP
156322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15633
15634 [BZ #13928]
15635 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15636 from a CNAME entry and return the minimum ttl for the query.
15637 (gaih_getanswer_slice): Likewise.
15638
b8dc394d
JL
156392012-03-30 Jeff Law <law@redhat.com>
15640
15641 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15642 due to long keys.
15643 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15644 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15645
2f5a5ed0
JL
15646 * resolv/nss_dns/dns-host.c: Update copyright year.
15647
1d39e359
UD
156482012-03-30 Ulrich Drepper <drepper@gmail.com>
15649
c030f70c 15650 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15651 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15652
1d39e359
UD
15653 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15654 comments for sendmmsg.
15655
156562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15657
15658 [BZ #13691]
15659 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15660 with only 1 character between 0x0041 and 0x01b0.
15661 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15662 * wcsmbs/tst-mbsnrtowcs.c: New file.
15663
20fde227
DM
156642012-03-29 David S. Miller <davem@davemloft.net>
15665
15666 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15667 small copies by hand.
15668
984a4237
JL
156692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15670
15671 [BZ #13761]
15672 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15673 _nss_compat_initgroups_dyn): Fall back to malloc/free
15674 for large group memberships.
15675
18c9d62b
DM
156762012-03-28 David S. Miller <davem@davemloft.net>
15677
88d85d4f
DM
15678 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15679 that branches into memcpy.
15680 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15683 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15685 bits.
15686 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15687 implementation too.
15688 * sysdeps/sparc/mempcpy.S: New file.
15689
e5aa83e1
DM
15690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15691 the IFUNC routine in the libc case.
15692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15693
88570753
DM
15694 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15695 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15696 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15697 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15698 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15699 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15700 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15701 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15702
249d7567
DM
15703 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15704 loop to 256 bytes instead of 64 bytes and fix test signedness.
15705
18c9d62b
DM
15706 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15707 * sysdeps/sparc/sparc32/Makefile: rather than here...
15708 * sysdeps/sparc/sparc64/Makefile: and here.
15709
05f3d1f6
UD
157102012-03-28 Ulrich Drepper <drepper@gmail.com>
15711
15712 * malloc/mallocbug.c: Avoid warnings about unused variables.
15713
86ae07a8
JL
157142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15715
15716 [BZ #13760]
15717 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15718 in the right place. Discard and retry query if response is
15719 larger than input buffer size.
15720
41bf21a1
JM
157212012-03-28 Joseph Myers <joseph@codesourcery.com>
15722
d6270972
JM
15723 [BZ #369]
15724 [BZ #2678]
15725 [BZ #3866]
15726 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15727 x for large integer exponent.
15728 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15729 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15730 sign of result as needed afterwards.
15731 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15732 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15733 result for underflowing pow the same as for overflow.
15734 (__kernel_standard_l): Handle powl overflow and underflow here
15735 rather than calling __kernel_standard.
15736 * math/libm-test.inc (pow_test): Add more tests.
15737
414fca03 15738 [BZ #3868]
41bf21a1
JM
15739 [BZ #13879]
15740 [BZ #13910]
15741 [BZ #13911]
15742 [BZ #13912]
15743 [BZ #13913]
15744 [BZ #13915]
15745 [BZ #13916]
15746 [BZ #13917]
15747 [BZ #13918]
15748 [BZ #13919]
15749 [BZ #13920]
15750 [BZ #13921]
15751 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15752 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15753 (__kernel_standard_l): New function.
15754 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15755 __kernel_standard.
15756 * math/w_acosl.c (__acosl): Likewise.
15757 * math/w_asinl.c (__asinl): Likewise.
15758 * math/w_atan2l.c (__atan2l): Likewise.
15759 * math/w_atanhl.c (__atanhl): Likewise.
15760 * math/w_coshl.c (__coshl): Likewise.
15761 * math/w_exp10l.c (__exp10l): Likewise.
15762 * math/w_exp2l.c (__exp2l): Likewise.
15763 * math/w_fmodl.c (__fmodl): Likewise.
15764 * math/w_hypotl.c (__hypotl): Likewise.
15765 * math/w_j0l.c (__j0l, __y0l): Likewise.
15766 * math/w_j1l.c (__j1l, __y1l): Likewise.
15767 * math/w_jnl.c (__jnl, __ynl): Likewise.
15768 * math/w_lgammal.c (__lgammal): Likewise.
15769 * math/w_log10l.c (__log10l): Likewise.
15770 * math/w_log2l.c (__log2l): Likewise.
15771 * math/w_logl.c (__logl): Likewise.
15772 * math/w_powl.c (__powl): Likewise.
15773 * math/w_remainderl.c (__remainderl): Likewise.
15774 * math/w_scalbl.c (sysv_scalbl): Likewise.
15775 * math/w_sinhl.c (__sinhl): Likewise.
15776 * math/w_sqrtl.c (__sqrtl): Likewise.
15777 * math/w_tgammal.c (__tgammal): Likewise.
15778 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15779 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15780 * math/libm-test.inc (acos_test): Add more tests.
15781 (acosh_test): Likewise.
15782 (asin_test): Likewise.
15783 (atanh_test): Likewise.
15784 (exp_test): Likewise.
15785 (exp10_test): Likewise.
15786 (exp2_test): Likewise.
15787 (expm1_test): Likewise.
15788 (lgamma_test): Likewise.
15789 (log_test): Likewise.
15790 (log10_test): Likewise.
15791 (log1p_test): Likewise.
15792 (log2_test): Likewise.
15793 (pow_test): Do not allow some spurious overflow exceptions.
15794 (sqrt_test): Add more tests.
15795 (tgamma_test): Likewise.
15796 (y0_test): Likewise.
15797 (y1_test): Likewise.
15798 (yn_test): Likewise.
15799
dd62fda6
AB
158002012-03-27 Anton Blanchard <anton@samba.org>
15801
15802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15803 MAP_HUGETLB.
15804 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15805 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15806 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15807
1e3cdfda
AJ
158082012-03-27 David S. Miller <davem@davemloft.net>
15809
b855ab85
DM
15810 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15811
1e3cdfda
AJ
15812 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15813 have-as-vis3 check.
15814
158152012-03-27 Andreas Jaeger <aj@suse.de>
15816
15817 * sysdeps/x86_64/elf/configure.in: Moved to ...
15818 * sysdeps/x86_64/configure.in: ... here.
15819 * sysdeps/x86_64/elf/start.S: Moved to ...
15820 * sysdeps/x86_64/start.S: ... here.
15821 * sysdeps/x86_64/elf/configure: Delete.
15822
15823 * sysdeps/x86_64/configure.in: Merge contents from
15824 sysdeps/i386/configure.in (without i686 check).
15825
15826 * sysdeps/i386/elf/Versions: Merge into ...
15827 * sysdeps/i386/Versions: ... this.
15828 * sysdeps/i386/elf/Versions: Delete file.
15829 * sysdeps/i386/elf/start.S: Moved to ...
15830 * sysdeps/i386/start.S: ...here.
15831 * sysdeps/i386/elf/configure.in: Merge into...
15832 * sysdeps/i386/configure.in: ...here.
15833 * sysdeps/i386/elf/configure.in: Delete file.
15834 * sysdeps/i386/elf/configure: Delete file.
15835
15836 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15837 * debug/backtracesyms.c: ... here.
15838 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15839 * debug/backtracesymsfd.c: ... here.
15840 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15841 * sysdeps/generic/ifunc-sel.h: ... here.
15842
15843 * sysdeps/unix/i386/start.c: Delete file.
15844 * sysdeps/unix/sparc/start.c: Delete file.
15845 * sysdeps/unix/start.c: Delete file.
15846
15847 * sysdeps/sh/elf/configure.in: Moved to ...
15848 * sysdeps/sh/configure.in: ... here.
15849 * sysdeps/sh/elf/start.S: Moved to ...
15850 * sysdeps/sh/start.S: ... here.
15851 * sysdeps/sh/elf/configure: Delete file.
15852
15853 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15854 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15855 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15856 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15857 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15858 * sysdeps/powerpc/powerpc64/start.S: here.
15859 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15860 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15861 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15862 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15863 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15864
15865 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15866 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15867 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15868 * sysdeps/powerpc/powerpc32/start.S: ... here.
15869 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15870 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15871 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15872
15873 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15874 * sysdeps/powerpc/ifunc-sel.h: ... here.
15875 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15876 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15877
15878 * sysdeps/sparc/elf/configure.in: Moved to ...
15879 * sysdeps/sparc/configure.in: ... here.
15880 * sysdeps/sparc/elf/configure: Delete file.
15881 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15882 * sysdeps/sparc/sparc32/start.S: ... here.
15883 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15884 * sysdeps/sparc/sparc64/start.S: ... here.
15885 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15886 * sysdeps/sparc/sparc32/Makefile: ... this.
15887 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15888 * sysdeps/sparc/sparc64/Makefile: ... this.
15889
15890 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15891 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15892 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15893 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15894 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15895 * sysdeps/s390/s390-32/setjmp.S: ... here.
15896 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15897 * sysdeps/s390/s390-32/configure.in: ... here.
15898 * sysdeps/s390/s390-32/elf/configure: Delete file.
15899 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15900 * sysdeps/s390/s390-32/start.S: ... here.
15901
15902 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15903 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15904 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15905 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15906 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15907 * sysdeps/s390/s390-64/setjmp.S: ... here.
15908 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15909 * sysdeps/s390/s390-64/configure.in: ... here
15910 * sysdeps/s390/s390-64/elf/configure: Delete file.
15911 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15912 * sysdeps/s390/s390-64/start.S: ... here.
15913 * sysdeps/s390/s390-64/elf/configure: Delete.
15914
15915 * configure.in: Remove support for elf directories in sysdeps.
15916
15917 * configure: Regenerated.
15918 * sysdeps/i386/configure: Regenerated.
15919 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15920 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15921 * sysdeps/s390/s390-32/configure: Regenerated.
15922 * sysdeps/s390/s390-64/configure: Regenerated.
15923 * sysdeps/sh/configure: Regenerated.
15924 * sysdeps/sparc/configure: Regenerated.
15925 * sysdeps/x86_64/configure: Regenerated.
15926
a3f61311
AS
159272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15928
c876e002
AS
15929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15930
a3f61311
AS
15931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15932 denormal result into account.
15933
ac4c54f0
RM
159342012-03-25 Roland McGrath <roland@hack.frob.com>
15935
15936 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15937 Reported by Allan McRae <allan@archlinux.org>.
15938
6a9b9c02
JL
159392012-03-23 Jeff Law <law@redhat.com>
15940
15941 * nss/getnssent.c (__nss_getent): Fix typo.
15942
4c42a0c1
DM
159432012-03-23 David S. Miller <davem@davemloft.net>
15944
15945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15946
1532c7ac
L
159472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15948
15949 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15950 to pad to uint64_t for each field.
15951 (dl_tls_index): Replace unsigned long with uint64_t.
15952
3ff42526
PP
159532012-03-23 Daniel Jacobowitz <dmj@google.com>
15954 Paul Pluzhnikov <ppluzhnikov@google.com>
15955
15956 [BZ #6528]
15957 * grp/Makefile (otherlibs): Don't set it.
15958 * inet/Makefile (otherlibs): Likewise.
15959 * login/Makefile (otherlibs): Likewise.
15960 * nscd/Makefile (otherlibs): Likewise.
15961 * posix/Makefile (otherlibs): Likewise.
15962 * pwd/Makefile (otherlibs): Likewise.
15963 * rt/Makefile (otherlibs): Likewise.
15964 * sunrpc/Makefile (otherlibs): Likewise.
15965 * nss/Makefile (otherlibs): Likewise.
15966 Add libnss_files to routines and static-only-routines.
15967 ($(objpfx)getent): Remove rule.
15968 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15969 static-only-routines.
15970
7c69cd14
JM
159712012-03-22 Joseph Myers <joseph@codesourcery.com>
15972
15973 [BZ #13892]
15974 * math/s_cexp.c: Include <float.h>.
15975 (__cexp): Handle exp result overflowing not necessarily
15976 overflowing both real and imaginary parts of result.
15977 * math/s_cexpf.c: Likewise.
15978 * math/s_cexpl.c: Likewise.
15979 * math/libm-test.inc (cexp_test): Add more tests.
15980 * sysdeps/i386/fpu/libm-test-ulps: Update.
15981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15982
81b035fe
L
159832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15984
15985 * include/link.h (ELFW): New macro.
15986 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15987 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15988
1da7940c
L
159892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15992 with uint64_t.
15993
b749dbb9
L
159942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15995
15996 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15997 declaration.
15998 (struct La_x32_retval): Likewise.
15999
2ff87f3f
L
160002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16001
16002 * sysdeps/x86_64/preconfigure.in: New file.
16003 * sysdeps/x86_64/preconfigure: New generated file.
16004
c0df8e69
JM
160052012-03-22 Joseph Myers <joseph@codesourcery.com>
16006
48e44791
JM
16007 [BZ #13824]
16008 * math/e_exp2l.c: Include <float.h>.
16009 (__ieee754_exp2l): Handle overflow and underflow cases
16010 separately. Only pass fractional part of argument to
16011 __ieee754_expl.
16012 * math/libm-test.inc (exp2_test): Add more tests.
16013
c0df8e69
JM
16014 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16015 negating x to take absolute value.
16016 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16017 Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16020 Likewise.
16021 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16022 computing low part if x was negated.
16023 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16024
c8e43ba7
L
160252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16026
16027 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16028 la_x32_gnu_pltexit.
16029 (pltexit): Cast int_retval to ptrdiff_t.
16030 * elf/tst-auditmod3b.c: Likewise.
16031 * elf/tst-auditmod4b.c: Likewise.
16032 * elf/tst-auditmod5b.c: Likewise.
16033 * elf/tst-auditmod6b.c: Likewise.
16034 * elf/tst-auditmod6c.c: Likewise.
16035 * elf/tst-auditmod7b.c: Likewise.
16036
16037 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16038 and x32_gnu_pltexit.
16039
16040 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16041 __ELF_NATIVE_CLASS.
16042 (La_x32_regs): New macro.
16043 (La_x32_retval): Likewise.
16044 (la_x32_gnu_pltenter): New function prototype.
16045 (la_x32_gnu_pltexit): Likewise.
16046
7998fa78
AS
160472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16048
dcb33988
AS
16049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16050 exponent.
16051
233fc563
AS
16052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16053
7998fa78
AS
16054 * configure.in (libc_cv_cc_nofma): Check for option to disable
16055 generation of FMA instructions.
16056 * configure: Regenerate.
16057 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16058 * sysdeps/ieee754/dbl-64/Makefile: New file.
16059 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16060 Remove brandred-fma4.
16061 (CFLAGS-brandred-fma4.c): Remove.
16062 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16063 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16064 define.
16065 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16066 define.
16067
8e95c99a
L
160682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16069
16070 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16071 LLONG_MAX != LONG_MAX.
16072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16073 (_fitoa_word): Likewise.
16074 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16075 LLONG_MAX != LONG_MAX.
16076 * stdio-common/_itowa.h: Include <_itoa.h>.
16077 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16078 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16079 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16080 only if not defined.
16081 (_ITOA_WORD_TYPE): Likewise.
16082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16083 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16084
6f4db457
DM
160852012-03-21 David S. Miller <davem@davemloft.net>
16086
16087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16088
7785fe5a
L
160892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16092 of x86_64 when setting libc_cv_slibdir, libdir and
16093 libc_cv_localedir.
16094 * sysdeps/unix/sysv/linux/configure: Regenerated.
16095
4535cd55
JM
160962012-03-21 Joseph Myers <joseph@codesourcery.com>
16097
16098 * manual/lang.texi (Old Varargs): Remove section.
16099 (How Variadic): Update menu.
16100 (va_start): Do not mention varargs.h.
16101
17228132
TS
161022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16103 Joseph Myers <joseph@codesourcery.com>
16104
16105 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16106 link test.
16107 * configure: Regenerated.
16108
8149f976
TS
161092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16110
05f3d1f6
UD
16111 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16112 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16113 conformtest.pl
8149f976 16114
1a4ac776
JM
161152012-03-21 Joseph Myers <joseph@codesourcery.com>
16116
be22ce65
JM
16117 * NOTES: Remove.
16118 * Makefile (files-for-dist): Remove NOTES.
16119 (NOTES): Remove rule.
16120 * README: Don't refer to NOTES.
16121 * manual/creature.texi: Don't include macros.texi.
16122 * manual/intro.texi (creature.texi): Remove comment referring to
16123 NOTES.
16124
40b601fb
JM
16125 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16126 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16127 * configure: Regenerated.
16128 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16129 LIBC_TRY_CC_OPTION.
16130 (libc_cv_as_i686): Likewise.
16131 (libc_cv_cc_avx): Likewise.
16132 (libc_cv_cc_sse2avx): Likewise.
16133 (libc_cv_cc_fma4): Likewise.
16134 (libc_cv_cc_novzeroupper): Likewise.
16135 * sysdeps/i386/configure: Regenerated.
16136
1a4ac776
JM
16137 [BZ #13883]
16138 * sysdeps/i386/fpu/s_cexp.S: Remove.
16139 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16140 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16141 * math/libm-test.inc (cexp_test): Add more tests.
16142 * sysdeps/i386/fpu/libm-test-ulps: Update.
16143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144
a458e7fe
AM
161452012-03-21 Allan McRae <allan@archlinux.org>
16146
16147 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16148
0cb7efc5
JM
161492012-03-21 Joseph Myers <joseph@codesourcery.com>
16150
16151 [BZ #13871]
16152 * math/w_exp2.c: Do not include <float.h>.
16153 (o_threshold, u_threshold): Remove.
16154 (__exp2): Calculate result before checking finiteness and calling
16155 __kernel_standard.
16156 * math/w_exp2f.c: Likewise.
16157 * math/w_exp2l.c: Likewise.
16158 * math/libm-test.inc (exp2_test): Require overflow exception for
16159 1e6 input.
2460d3aa
JM
16160
16161 [BZ #3866]
16162 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16163 range of signed 64-bit integers before using fistpll. Remove
16164 checks for whether integers fit in mantissa bits.
16165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16166 the range of signed 32-bit integers before using fistpl. Remove
16167 checks for whether integers fit in mantissa bits.
16168 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16169 (__ieee754_powl): Test for y outside the range of signed 64-bit
16170 integers before using fistpll. Reduce 64-bit values to 63-bit
16171 ones as needed.
16172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16173 divide-by-zero is raised for zero to large negative powers.
16174 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16175 (__ieee754_powl): Test for y outside the range of signed 64-bit
16176 integers before using fistpll. Reduce 64-bit values to 63-bit
16177 ones as needed.
16178 * math/libm-test.inc (pow_test): Add more tests.
16179
eb96ffb0
L
161802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16181
16182 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16183 <stdio-common/_itoa.h>.
16184 * debug/segfault.c: Likewise.
16185 * elf/dl-cache.c: Likewise.
16186 * elf/dl-minimal.c: Likewise.
16187 * elf/dl-misc.c: Likewise.
16188 * elf/dl-sysdep.c: Likewise.
16189 * elf/dl-version.c: Likewise.
16190 * elf/rtld.c: Likewise.
16191 * hurd/hurdsock.c: Likewise.
16192 * hurd/lookup-retry.c: Likewise.
16193 * malloc/malloc.c: Likewise.
16194 * malloc/mtrace.c: Likewise.
16195 * nscd/nscd_getgr_r.c: Likewise.
16196 * nscd/nscd_getpw_r.c: Likewise.
16197 * nscd/nscd_getserv_r.c: Likewise.
16198 * posix/getopt_init.c: Likewise.
16199 * posix/wordexp.c: Likewise.
16200 * stdio-common/_itoa.c: Likewise.
16201 * stdio-common/printf_fphex.c: Likewise.
16202 * stdio-common/vfprintf.c: Likewise.
16203 * string/_strerror.c: Likewise.
16204 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16205 * sysdeps/i386/i686/hp-timing.h: Likewise.
16206 * sysdeps/mach/_strerror.c: Likewise.
16207 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16208 * sysdeps/mach/hurd/sethostid.c: Likewise.
16209 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16210 * sysdeps/mach/xpg-strerror.c: Likewise.
16211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16213 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16214 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16215 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16216 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16217 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16218 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16219 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16220 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16221 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16222 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16223 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16224 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16225 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16226 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16227 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16229 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16230 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16232
16233 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16234
16235 * stdio-common/_itoa.h: Moved to ...
16236 * sysdeps/generic/_itoa.h: Here.
16237
16238 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16239
16240 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16241 instead of "_itoa.h" and "_itowa.h".
16242 * stdio-common/vfprintf.: Likewise.
16243
d1af992d
L
162442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16245
16246 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16247 <bits/wordsize.h>.
16248 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16249 (__signbit): Likwise.
16250 (llrintf): Likwise.
16251 (llrint): Likwise.
16252
114883e0
L
162532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16256 __WORDSIZE != 64.
16257
c135cc1b
JM
162582012-03-20 Joseph Myers <joseph@codesourcery.com>
16259
16260 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16261 OVERFLOW_EXCEPTION_OK.
16262 * math/libm-test.inc ("Philosophy"): Update comment about
16263 exception testing.
16264 (OVERFLOW_EXCEPTION): Define.
16265 (OVERFLOW_EXCEPTION_OK): Likewise.
16266 (INVALID_EXCEPTION_OK): Renumber.
16267 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16268 (IGNORE_ZERO_INF_SIGN): Likewise.
16269 (test_exceptions): Handle FE_OVERFLOW.
16270 (exp10_test): Expect overflow exceptions.
16271 (exp2_test): Likewise.
16272 (expm1_test): Likewise.
16273 (nextafter_test): Likewise.
16274 (pow_test): Likewise.
16275 (scalbn_test): Likewise.
16276 (scalbln_test): Likewise.
16277
95443d88
L
162782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16279
16280 * sysdeps/x86_64/bits/atomic.h
16281 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16282 64bit integer.
16283 (atomic_exchange_acq): Likewise.
16284 (__arch_exchange_and_add_body): Likewise.
16285 (__arch_add_body): Likewise.
16286 (atomic_add_negative): Likewise.
16287 (atomic_add_zero): Likewise.
16288
490df6c4
L
162892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16290
c2722551 16291 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16292 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16293
5e52b189
L
162942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16295
16296 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16297 Check __x86_64__ instead of __WORDSIZE.
16298
a9879d4c
L
162992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16300
16301 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16302
5df98260
DM
163032012-03-19 David S. Miller <davem@davemloft.net>
16304
e1497744
DM
16305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16306
5df98260
DM
16307 * sysdeps/sparc/fpu/fenv_private.h: New file.
16308 * sysdeps/sparc/fpu/math_private.h: Use it.
16309 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16310 Remove.
16311 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16312 (libc_feholdexcept_setroundl): Remove.
16313 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16314 Remove.
16315 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16316 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16317
b4c35121
L
163182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16321 int64_t instead of long int.
16322 (INSERT_WORDS64): Likwise.
16323
56965fd7
L
163242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16325
16326 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16327 _Unwind_GetCFA return to _Unwind_Ptr first.
16328
83d1aec8
JM
163292012-03-19 Joseph Myers <joseph@codesourcery.com>
16330
1897ad44
JM
16331 [BZ #13629]
16332 * math/s_clog.c: Include <float.h>.
16333 (__clog): Scale large or subnormal inputs.
16334 * math/s_clogf.c: Likewise.
16335 * math/s_clogl.c: Likewise.
16336 * math/s_clog10.c: Include <float.h>.
16337 (M_LOG10_2): Define.
16338 (__clog10): Scale large or subnormal inputs.
16339 * math/s_clog10f.c: Likewise.
16340 * math/s_clog10l.c: Likewise.
16341 * math/libm-test.inc (clog_test): Add more tests.
16342 (clog10_test): Likewise.
16343 * sysdeps/i386/fpu/libm-test-ulps: Update.
16344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16345
7726d6a9
JM
16346 [BZ #11451]
16347 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16348 x and y.
16349 * math/libm-test.inc (atan2_test): Add another test.
16350
83d1aec8
JM
16351 * Makerules (common-objdir-compile): Remove.
16352 * sysdeps/unix/Makefile (config-generated): Do not add
16353 $(unix-generated) to variable.
16354 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16355 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16356 Remove rule.
16357 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16358 Likewise.
16359 [generic bits/local_lim.h] (before-compile): Do not append to
16360 variable.
16361 [generic bits/local_lim.h] (common-generated): Likewise.
16362 [generic sys/param.h] (before-compile): Do not append to variable.
16363 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16364 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16365 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16366 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16367 include.
16368 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16369 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16370 [generic sys/param.h] ($(addprefix
16371 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16372 [generic sys/param.h] (common-generated): Do not append to
16373 variable.
16374 [generic sys/param.h] (sysdep_headers): Likewise.
16375 [generic bits/errno.h] (before-compile): Do not append to
16376 variable.
16377 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16378 rule.
16379 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16380 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16381 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16382 [generic bits/errno.h] (common-generated): Do not append to
16383 variable.
16384 [generic bits/ioctls.h] (before-compile): Do not append to
16385 variable.
16386 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16387 rule.
16388 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16389 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16390 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16391 rule.
16392 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16393 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16394 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16395 [generic bits/ioctls.h] (common-generated): Do not append to
16396 variable.
16397 [generic sys/syscall.h] (syscall.h): Remove variable.
16398 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16399 rule.
16400 [generic sys/syscall.h] (before-compile): Do not append to
16401 variable.
16402 [generic sys/syscall.h] (common-generated): Likewise.
16403 * sysdeps/unix/errnos-tmpl.c: Remove file.
16404 * sysdeps/unix/errnos.awk: Likewise.
16405 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16406 * sysdeps/unix/ioctls.awk: Likewise.
16407 * sysdeps/unix/mk-local_lim.c: Likewise.
16408 * sysdeps/unix/snarf-ioctls: Likewise.
16409
4851a949
RH
164102012-03-19 Richard Henderson <rth@twiddle.net>
16411
bd37f2ee
RH
16412 * sysdeps/i386/fpu/fenv_private.h: New file.
16413 * sysdeps/i386/fpu/math_private.h: Use it.
16414 (math_opt_barrier, math_force_eval): Remove.
16415 (libc_feholdexcept_setround_53bit): Remove.
16416 (libc_feupdateenv_53bit): Remove.
16417 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16418 (math_opt_barrier, math_force_eval): Remove.
16419 (libc_feholdexcept): Remove.
16420 (libc_feholdexcept_setround): Remove.
16421 (libc_fetestexcept, libc_fesetenv): Remove.
16422 (libc_feupdateenv_test): Remove.
16423 (libc_feupdateenv, libc_feholdsetround): Remove.
16424 (libc_feresetround): Remove.
16425
d0adc922
RH
16426 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16427 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16428
0fe0f1f8
RH
16429 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16430 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16431 (libc_feupdateenv_testl): New.
16432 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16433 (libc_feupdateenv_testf): New.
16434 (libc_feupdateenv): Use libc_feupdateenv_test.
16435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16437
eb92c487
RH
16438 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16439 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16440 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16441 (libc_feresetround_noex): New.
16442 (libc_feresetround_noexf): New.
16443 (libc_feresetround_noexl): New.
16444 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16445 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16446 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16447 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16448 SET_RESTORE_ROUND.
16449 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16451 (__cos): Likewise.
16452 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16453 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16454 SET_RESTORE_ROUND_NOEX.
16455 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16456 SET_RESTORE_ROUND_NOEXF.
16457 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16458 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16459 (libc_feholdsetroundf): New.
16460 (libc_feresetround, libc_feresetroundf): New.
16461
7d2e8012
RH
16462 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16463 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16464 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16465
b4dabbb4
RH
16466 * sysdeps/generic/math_private.h: Include <fenv.h>.
16467 (default_libc_feholdexcept): New.
16468 (default_libc_feholdexcept_setround): New.
16469 (default_libc_fesetenv, default_libc_feupdateenv): New.
16470 (libc_feholdexcept): Only define if undefined.
16471 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16472 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16473 (libc_feholdexcept_setroundl): Likewise.
16474 (libc_feholdexcept_setround_53bit): Likewise.
16475 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16476 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16477 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16478 (libc_feupdateenv_53bit): Likewise.
16479 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16480 (libc_feholdexcept): Convert from macro to inline function.
16481 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16482 (libc_fesetenv, libc_feupdateenv): Likewise.
16483
4851a949
RH
16484 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16485 not previously defined.
16486 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16487 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16488 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16489 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16490 * sysdeps/ieee754/flt-32/math_private.h: New file.
16491 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16492 math_private.h below SET_FLOAT_WORD.
16493 (__isnan, __isinf_ns, __finite): Remove.
16494 (__isnanf, __isinf_nsf, __finitef): Remove.
16495
e79d442e
AS
164962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16497
16498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16499
90b80344
DM
165002012-03-17 David S. Miller <davem@davemloft.net>
16501
16502 [BZ #6471]
16503 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16504 for 2.16.
16505
edc21804
DM
165062012-03-16 David S. Miller <davem@davemloft.net>
16507
77e927af
DM
16508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16509 warnings.
16510
374976dd
DM
16511 [BZ #6471]
16512 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16513 properly.
16514 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16515 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16516 sysdep_routines when subdir is sysvipc.
16517 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16518 __getshmlba helper.
16519
edc21804
DM
16520 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16521
473c3ef3
L
165222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16523
16524 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16525 [__LP64__].
16526
eb0f39b6
L
165272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16528
16529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16530 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16531 (__lround): Renamed to ...
16532 (__llround): This. Replace long int with long long int.
16533 Define lround functions as aliases of llround functions.
16534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16535
6b6cd74b
L
165362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16537
16538 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16539 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16540 adresses to uintptr_t. Replace "long int" and "unsigned long
16541 int" with "greg_t" on va_arg.
16542
f1a77b01
L
165432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16544
16545 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16546 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16547
16548 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16549 Move e_machine check before EI_CLASS check. Handle x32
16550 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16551 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16552 SKIP_EM_IA_64 and include
16553 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16554
16555 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16556 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16557 (add_system_dir): New macro.
16558
16559 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16560 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16561
11b90b9f
JM
165622012-03-16 Joseph Myers <joseph@codesourcery.com>
16563
c36e1d23
JM
16564 [BZ #2551]
16565 [BZ #2552]
16566 [BZ #2553]
16567 [BZ #2554]
16568 [BZ #2562]
16569 [BZ #2563]
16570 [BZ #2565]
16571 [BZ #2566]
16572 [BZ #2576]
16573 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16574 (y0): Likewise.
16575 * math/w_j0f.c (j0f): Likewise.
16576 (y0f): Likewise.
16577 * math/w_j0l.c (__j0l): Likewise.
16578 (__y0l): Likewise.
16579 * math/w_j1.c (j1): Likewise.
16580 (y1): Likewise.
16581 * math/w_j1f.c (j1f): Likewise.
16582 (y1f): Likewise.
16583 * math/w_j1l.c (__j1l): Likewise.
16584 (__y1l): Likewise.
16585 * math/w_jn.c (jn): Likewise.
16586 (yn): Likewise.
16587 * math/w_jnf.c (jnf): Likewise.
16588 (ynf): Likewise.
16589 * math/w_jnl.c (__jnl): Likewise.
16590 (__ynl): Likewise.
16591 * math/libm-test.inc (j0_test): Add more tests.
16592 (j1_test): Likewise.
16593 (jn_test): Likewise. Add trailing semicolon to existing test.
16594 (y0_test): Likewise.
16595 (y1_test): Likewise.
16596 * sysdeps/i386/fpu/libm-test-ulps: Update.
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16598
11b90b9f
JM
16599 [BZ #13851]
16600 [BZ #13854]
16601 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16602 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16603 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16604 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16605 (__tanl): Set errno for infinite argument.
16606 * sysdeps/i386/fpu/mptan.c: Remove.
16607 * sysdeps/i386/fpu/s_tan.S: Likewise.
16608 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16609 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16610 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16611 * math/libm-test.inc (tan_test): Add more tests and enable more
16612 tests for double and long double.
16613 * sysdeps/i386/fpu/libm-test-ulps: Update.
16614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16615
6a1bd2a1
JK
166162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16617
16618 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16619 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16620
10a803e0
RM
166212012-03-16 Roland McGrath <roland@hack.frob.com>
16622
16623 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16624 * configure.in: Use it for both main tree and add-ons.
16625 * configure: Regenerated.
16626
f196c7f7
L
166272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16628
16629 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16630
8848d99d
JM
166312012-03-16 Joseph Myers <joseph@codesourcery.com>
16632
96cbe7f4
JM
16633 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16634 in comment.
16635
8848d99d
JM
16636 [BZ #13851]
16637 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16638 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16639 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16640 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16641 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16642 infinite argument.
16643 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16645 != 0 for prec == 2.
16646 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16647 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16648 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16649 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16650 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16651 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16652 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16653 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16654 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16655 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16656 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16657 * math/libm-test.inc (cos_test): Add more tests and enable more
16658 tests for long double.
16659 (sin_test): Likewise.
16660 (sincos_test): Likewise.
16661 * sysdeps/i386/fpu/libm-test-ulps: Update.
16662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16663
dd7f4703
DM
166642012-03-16 David S. Miller <davem@davemloft.net>
16665
16666 * sysdeps/sparc/fpu/math_private.h: New file.
16667
006f1daa
DM
166682012-03-15 David S. Miller <davem@davemloft.net>
16669
c0c83bc8
DM
16670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16671 file.
e6a62e18 16672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16674 file.
e6a62e18
DM
16675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16681 sysdep routines.
16682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16683
88cb87d9
DM
16684 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16685 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16686
006f1daa 16687 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16689 sparc-ifunc.h
006f1daa 16690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16692 Likewise.
16693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16694 Likewise.
006f1daa
DM
16695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16699 Likewise.
006f1daa
DM
16700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16705 Likewise.
16706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16707 Likewise.
006f1daa
DM
16708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16730 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16732
11e0098e
AS
167332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16734
16735 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16736 scaling.
16737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16738
e85b09d0
AJ
167392012-03-15 Andreas Jaeger <aj@suse.de>
16740
16741 [BZ #13852]
16742 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16743 ieee754/flt-32 implementation for sin, cos and sincos.
16744 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16745 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16746 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16747 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16748 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16749 ieee754/flt-32 implementation for tan.
16750
16751 * math/libm-test.inc (cos_test): Enable some large input tests for
16752 float as well
16753 (sin_test): Likewise.
16754 (sincos_test): Likewise.
16755 (tan_test): Add tests for large input.
16756
16757 * sysdeps/i386/fpu/libm-test-ulps: Update.
16758
81c64153
AJ
167592012-03-15 Andreas Jaeger <aj@suse.de>
16760
16761 [BZ #13658]
16762 * math/libm-test.inc (cos_test): Add more test cases.
16763 (sin_test): Likewise.
16764 (sincos_test): Likewise.
16765
7bbfa5c6
AJ
167662012-03-15 Andreas Jaeger <aj@suse.de>
16767
16768 [BZ #13837]
16769 * math/libm-test.inc (cos_test): Add a test case for large input
16770 value.
16771 (sin_test): Likewise.
16772 (sincos_test): Likewise.
16773
167742012-03-15 Andreas Jaeger <aj@suse.de>,
16775 Joseph Myers <joseph@codesourcery.com>
16776
16777 [BZ #13658]
0671f479 16778 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16779 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16780 * sysdeps/i386/fpu/branred.c: Likewise.
16781 * sysdeps/i386/fpu/dosincos.c: Likewise.
16782 * sysdeps/i386/fpu/mpa.c: Likewise.
16783 * sysdeps/i386/fpu/s_cos.S: Likewise.
16784 * sysdeps/i386/fpu/s_sin.S: Likewise.
16785 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16786 * sysdeps/i386/fpu/sincos32.c: Likewise.
16787
16788 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16789 Define.
16790 (libc_feupdateenv_53bit): Define.
16791 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16792 Define.
16793 (libc_feupdateenv_53bit): Define.
16794
16795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16796 53 bit (without extend i386 double precision).
16797
16798 * math/libm-test.inc (sincos_test): Add tests for large input.
16799 (sin): Likewise.
16800 (cos): Likewise.
16801
16802 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16803
9cad04ea
AS
168042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16805
16806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16807
f7062b9a
DM
168082012-03-15 David S. Miller <davem@davemloft.net>
16809
16810 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16811 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16812 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16813 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16826 file.
f7062b9a 16827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16829 file.
f7062b9a 16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16832 file.
f7062b9a 16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16835 file.
f7062b9a
DM
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16838 fmin/fmax sysdep routines.
16839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16840
7bd951ff
DM
168412012-03-14 David S. Miller <davem@davemloft.net>
16842
559398ab
DM
16843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16872 routines.
16873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16874 file.
559398ab 16875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16877 file.
559398ab 16878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16880 file.
559398ab 16881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16883 file.
559398ab 16884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16886 file.
559398ab 16887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16889 file.
16890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16891 file.
16892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16893 file.
16894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16895 file.
16896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16897 New file.
16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16899 file.
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16901 file.
559398ab 16902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16904 file.
559398ab 16905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16907 file.
559398ab 16908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16910 file.
559398ab 16911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16913 VIS3 routines.
559398ab
DM
16914
16915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16916 New file.
16917
5a1c1e32
DM
16918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16919
eae47a36
DM
16920 * sysdeps/sparc/configure.in: New file.
16921 * sysdeps/sparc/configure: Generate.
16922 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16923 * configure: Regenerate.
16924 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16925 * config.make.in (have-as-vis3): New.
16926 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16927 available use -Av9d instead of -Av9a.
16928 * sysdeps/sparc/sparc64/Makefile: Likewise.
16929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16931 New file.
16932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16933 file.
16934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16935 New file.
16936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16937 file.
eae47a36
DM
16938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16943
c0c83bc8
DM
16944 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16945 fzeros/fnegs to load 0x80000000 into a float register instead of
16946 using the stack.
7bd951ff
DM
16947 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16948
bd951ccb
JM
169492012-03-14 Joseph Myers <joseph@codesourcery.com>
16950
16951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16952 bits/syscall.h.
16953 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16954 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16955 ($(inst_includedir)/bits/syscall.h): Remove rule.
16956 ($(objpfx)bits/syscall.d): Include instead of
16957 $(objpfx)syscall-list.d.
16958 (generated): Change syscall-list.h and syscall-list.d to
16959 bits/syscall.h and bits/syscall.d.
16960
bb4e6db2
RM
169612012-03-14 Roland McGrath <roland@hack.frob.com>
16962
16963 [BZ #13846]
16964 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16965
aa4a2ae1
JM
169662012-03-14 Joseph Myers <joseph@codesourcery.com>
16967
e456826d
JM
16968 [BZ #13841]
16969 * math/s_csqrt.c: Include <float.h>.
16970 (__csqrt): Scale large or subnormal inputs.
16971 * math/s_csqrtf.c: Likewise.
16972 * math/s_csqrtl.c: Likewise.
16973 * math/libm-test.inc (csqrt_test): Add more tests.
16974 * sysdeps/i386/fpu/libm-test-ulps: Update.
16975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16976
aa4a2ae1
JM
16977 [BZ #13840]
16978 * math/libm-test.inc (hypot_test): Add more tests.
16979
7c10fd35
DM
169802012-03-13 David S. Miller <davem@davemloft.net>
16981
16982 [BZ #13840]
16983 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16984 double-precision for the calculation instead of scaling.
16985
f453b98b
JM
169862012-03-13 Joseph Myers <joseph@codesourcery.com>
16987
16988 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16989 manipulate bits before adding and subtracting TWO52[sx].
16990 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16991 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16992 Likewise.
16993 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16994
09a3453f
DM
169952012-03-13 David S. Miller <davem@davemloft.net>
16996
8e59da90
DM
16997 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16998 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17000 rtld-global-offsets.h
17001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17002
2a8ab7f2
DM
17003 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17004 large parameters.
17005
10f62770
DM
17006 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17007
5f0bdb18
DM
17008 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17009 'err' in the ifdef scope in which it is actually used.
17010
09a3453f
DM
17011 * nss/nss_db/db-init.c: Include string.h
17012
b4b2eb5e
DM
170132012-03-12 David S. Miller <davem@davemloft.net>
17014
98bb2f1c
DM
17015 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17016 masking out of the most significant byte of random value used.
17017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17018 Fix coding style in previous change.
17019
b4b2eb5e
DM
17020 * sysdeps/unix/sysv/linux/kernel-features.h
17021 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17022 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17023 expression.
17024 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17025 later.
17026
6e226b09
DM
170272012-03-11 David S. Miller <davem@davemloft.net>
17028
a1bcbd40
DM
17029 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17030 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17032 for 'resultvar' otherwise things get truncated on 64-bit.
17033
cb9d6174
DM
17034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17035 Fix masking out of the most significant byte of random value used.
17036
6e226b09
DM
17037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17038
058c132d
AS
170392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17040
17041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17042
2d2cd515
DM
170432012-03-09 David S. Miller <davem@davemloft.net>
17044
17045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17046 variables with appropriate CPP guards.
17047 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17048 frame pointer, not the stack pointer. Correct layout comments. Fix test
17049 on resulting framesize and the management of the outregs buffer for pltexit.
17050 Preserve floating point return values across _dl_call_pltexit call.
17051 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17052 framesize and the management of the outregs buffer for pltexit.
17053 Preserve floating point return values across _dl_call_pltexit
17054 call.
17055 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17056 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17057 (print_exit): Fix format string for return register value.
17058
9a07f9d0
JM
170592012-03-10 Joseph Myers <joseph@codesourcery.com>
17060
17061 * sunrpc/Makefile (others): Add rpcgen.
17062 ($(objpfx)rpcgen): Remove special build rule and dependency on
17063 libc.
17064 * sunrpc/rpcgen.c: New file.
17065
547b5e30
PE
170662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17067
c524201a
PE
17068 [BZ #13673]
17069 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17070 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17071 * sysdeps/i386/crti.S: Likewise.
17072 * sysdeps/i386/crtn.S: Likewise.
17073 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17074 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17075 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17076 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17077 * sysdeps/sh/crti.S: Likewise.
17078 * sysdeps/sh/crtn.S: Likewise.
17079 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17080
7b6235f2
PE
17081 [BZ #13673]
17082 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17083 with URL.
17084 * locale/programs/locfile-kw.gperf: Likewise.
17085 * locale/programs/charmap-kw.h: Regenerated.
17086 * locale/programs/locfile-kw.h: Likewise.
17087
547b5e30
PE
17088 [BZ #13673]
17089 * intl/plural.y: Replace FSF snail mail address with URL.
17090 * intl/plural.c: Regenerated.
17091
5f0a5dae
RH
170922012-03-09 Richard Henderson <rth@twiddle.net>
17093
17094 * include/math_private.h: Remove file.
17095 * math/math_private.h: Move file ...
17096 * sysdeps/generic/math_private.h: ... here.
17097
b8c03620
RH
17098 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17099 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17100 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17101
4e234f5d 17102 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17103 and <math_private.h>.
17104 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17105 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17106 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17107 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17108 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17137 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17191 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17192 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17195 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17197 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17198 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17199 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17200 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17201 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17202 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17203 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17204 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17205 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17206 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17207 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17209 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17210 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17211 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17212 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17214 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17215 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17216 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17217 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17218 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17219 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17220 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17221 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17222 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17223 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17224 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17225 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17227 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17228 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17229 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17231 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17232 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17233 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17234 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17235 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17236 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17237 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17238 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17239 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17240 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17241 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17242 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17243 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17244 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17245 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17246 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17247 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17248 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17249 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17250 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17251 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17252 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17253 * sysdeps/ieee754/k_standard.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17369 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17373 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17374 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17376 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17381 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17386 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17402 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17403 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17404 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17408 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17414 * sysdeps/ieee754/s_lib_version.c: Likewise.
17415 * sysdeps/ieee754/s_matherr.c: Likewise.
17416 * sysdeps/ieee754/s_signgam.c: Likewise.
17417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17419 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17420 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17421 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17422 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17423 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17424 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17425 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17426 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17427 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17428 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17429 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17430 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17431 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17432 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17433 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17434 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17438
1991fa03
JM
174392012-03-09 Joseph Myers <joseph@codesourcery.com>
17440
17441 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17442 * sunrpc/rpc_main.c: Likewise.
17443 * sunrpc/rpc_svcout.c: Likewise.
17444
60d6f5a6
DM
174452012-03-09 David S. Miller <davem@davemloft.net>
17446
17447 * include/math_private.h: New file.
17448
4962050e
JM
174492012-03-09 Joseph Myers <joseph@codesourcery.com>
17450
02a6f887
JM
17451 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17452 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17453 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17454 from <bits/socket_type.h>.
17455 (enum __socket_type): Don't define here.
17456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17458 bits/socket_type.h.
17459
c6e013c1
JM
17460 [BZ #13566]
17461 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17462 checking __USE_GNU.
17463
4962050e
JM
17464 * Makerules ($(inst_includedir)/%.h): New rule.
17465 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17466 (install-others): Remove variable setting.
17467 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17468
38842f45
RH
174692012-03-08 Richard Henderson <rth@twiddle.net>
17470
67bb6da6
RH
17471 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17472 from macro to inline function; merge with the
17473 !__LIBC_INTERNAL_MATH_INLINES version.
17474 (__ieee754_sqrtf): Likewise.
17475
15194b4b
RH
17476 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17477 to inline function.
17478 (__rintf, __floor, __floorf): Likewise.
17479
64e21ede
RH
17480 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17481 macro to inline function.
17482 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17483
38842f45
RH
17484 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17485 not <math/math_private.h>.
17486
c64bf5fe
DM
174872012-03-08 David S. Miller <davem@davemloft.net>
17488
17489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17490 copyright year.
17491 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17492
82d86f28
TS
174932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17494
17495 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17496 normalization.
17497 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17498 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17499
aea5d727
UD
175002012-03-08 Ulrich Drepper <drepper@gmail.com>
17501
17502 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17503 be defined individually, they must be defined as a block. Define
17504 S for printing a string instead of hidint the different by using a
17505 macro for adding the 'l'.
17506 * stdio-common/tst-fphex-wide.c: Adjust.
17507
70bca0a3
MP
175082012-03-07 Marek Polacek <polacek@redhat.com>
17509
17510 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17511
65b81130
MP
175122012-03-08 Marek Polacek <polacek@redhat.com>
17513
17514 [BZ #13806]
17515 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17516 * stdio-common/tst-fphex.c: Define a few macros to make the
17517 test reusable. Use them.
17518 * stdio-common/tst-fphex-wide.c: New file.
17519
07037eeb
JM
175202012-03-08 Joseph Myers <joseph@codesourcery.com>
17521
a7a93d50
JM
17522 [BZ #6911]
17523 * manual/macros.texi (gnusystems): New macro.
17524 (nongnusystems): Likewise.
17525 (gnulinuxhurdsystems): Likewise.
17526 (gnuhurdsystems): Likewise..
17527 (gnulinuxsystems): Likewise.
17528 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17529 variants of the GNU system, not "GNU system".
17530 * manual/conf.texi: Likewise.
17531 * manual/errno.texi: Likewise. Update example of errno macro
17532 expansion.
17533 * manual/filesys.texi: Likewise.
17534 (getumask): Document as specific to GNU/Hurd.
17535 * manual/install.texi: Likewise. Reword some references to
17536 GNU/Linux.
17537 * manual/intro.texi: Likewise.
17538 * manual/io.texi: Likewise.
17539 (File Name Portability): Detail which constraints are inapplicable
17540 to all GNU systems and which are only inapplicable to GNU/Hurd.
17541 * manual/job.texi: Likewise.
17542 * manual/llio.texi: Likewise.
17543 (O_NOCTTY): Document as present on GNU/Linux.
17544 * manual/maint.texi: Likewise.
17545 * manual/memory.texi: Likewise.
17546 * manual/pattern.texi: Likewise.
17547 * manual/pipe.texi: Likewise.
17548 * manual/process.texi: Likewise.
17549 * manual/resource.texi: Likewise.
17550 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17551 child on GNU/Hurd.
17552 * manual/setjmp.texi: Likewise.
17553 * manual/signal.texi: Likewise.
17554 * manual/startup.texi: Likewise.
17555 * manual/stdio.texi: Likewise.
17556 * manual/terminal.texi: Likewise.
17557 (ONLCR): Document as POSIX.
17558 (OXTABS): Document availability on GNU/Linux as XTABS.
17559 (ONOEOT): Document availability separately from other bits.
17560 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17561 * manual/time.texi: Likewise.
17562 * manual/users.texi: Likewise.
17563 * INSTALL: Regenerated.
17564 * sysdeps/gnu/errlist.c: Regenerated.
17565
07037eeb
JM
17566 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17567 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17568 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17569 puts.
17570 * configure: Regenerated.
17571
d1d3431a
JM
175722012-03-07 Joseph Myers <joseph@codesourcery.com>
17573
af6a1e37
JM
17574 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17575 default includes instead of AC_HEADER_CHECK.
17576 * sysdeps/i386/configure: Regenerated.
17577
d1d3431a
JM
17578 [BZ #10716]
17579 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17580 * math/s_cacoshf.c (__cacoshf): Likewise.
17581 * math/s_cacoshl.c (__cacoshl): Likewise.
17582 * math/s_casinh.c (__casinh): Set signs of result from argument.
17583 * math/s_casinhf.c (__casinhf): Likewise.
17584 * math/s_casinhl.c (__casinhl): Likewise.
17585 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17586 (casinh_test): Add more tests.
17587 * sysdeps/i386/fpu/libm-test-ulps: Update.
17588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17589
482ff4da
UD
175902012-03-07 Ulrich Drepper <drepper@gmail.com>
17591
872fda05
UD
17592 * po/zh_TW.po: Update from translation team.
17593
a4300c7a
UD
17594 * login/Makefile (distribute): Remove variable.
17595 * catgets/Makefile: Likewise.
17596 * mach/Makefile: Likewise.
17597 * malloc/Makefile: Likewise.
17598 * misc/Makefile: Likewise.
17599 * iconv/Makefile: Likewise.
17600 * nscd/Makefile: Likewise.
17601 * hurd/Makefile: Likewise.
17602 * manual/Makefile: Likewise.
17603 * locale/Makefile: Likewise.
17604 * intl/Makefile: Likewise.
17605 * conform/Makefile: Likewise.
17606 * nss/Makefile: Likewise.
17607 * time/Makefile: Likewise.
17608 * soft-fp/Makefile: Likewise.
17609 * dirent/Makefile: Likewise.
17610 * gmon/Makefile: Likewise.
17611 * po/Makefile: Likewise.
17612 * rt/Makefile: Likewise.
17613 * socket/Makefile: Likewise.
17614 * math/Makefile: Likewise.
17615 * signal/Makefile: Likewise.
17616 * debug/Makefile: Likewise.
17617 * elf/Makefile: Likewise.
17618 * timezone/Makefile: Likewise.
17619 * stdlib/Makefile: Likewise.
17620 * iconvdata/Makefile: Likewise.
17621 * sunrpc/Makefile: Likewise.
17622 * io/Makefile: Likewise.
17623 * argp/Makefile: Likewise.
17624 * inet/Makefile: Likewise.
17625 * hesiod/Makefile: Likewise.
17626 * grp/Makefile: Likewise.
17627 * csu/Makefile: Likewise.
17628 * wctype/Makefile: Likewise.
17629 * crypt/Makefile: Likewise.
17630 * libio/Makefile: Likewise.
17631 * string/Makefile: Likewise.
17632 * nis/Makefile: Likewise.
17633 * resolv/Makefile: Likewise.
17634 * stdio-common/Makefile: Likewise.
17635 * wcsmbs/Makefile: Likewise.
17636 * dlfcn/Makefile: Likewise.
17637 * posix/Makefile: Likewise.
17638
3b7c4e74 17639 [BZ #6959]
482ff4da
UD
17640 * timezone/Makefile: Don't install timezone files, just the programs
17641 and scripts.
17642
f72ed77d
UD
176432012-03-06 Ulrich Drepper <drepper@gmail.com>
17644
a000466f
UD
17645 * nss/databases.def: Add missing gshadow entry.
17646
f72ed77d
UD
17647 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17648
a53b7a4e
MP
176492012-03-06 Marek Polacek <polacek@redhat.com>
17650
17651 [BZ #13726]
17652 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17653 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17654 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17655 * stdio-common/tst-long-dbl-fphex.c: New file.
17656
e9258400
DM
176572012-03-06 David S. Miller <davem@davemloft.net>
17658
17659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17660 (set_obp_int): New function.
17661 (get_obp_int): New function.
17662 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17663 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17664 Avoid unused variable warnings on 'val' and use builtin_expect.
17665 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17666 __builtin_expect.
e9258400
DM
17667 (INLINE_CLONE_SYSCALL): Likewise.
17668
3bd2c723
DM
176692012-03-05 David S. Miller <davem@davemloft.net>
17670
17671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17672
bbb78d03
AS
176732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17674
884c5db4
AS
17675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17676
bbb78d03
AS
17677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17678 only for |x| >= 40.
17679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17680
1c9f702a 176812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17682
17683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17684 Replace gettimeofday with __vdso_gettimeofday.
17685
7be16f82
RM
17686 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17687 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17688 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17689
17690 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17691 time with __vdso_time.
17692
ed58a00f
JM
176932012-03-05 Joseph Myers <joseph@codesourcery.com>
17694
17695 * manual/lang.texi (size_t): Note types to which size_t may be
17696 equivalent with the GNU C Library, but do not describe when
17697 differences between them are significant.
17698
30ee4ced
AJ
176992012-03-05 Andreas Jaeger <aj@suse.de>
17700
17701 * sysdeps/i386/fpu/libm-test-ulps: Update.
17702
b7cd39e8
JM
177032012-03-05 Joseph Myers <joseph@codesourcery.com>
17704
17705 [BZ #3976]
17706 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17707 (__ieee754_pow): Save and restore rounding mode and use
17708 round-to-nearest for main computations.
17709 * math/libm-test.inc (pow_test_tonearest): New function.
17710 (pow_test_towardzero): Likewise.
17711 (pow_test_downward): Likewise.
17712 (pow_test_upward): Likewise.
17713 (main): Call the new functions.
17714 * sysdeps/i386/fpu/libm-test-ulps: Update.
17715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17716
17717 [BZ #3976]
17718 * math/libm-test.inc (cosh_test_tonearest): New function.
17719 (cosh_test_towardzero): Likewise.
17720 (cosh_test_downward): Likewise.
17721 (cosh_test_upward): Likewise.
17722 (sinh_test_tonearest): Likewise.
17723 (sinh_test_towardzero): Likewise.
17724 (sinh_test_downward): Likewise.
17725 (sinh_test_upward): Likewise.
17726 (main): Call the new functions.
17727 * sysdeps/i386/fpu/libm-test-ulps: Update.
17728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729
6c6a98c9
TV
177302012-03-05 Tom de Vries <tom@codesourcery.com>
17731
17732 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17733 default stack guard is set in last bytes.
17734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17735
21bb2d2e 177362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17737
21bb2d2e 17738 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17739
21bb2d2e
AJ
17740 [BZ #13656]
17741 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17742 possibly allocate from heap instead of stack.
17743 * stdio-common/bug-vfprintf-nargs.c: New file.
17744 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17745
c6922934
AS
177462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17747
17748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17749
bc957d53
MP
177502012-03-03 Marek Polacek <polacek@redhat.com>
17751
17752 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17753 * math/math_private.h: Likewise.
17754 * stdlib/tst-strtod.c: Likewise.
17755 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17756 * sysdeps/x86_64/bits/atomic.h: Likewise.
17757
6358490d
DM
177582012-03-02 David S. Miller <davem@davemloft.net>
17759
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17766 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17768
01ae168d
RM
177692012-03-02 Roland McGrath <roland@hack.frob.com>
17770
d9a17c07
RM
17771 [BZ #13792]
17772 * manual/examples/README: New file, says the example source files
17773 can be used under GPL>=2.
17774 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17775 line containing just "*/".
17776 * manual/examples/add.c: Add copyright header (GPL>=2).
17777 * manual/examples/argp-ex1.c: Likewise.
17778 * manual/examples/argp-ex2.c: Likewise.
17779 * manual/examples/argp-ex3.c: Likewise.
17780 * manual/examples/argp-ex4.c: Likewise.
17781 * manual/examples/atexit.c: Likewise.
17782 * manual/examples/db.c: Likewise.
17783 * manual/examples/dir.c: Likewise.
17784 * manual/examples/dir2.c: Likewise.
17785 * manual/examples/execinfo.c: Likewise.
17786 * manual/examples/filecli.c: Likewise.
17787 * manual/examples/filesrv.c: Likewise.
17788 * manual/examples/fmtmsgexpl.c: Likewise.
17789 * manual/examples/genpass.c: Likewise.
17790 * manual/examples/inetcli.c: Likewise.
17791 * manual/examples/inetsrv.c: Likewise.
17792 * manual/examples/isockad.c: Likewise.
17793 * manual/examples/longopt.c: Likewise.
17794 * manual/examples/memopen.c: Likewise.
17795 * manual/examples/memstrm.c: Likewise.
17796 * manual/examples/mkfsock.c: Likewise.
17797 * manual/examples/mkisock.c: Likewise.
17798 * manual/examples/mygetpass.c: Likewise.
17799 * manual/examples/pipe.c: Likewise.
17800 * manual/examples/popen.c: Likewise.
17801 * manual/examples/rprintf.c: Likewise.
17802 * manual/examples/search.c: Likewise.
17803 * manual/examples/select.c: Likewise.
17804 * manual/examples/setjmp.c: Likewise.
17805 * manual/examples/sigh1.c: Likewise.
17806 * manual/examples/sigusr.c: Likewise.
17807 * manual/examples/stpcpy.c: Likewise.
17808 * manual/examples/strdupa.c: Likewise.
17809 * manual/examples/strftim.c: Likewise.
17810 * manual/examples/strncat.c: Likewise.
17811 * manual/examples/subopt.c: Likewise.
17812 * manual/examples/swapcontext.c: Likewise.
17813 * manual/examples/termios.c: Likewise.
17814 * manual/examples/testopt.c: Likewise.
17815 * manual/examples/testpass.c: Likewise.
17816 * manual/examples/timeval_subtract.c: Likewise.
17817
01ae168d
RM
17818 [BZ #13792]
17819 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17820 function to ...
17821 * manual/timeval_subtract.c.texi: ... here, new file.
17822
49efa33d
DM
178232012-03-02 David S. Miller <davem@davemloft.net>
17824
17825 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17826
28afd92d
JM
178272012-03-02 Joseph Myers <joseph@codesourcery.com>
17828
804360ed
JM
17829 [BZ #3976]
17830 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17831 (__sin): Save and restore rounding mode and use round-to-nearest
17832 for all computations.
17833 (__cos): Save and restore rounding mode and use round-to-nearest
17834 for all computations.
17835 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17836 <fenv.h>.
17837 (tan): Save and restore rounding mode and use round-to-nearest for
17838 all computations.
17839 * math/libm-test.inc (cos_test_tonearest): New function.
17840 (cos_test_towardzero): Likewise.
17841 (cos_test_downward): Likewise.
17842 (cos_test_upward): Likewise.
17843 (sin_test_tonearest): Likewise.
17844 (sin_test_towardzero): Likewise.
17845 (sin_test_downward): Likewise.
17846 (sin_test_upward): Likewise.
17847 (tan_test_tonearest): Likewise.
17848 (tan_test_towardzero): Likewise.
17849 (tan_test_downward): Likewise.
17850 (tan_test_upward): Likewise.
17851 (main): Call the new functions.
17852 * sysdeps/i386/fpu/libm-test-ulps: Update.
17853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17854
a6d06d7b
JM
17855 [BZ #10135]
17856 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17857 small n, then large n, before computing and testing k+n.
17858 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17859 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17860 Likewise.
17861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17862 Likewise.
17863 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17864 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17871 * math/libm-test.inc (scalbn_test): Add more tests.
17872 (scalbln_test): Likewise.
17873
07e12bb3
JM
17874 * manual/filesys.texi (mode_t): Describe constraints on size and
17875 signedness, not exact equivalence to a particular type.
17876 (ino_t): Likewise.
17877 (ino64_t): Likewise.
17878 (dev_t): Likewise.
17879 (nlink_t): Likewise.
17880 (blkcnt_t): Likewise.
17881 (blkcnt64_t): Likewise.
17882 * manual/llio.texi (off_t): Likewise.
17883
28afd92d
JM
17884 [BZ #3976]
17885 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17886 (__ieee754_exp): Save and restore rounding mode and use
17887 round-to-nearest for all computations.
17888 * math/libm-test.inc (exp_test_tonearest): New function.
17889 (exp_test_towardzero): Likewise.
17890 (exp_test_downward): Likewise.
17891 (exp_test_upward): Likewise.
17892 (main): Call the new functions.
17893 * sysdeps/i386/fpu/libm-test-ulps: Update.
17894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17895
b1eeb65d
CD
178962012-03-01 Chris Demetriou <cgd@google.com>
17897
17898 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17899 have predictable order.
17900
53362a4b
DM
179012012-03-01 David S. Miller <davem@davemloft.net>
17902
3c969083
DM
17903 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17904
759707de
DM
17905 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17906 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17907 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17908 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17909
dfdb8ff2
DM
17910 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17911 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17912 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17914 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17915 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17916 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17917 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17918 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17919
ead89f96
DM
17920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17921
7f66bd07
DM
17922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17923 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17925
53362a4b
DM
17926 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17927 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17929 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17930 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17933 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17934 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17935 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17936 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17940 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17942 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17943 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17944 * sysdeps/sparc/elf/configure: Regenerated.
17945
7b1902cb
JM
179462012-03-01 Joseph Myers <joseph@codesourcery.com>
17947
bec039bc
JM
17948 * configure.in (AS, LD): Require binutils 2.20 or later.
17949 * configure: Regenerated.
17950 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17951 as required minimum version.
17952 * INSTALL: Regenerated.
17953
7b1902cb
JM
17954 [BZ #2541]
17955 [BZ #4108]
17956 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17957 before squaring exponent.
17958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17959 bottom long double and 27 bits of top long double before squaring
17960 exponent.
17961 * math/libm-test.inc (erfc_test): Add more tests.
17962 * sysdeps/i386/fpu/libm-test-ulps: Update.
17963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17965
f775c276
KT
179662012-03-01 Kai Tietz <ktietz@redhat.com>
17967
17968 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17969 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17970 containing bit-fields.
17971 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17972 * soft-fp/single.h (_FP_UNION_S): Likewise.
17973 * soft-fp/double.h (_FP_UNION_D): Likewise.
17974
5b8a4d4a
JM
179752012-02-29 Joseph Myers <joseph@codesourcery.com>
17976
0bab47b6
JM
17977 [BZ #13786]
17978 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17979 not include ../strcmp.S.
17980 [USE_AS_STRNCASECMP_L]: Likewise.
17981 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17982 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17983 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17984 (__strncasecmp_l_ia32): Define as alias to
17985 __strncasecmp_l_nonascii.
17986
0fcad3e2
JM
17987 [BZ #5794]
17988 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17989 * sysdeps/i386/fpu/libm-test-ulps: Update.
17990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17991
5b8a4d4a
JM
17992 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17994
8fdceb2e
JL
179952012-02-29 Jeff Law <law@redhat.com>
17996
17997 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17998 out of bounds read.
17999
1f393a11
MP
180002012-02-29 Marek Polacek <polacek@redhat.com>
18001
18002 [BZ #13706]
18003 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18004 * elf/Makefile: Add rules to run tst-unused-dep.out.
18005
8847f037
DM
180062012-02-28 David S. Miller <davem@davemloft.net>
18007
18008 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18009 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18012 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18013 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18014
169d7f11
JM
180152012-02-29 Joseph Myers <joseph@codesourcery.com>
18016
18017 * math/libm-test.inc (llround_test): Move one test from
18018 lround_test. Use TEST_f_L in moved test.
18019 (lround_test): Move misplaced test to llround_test. Add testcase
18020 from bug 2561.
18021
39adf059
UD
180222012-02-28 Ulrich Drepper <drepper@gmail.com>
18023
18024 * sysdeps/x86_64/fpu/e_expf.S: New file.
18025 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18026
71b5d1c5
SB
180272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18028
18029 [BZ #13637]
18030 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18031 of remain_len that may cause incomplete multi-byte character and
18032 false match.
18033 * posix/bug-regex33.c: New file.
18034 * posix/Makefile (tests): Add bug-regex33.
18035
1f77f049
JM
180362012-02-28 Joseph Myers <joseph@codesourcery.com>
18037
18038 * manual/macros.texi: New file.
18039 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18040 * manual/libc.texinfo: Include macros.texi.
18041 * manual/creatute.texi: Likewise.
18042 * manual/install.texi: Likewise.
18043 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18044 @glibcadj{} in references to the GNU C Library.
18045 * manual/charset.texi: Likewise.
18046 * manual/conf.texi: Likewise.
18047 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18048 when not using those macros.
18049 * manual/creature.texi: Likewise.
18050 * manual/crypt.texi: Likewise.
18051 * manual/errno.texi: Likewise.
18052 * manual/filesys.texi: Likewise.
18053 * manual/header.texi: Likewise.
18054 * manual/install.texi: Likewise.
18055 * manual/intro.texi: Likewise.
18056 * manual/io.texi: Likewise.
18057 * manual/job.texi: Likewise.
18058 * manual/lang.texi: Likewise.
18059 * manual/libc.texiinfo: Likewise.
18060 * manual/llio.texi: Likewise.
18061 * manual/locale.texi: Likewise.
18062 * manual/maint.texi: Likewise.
18063 * manual/math.texi: Likewise.
18064 * manual/memory.texi: Likewise.
18065 * manual/message.texi: Likewise.
18066 * manual/nss.texi: Likewise.
18067 * manual/pattern.texi: Likewise.
18068 * manual/process.texi: Likewise.
18069 * manual/resource.texi: Likewise.
18070 * manual/search.texi: Likewise.
18071 * manual/setjmp.texi: Likewise.
18072 * manual/signal.texi: Likewise.
18073 * manual/socket.texi: Likewise.
18074 * manual/startup.texi: Likewise.
18075 * manual/stdio.texi: Likewise.
18076 * manual/string.texi: Likewise.
18077 * manual/sysinfo.texi: Likewise.
18078 * manual/syslog.texi: Likewise.
18079 * manual/terminal.texi: Likewise.
18080 * manual/time.texi: Likewise.
18081 * manual/users.texi: Likewise.
18082 * INSTALL: Regenerated.
18083 * NOTES: Regenerated.
d40c5d54 18084 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18085
450bf206
AS
180862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18087
18088 * include/dirent.h: Include <dirstream.h> before
18089 <dirent/dirent.h>.
18090
741a235b
DM
180912012-02-28 David S. Miller <davem@davemloft.net>
18092
18093 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18094 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18095 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18096 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18097
d6b5aa58
DM
180982012-02-27 David S. Miller <davem@davemloft.net>
18099
1aff59a3
DM
18100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18102 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18103 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18104
d6b5aa58
DM
18105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18106 frame pointer instead of stack pointer relative arg slot.
18107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18110
433f48bf
CD
181112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18112
18113 [BZ #3992]
18114 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18115
d674b76d
DM
181162012-02-27 David S. Miller <davem@davemloft.net>
18117
18118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18122 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18123 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18124 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18125 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18126
0e7727f7
JM
181272012-02-27 Joseph Myers <joseph@codesourcery.com>
18128
18129 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18130 later. Allow versions 5-9.
43be4ca2 18131 * configure: Regenerated.
0e7727f7
JM
18132 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18133 required minimum version and 4.6 as recommended version. Do not
18134 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18135 * INSTALL: Regenerated.
0e7727f7 18136
a78bc654
DM
181372012-02-27 David S. Miller <davem@davemloft.net>
18138
428d5830
DM
18139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18145 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18146 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18147
a78bc654
DM
18148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18149 manipulate bits before adding and subtracting TWO112[sx].
18150 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18151
4579f81c
RM
181522012-02-27 Roland McGrath <roland@hack.frob.com>
18153
36c8acb4
RM
18154 [BZ #13775]
18155 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18156 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18157 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18158 being in POSIX, because they are in 1003.1-2008.
18159
84ad622b
RM
18160 * rt/tst-aio.c: Include <fcntl.h>.
18161 * rt/tst-aio7.c: Likewise.
18162 * rt/tst-aio64.c: Likewise.
18163
4579f81c
RM
18164 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18165
abd923db
JM
181662012-02-27 Joseph Myers <joseph@codesourcery.com>
18167
18168 * manual/install.texi (--with-headers): Describe headers as
18169 interface headers, not private headers.
18170 (Specific advice for GNU/Linux systems): Describe use of headers
18171 from "make headers_install", not private headers from older
18172 kernels.
43be4ca2 18173 * INSTALL: Regenerated.
abd923db
JM
18174 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18175 Change to 2.6.19.
18176 * sysdeps/unix/sysv/linux/configure: Regenerated.
18177
6664049b
JM
18178 * manual/llio.texi (fclean): Remove documentation.
18179
bb8b6697
JM
18180 * manual/Makefile (libc-texi-generated): New variable. Include
18181 version.texi.
18182 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18183 $(libc-texi-generated), not duplicated list of files.
18184 (version.texi, stamp-version): New rules.
18185 (realclean): Remove $(libc-texi-generated), not individual files
18186 from that list. Do not remove dir-add.texinfo.
18187 * manual/libc.texinfo: Comment out uses of edition numbers and
18188 references to printed manual. Remove last-updated dates.
18189 (EDITION): Comment out.
18190 (ISBN): Likewise.
18191 (VERSION, UPDATED): Remove.
18192 (version.texi): Include.
18193
12e5c3b9
AS
181942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18195
18196 * sysdeps/posix/spawni.c: Include <signal.h>.
18197 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18198 * sysdeps/pthread/aio_fsync.c: Likewise.
18199
4efeffc1 182002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18201
ba63ba08
UD
18202 * conform/Makefile (tests): Run only when not cross-compiling and
18203 when fast-check is not defined.
18204
d94a4670
UD
18205 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18206 * conform/data/limits.h-data: Fixes for POSIX2008.
18207 * conform/run-conformtest.sh: Run all tests.
18208 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18209 headers.
18210 * include/bits/dlfcn.h: Likewise.
18211 * include/langinfo.h: Likewise.
18212 * include/monetary.h: Likewise.
18213 * include/sys/poll.h: Likewise.
18214
18215 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18216 for __USE_GNU.
18217 * posix/spawn.h: Define __need_sigset_t.
18218 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18219 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18220 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18221 to get sigevent_t only.
18222 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18223 only for __USE_GNU.
18224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18225 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18226 process_vm_writev only for __USE_GNU.
18227 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18228
18229 * conform/Makefile: For now ignore errors from run-conformtest.
18230 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18231 POSIX to avoid namespace pollution. Don't prepend headers.
18232 * conform/data/aio.h-data: Fixes for POSIX testing.
18233 * conform/data/fcntl.h-data: Likewise.
18234 * conform/data/glob.h-data: Likewise.
18235 * conform/data/grp.h-data: Likewise.
18236 * conform/data/pthread.h-data: Likewise.
18237 * conform/data/pwd.h-data: Likewise.
18238 * conform/data/signal.h-data: Likewise.
18239 * conform/data/spawn.h-data: Likewise.
18240 * conform/data/stdio.h-data: Likewise.
18241 * conform/data/stdlib.h-data: Likewise.
18242 * conform/data/stropts.h-data: Likewise.
18243 * conform/data/sys/mman.h-data: Likewise.
18244 * conform/data/sys/stat.h-data: Likewise.
18245 * conform/data/sys/types.h-data: Likewise.
18246 * conform/data/sys/wait.h-data: Likewise.
18247 * conform/data/time.h-data: Likewise.
18248 * conform/data/unistd.h-data: Likewise.
18249 * conform/data/utime.h-data: Likewise.
18250
18251 * io/sys/stat.h: fchmod was always in POSIX.
18252 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18253 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18254 * rt/aio.h: Define __need_timespec before including <time.h>.
18255 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18256 struct. Add forward declaration of pthread_attr_t and use it in
18257 sigevent.
18258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18260 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18261 always remove CLK_TCK definition.
18262
c20105c3
AS
182632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18264
18265 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18266
7a270350
UD
182672012-02-25 Ulrich Drepper <drepper@gmail.com>
18268
31341567
UD
18269 * conform/run-conformtest.sh: New file.
18270 * conform/Makefile: Run run-conformtest for tests.
18271 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18272 support.
18273
18274 * conform/data/uchar.h-data: New file.
18275 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18276 * conform/data/arpa/inet.h-data: Likewise.
18277 * conform/data/assert.h-data: Likewise.
18278 * conform/data/complex.h-data: Likewise.
18279 * conform/data/cpio.h-data: Likewise.
18280 * conform/data/ctype.h-data: Likewise.
18281 * conform/data/dirent.h-data: Likewise.
18282 * conform/data/dlfcn.h-data: Likewise.
18283 * conform/data/errno.h-data: Likewise.
18284 * conform/data/fcntl.h-data: Likewise.
18285 * conform/data/float.h-data: Likewise.
18286 * conform/data/fmtmsg.h-data: Likewise.
18287 * conform/data/fnmatch.h-data: Likewise.
18288 * conform/data/ftw.h-data: Likewise.
18289 * conform/data/glob.h-data: Likewise.
18290 * conform/data/grp.h-data: Likewise.
18291 * conform/data/iconv.h-data: Likewise.
18292 * conform/data/inttypes.h-data: Likewise.
18293 * conform/data/langinfo.h-data: Likewise.
18294 * conform/data/libgen.h-data: Likewise.
18295 * conform/data/limits.h-data: Likewise.
18296 * conform/data/locale.h-data: Likewise.
18297 * conform/data/math.h-data: Likewise.
18298 * conform/data/monetary.h-data: Likewise.
18299 * conform/data/mqueue.h-data: Likewise.
18300 * conform/data/ndbm.h-data: Likewise.
18301 * conform/data/net/if.h-data: Likewise.
18302 * conform/data/netdb.h-data: Likewise.
18303 * conform/data/netinet/in.h-data: Likewise.
18304 * conform/data/nl_types.h-data: Likewise.
18305 * conform/data/poll.h-data: Likewise.
18306 * conform/data/pthread.h-data: Likewise.
18307 * conform/data/pwd.h-data: Likewise.
18308 * conform/data/regex.h-data: Likewise.
18309 * conform/data/sched.h-data: Likewise.
18310 * conform/data/search.h-data: Likewise.
18311 * conform/data/semaphore.h-data: Likewise.
18312 * conform/data/setjmp.h-data: Likewise.
18313 * conform/data/signal.h-data: Likewise.
18314 * conform/data/spawn.h-data: Likewise.
18315 * conform/data/stdarg.h-data: Likewise.
18316 * conform/data/stdio.h-data: Likewise.
18317 * conform/data/stdlib.h-data: Likewise.
18318 * conform/data/string.h-data: Likewise.
18319 * conform/data/strings.h-data: Likewise.
18320 * conform/data/stropts.h-data: Likewise.
18321 * conform/data/sys/ipc.h-data: Likewise.
18322 * conform/data/sys/mman.h-data: Likewise.
18323 * conform/data/sys/msg.h-data: Likewise.
18324 * conform/data/sys/resource.h-data: Likewise.
18325 * conform/data/sys/select.h-data: Likewise.
18326 * conform/data/sys/sem.h-data: Likewise.
18327 * conform/data/sys/shm.h-data: Likewise.
18328 * conform/data/sys/socket.h-data: Likewise.
18329 * conform/data/sys/stat.h-data: Likewise.
18330 * conform/data/sys/statvfs.h-data: Likewise.
18331 * conform/data/sys/time.h-data: Likewise.
18332 * conform/data/sys/timeb.h-data: Likewise.
18333 * conform/data/sys/times.h-data: Likewise.
18334 * conform/data/sys/types.h-data: Likewise.
18335 * conform/data/sys/uio.h-data: Likewise.
18336 * conform/data/sys/un.h-data: Likewise.
18337 * conform/data/sys/utsname.h-data: Likewise.
18338 * conform/data/sys/wait.h-data: Likewise.
18339 * conform/data/syslog.h-data: Likewise.
18340 * conform/data/tar.h-data: Likewise.
18341 * conform/data/termios.h-data: Likewise.
18342 * conform/data/utime.h-data: Likewise.
18343 * conform/data/utmpx.h-data: Likewise.
18344 * conform/data/varargs.h-data: Likewise.
18345 * conform/data/wchar.h-data: Likewise.
18346 * conform/data/wctype.h-data: Likewise.
18347 * conform/data/wordexp.h-data: Likewise.
18348
18349 * include/stropts.h: New file.
18350 * include/uchar.h: New file.
18351 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18352 * include/assert.h: Likewise.
18353 * include/ctype.h: Likewise.
18354 * include/dirent.h: Likewise.
18355 * include/dlfcn.h: Likewise.
18356 * include/fcntl.h: Likewise.
18357 * include/fnmatch.h: Likewise.
18358 * include/glob.h: Likewise.
18359 * include/grp.h: Likewise.
18360 * include/libio.h: Likewise.
18361 * include/locale.h: Likewise.
18362 * include/math.h: Likewise.
18363 * include/net/if.h: Likewise.
18364 * include/netdb.h: Likewise.
18365 * include/netinet/in.h: Likewise.
18366 * include/pthread.h: Likewise.
18367 * include/pwd.h: Likewise.
18368 * include/regex.h: Likewise.
18369 * include/sched.h: Likewise.
18370 * include/search.h: Likewise.
18371 * include/setjmp.h: Likewise.
18372 * include/signal.h: Likewise.
18373 * include/stdio.h: Likewise.
18374 * include/stdlib.h: Likewise.
18375 * include/string.h: Likewise.
18376 * include/sys/cdefs.h: Likewise.
18377 * include/sys/mman.h: Likewise.
18378 * include/sys/msg.h: Likewise.
18379 * include/sys/resource.h: Likewise.
18380 * include/sys/select.h: Likewise.
18381 * include/sys/socket.h: Likewise.
18382 * include/sys/stat.h: Likewise.
18383 * include/sys/statvfs.h: Likewise.
18384 * include/sys/time.h: Likewise.
18385 * include/sys/times.h: Likewise.
18386 * include/sys/uio.h: Likewise.
18387 * include/sys/utsname.h: Likewise.
18388 * include/sys/wait.h: Likewise.
18389 * include/termios.h: Likewise.
18390 * include/time.h: Likewise.
18391 * include/ulimit.h: Likewise.
18392 * include/unistd.h: Likewise.
18393 * include/utime.h: Likewise.
18394 * include/wchar.h: Likewise.
18395 * include/wctype.h: Likewise.
18396 * include/wordexp.h: Likewise.
18397
18398 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18399
7a270350
UD
18400 * time/time.h: TIME_UTC must be a macro.
18401 Make timespec_get available for ISO C11 only as well.
18402
7724defc
UD
184032012-02-24 Ulrich Drepper <drepper@gmail.com>
18404
18405 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18406 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18407
6b1d1d46
JM
184082012-02-24 Joseph Myers <joseph@codesourcery.com>
18409
18410 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18411
0f8bbd69
JM
184122012-02-24 Joseph Myers <joseph@codesourcery.com>
18413
18414 * manual/texinfo.tex: Update to version 2012-01-19.16.
18415
66ab80bc
JM
184162012-02-24 Joseph Myers <joseph@codesourcery.com>
18417
18418 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18419
74981cc5
RM
184202012-02-24 Roland McGrath <roland@hack.frob.com>
18421
ee968201
RM
18422 [BZ #13738]
18423 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18424 * manual/fdl-1.3.texi: New file.
18425 * manual/fdl-1.1.texi: File removed.
18426
74981cc5
RM
18427 [BZ #13738]
18428 * manual/libc.texinfo (FDL_VERSION): New @set.
18429 Use it for mention of FDL in cover text.
18430 (Documentation License): Use it in @include file name.
18431
7bb764bc
JM
184322012-02-22 Joseph Myers <joseph@codesourcery.com>
18433 Roland McGrath <roland@hack.frob.com>
18434
18435 [BZ #5461]
18436 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18437 not LONG_LONG_MAX and LONG_LONG_MIN.
18438 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18439 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18440 name.
18441 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18442
6cbeae47
JM
184432012-02-22 Joseph Myers <joseph@codesourcery.com>
18444
18445 [BZ #2547]
18446 [BZ #11365]
18447 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18448 manipulate bits before adding and subtracting TWO23[sx].
18449 * math/libm-test.inc (nearbyint_test): Add more tests.
18450
fe45ce09
JM
184512012-02-22 Joseph Myers <joseph@codesourcery.com>
18452
18453 [BZ #2548]
18454 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18455 bits before adding and subtracting TWO23[sx].
18456 * math/libm-test.inc (rint_test): Add more tests.
18457 (rint_test_tonearest): Likewise.
18458 (rint_test_towardzero): Likewise.
18459 (rint_test_downward): Likewise.
18460 (rint_test_upward: Likewise.
18461
ff3b3d82
JM
184622012-02-22 Joseph Myers <joseph@codesourcery.com>
18463
18464 [BZ #10110]
18465 * include/stdc-predef.h: New file. Extracted from features.h.
18466 * include/features.h: Include stdc-predef.h.
18467 * Makefile (headers): Add stdc-predef.h.
18468 * CONFORMANCE (Compiler limitations): Update.
18469
ef0aab35
JM
184702012-02-22 Joseph Myers <joseph@codesourcery.com>
18471
18472 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18473
58639409
DM
184742012-02-21 David S. Miller <davem@davemloft.net>
18475
18476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18477 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18478
c0e70b25
DM
184792012-02-20 David S. Miller <davem@davemloft.net>
18480
18481 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18482 using a normal save/restore sequence, rather than allocating a
18483 dummy stack frame just to store a frame pointer and restore.
18484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18485
fb06851d
JM
184862012-02-21 Joseph Myers <joseph@codesourcery.com>
18487
18488 * manual/install.texi: Fix stray word in line-wrapped comment.
18489
7a8b71c3
DM
184902012-02-20 David S. Miller <davem@davemloft.net>
18491
d510c123
DM
18492 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18493 both binutils and gcc support GOTDATA.
18494
0722d7c2
DM
18495 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18496 "rd %pc" in the PIC register setup sequences.
18497
3d2b3019
DM
18498 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18499 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18500 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18501 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18502 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18504 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18507 (SYSCALL_ERROR_HANDLER): Likewise.
18508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18509 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18511 (SYSCALL_ERROR_HANDLER): Likewise.
18512
c80098a9
DM
18513 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18514 (HAVE_GCC_GOTDATA): New.
18515 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18516 relocation support in both binutils and gcc.
18517 * sysdeps/sparc/elf/configure: Regenerate.
18518
3a2545a0
DM
18519 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18520 * sysdeps/sparc/sparc32/elf/configure: Delete.
18521 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18522 * sysdeps/sparc/sparc64/elf/configure: Delete.
18523 * sysdeps/sparc/elf/configure.in: New file.
18524 * sysdeps/sparc/elf/configure: Generate.
18525
7a8b71c3
DM
18526 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18527 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18528 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18529 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18530 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18531
f1e86fca
JM
185322012-02-21 Joseph Myers <joseph@codesourcery.com>
18533
18534 * manual/install.texi: Do not mention specific glibc version
18535 numbers.
18536 * manual/libc.texinfo (VERSION, UPDATED): Update.
18537 (@copying): Use @copyright{} and range of years.
18538
0e7dfaef
JM
185392012-02-21 Joseph Myers <joseph@codesourcery.com>
18540
18541 [BZ #13695]
18542 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18543 [crti.S not in sysdirs] (generated): Do not append.
18544 [crti.S not in sysdirs] (omit-deps): Likewise.
18545 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18546 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18547 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18548 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18549 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18550 Likewise.
18551 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18552 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18553 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18554 * csu/defs.awk: Remove file.
18555 * sysdeps/generic/initfini.c: Likewise.
18556 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18557 variable.
18558 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18559 Likewise.
18560
599af3ca
JM
185612012-02-20 Joseph Myers <joseph@codesourcery.com>
18562
18563 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18564 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18566 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18568 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18569 <bits/epoll.h>.
18570 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18571 (__EPOLL_PACKED): Define to empty if not defined by
18572 <bits/epoll.h>.
18573 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18575 bits/epoll.h.
18576
0e499750
JM
185772012-02-20 Joseph Myers <joseph@codesourcery.com>
18578
18579 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18580 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18581 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18582 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18583 <bits/timerfd.h>.
18584 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18586 bits/timerfd.h.
18587
5ad91f6e
JM
185882012-02-20 Joseph Myers <joseph@codesourcery.com>
18589
18590 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18591 in C locale.
18592 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18593 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18596
06b99b02
AJ
185972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18598
18599 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18600 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18601
7638c0fd
AS
186022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18603
18604 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18605 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18606 defined.
18607 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18608 Likewise.
18609 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18610 entry for 2.16.
18611
92221550
AJ
186122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18613
18614 * math/w_acos.c: Use non-signaling floating-point comparisons.
18615 * math/w_acosf.c: Likewise.
18616 * math/w_acosh.c: Likewise.
18617 * math/w_acoshf.c: Likewise.
18618 * math/w_acoshl.c: Likewise.
18619 * math/w_acosl.c: Likewise.
18620 * math/w_asin.c: Likewise.
18621 * math/w_asinf.c: Likewise.
18622 * math/w_asinl.c: Likewise.
18623 * math/w_atanh.c: Likewise.
18624 * math/w_atanhf.c: Likewise.
18625 * math/w_atanhl.c: Likewise.
18626 * math/w_exp2.c: Likewise.
18627 * math/w_exp2f.c: Likewise.
18628 * math/w_exp2l.c: Likewise.
18629 * math/w_j0.c: Likewise.
18630 * math/w_j0f.c: Likewise.
18631 * math/w_j0l.c: Likewise.
18632 * math/w_j1.c: Likewise.
18633 * math/w_j1f.c: Likewise.
18634 * math/w_j1l.c: Likewise.
18635 * math/w_jn.c: Likewise.
18636 * math/w_jnf.c: Likewise.
18637 * math/w_log.c: Likewise.
18638 * math/w_log10.c: Likewise.
18639 * math/w_log10f.c: Likewise.
18640 * math/w_log10l.c: Likewise.
18641 * math/w_log2.c: Likewise.
18642 * math/w_log2f.c: Likewise.
18643 * math/w_log2l.c: Likewise.
18644 * math/w_logf.c: Likewise.
18645 * math/w_logl.c: Likewise.
18646 * math/w_sqrt.c: Likewise.
18647 * math/w_sqrtf.c: Likewise.
18648 * math/w_sqrtl.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18652 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18653 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18654
ebaf36eb
JM
186552012-02-19 Joseph Myers <joseph@codesourcery.com>
18656
18657 [BZ #9739]
18658 * manual/string.texi (strnlen): Use correct parameter name in
18659 equivalent expression.
18660
71c254a6
JM
186612012-02-19 Joseph Myers <joseph@codesourcery.com>
18662
18663 [BZ #11174]
18664 * manual/users.texi (seteuid): Consistently use neweuid for
18665 argument name.
18666
16d2c631
JM
186672012-02-19 Joseph Myers <joseph@codesourcery.com>
18668
18669 [BZ #13704]
18670 * manual/nss.texi (Services in the NSS configuration): Correct
18671 list of services in example configuration file.
18672
cd837b09
NB
186732012-02-19 Nick Bowler <nbowler@draconx.ca>
18674
18675 [BZ #11322]
18676 * manual/arith.texi: Remove statements about negative zero
18677 behaving identically to zero.
18678
02c4bbad
JM
186792012-02-18 Joseph Myers <joseph@codesourcery.com>
18680
18681 [BZ #5993]
18682 * manual/install.texi: Do not document upgrading from libc5.
18683
366842e7
JM
186842012-02-18 Joseph Myers <joseph@codesourcery.com>
18685
18686 [BZ #4596]
18687 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18688
dd54084d
DM
186892012-02-18 David S. Miller <davem@davemloft.net>
18690
18691 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18692 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18693 %o7 across the call.
18694 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18695 instead.
18696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18697 SETUP_PIC_REG_LEAF.
18698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18699 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18700 * sysdeps/sparc/crtn.S: Likewise.
18701
2bcc53a3
UD
187022012-02-17 Ulrich Drepper <drepper@gmail.com>
18703
18704 * aout/Makefile: Remove.
18705
09c093b5
RK
187062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18707
18708 [BZ #13058]
18709 * manual/examples/argp-ex1.c (main): Format definition in GNU
18710 style.
18711 * manual/examples/argp-ex2.c (main): Likewise.
18712 * manual/examples/argp-ex3.c (main): Likewise.
18713 * manual/examples/argp-ex4.c (main): Likewise.
18714 * manual/examples/longopt.c (main): Use new-style prototype
18715 definition.
18716 * manual/examples/strncat.c (main): Specify return type and use
18717 (void) for arguments.
18718 * manual/examples/subopt.c (main): Use char **argv argument.
18719
2ee633a2
JM
187202012-02-17 Joseph Myers <joseph@codesourcery.com>
18721
18722 [BZ #5077]
18723 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18724 rounding modes.
18725
0520adde
FB
187262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18727
18728 [BZ #6907]
18729 * manual/string.texi (strchr): Change when strchrnul is
18730 recommended.
18731
3f4081cd
DGM
187322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18733
18734 [BZ #174]
18735 * manual/locale.texi (setlocale): Document LOCPATH.
18736
d1b10e78
JM
187372012-02-17 Joseph Myers <joseph@codesourcery.com>
18738
18739 [BZ #10210]
18740 * manual/process.texi (execle): Move @dots{} before last argument.
18741
79c6869c
PB
187422012-02-17 Paul Bolle <pebolle@tiscali.nl>
18743
18744 [BZ #12047]
18745 * manual/charset.texi (Generic Charset Conversion): Fix typo
18746 (LC_TYPE -> LC_CTYPE).
18747
cc6e48bc
NB
187482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18749
18750 [BZ #5805]
18751 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18752 (scalbnf): Likewise.
18753 (scalbnl): Likewise.
18754 (scalbln): Likewise.
18755 (scalblnf): Likewise.
18756 (scalblnl): Likewise.
18757 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18758 (vwarnx): Likewise.
18759 (verr): Likewise.
18760 (verrx): Likewise.
18761 * manual/filesys.texi (telldir): Use braces around return type.
18762 * manual/llio.texi (mmap): Add space after comma.
18763 (mmap64): Likewise.
18764 * manual/math.texi (jn): Use @var{} on parameter names.
18765 (jnf): Likewise.
18766 (jnl): Likewise.
18767 (yn): Likewise.
18768 (ynf): Likewise.
18769 (ynl): Likewise.
18770 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18771 line.
18772 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18773 "...".
18774 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18775 (sched_get_priority_max): Likewise.
18776 * manual/signal.texi (sigvec): Add space after comma.
18777 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18778 names.
18779 (if_indextoname): Likewise.
18780 (if_freenameindex): Likewise.
18781 (sendto): Use ',' instead of '.' in prototype.
18782 * manual/startup.texi (syscall): Use @dots{} instead of literal
18783 "...".
18784 * manual/stdio.texi (__fpending): Separate initial words of
18785 paragraph from @deftypefun line.
18786 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18787 "...".
18788 (vsyslog): Use @var{} on parameter names.
18789 * manual/terminal.texi (stty): Use @var{} on parameter names.
18790 * manual/users.texi (getutmp): Use @var{} on parameter names.
18791 (getutmpx): Likewise.
18792
5b23062f
JM
187932012-02-17 Joseph Myers <joseph@codesourcery.com>
18794
18795 [BZ #6884]
18796 * manual/stdio.texi (fopen): Fix typos in description of
18797 ",ccs=STRING".
18798
8dee4833
AJ
187992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18800
18801 [BZ #4026]
18802 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18803 get clock_id definition.
18804
9078ce93
TS
188052012-02-17 Thomas Schwinge <thomas@schwinge.name>
18806
18807 [BZ #4822]
18808 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18809 (madvise): Cast every argument to void on its own.
18810
3835c55f
JM
188112012-02-17 Joseph Myers <joseph@codesourcery.com>
18812
18813 [BZ #9902]
18814 * manual/startup.texi (Exit Status): Fix typo.
18815
35c47e37
JM
188162012-02-17 Joseph Myers <joseph@codesourcery.com>
18817
18818 [BZ #10140]
18819 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18820 * manual/examples/argp-ex2.c: Likewise.
18821 * manual/examples/argp-ex3.c: Likewise.
18822
e3b69ca7
RH
188232012-02-16 Richard Henderson <rth@redhat.com>
18824
18825 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18826 * sysdeps/s390/s390-32/initfini.c: Remove.
18827 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18828 * sysdeps/s390/s390-64/initfini.c: Remove.
18829
df83af67
KK
188302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18831
18832 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18833 compiler output for sysdeps/generic/initfini.c.
18834 * sysdeps/sh/elf/initfini.c: Remove file.
18835
f63f3380
DM
188362012-02-16 David S. Miller <davem@davemloft.net>
18837
fb59b3a4
DM
18838 [BZ #11494]
18839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18840
f63f3380
DM
18841 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18842 * sysdeps/sparc/crti.S: New file.
18843 * sysdeps/sparc/crtn.S: New file.
18844 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18845 * sysdeps/sparc/sparc64/Makefile: Likewise.
18846
df6a4a4a
MF
188472012-02-15 Mike Frysinger <vapier@gentoo.org>
18848
6dd8f3dc 18849 [BZ #3335]
df6a4a4a
MF
18850 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18851
1cac7236
RM
188522012-02-15 Roland McGrath <roland@hack.frob.com>
18853
d2c736f8
RM
18854 [BZ #4822]
18855 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18856
1cac7236
RM
18857 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18858 (write, read, close): Likewise.
18859 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18860
8e475601
JM
188612012-02-15 Joseph Myers <joseph@codesourcery.com>
18862
18863 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18864 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18865 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18866 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18867 <bits/signalfd.h>.
18868 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18870 bits/signalfd.h.
18871
ed656b40
MP
188722012-02-14 Marek Polacek <polacek@redhat.com>
18873
18874 * sysdeps/x86_64/crti.S: New file.
18875 * sysdeps/x86_64/crtn.S: New file.
18876 * sysdeps/x86_64/elf/initfini.c: Remove file.
18877
2a979d3a
JM
188782012-02-13 Joseph Myers <joseph@codesourcery.com>
18879
18880 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18881 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18883 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18884 <bits/inotify.h>.
18885 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18887 bits/inotify.h.
18888
2a418ac3
JM
188892012-02-13 Joseph Myers <joseph@codesourcery.com>
18890
18891 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18892 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18893 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18894 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18895 <bits/eventfd.h>.
18896 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18898 bits/eventfd.h.
18899
fb779be7
TS
189002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18901
e19e83c5
RM
18902 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18903 __feraiseexcept instead of feraiseexcept.
7c35ffed 18904
fb779be7
TS
18905 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18906 nanosleep invocations.
18907 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18908 strings, and add error checking for a nanosleep invocations.
18909
59ba27a6
PE
189102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18911
18912 Replace FSF snail mail address with URLs, as per GNU coding standards.
18913 Most of the snail mail addresses were wrong anyway, and omitting
18914 them makes the source code easier to maintain. Almost all of the
18915 changes are to license notices and to locale LC_IDENTIFICATION
18916 addresses, except for this one:
18917 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18918 not its snail mail address.
18919
57b957eb
RH
189202012-02-09 Richard Henderson <rth@twiddle.net>
18921
af850b1c
RH
18922 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18923 of kernel-features.h.
18924
57b957eb
RH
18925 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18926
6b73181a
MP
189272012-02-08 Marek Polacek <polacek@redhat.com>
18928
18929 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18930 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18931 * sysdeps/gnu/_G_config.h: Likewise.
18932 * sysdeps/generic/_G_config.h: Likewise.
18933
26ecc33a
AS
189342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18935
6c6dbc63
AS
18936 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18937 tests.
18938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18939
e216c012
AS
18940 * sysdeps/powerpc/powerpc32/crti.S: New file.
18941 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18942 * sysdeps/powerpc/powerpc64/crti.S: New file.
18943 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18944
26ecc33a
AS
18945 * Makeconfig (have-initfini): Don't set.
18946 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18947 * configure.in (nopic_initfini): Don't substitute.
18948 * config.h.in (HAVE_INITFINI): Don't #undef.
18949 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18950 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18951
3add8e13
JM
189522012-02-08 Joseph Myers <joseph@codesourcery.com>
18953
18954 Support crti.S and crtn.S provided directly by architectures.
18955 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18956 [crti.S in sysdirs] (omit-deps): Likewise.
18957 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18958 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18959 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18960 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18961 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18962 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18963 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18964 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18965 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18966 compiler output for sysdeps/generic/initfini.c.
18967 * sysdeps/i386/elf/Makefile: Remove file.
18968 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18969
a22f12b4
MP
189702012-02-07 Marek Polacek <polacek@redhat.com>
18971
18972 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18973 * sysdeps/gnu/_G_config.h: Likewise.
18974 * sysdeps/mach/hurd/_G_config.h: Likewise.
18975
148cf100
MP
189762012-02-07 Marek Polacek <polacek@redhat.com>
18977
18978 * math/Makefile (tests): Add tst-CMPLX2.
18979 * math/tst-CMPLX2.c: New file.
18980
cfdc0dd7
AS
189812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18982
84ba42c4
AS
18983 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18984
cfdc0dd7
AS
18985 * math/libm-test.inc (jn_test): Add missing L suffix.
18986
622c86f4
MP
189872012-02-06 Marek Polacek <polacek@redhat.com>
18988
18989 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18990 * sysdeps/i386/fpu/e_powf.S: Likewise.
18991 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18992 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18993 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18994 * sysdeps/i386/fpu/e_pow.S: Likewise.
18995 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18996 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18997 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18998 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18999 * sysdeps/i386/fpu/e_log2.S: Likewise.
19000 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19001 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19002 * sysdeps/i386/fpu/e_powl.S: Likewise.
19003 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19004 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19005 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19006 * sysdeps/i386/fpu/e_logl.S: Likewise.
19007 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19008 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19009 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19010 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19011 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19012 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19013 * sysdeps/i386/fpu/e_log.S: Likewise.
19014 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19016 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19017 * sysdeps/i386/fpu/e_logf.S: Likewise.
19018 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19019 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19020 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19021 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19022 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19023 * sysdeps/i386/fpu/e_log10.S: Likewise.
19024 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19025 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19026 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19027 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19029 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19030 * sysdeps/i386/asm-syntax.h: Likewise.
19031 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19032 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19033 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19034 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19035 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19036 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19037 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19038 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19039 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19040 * sysdeps/powerpc/sysdep.h: Likewise.
19041 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19042 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19043
d4a54ac6
JM
190442012-02-06 Joseph Myers <joseph@codesourcery.com>
19045
19046 [BZ #411]
19047 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19048
314054ea
JM
190492012-02-06 Joseph Myers <joseph@codesourcery.com>
19050
19051 * sysdeps/i386/sysdep.h: Include <features.h>.
19052 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19053 version.
19054
d8e0ca50
JM
190552012-02-05 Joseph Myers <joseph@codesourcery.com>
19056
19057 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19058 Define.
19059 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19060 LOAD_PIC_REG_STR.
19061
b1da7dd9
JM
190622012-02-03 Joseph Myers <joseph@codesourcery.com>
19063
19064 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19065 (SETUP_PIC_REG): Use GET_PC_THUNK.
19066 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19067 macro.
19068
9a1d9254
JM
190692012-02-03 Joseph Myers <joseph@codesourcery.com>
19070
19071 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19072 for non-PIC compilation.
19073 (SETUP_PIC_REG): Add .p2align directive.
19074 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19075 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19076 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19077 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19078 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19079 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19080 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19082 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19083 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19084 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19085 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19086 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19087 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19089 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19090 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19091 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19092 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19093 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19096 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19097 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19102 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19103 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19104 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19105 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19106 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19107 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19108 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19109 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19110 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19112 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19113 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19114 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19115
65dc3b75
JM
191162012-02-03 Joseph Myers <joseph@codesourcery.com>
19117
19118 * math/tst-CMPLX.c: Include <stdio.h>.
19119
d55bf177
JM
191202012-01-31 Joseph Myers <joseph@codesourcery.com>
19121
19122 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19123 float.
19124 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19125 * sysdeps/sparc/bits/mathdef.h: Likewise.
19126
69db4f8f
MP
191272012-01-31 Marek Polacek <polacek@redhat.com>
19128
19129 * libio/libio.h: Don't define _PARAMS.
19130 * locale/programs/config.h: Don't define PARAMS.
19131 * stdlib/strtol_l.c: Likewise.
19132 (__strtol_l): Remove PARAMS from the prototype.
19133
41b81892
UD
191342012-01-31 Ulrich Drepper <drepper@gmail.com>
19135
3b49edc0
UD
19136 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19137 names. Just use the correct names. Remove unnecessary wrapper
19138 functions.
19139 * malloc/arena.c: Likewise.
19140 * malloc/hooks.c: Likewise.
19141
41b81892
UD
19142 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19143 ARENA_TEST says not to. Simplify test for creation of a new arena.
19144 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19145
27a25b6e
UD
191462012-01-30 Ulrich Drepper <drepper@gmail.com>
19147
19148 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19149 into tail calls.
19150 (update_get_addr): New function.
19151 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19152 GET_ADDR_MODULE parameter.
19153
c8a89e7d
JM
191542012-01-30 Joseph Myers <joseph@codesourcery.com>
19155
19156 * crypt/cert.c: Remove __STDC__ conditionals.
19157 * crypt/crypt-entry.c: Likewise.
19158 * crypt/crypt_util.c: Likewise.
19159 * libio/filedoalloc.c: Likewise.
19160 * libio/fileops.c: Likewise.
19161 * libio/genops.c: Likewise.
19162 * libio/iofclose.c: Likewise.
19163 * libio/iofdopen.c: Likewise.
19164 * libio/iofopen.c: Likewise.
19165 * libio/iofopen64.c: Likewise.
19166 * libio/iogetdelim.c: Likewise.
19167 * libio/iopopen.c: Likewise.
19168 * libio/obprintf.c: Likewise.
19169 * libio/oldfileops.c: Likewise.
19170 * libio/oldiofclose.c: Likewise.
19171 * libio/oldiofdopen.c: Likewise.
19172 * libio/oldiofopen.c: Likewise.
19173 * libio/oldiopopen.c: Likewise.
19174 * libio/wfiledoalloc.c: Likewise.
19175 * libio/wgenops.c: Likewise.
19176 * locale/programs/xmalloc.c: Likewise.
19177 * misc/syslog.c: Likewise.
19178 * stdio-common/xbug.c: Likewise.
19179 * string/memchr.c: Likewise.
19180 * string/memcmp.c: Likewise.
19181 * string/memrchr.c: Likewise.
19182 * string/rawmemchr.c: Likewise.
19183 * sysdeps/posix/getcwd.c: Likewise.
19184 * time/strftime_l.c: Likewise.
19185
3b100462
JM
191862012-01-30 Joseph Myers <joseph@codesourcery.com>
19187
19188 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19189 * config.make.in (config-cflags-sse2avx): Define.
19190 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19191 Fix typo.
19192
607998af
CM
191932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19194
19195 * scripts/config.guess: Update from upstream config git repository.
19196 * scripts/config.sub: Likewise.
19197
3601428f
CM
191982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19199
3ac8b282
CM
19200 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19201 (EM_NUM): Update.
19202 (R_TILEPRO_*, R_TILEGX_*): New macros.
19203
e034841e
CM
19204 * scripts/firstversions.awk: Fix bug in version range handling.
19205
540d7568
CM
19206 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19207
3601428f
CM
19208 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19209
463de862
CM
19210 * include/sys/epoll.h: New file.
19211 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19212 libc_hidden_def.
19213
73139a76
UD
192142012-01-28 Ulrich Drepper <drepper@gmail.com>
19215
96bc5b45
UD
19216 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19217 Avoid unnecessary __WORDSIZE == 64 test.
19218 (fmaxf): Use VEX format if possible.
19219 (fmax): Likewise.
19220 (fminf): Likewise.
19221 (fmin): Likewise.
19222
56f6f6a2
UD
19223 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19224 * math/math_private.h: Remove libc_fegetround* and
19225 libc_fesetround*.
19226 * sysdeps/i386/configure.in: Check for -msse2avx.
19227 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19228 also if SSE2AVX is defined.
19229 Remove libc_fegetround* and libc_fesetround*.
19230 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19231 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19233 of HAS_YMM_USABLE.
19234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19235 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19236 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19238 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19239
73139a76
UD
19240 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19241
d73f93a4
AZ
192422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243
19244 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19245 size is not set.
19246 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19247
6ee65ed6
UD
192482012-01-27 Ulrich Drepper <drepper@gmail.com>
19249
19250 [BZ #13618]
19251 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19252 relocation.
19253 * Makeconfig (libm): Define.
19254 * elf/Makefile: Add rules to build and run tst-relsort1.
19255 * elf/tst-relsort1.c: New file.
19256 * elf/tst-relsort1mod1.c: New file.
19257 * elf/tst-relsort1mod2.c: New file.
19258
8db21882
JM
192592012-01-27 Joseph Myers <joseph@codesourcery.com>
19260
19261 * math/s_ldexp.c: Remove __STDC__ conditionals.
19262 * math/s_ldexpf.c: Likewise.
19263 * math/s_ldexpl.c: Likewise.
19264 * math/s_nextafter.c: Likewise.
19265 * math/s_nexttowardf.c: Likewise.
19266 * math/s_significand.c: Likewise.
19267 * math/s_significandf.c: Likewise.
19268 * math/s_significandl.c: Likewise.
19269 * math/w_jnl.c: Likewise.
19270 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19271 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19272 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19273 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19274 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19276 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19282 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19283 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19284 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19289 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19290 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19291 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19292 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19294 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19295 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19296 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19297 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19298 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19299 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19300 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19302 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19304 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19310 * sysdeps/ieee754/k_standard.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19360 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19361 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19364 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19372 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19373 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19377 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19381 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19383 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19385 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19386 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19387 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19390 * sysdeps/ieee754/s_matherr.c: Likewise.
19391 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19392 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19395
965a54a4
JM
193962012-01-26 Joseph Myers <joseph@codesourcery.com>
19397
19398 * crypt/md5.h: Remove __STDC__ conditionals.
19399 * libio/libioP.h: Likewise.
19400 * locale/programs/config.h: Likewise.
19401 * sysdeps/generic/sysdep.h: Likewise.
19402 * sysdeps/i386/asm-syntax.h: Likewise.
19403 * sysdeps/s390/asm-syntax.h: Likewise.
19404 * sysdeps/unix/sysdep.h: Likewise.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19407
7071ad79
JM
194082012-01-26 Joseph Myers <joseph@codesourcery.com>
19409
19410 * libio/libio.h: Remove __STDC__ conditionals.
19411 * malloc/obstack.h: Likewise.
19412 * math/complex.h: Likewise.
19413 * math/math.h: Likewise.
19414 * sysdeps/generic/_G_config.h: Likewise.
19415 * sysdeps/gnu/_G_config.h: Likewise.
19416 * sysdeps/mach/hurd/_G_config.h: Likewise.
19417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19418 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19419 * sysdeps/sparc/bits/mathdef.h: Likewise.
19420
afc5ed09
UD
194212012-01-26 Ulrich Drepper <drepper@gmail.com>
19422
19423 [BZ #13583]
19424 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19425 Clean up HAS_* macros.
afc5ed09 19426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19427 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19428 possible.
19429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19430 HAS_AVX.
19431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19432 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19436
bdb6de1d
JM
194372012-01-25 Joseph Myers <joseph@codesourcery.com>
19438
19439 * elf/tst-unique3.cc (gets): Remove declaration.
19440 * elf/tst-unique3lib.cc (gets): Likewise.
19441 * elf/tst-unique3lib2.cc (gets): Likewise.
19442 * elf/tst-unique4.cc (gets): Likewise.
19443
b15549e6
UD
194442012-01-24 Ulrich Drepper <drepper@gmail.com>
19445
19446 * include/stdio.h: Add C++ protection. Add gets declarations and
19447 definitions.
19448 * debug/tst-chk1.c: Don't declare gets here.
19449 * stdio-common/tst-gets.c: Likewise.
19450
a037381f
JM
194512012-01-24 Joseph Myers <joseph@codesourcery.com>
19452
19453 * posix/glob: Remove directory.
19454
f1d4aa75
JM
194552012-01-24 Joseph Myers <joseph@codesourcery.com>
19456
19457 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19458
81c0c964
PT
194592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19460
19461 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19462 of the non-standard EPFNOSUPPORT.
19463
0ea698ae
ST
194642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19465
19466 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19467 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19468 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19469
d220b117
UD
194702012-01-21 Ulrich Drepper <drepper@gmail.com>
19471
19472 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19473
3e1aa84e
UD
194742012-01-20 Ulrich Drepper <drepper@gmail.com>
19475
19476 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19477 transient errors.
19478 * nscd/grpcache.c (cache_addgr): Likewise.
19479 * nscd/hstcache.c (cache_addhst): Likewise.
19480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19481 * nscd/pwdcache.c (cache_addpw): Likewise.
19482 * nscd/servicescache.c (cache_addserv): Likewise.
19483
400aa020
UD
194842012-01-16 Ulrich Drepper <drepper@gmail.com>
19485
d77e7869
UD
19486 * malloc/malloc.c: Various cleanups.
19487 * malloc/hooks.c: Likewise.
19488
400aa020
UD
19489 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19490 * stdlib/bug-fmtmsg1.c: New file.
19491
19492 * stdlib/fmtmsg.c (init): Add missing unlock.
19493 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19494
e0a309cf
MP
194952012-01-12 Marek Polacek <polacek@redhat.com>
19496
19497 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19498 and _GNU_SOURCE.
19499
929d11c7
WS
195002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19501
19502 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19503 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19504 macro to ensure uniqueness of label name.
19505 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19506 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19507
41d0e869
UD
195082012-01-11 Ulrich Drepper <drepper@gmail.com>
19509
0cc5ed3b
UD
19510 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19511
41d0e869
UD
19512 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19513 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19514 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19516
a47a831a
UD
195172012-01-10 Ulrich Drepper <drepper@gmail.com>
19518
daa891c0
UD
19519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19520
19521 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19522 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19523 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19524
e58ef0f2
UD
19525 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19526
a47a831a 19527 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19528 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19530 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19531
19532 * math/bits/math-finite.h: Add ldexp support.
19533
a0bfc9c7
MP
195342012-01-10 Marek Polacek <polacek@redhat.com>
19535
19536 * locale/programs/localedef.h (show_archive_content): Add noreturn
19537 attribute.
19538
d6e97a1d
UD
195392012-01-09 Ulrich Drepper <drepper@gmail.com>
19540
19541 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19542
d5835c26
UD
195432012-01-08 Ulrich Drepper <drepper@gmail.com>
19544
e5f484c6
UD
19545 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19546
d5835c26
UD
19547 * io/Makefile (headers): Add bits/poll2.h.
19548
d1f741e9
WS
195492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19550
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19552 typo #include statement.
19553
ec09c1c4
UD
195542012-01-08 Ulrich Drepper <drepper@gmail.com>
19555
19556 * include/sys/cdefs.h: Define __attribute_alloc_size.
19557 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19558 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19559 * elf/pldd.c: Likewise.
19560 * iconv/iconv_charmap.c: Likewise.
19561 * iconv/iconvconfig.c: Likewise.
19562 * iconv/strtab.c: Likewise.
19563 * locale/programs/locale.c: Likewise.
19564 * locale/programs/localedef.h: Likewise.
19565 * locale/programs/simple-hash.c: Likewise.
19566 * nscd/nscd.h: Likewise.
19567 * nss/makedb.c: Likewise.
19568 * sysdeps/generic/ldconfig.h: Likewise.
19569 * locale/programs/localedef.c: Remove xmalloc prototype.
19570 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19571
20b38e03
PP
195722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19573
19574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19575 appropriate.
19576
a0da5fe1
UD
195772012-01-08 Ulrich Drepper <drepper@gmail.com>
19578
1d5a644a 19579 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19580 * math/tst-CMPLX.c: New file.
1d5a644a 19581
8784a6db
UD
19582 * math/complex.h (CMPLXL): Fix typo.
19583
d9a216c0
UD
19584 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19585 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19586 GLIBC_2.16.
19587 * debug/tst-chk1.c: Add poll and ppoll tests.
19588 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19589 * include/sys/poll.h: Add hidden proto for ppoll.
19590 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19591 * sysdeps/mach/hurd/ppoll.c: Likewise.
19592 * io/ppoll.c: Likewise.
19593 * debug/poll_chk.c: New file.
19594 * debug/ppoll_chk.c: New file.
19595 * include/bits/poll2.h: New file.
19596 * io/bits/poll2.h: New file.
19597
ac097f5c
UD
19598 [BZ #1350]
19599 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19600
2119dcfa
UD
19601 * configure.in: static is always set to yes. Remove.
19602 * config.make.in: Don't set build-static.
19603 * Makeconfig: Remove use of build-static.
19604 * dlfcn/Makefile: Likewise.
19605 * elf/Makefile: Likewise.
19606 * math/Makefile: Likewise.
19607 * misc/Makefile: Likewise.
19608 * nptl/Makefile: Likewise.
19609 * sysdeps/mach/hurd/Makefile: Likewise.
19610
121766a9
UD
19611 * configure.in: PWD_P is not used anymore.
19612 * config.make.in: Remove PWD_P entry.
19613
51a1d39c 19614 * configure.in: Remove last remnants of RANLIB.
8720d066 19615 No need to check for signed size_t anymore.
215f4bdc
UD
19616 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19617 and IA-64.
3857022a 19618 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19619 * aclocal.m4: Likewise.
19620
d3ed7225
UD
19621 * wcsmbs/mbrtoc16.c: Implement using towc function.
19622 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19623 * wcsmbs/wcsmbsload.c: Likewise.
19624 * iconv/gconv_simple.c: Likewise.
19625 * iconv/gconv_int.h: Likewise.
19626 * iconv/gconv_builtin.h: Likewise.
19627 * iconv/iconv_prog.c: Remove CHAR16 handling.
19628
19629 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19630
19631 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19632
a0da5fe1
UD
19633 * configure.in: Remove --with-elf and --enable-bounded options.
19634 Dont set base_machine for ia64. More non-ELF conditions removed.
19635 Remove testing and setting of leading underscore information.
19636 * config.make.in (build-bounded): Set to no.
19637 * config.h.in: Remove NO_UNDERSCORES entry.
19638 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19639 them.
19640 * csu/start.c: Remove !NO_UNDERSCORE code.
19641 * locale/localeinfo.h: Likewise.
19642 * sysdeps/generic/machine-gmon.h: Likewise.
19643 * sysdeps/generic/sysdep.h: Likewise.
19644 * sysdeps/i386/sysdep.h: Likewise.
19645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19646 * sysdeps/mach/sysdep.h: Likewise.
19647 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19649 * sysdeps/sh/sysdep.h: Likewise.
19650 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19651 * sysdeps/unix/i386/sysdep.S: Likewise.
19652 * sysdeps/unix/sparc/start.c: Likewise.
19653 * sysdeps/unix/sparc/sysdep.S: Likewise.
19654 * sysdeps/unix/sparc/sysdep.h: Likewise.
19655 * sysdeps/unix/start.c: Likewise.
19656 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19657 * sysdeps/x86_64/sysdep.h: Likewise.
19658
df78418a
UD
196592012-01-07 Ulrich Drepper <drepper@gmail.com>
19660
a784e502
UD
19661 [BZ #13553]
19662 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19663 for non-gcc.
19664 * argp/argp-fmtstream.h: Use const instead __const.
19665 * argp/argp.h: Likewise.
19666 * assert/assert.h: Likewise.
19667 * bits/fenv.h: Likewise.
19668 * bits/sched.h: Likewise.
19669 * bits/sigset.h: Likewise.
19670 * bits/sigthread.h: Likewise.
19671 * catgets/nl_types.h: Likewise.
19672 * conform/data/pthread.h-data: Likewise.
19673 * crypt/crypt-private.h: Likewise.
19674 * crypt/crypt.h: Likewise.
19675 * crypt/crypt_util.c: Likewise.
19676 * ctype/ctype.h: Likewise.
19677 * debug/execinfo.h: Likewise.
19678 * debug/mbsnrtowcs_chk.c: Likewise.
19679 * debug/mbsrtowcs_chk.c: Likewise.
19680 * debug/wcsnrtombs_chk.c: Likewise.
19681 * debug/wcsrtombs_chk.c: Likewise.
19682 * debug/wcstombs_chk.c: Likewise.
19683 * dirent/dirent.h: Likewise.
19684 * dlfcn/dlfcn.h: Likewise.
19685 * elf/neededtest4.c: Likewise.
19686 * grp/grp.h: Likewise.
19687 * gshadow/gshadow.h: Likewise.
19688 * iconv/gconv.h: Likewise.
19689 * iconv/gconv_int.h: Likewise.
19690 * iconv/gconv_simple.c: Likewise.
19691 * iconv/iconv.h: Likewise.
19692 * iconv/loop.c: Likewise.
19693 * iconv/skeleton.c: Likewise.
19694 * include/aio.h: Likewise.
19695 * include/aliases.h: Likewise.
19696 * include/argz.h: Likewise.
19697 * include/arpa/inet.h: Likewise.
19698 * include/assert.h: Likewise.
19699 * include/dirent.h: Likewise.
19700 * include/dlfcn.h: Likewise.
19701 * include/execinfo.h: Likewise.
19702 * include/fcntl.h: Likewise.
19703 * include/fenv.h: Likewise.
19704 * include/glob.h: Likewise.
19705 * include/grp.h: Likewise.
19706 * include/libintl.h: Likewise.
19707 * include/mntent.h: Likewise.
19708 * include/netdb.h: Likewise.
19709 * include/pwd.h: Likewise.
19710 * include/rpc/netdb.h: Likewise.
19711 * include/sched.h: Likewise.
19712 * include/search.h: Likewise.
19713 * include/shadow.h: Likewise.
19714 * include/signal.h: Likewise.
19715 * include/stdio.h: Likewise.
19716 * include/stdlib.h: Likewise.
19717 * include/string.h: Likewise.
19718 * include/sys/socket.h: Likewise.
19719 * include/sys/stat.h: Likewise.
19720 * include/sys/statfs.h: Likewise.
19721 * include/sys/statvfs.h: Likewise.
19722 * include/sys/syslog.h: Likewise.
19723 * include/sys/time.h: Likewise.
19724 * include/sys/uio.h: Likewise.
19725 * include/time.h: Likewise.
19726 * include/unistd.h: Likewise.
19727 * include/utmp.h: Likewise.
19728 * include/wchar.h: Likewise.
19729 * include/wctype.h: Likewise.
19730 * inet/aliases.h: Likewise.
19731 * inet/arpa/inet.h: Likewise.
19732 * inet/netinet/ether.h: Likewise.
19733 * inet/netinet/in.h: Likewise.
19734 * intl/libintl.h: Likewise.
19735 * io/bits/fcntl2.h: Likewise.
19736 * io/fcntl.h: Likewise.
19737 * io/ftw.h: Likewise.
19738 * io/sys/poll.h: Likewise.
19739 * io/sys/stat.h: Likewise.
19740 * io/sys/statfs.h: Likewise.
19741 * io/sys/statvfs.h: Likewise.
19742 * io/utime.h: Likewise.
19743 * libio/bits/stdio.h: Likewise.
19744 * libio/bits/stdio2.h: Likewise.
19745 * libio/libio.h: Likewise.
19746 * libio/libioP.h: Likewise.
19747 * libio/stdio.h: Likewise.
19748 * locale/lc-ctype.c: Likewise.
19749 * locale/locale.h: Likewise.
19750 * login/utmp.h: Likewise.
19751 * malloc/arena.c: Likewise.
19752 * malloc/malloc.c: Likewise.
19753 * malloc/malloc.h: Likewise.
19754 * malloc/mcheck.c: Likewise.
19755 * malloc/mtrace.c: Likewise.
19756 * math/bits/mathcalls.h: Likewise.
19757 * math/fenv.h: Likewise.
19758 * math/math_private.h: Likewise.
19759 * misc/bits/error.h: Likewise.
19760 * misc/bits/syslog.h: Likewise.
19761 * misc/err.h: Likewise.
19762 * misc/error.h: Likewise.
19763 * misc/fstab.h: Likewise.
19764 * misc/mntent.h: Likewise.
19765 * misc/regexp.h: Likewise.
19766 * misc/search.h: Likewise.
19767 * misc/sgtty.h: Likewise.
19768 * misc/sys/mman.h: Likewise.
19769 * misc/sys/syslog.h: Likewise.
19770 * misc/sys/uio.h: Likewise.
19771 * misc/sys/xattr.h: Likewise.
19772 * misc/ttyent.h: Likewise.
19773 * nis/rpcsvc/ypclnt.h: Likewise.
19774 * nss/nss.h: Likewise.
19775 * posix/bits/unistd.h: Likewise.
19776 * posix/fnmatch.h: Likewise.
19777 * posix/glob.h: Likewise.
19778 * posix/sched.h: Likewise.
19779 * posix/spawn.h: Likewise.
19780 * posix/sys/wait.h: Likewise.
19781 * posix/unistd.h: Likewise.
19782 * posix/wordexp.h: Likewise.
19783 * pwd/pwd.h: Likewise.
19784 * resolv/netdb.h: Likewise.
19785 * resource/sys/resource.h: Likewise.
19786 * rt/aio.h: Likewise.
19787 * rt/bits/mqueue2.h: Likewise.
19788 * rt/mqueue.h: Likewise.
19789 * shadow/shadow.h: Likewise.
19790 * signal/signal.h: Likewise.
19791 * socket/send.c: Likewise.
19792 * socket/sendto.c: Likewise.
19793 * socket/sys/socket.h: Likewise.
19794 * stdio-common/printf.h: Likewise.
19795 * stdlib/bits/stdlib.h: Likewise.
19796 * stdlib/fmtmsg.h: Likewise.
19797 * stdlib/monetary.h: Likewise.
19798 * stdlib/stdlib.h: Likewise.
19799 * stdlib/ucontext.h: Likewise.
19800 * streams/stropts.h: Likewise.
19801 * string/argz.h: Likewise.
19802 * string/bits/string2.h: Likewise.
19803 * string/string.h: Likewise.
19804 * string/strings.h: Likewise.
19805 * sunrpc/rpc/auth.h: Likewise.
19806 * sunrpc/rpc/auth_des.h: Likewise.
19807 * sunrpc/rpc/clnt.h: Likewise.
19808 * sunrpc/rpc/netdb.h: Likewise.
19809 * sunrpc/rpc/pmap_clnt.h: Likewise.
19810 * sunrpc/rpc/xdr.h: Likewise.
19811 * sysdeps/generic/inttypes.h: Likewise.
19812 * sysdeps/generic/net/if.h: Likewise.
19813 * sysdeps/generic/sys/swap.h: Likewise.
19814 * sysdeps/gnu/net/if.h: Likewise.
19815 * sysdeps/gnu/utmpx.h: Likewise.
19816 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19817 * sysdeps/i386/i486/bits/string.h: Likewise.
19818 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19819 * sysdeps/s390/bits/string.h: Likewise.
19820 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19821 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19822 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19823 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19824 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19825 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19826 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19827 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19828 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19829 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19830 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19831 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19832 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19833 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19834 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19835 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19836 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19838 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19839 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19841 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19842 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19843 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19844 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19845 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19846 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19848 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19850 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19851 * sysvipc/sys/ipc.h: Likewise.
19852 * sysvipc/sys/msg.h: Likewise.
19853 * sysvipc/sys/sem.h: Likewise.
19854 * sysvipc/sys/shm.h: Likewise.
19855 * termios/termios.h: Likewise.
19856 * time/sys/time.h: Likewise.
19857 * time/time.h: Likewise.
19858 * wcsmbs/bits/wchar2.h: Likewise.
19859 * wcsmbs/uchar.h: Likewise.
19860 * wcsmbs/wchar.h: Likewise.
19861 * wctype/wctype.h: Likewise.
19862
0269750c
UD
19863 [BZ #13551]
19864 * Makeconfig: Remove all but ELF support including AIX support.
19865 * Makerules: Likewise.
19866 * config.h.in: Likewise.
19867 * config.make.in: Likewise.
19868 * configure: Likewise.
19869 * configure.in: Likewise.
19870 * csu/Makefile: Likewise.
19871 * csu/version.c: Likewise.
19872 * debug/Makefile: Likewise.
19873 * dlfcn/Makefile: Likewise.
19874 * elf/Makefile: Likewise.
19875 * extra-lib.mk: Likewise.
19876 * iconv/Makefile: Likewise.
19877 * include/libc-symbols.h: Likewise.
19878 * include/shlib-compat.h: Likewise.
19879 * resolv/Makefile: Likewise.
19880 * resolv/res_libc.c: Likewise.
19881 * rt/Makefile: Likewise.
19882 * sysdeps/i386/asm-syntax.h: Likewise.
19883 * sysdeps/i386/sysdep.h: Likewise.
19884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19885 * sysdeps/mach/sysdep.h: Likewise.
19886 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19887 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19888 * sysdeps/s390/asm-syntax.h: Likewise.
19889 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19891 * sysdeps/sh/sysdep.h: Likewise.
19892 * sysdeps/unix/sparc/sysdep.h: Likewise.
19893 * sysdeps/wordsize-32/divdi3.c: Likewise.
19894 * sysdeps/x86_64/sysdep.h: Likewise.
19895
00bbd29b
UD
19896 * argp/Versions: Remove _argp_unlock_xxx.
19897
19898 [BZ #13559]
19899 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19900 * abilist/libBrokenLocale.abilist: Likewise.
19901 * abilist/libanl.abilist: Likewise.
19902 * abilist/libc.abilist: Likewise.
19903 * abilist/libcrypt.abilist: Likewise.
19904 * abilist/libdl.abilist: Likewise.
19905 * abilist/libm.abilist: Likewise.
19906 * abilist/libnsl.abilist: Likewise.
19907 * abilist/libpthread.abilist: Likewise.
19908 * abilist/libresolv.abilist: Likewise.
19909 * abilist/librt.abilist: Likewise.
19910 * abilist/libthread_db.abilist: Likewise.
19911 * abilist/libutil.abilist: Likewise.
19912 * abilist/libnss_db.abilist: New file.
19913
19914 * scripts/abilist.awk: Add support for indirect functions.
19915
a2693a0e
UD
19916 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19917
3f05895f
UD
19918 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19919
ecb6fb48
UD
19920 * shlib-versions: Remove entries for ports architectures.
19921
664f8cb9
UD
19922 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19923 files in ports.
19924 * elf/stackguard-macros.h: Remove support for IA-64.
19925 * elf/tst-auditmod1.c: Likewise.
19926 * sysdeps/generic/ldsodefs.h: Likewise.
19927
7ae81d88
UD
19928 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19929 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19930 configure files.
19931
bdeba135
UD
19932 [BZ #13552]
19933 * configure.in: Remove --enable-omitfp support.
19934 * FAQ.in: Adjust.
19935 * config.make.in: Likewise.
19936 * Makeconfig: Likewise.
19937 * manual/install.texi: Likewise.
19938
d75a0a62
UD
19939 In case anyone cares, the IA-64 architecture could move to ports.
19940 * sysdeps/ia64/*: Removed.
19941 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19942 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19943
dcc9756b
UD
19944 [BZ #13555]
19945 * configure.in: Remove entries for unsupported architectures.
19946
d3761ebc 19947 [BZ #13533]
9954432e
UD
19948 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19949 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19950 routines.
19951 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19952 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19953 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19954 fall back to using wcrtomb.
19955 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19956 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19957 renaming.
19958 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19959 * wcsmbs/tst-c16c32-1.c: New file.
19960
19961 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19962 local variable.
19963
c3a87236
UD
19964 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19965
28926a1b
UD
19966 * elf/tst-unique3.cc: Add explicit declaration of gets.
19967 * elf/tst-unique3lib.cc: Likewise.
19968 * elf/tst-unique3lib2.cc: Likewise.
19969 * elf/tst-unique4.cc: Likewise.
19970
df78418a
UD
19971 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19972
8ecd6b2a
JM
199732012-01-06 Joseph Myers <joseph@codesourcery.com>
19974
19975 [BZ #13566]
19976 * assert/assert.h (static_assert): Don't define for C++.
19977 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19978 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19979
9f115170
UD
199802012-01-03 Ulrich Drepper <drepper@gmail.com>
19981
5e0d0300
UD
19982 * iconv/loop.c (single loop): Fix assertion in storing of
19983 remaining bytes.
19984
9f115170
UD
19985 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19986
81fb02b0
UD
199872012-01-01 Ulrich Drepper <drepper@gmail.com>
19988
19989 * posix/getconf.c: Update copyright year.
19990 * nss/getent.c: Likewise.
a316c1f6 19991 * nss/makedb.c: Likewise.
81fb02b0
UD
19992 * iconv/iconvconfig.c: Likewise.
19993 * iconv/iconv_prog.c: Likewise.
19994 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19995 * elf/pldd.c: Likewise.
19996 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19997 * catgets/gencat.c: Likewise.
19998 * csu/version.c: Likewise.
19999 * elf/ldd.bash.in: Likewise.
20000 * elf/sprof.c (print_version): Likewise.
20001 * locale/programs/locale.c: Likewise.
20002 * locale/programs/localedef.c: Likewise.
a316c1f6 20003 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20004 * nscd/nscd.c (print_version): Likewise.
20005 * debug/xtrace.sh: Likewise.
20006 * malloc/memusage.sh: Likewise.
20007 * malloc/mtrace.pl: Likewise.
20008 * debug/catchsegv.sh: Likewise.
20009
2ba92745
JJ
200102011-12-30 Jakub Jelinek <jakub@redhat.com>
20011
20012 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20013 pure attribute.
20014
dadebdae
UD
200152011-12-24 Ulrich Drepper <drepper@gmail.com>
20016
d3761ebc 20017 [BZ #13533]
db6af3eb
UD
20018 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20019 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20020 transformations.
20021 * iconv/gconv_int.h: Likewise.
20022 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20023 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20024 from libc for GLIBC_2.16.
20025 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20026 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20027 * wcsmbs/uchar.h: Really define mbstate_t.
20028 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20029 * wcsmbs/c16rtomb.c: New file.
20030 * wcsmbs/mbrtoc16.c: New file.
20031 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20032 for C/POSIX locale.
20033 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20034 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20035
dadebdae
UD
20036 * wcsmbs/wchar.h: Add missing __restrict.
20037
67371b56
UD
200382011-12-23 Ulrich Drepper <drepper@gmail.com>
20039
74033a25
UD
20040 [BZ #13532]
20041 * time/Makefile (routines): Add timespec_get.
20042 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20043 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20044 timespec for ISO C11.
20045 * time/timespec_get.c: New file.
20046 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20047 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20048
380d7e87
UD
20049 [BZ #13531]
20050 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20051 * stdlib/stdlib.h: Declare aligned_alloc.
20052 * Versions.def: Add GLIBC_2.16 for libc.
20053 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20054
4e9e7a35
UD
20055 [BZ 13527]
20056 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20057 ISO C11.
20058
380d7e87 20059 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20060 code.
20061
03a71829
UD
20062 [BZ #13528]
20063 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20064
839e283e
UD
20065 [BZ #13529]
20066 * assert/assert.h (static_assert): Define.
20067
ce5294e2 20068 * version.h: Update for 2.16 development version.
90fa7312 20069
8d44e150 20070 [BZ #13526]
d7809905
UD
20071 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20072 _ISOC11_SOURCE.
20073
c0da14cd
UD
20074 * version.h (RELEASE): Bump for 2.15 release.
20075 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20076
530a3249
MP
20077 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20078 Patch by Marek Polacek <mpolacek@redhat.com>.
20079
67371b56
UD
20080 * bits/byteswap.h: Protect long long constants with __extension__.
20081 * sysdeps/i386/bits/byteswap.h: Likewise.
20082 * sysdeps/ia64/bits/byteswap.h: Likewise.
20083 * sysdeps/s390/bits/byteswap.h: Likewise.
20084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20085
15db4de1
LD
200862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20087
20088 [BZ #13540]
bbe315ea
LD
20089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20090 destination buffer.
15db4de1
LD
20091 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20092
2b2596b1
MP
200932011-12-23 Marek Polacek <polacek@redhat.com>
20094
20095 * elf/dl-addr.c (determine_info): Add inline keyword.
20096 * elf/tst-auditmod4b.c (check_avx): Likewise.
20097 * elf/tst-auditmod6b.c (check_avx): Likewise.
20098 * elf/tst-auditmod6c.c (check_avx): Likewise.
20099 * elf/tst-auditmod7b.c (check_avx): Likewise.
20100
70c6c246
UD
201012011-12-23 Ulrich Drepper <drepper@gmail.com>
20102
20103 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20104 !__SSE_MATH__.
20105
c044cf14
LD
201062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20107
15db4de1 20108 [BZ #13540]
c044cf14
LD
20109 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20110 processing for last bytes.
20111
6b13d9d9
BH
201122011-08-06 Bruno Haible <bruno@clisp.org>
20113
d455f537
BH
20114 [BZ #13061]
20115 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20116 U+0385, not to U+1FEE.
20117
6b13d9d9
BH
20118 [BZ #13062]
20119 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20120 entry for U+00A5 U+0301.
20121
db910efd
UD
201222011-12-22 Ulrich Drepper <drepper@gmail.com>
20123
27deeafc
UD
20124 [BZ #13166]
20125 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20126 buffer for the output is too small.
20127
aed9d171
UD
20128 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20129 optimization.
20130
db910efd
UD
20131 [BZ #13185]
20132 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20133 SSE flags if possible.
20134
2bd779ae
LD
201352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20136
e7f9dac3 20137 [BZ #13540]
2bd779ae
LD
20138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20139 processing for last bytes.
20140
154bfc16
JM
201412011-12-22 Joseph Myers <joseph@codesourcery.com>
20142
20143 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20144 (syscall-list-default-options, syscall-list-default-condition)
20145 (syscall-list-includes): Define.
20146 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20147 list of ABIs and options and #if conditions for each ABI. Do not
20148 handle common syscalls between ABIs specially.
20149 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20150 Remove.
20151 (syscall-list-variants, syscall-list-32bit-options)
20152 (syscall-list-32bit-condition, syscall-list-64bit-options)
20153 (syscall-list-64bit-condition): Define.
20154 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20155 (syscall-list-variants, syscall-list-32bit-options)
20156 (syscall-list-32bit-condition, syscall-list-64bit-options)
20157 (syscall-list-64bit-condition): Define.
20158 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20159 Remove.
20160 (syscall-list-variants, syscall-list-32bit-options)
20161 (syscall-list-32bit-condition, syscall-list-64bit-options)
20162 (syscall-list-64bit-condition): Define.
20163 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20164 Remove.
20165 (syscall-list-variants, syscall-list-32bit-options)
20166 (syscall-list-32bit-condition, syscall-list-64bit-options)
20167 (syscall-list-64bit-condition): Define.
20168
21eaf3a5
UD
201692011-12-22 Ulrich Drepper <drepper@gmail.com>
20170
16c6f992
UD
20171 * locale/iso-639.def: Add brx entry.
20172
41043168
UD
20173 [BZ #13328]
20174 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20175 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20176
21eaf3a5
UD
20177 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20178 __feraiseexcept_renamed.
20179
e3a851a2
UD
201802011-12-21 Ulrich Drepper <drepper@gmail.com>
20181
4920765e
UD
20182 [BZ #13538]
20183 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20184 EPOLLET with unsigned values.
20185 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20187
e3a851a2
UD
20188 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20189 to large cancellation.
20190 * math/s_cacoshf.c: Likewise.
20191 * math/s_cacoshl.c: Likewise.
20192
b27e24b8
RK
201932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20194
20195 [BZ #13305]
aebefeee 20196 [BZ #12786]
b27e24b8
RK
20197 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20198 * math/s_cacoshf.c: Likewise.
20199 * math/s_cacoshl.c: Likewise.
20200
ee190f67
UD
202012011-12-21 Ulrich Drepper <drepper@gmail.com>
20202
20203 [BZ #13439]
20204 * iconv/gconv.h: Define __GCONV_SWAP.
20205 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20206 * iconvdata/utf-16.c: Likewise.
20207 * iconvdata/utf-32.c: Likewise.
20208
707f25df
AS
202092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20210
20211 [BZ #13524]
20212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20213 numerator after shifting it by one limb.
20214
d2daaa1e
RÁE
202152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20216
20217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20218 under [__USE_EXTERN_INLINES].
20219
a4647e72
UD
202202011-12-17 Ulrich Drepper <drepper@gmail.com>
20221
20222 [BZ #13446]
20223 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20224
f0b264f1
AZ
202252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20226
20227 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20228 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20229 optimized code.
20230 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20231 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20232 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20233 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20234 for strncasecmp/strncasecmp_l compilation.
20235 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20236 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20237
8ef4f244
MP
202382011-12-08 Marek Polacek <mpolacek@redhat.com>
20239
20240 [BZ #13484]
20241 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20242 of __asm__.
20243
97ac2654
UD
202442011-12-17 Ulrich Drepper <drepper@gmail.com>
20245
20246 [BZ #13506]
20247 * time/tzfile.c (__tzfile_read): Check values from file header.
20248
91d2a845
WS
202492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20250
20251 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20252 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20253 * powerpc/powerpc32/dl-start.S: Likewise.
20254 * powerpc/powerpc32/elf/start.S: Likewise.
20255 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20256 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20257 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20258 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20259 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20260 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20261 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20262 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20263 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20264 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20265 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20266 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20267 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20268 * powerpc/powerpc32/memset.S: Likewise.
20269 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20270 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20271 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20272 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20273 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20274 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20275 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20276 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20277 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20278 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20279 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20280 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20281 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20282
a1267ba1
AZ
202832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20284
20285 * math/libm-test.inc: Added more nearbyint tests.
20286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20287 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20289 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20290
ad8ac1bd
RL
202912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20292
20293 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20294 FD_CLOEXEC.
20295
1d3e4b61
UD
202962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20297
20298 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20299 Add wcscpy-ssse3 wcscpy-c.
20300 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20301 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20302 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20303 * sysdeps/x86_64/wcschr.S: New file.
20304 * sysdeps/x86_64/wcsrchr.S: New file.
20305 * string/test-strcmp.c: Remove checking of wcscmp function for
20306 wrong alignments.
20307 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20308 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20309 wcsrchr-sse2 wcsrchr-c.
20310 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20311 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20312 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20313 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20314 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20315 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20316 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20317 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20318 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20319 * wcsmbc/wcschr.c (WCSCHR): New macro.
20320
5b330a2d
UD
203212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20322
20323 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20324 * wcsmbs/test-wcsrchr.c: New file.
20325 * string/test-strrchr.c: Add wcsrchr support.
20326 (WIDE): New macro.
20327 * wcsmbs/test-wcscpy.c: New file.
20328 * string/test-strcpy.c: Add wcscpy support.
20329 (WIDE): New macro.
26428b7c 20330
f039c043
UD
203312011-12-10 Ulrich Drepper <drepper@gmail.com>
20332
20333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20334 the inner loop.
20335
850fb039
AS
203362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20337
20338 [BZ #13472]
20339 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20340
4efbd5cb
UD
203412011-12-04 Ulrich Drepper <drepper@gmail.com>
20342
52ff5dd0 20343 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20344 Minor optimizations.
52ff5dd0 20345
4efbd5cb
UD
20346 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20347 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20348 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20349
8a426e12
UD
203502011-12-03 Ulrich Drepper <drepper@gmail.com>
20351
aff2453d
UD
20352 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20353 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20354 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20355 for gcc to avoid warnings.
20356 * inet/Makefile (tests): Add tst-checks.
20357 * inet/tst-checks.c: New file.
20358
20359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20360 warning.
20361
20362 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20363 __wmemcmp_sse2.
20364
20365 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20366 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20367
8a426e12
UD
20368 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20369
9bea3473
UD
203702011-12-02 Ulrich Drepper <drepper@gmail.com>
20371
3a965496
UD
20372 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20373 problem.
20374
9bea3473
UD
20375 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20376
f101631b
UD
203772011-11-29 Joseph Myers <joseph@codesourcery.com>
20378
20379 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20380 conditional on GCC version.
20381 (__arch_compare_and_exchange_val_8_acq)
20382 (__arch_compare_and_exchange_val_16_acq)
20383 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20384 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20385 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20386
a98275aa
UD
203872011-12-02 Joseph Myers <joseph@codesourcery.com>
20388
20389 * sysdeps/sh/backtrace.c: New file.
20390
d4cc29a2
AS
203912011-12-02 Andreas Schwab <schwab@redhat.com>
20392
20393 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20394 parenthesis.
20395
6257af2d
AS
203962011-12-01 Andreas Schwab <schwab@redhat.com>
20397
20398 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20399 falling back to utime.
20400
b5f44c1a
AS
204012011-11-30 Andreas Schwab <schwab@redhat.com>
20402
20403 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20404 expectations for float.
20405
f3a6cc0a
AS
204062011-11-29 Andreas Schwab <schwab@redhat.com>
20407
20408 * locale/weight.h (findidx): Add parameter len.
20409 * locale/weightwc.h (findidx): Likewise.
20410 * posix/fnmatch_loop.c (FCT): Adjust caller.
20411 * posix/regcomp.c (build_equiv_class): Likewise.
20412 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20413 * posix/regexec.c (check_node_accept_bytes): Likewise.
20414 * string/strcoll_l.c (STRCOLL): Likewise.
20415 * string/strxfrm_l.c (STRXFRM): Likewise.
20416
9d65ea3a
UD
204172011-11-17 Ulrich Drepper <drepper@gmail.com>
20418
20419 * Makefile.in: Remove CVSOPT handling.
20420 * configure.in: Remove use of AC_REVISION.
20421 * iconvdata/Makefile (distribute): No need to filter out CVS.
20422 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20423 handling.
20424
5583a086
AS
204252011-11-16 Andreas Schwab <schwab@redhat.com>
20426
20427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20428 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20429 [USE_AS_STRNCASECMP_L]: Likewise.
20430 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20431 NO_TLS_DIRECT_SEG_REFS.
20432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20433 Fix argument offsets for non-PIC.
20434 [USE_AS_STRNCASECMP_L]: Likewise.
20435 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20436 NO_TLS_DIRECT_SEG_REFS.
20437
d62a8200
UD
204382011-11-15 Ulrich Drepper <drepper@gmail.com>
20439
9d65ea3a 20440 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20441 O_CLOEXEC.
20442 * locale/loadlocale.c (_nl_load_locale): Likewise.
20443
09f93bd3
AS
204442011-11-15 Andreas Schwab <schwab@redhat.com>
20445
446514f9
AS
20446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20447 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20449 (SYSCALL_GETTIME): Set errno on error.
20450
09f93bd3
AS
20451 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20452 count references to noai6ai_cached.
20453
312be3f9
UD
204542011-11-15 Ulrich Drepper <drepper@gmail.com>
20455
20456 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20457
20458 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20459 FD_CLOEXEC for /proc/self/maps.
20460
20461 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20462 FD_CLOEXEC for /proc/meminfo.
20463
20464 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20465 gai.conf.
20466
20467 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20468 FD_CLOEXEC for given file.
20469
20470 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20471
20472 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20473 FD_CLOEXEC for /etc/hosts.
20474 (_gethtent): Likewise.
20475
20476 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20477
20478 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20479 cancellation and set FD_CLOEXEC for /etc/netgroup.
20480
20481 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20482 reading /etc/publickey.
20483
20484 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20485 allow cancellation when reading /etc/group.
20486
20487 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20488 cancellation.
20489 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20490
20491 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20492 when using data file.
20493
20494 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20495
20496 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20497 (write_nis_obj): Use "c" and "e" in fopen.
20498
20499 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20500
20501 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20502
20503 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20504
20505 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20506
20507 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20508 locale.alias.
20509
20510 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20511
20512 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20513
20514 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20515
20516 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20517 file parsing and set FD_CLOEXEC.
20518
82af0fa8
UD
205192011-11-14 Ulrich Drepper <drepper@gmail.com>
20520
20521 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20522
a5fb313c
AS
205232011-11-14 Andreas Schwab <schwab@redhat.com>
20524
20525 * malloc/arena.c (arena_get2): Don't call reused_arena when
20526 _int_new_arena failed.
20527
6abf3465
UD
205282011-11-14 Ulrich Drepper <drepper@gmail.com>
20529
20530 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20531 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20532 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20536 to compile strcasecmp and strncasecmp.
20537 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20538 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20539
20540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20541
76e3966e
UD
205422011-11-13 Ulrich Drepper <drepper@gmail.com>
20543
20544 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20545 locale-defines.sym to gen-as-const-headers.
20546 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20547 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20549 to compile strcasecmp and strncasecmp.
20550 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20551 strcasecmp_l and strncasecmp_l.
20552 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20553 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20554 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20555 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20556 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20557 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20558 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20559 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20560 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20561 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20562 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20563
ab26144e
UD
205642011-11-12 Ulrich Drepper <drepper@gmail.com>
20565
7edb22ef
UD
20566 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20567 result of SYSDEP_GETTIME_CPU to retval.
20568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20569 parameter list to macro. Remove trailing semicolon. Adjust users.
20570
9694fc44
UD
20571 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20572 variable.
20573
8ad89ef8
UD
20574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20575 mantissa words.
20576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20577
0c822ef9
UD
20578 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20579 from unused variable.
20580
874e0564
UD
20581 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20582 DWARF definitions.
20583 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20584 for assembling.
20585
3a2edc79
UD
20586 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20587 over namespaces.
20588
f3c2577f
UD
20589 * sunrpc/rpc_prot.c (rejected): Fix case value.
20590
294ce126
UD
20591 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20592 unsigned long long int to avoid warnings in shift.
20593
5e2b63c6
UD
20594 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20595 of use of trans.
20596 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20597 variable tmp.
20598
e7f4b08e
UD
20599 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20600 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20601 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20602
ab26144e
UD
20603 * nis/nis_table.c (nis_list): Use variable of correct type for
20604 result of __follow_path call.
20605
8a6d5255
AZ
206062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20607
20608 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20609 of math functions ceil, trunc, floor, round, and sqrt, when
20610 avaliable on the platform.
20611 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20612 name clash.
20613 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20614 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20615 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20616
aaddc98c
MP
206172011-10-30 Marek Polacek <mpolacek@redhat.com>
20618
20619 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20620 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20621
95b7042b
RM
206222011-11-11 Roland McGrath <roland@hack.frob.com>
20623
20624 * include/unistd.h: Fix __readlink return type.
20625 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20626
57769839
UD
206272011-11-11 Ulrich Drepper <drepper@gmail.com>
20628
20629 * stdlib/ucontext.h: Undo last change for makecontext.
20630
edc5984d
AS
206312011-11-11 Andreas Schwab <schwab@redhat.com>
20632
98591e58
AS
20633 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20634
edc5984d
AS
20635 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20636 * setjmp/setjmp.h: Mark functions as non-leaf.
20637 * setjmp/bits/setjmp2.h: Likewise.
20638 * stdlib/ucontext.h: Likewise.
20639
77cdc054
AS
206402011-11-10 Andreas Schwab <schwab@redhat.com>
20641
20642 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20643 (reused_arena): Don't check arena limit.
20644 (arena_get2): Atomically check arena limit.
20645
fe72eebd
UD
206462011-11-08 Ulrich Drepper <drepper@gmail.com>
20647
5f078c32
UD
20648 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20649 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20650
fe72eebd
UD
20651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20652 instructions.
20653
ae1bc2fa
AS
206542011-11-07 Andreas Schwab <schwab@redhat.com>
20655
7583a88d
AS
20656 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20657 handler when locking.
20658
ae1bc2fa
AS
20659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20660 Fix size of allocated buffer.
20661
10fb0bfa
AS
206622011-11-04 Andreas Schwab <schwab@redhat.com>
20663
998832a4
AS
20664 [BZ #10103]
20665 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20666 declarations for long double functions.
20667 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20668
10fb0bfa
AS
20669 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20670
3d7ba52b
AS
206712011-11-03 Andreas Schwab <schwab@redhat.com>
20672
a9ae54a1
AS
20673 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20674 installed.
20675
3d7ba52b
AS
20676 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20677 is disabled.
20678
bc8db248
ST
206792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20680
20681 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20682
45b96dd6
AS
206832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20684
647776f6
AS
20685 * include/alloca.h (stackinfo_alloca_round): Define.
20686 (extend_alloca): Use it.
20687 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20688 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20689 here.
20690
d91a8b93
AS
20691 * scripts/check-local-headers.sh: Ignore libaudit.h.
20692
45b96dd6
AS
20693 * nscd/Makefile (extra-objs): Make recursively expanded.
20694
432d41ce
UD
206952011-11-01 Ulrich Drepper <drepper@gmail.com>
20696
34372fc6
UD
20697 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20699
fadb59f8
UD
20700 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20701 * posix/tst-rfc3484-2.c: Likewise.
20702 * posix/tst-rfc3484-3.c: Likewise.
20703
78239589
UD
20704 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20705 process_vm_writev.
20706 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20707 process_vm_writev.
20708 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20709 process_vm_writev from libc using GLIBC_2.15 version.
20710
432d41ce
UD
20711 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20712
02f9c6cf
PP
207132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20714
20715 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20716 stack usage.
20717
3a2c0242
UD
207182011-10-31 Ulrich Drepper <drepper@gmail.com>
20719
f4ec4833
UD
20720 [BZ #13367]
20721 * nss/getent.c (initgroups_keys): Show error message in case no group
20722 names are given.
20723
3a2c0242
UD
20724 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20725 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20726 __bump_nl_timestamp.
20727 * nscd/connections (nscd_init): When host database is served open
20728 netlink socket and request notification about configuration changes.
20729 (main_loop_poll): Track netlink file descriptor and bump timestamp
20730 in case data becomes available.
20731 (main_loop_epoll): Likewise.
20732 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20733 (database_pers_head): Add extra_data fileds.
20734 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20735 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20736 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20737 Adjust caller.
20738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20739 in6ai data, call __free_in6ai.
20740 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20741 Add -DHAVE_NETLINK.
20742 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20743 interface information. Reuse previous data if netlink timestamp
20744 is not changed.
20745 (__bump_nl_timestamp): New function.
20746 (__free_in6ai): New function.
20747
636064eb
UD
207482011-10-30 Ulrich Drepper <drepper@gmail.com>
20749
20750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20751 close_not_cancel_no_status here.
20752 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20753
9beb2334
UD
207542011-10-29 Ulrich Drepper <drepper@gmail.com>
20755
6ef76f3b
UD
20756 [BZ #13276]
20757 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20758 return value.
20759
0ffc4f3e 20760 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20761 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20762 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20763
cb95113e
UD
207642011-07-03 Andreas Jaeger <aj@suse.de>
20765
20766 [BZ #10709]
20767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20768 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20769 * math/libm-test.inc (sin_test): Add test case.
20770
a1b560ff
UD
207712011-10-29 Ulrich Drepper <drepper@gmail.com>
20772
c9aaface
UD
20773 [BZ #13337]
20774 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20776
d272e7f1
UD
20777 * elf/chroot_canon.c (chroot_canon): Cleanups.
20778
1bc33071
UD
20779 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20780
1760874d
TJ
20781 [BZ #13335]
20782 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20783 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20784
51d91b18
UD
20785 * string/test-strchr.c: Make usable for strchrnul testing.
20786 * string/test-strchrnul.c: New file.
20787 * string/Makefile (strop-tests): Add strchrnul.
20788
a1b560ff 20789 * po/it.po: Update from translation team.
b611fb81 20790 * po/es.po: Likewise.
a1b560ff 20791
a5b81e1f
UD
207922011-10-28 Ulrich Drepper <drepper@gmail.com>
20793
fd52bc6d
UD
20794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20795 the three constants needed as parameters. Drop the others.
20796 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20797 __m128i_strloadu_tolower.
52e4b9eb
UD
20798 Create and initialize variable zero and use it in all the places
20799 where _mm_setzero_si128 was used.
fd52bc6d 20800
a5b81e1f
UD
20801 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20802 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20803 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20804 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20805 anymore.
20806 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20807 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20808 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20809 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20810 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20811 __mpranred, __mptan.
20812 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20813 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20814 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20815 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20816 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20817 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20819 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20820 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20821
b4343346
AS
208222011-10-28 Andreas Schwab <schwab@redhat.com>
20823
0c92d8a8
AS
20824 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20825 redefine if SHARED.
20826 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20827
b4343346
AS
20828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20829 wide char related routines to wcsmbs subdir.
20830
3871f58f
AS
208312011-10-27 Andreas Schwab <schwab@redhat.com>
20832
20833 [BZ #13344]
20834 * misc/sys/cdefs.h (__THROWNL): Define.
20835 * posix/unistd.h: Use __THREADNL instead of __THREAD
20836 for memory synchronization functions.
20837
94d44d9f
RM
208382011-10-26 Roland McGrath <roland@hack.frob.com>
20839
21b64b15 20840 [BZ #13349]
94d44d9f
RM
20841 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20842 doesn't exist.
20843 * manual/stdio.texi (Obstack Streams): Node removed.
20844
f6ce9294
AS
208452011-10-26 Andreas Schwab <schwab@redhat.com>
20846
80479147
AS
20847 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20849 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20850
f6ce9294
AS
20851 * math/math_private.h (math_force_eval): Allow non-addressable
20852 arguments.
20853 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20854
618280a1
UD
208552011-10-25 Ulrich Drepper <drepper@gmail.com>
20856
e0016b11
UD
20857 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20858 file is not needed.
20859
20860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20861 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20863 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20867 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20868 Add AVX variants.
20869 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20870 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20871 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20872 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20873 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20874 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20875 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20876 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20877 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20878 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20879 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20880 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20882 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20883 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20884 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20885 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20886 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20887 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20888
20889 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20890 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20891
618280a1
UD
20892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20893 place. Use VEX encoding when compiling for AVX.
20894
37822576
AS
208952011-10-25 Andreas Schwab <schwab@redhat.com>
20896
1f1e1947
AS
20897 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20898 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20899
37822576
AS
20900 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20901
31ea014d
UD
209022011-10-25 Ulrich Drepper <drepper@gmail.com>
20903
d7826aa1 20904 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20905 useless if() expression.
d7826aa1
UD
20906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20909 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20910 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20911 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20912 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20917 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20919 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20920 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20921 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20922 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20923 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20924 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20925
31ea014d
UD
20926 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20927
16437fec
AS
209282011-10-25 Andreas Schwab <schwab@redhat.com>
20929
20930 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20931 condition.
20932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20933
31d3cc00
UD
209342011-10-25 Ulrich Drepper <drepper@gmail.com>
20935
20936 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20937 .text section. Avoid duplicate constants.
20938 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20948 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20950 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20955 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20961 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20962 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20963 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20964 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20965 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20967 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20968 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20969 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20971 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20972 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20973 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20974 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20976 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20977 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20978 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20980 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20981 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20982 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20983
58985aa9
UD
209842011-10-24 Ulrich Drepper <drepper@gmail.com>
20985
202c9deb
UD
20986 * sysdeps/x86_64/dla.h: Move to ...
20987 * sysdeps/x86_64/fpu/dla.h: ...here.
20988 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20989 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20990
af968f62
UD
20991 * config.make.in: Add have-mfma4 entry.
20992 * configure.in: Substitute libc_cv_cc_fma4.
20993 * math/Makefile (dbl-only-routines): Add sincostab.
20994 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20995 Use __sincostab not sincos.
20996 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20997 name is a macro.
20998 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21002 using __copysign.
21003 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21004 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21005 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21006 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21007 and __inv.
21008 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21009 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21010 __copysign.
21011 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21012 define aliases when function name is a macro.
21013 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21014 sysdeps/ieee754/dbl-64/sincos.tbl.
21015 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21016 fma4-enabled routines.
21017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21018 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21019 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21020 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21021 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21023 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21025 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21026 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21027 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21028 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21029 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21032 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21033 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21034 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21035 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21037 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21038 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21040 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21041 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21042 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21043 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21044 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21045 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21046 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21047
58985aa9
UD
21048 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21049 rename.
21050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21058
a201fbcf
AS
210592011-10-24 Andreas Schwab <schwab@redhat.com>
21060
21061 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21062
fc2ee42a
LD
210632011-10-23 Ulrich Drepper <drepper@gmail.com>
21064
bb3129bd
UD
21065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21066
0275fff8
UD
21067 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21068 prediction.
21069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21070
2fa2ae85
UD
21071 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21072 Remove unused variable magic_bits.
21073 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21074
fc2ee42a
LD
21075 * string/strnlen.c: Define and use STRNLEN macro.
21076 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21077 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21079 * wcsmbs/wcslen.c: Define and use WCSLEN.
21080 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21081 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21082 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21083 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21084 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21085 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21086 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21087
ce7dd29f
LD
210882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21089
21090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21091 strnlen-sse2-no-bsf.
21092 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21095 Add strnlen support.
21096 (USE_AS_STRNLEN): New macro.
21097 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21098 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21099 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21100 * sysdeps/x86_64/wcslen.S: New file.
21101
979c70a3
MZ
211022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21103
21104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21105 XMM-moves are used for copying on small sizes.
21106
2d09f82f
LD
211072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21108
21109 * wcsmbs/Makefile (strop-tests): Add wcschr.
21110 * wcsmbs/test-wcschr.c: New file.
21111 * string/test-strchr.c: Update.
21112 Add wcschr support.
21113 (WIDE): New macro.
21114
619fccca
LD
211152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21116
2d09f82f 21117 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21118 * wcsmbs/test-wcslen.c: New file.
21119 * string/test-strlen.c: Update.
21120 Add wcslen support.
21121 (WIDE): New macro.
21122
09f699ea
UD
211232011-10-23 Ulrich Drepper <drepper@gmail.com>
21124
21125 * po/it.po: Update from translation team.
21126
95584d3b
LD
211272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21128
21129 * sysdeps/x86_64/wcscmp.S: Update.
21130 Fix wrong comparison semantics.
21131 wcscmp shall use signed comparison not unsigned.
21132 Don't use substraction to avoid overflow bug.
21133 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21134 * wcsmbc/wcscmp.c: Likewise.
21135 * string/test-strcmp.c: Likewise.
21136 Add new tests to check cases with negative values.
21137
c8b3296b
UD
211382011-10-23 Ulrich Drepper <drepper@gmail.com>
21139
21140 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21141 * sysdeps/x86_64/dla.h: ...here. New file.
21142 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21151
246ad57a
AS
211522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21153
21154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21155 __ynl_finite aliases.
21156
a1a87169
UD
211572011-10-22 Ulrich Drepper <drepper@gmail.com>
21158
0d355eb7
UD
21159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21160
a1a87169
UD
21161 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21162 define DLA_FMA.
21163 [DLA_FMA] (EMULV): Use DLA_FMA.
21164 [DLA_FMA] (MUL12): Use EMULV.
21165 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21166 that are not needed.
21167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21174
ee2aafe0
AS
211752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21176
21177 * math/s_nan.c: Undef __nan.
21178 * math/s_nanf.c: Undef __nanf.
21179 * math/s_nanl.c: Undef __nanl.
21180 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21181 "math_private.h".
21182
bc62c2fb
UD
211832011-10-22 Ulrich Drepper <drepper@gmail.com>
21184
77425c63
UD
21185 * math/s_catan.c: Add branch predictions.
21186 * math/s_catanf.c: Likewise.
21187 * math/s_catanh.c: Likewise.
21188 * math/s_catanhf.c: Likewise.
21189 * math/s_catanhl.c: Likewise.
21190 * math/s_catanl.c: Likewise.
21191 * math/s_cexp.c: Likewise.
21192 * math/s_cexpf.c: Likewise.
21193 * math/s_cexpl.c: Likewise.
21194 * math/s_clog.c: Likewise.
21195 * math/s_clog10.c: Likewise.
21196 * math/s_clog10f.c: Likewise.
21197 * math/s_clog10l.c: Likewise.
21198 * math/s_clogf.c: Likewise.
21199 * math/s_clogl.c: Likewise.
21200 * math/s_csqrt.c: Likewise.
21201 * math/s_csqrtf.c: Likewise.
21202 * math/s_csqrtl.c: Likewise.
21203 * math/s_ctanf.c: Likewise.
21204 * math/s_ctanh.c: Likewise.
21205 * math/s_ctanhf.c: Likewise.
21206 * math/s_ctanhl.c: Likewise.
21207 * math/s_ctanl.c: Likewise.
21208
bc62c2fb
UD
21209 * math/math_private.h: Define __nan, __nanf, __nanl.
21210 * math/s_cacosh.c: Include <math_private.h>.
21211 * math/s_cacoshl.c: Likewise.
21212 * math/s_casinh.c: Likewise.
21213 * math/s_casinhf.c: Likewise.
21214 * math/s_casinhl.c: Likewise.
21215 * math/s_ccos.c: Rely entire on ccosh.
21216 * math/s_ccosf.c: Rely entire on ccoshf.
21217 * math/s_ccosl.c: Rely entirely on ccoshl.
21218 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21219 Remove tests for FE_INVALID.
21220 * math/s_ccoshf.c: Likewise.
21221 * math/s_ccoshl.c: Likewise.
21222 * math/s_csin.c: Likewise.
21223 * math/s_csinf.c: Likewise.
21224 * math/s_csinh.c Likewise.
21225 * math/s_csinhf.c: Likewise.
21226 * math/s_csinhl.c: Likewise.
21227 * math/s_csinl.c: Likewise.
21228 * math/s_ctan.c: Likewise.
21229 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21230 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21232
8ec250a4
UD
212332011-10-21 Ulrich Drepper <drepper@gmail.com>
21234
c196fed8
UD
21235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21236 compilation problems.
21237
8ec250a4
UD
21238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21239 __builtin_expect.
21240
8d4f46c6
UD
212412011-10-20 Ulrich Drepper <drepper@gmail.com>
21242
ed72b654
UD
21243 * sysdeps/i386/configure.in: Test for -mfma4 option.
21244 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21245 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21246 COMMON_CPUID_INDEX_80000001.
21247 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21248 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21249 use it if FMA3 is not supported.
21250 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21251
8d4f46c6
UD
21252 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21254
d45c60c2
AS
212552011-10-20 Andreas Schwab <schwab@redhat.com>
21256
21257 [BZ #12892]
21258 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21259 it would create a cycle with a link time dependency.
21260
d9a4d2ab
UD
212612011-10-19 Ulrich Drepper <drepper@gmail.com>
21262
855d1560
UD
21263 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21264 instruction.
21265 * string/Makefile (strop-tests): Add rawmemchr.
21266 * string/test-rawmemchr.c: New file.
21267
d9a4d2ab
UD
21268 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21270 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21271 when compiling str{,n}casecmp and when AVX is available. Hook up
21272 new optimized code in initializers.
21273
8f3b1ffe
AS
212742011-10-19 Andreas Schwab <schwab@redhat.com>
21275
21276 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21277 __feraiseexcept instead of feraiseexcept.
21278
d38f1dba
UD
212792011-10-18 Ulrich Drepper <drepper@gmail.com>
21280
d9a8d0ab
UD
21281 * math/math_private.h: Define defaults for libc_fetestexcept and
21282 libc_feupdateenv.
21283 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21284 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21285 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21287 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21288 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21289 libc_fetestexcept and libc_feupdateenv.
21290
4855e3dd
UD
21291 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21292 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21293 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21294 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21295 libc_feholdexcept_setround.
21296
581d30e3
UD
21297 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21298 Add s_nearbyint-c and s_nearbyintf-c.
21299 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21300 nearbyintf inlines.
21301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21302 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21304 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21305
d38f1dba
UD
21306 * math/math_private.h: Define defaults for libc_fegetround,
21307 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21308 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21309 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21310 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21311 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21312 standard functions.
21313 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21314 Remove comments and hacks for old compiler versions.
21315 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21316 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21317 libc_feholdexceptl.
21318
caa6c9d8
AS
213192011-10-18 Andreas Schwab <schwab@redhat.com>
21320
21321 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21322 (__feraiseexcept_renamed): Add __NTH.
21323 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21324 namespace violations.
21325
97c066e6
UD
213262011-10-17 Ulrich Drepper <drepper@gmail.com>
21327
99ce7b04
UD
21328 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21329
1004d182
UD
21330 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21331
228a984d
UD
21332 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21333 recently added interfaces.
21334 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21335
c8553a6a
UD
21336 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21337 about macro parameter expansion.
21338
ed22dcf6
UD
21339 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21340 __NO_MATH_INLINES is defined. Cleanups.
21341
21342 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21343 and __floorf is target has SSE4.1.
21344 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21345 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21346 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21347 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21348
b171c137
UD
21349 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21350 name.
21351 (floorf): Likewise.
21352
97c066e6
UD
21353 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21354
629f62ef
AS
213552011-10-17 Andreas Schwab <schwab@redhat.com>
21356
49a43d80
AS
21357 * misc/sys/cdefs.h: Fix last change.
21358
629f62ef
AS
21359 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21360 database lookup.
21361
e453f6cd
UD
213622011-10-16 Ulrich Drepper <drepper@gmail.com>
21363
aa78043a
UD
21364 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21365
ad0f5cad
UD
21366 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21371 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21373 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21374 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21375 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21376 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21377 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21378 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21379 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21380 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21381 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21382 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21383 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21384 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21385 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21386 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21387 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21388
21389 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21390 ceil, ceilf, floor, floorf.
21391
21392 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21393 Perform IRELATIVE relocations last.
21394
e453f6cd
UD
21395 * elf/do-rel.h: Add another parameter nrelative, replacing the
21396 local variable with the same name. Change name of the function
21397 to end in Rel or Rela (uppercase).
21398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21399 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21400 elf_dynamic_do_##reloc function.
21401
fd5bdc09
UD
214022011-10-15 Ulrich Drepper <drepper@gmail.com>
21403
79b195b5
UD
21404 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21405 is sufficient, at least on modern CPUs.
21406
d4a28569
UD
21407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21408
b61099b5
UD
21409 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21410 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21411
bcf01e6d
UD
21412 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21413 __expl_finite.
21414 * math/bits/math-finite.h: Add entries for exp.
21415 * math/e_expl.c: Add __*_finite alias.
21416 * sysdeps/i386/fpu/e_exp.S: Likewise.
21417 * sysdeps/i386/fpu/e_expf.S: Likewise.
21418 * sysdeps/i386/fpu/e_expl.c: Likewise.
21419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21420 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21423 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21426
ba1a0d59
UD
21427 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21428 is sufficient, at least on modern CPUs.
21429
fd5bdc09
UD
21430 * ctype/ctype-info.c (__ctype_init): Define.
21431 * include/ctype.h (__ctype_init): Declare.
21432 (__ctype_b_loc): The variable is always initialized.
21433 (__ctype_toupper_loc): Likewise.
21434 (__ctype_tolower_loc): Likewise.
21435 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21436 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21437
7872cfb0
AS
214382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21439
b468825a
AS
21440 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21441
7872cfb0
AS
21442 * configure.in: Also look in $cxxmachine/include for C++ system
21443 headers.
21444
be13f7bf
LD
214452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21446
21447 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21448 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21449 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21450 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21451 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21452 (USE_AS_WMEMCMP): New macro.
21453 Fixing indents.
21454 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21455 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21456 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21457 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21459 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21460 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21461 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21462 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21463 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21464 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21465 (USE_AS_WMEMCMP): New macro.
21466 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21467 * sysdeps/string/test-memcmp.c: Update.
21468 Fix simple_wmemcmp.
21469 Add new tests.
21470 * wcsmbs/wmemcmp.c: Update.
21471 (WMEMCMP): New macro.
21472 Fix overflow bug.
21473
556a2007
AJ
214742011-10-12 Andreas Jaeger <aj@suse.de>
21475
21476 [BZ #13268]
21477 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21478
538faaa7
UD
214792011-10-15 Ulrich Drepper <drepper@gmail.com>
21480
ab6737ff
UD
21481 * libio/iofwide.c (do_length): Avoid warning.
21482
538faaa7
UD
21483 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21484
396a21b1
UD
214852011-10-14 Ulrich Drepper <drepper@gmail.com>
21486
cdf2901f
UD
21487 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21488
38ad40ce
UD
21489 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21490 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21491 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21492 * sysdeps/i386/i686/fpu/e_log.S: New file.
21493 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21494 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21495
396a21b1
UD
21496 * ctype/ctype.h: Add support for inlined isXXX functions when
21497 compiling C++ code.
21498
6b1f68c9
AS
214992011-10-14 Andreas Schwab <schwab@redhat.com>
21500
349290c0
AS
21501 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21502
6b1f68c9
AS
21503 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21504
f2282d42
RM
215052011-10-13 Roland McGrath <roland@hack.frob.com>
21506
21507 [BZ #13291]
21508 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21509
5298ffa8
AS
215102011-10-13 Andreas Schwab <schwab@redhat.com>
21511
714fad23
AS
21512 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21513 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21514 feraiseexcept.
21515
81dcc7fb
AS
21516 * sysdeps/x86_64/memrchr.S: Check for zero size.
21517
5298ffa8
AS
21518 * string/stratcliff.c: Add memrchr tests.
21519
951fbcec
LD
215202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21521
21522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21523 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21524 rawmemchr-sse2 rawmemchr-sse2-bsf.
21525 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21526 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21527 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21528 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21529 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21530 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21531 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21532 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21534 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21535 * string/memrchr.c (MEMRCHR): New macro.
21536
0ac5ae23
UD
215372011-10-12 Ulrich Drepper <drepper@gmail.com>
21538
21539 Add integration with gcc's -ffinite-math-only and optimize wrapper
21540 functions in libm.
21541 * Versions.def: Define GLIBC_2.15 version for libm.
21542 * math/Makefile (headers): Add bits/math-finite.h.
21543 * math/bits/math-finite.h: New file.
21544 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21545 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21546 * math/e_acoshl.c: Add __*_finite alias.
21547 * math/e_acosl.c: Likewise.
21548 * math/e_asinl.c: Likewise.
21549 * math/e_atan2l.c: Likewise.
21550 * math/e_atanhl.c: Likewise.
21551 * math/e_coshl.c: Likewise.
21552 * math/e_exp10.c: Likewise.
21553 * math/e_exp10f.c: Likewise.
21554 * math/e_exp10l.c: Likewise.
21555 * math/e_exp2l.c: Likewise.
21556 * math/e_fmodl.c: Likewise.
21557 * math/e_gammal_r.c: Likewise.
21558 * math/e_hypotl.c: Likewise.
21559 * math/e_j0l.c: Likewise.
21560 * math/e_j1l.c: Likewise.
21561 * math/e_jnl.c: Likewise.
21562 * math/e_lgammal_r.c: Likewise.
21563 * math/e_log10l.c: Likewise.
21564 * math/e_log2l.c: Likewise.
21565 * math/e_logl.c: Likewise.
21566 * math/e_powl.c: Likewise.
21567 * math/e_sinhl.c: Likewise.
21568 * math/e_sqrtl.c: Likewise.
21569 * math/e_scalb.c: Completely rewritten and optimized.
21570 * math/e_scalbf.c: Likewise.
21571 * math/e_scalbl.c: Likewise.
21572 * math/w_acos.c: Likewise.
21573 * math/w_acosf.c: Likewise.
21574 * math/w_acosl.c: Likewise.
21575 * math/w_acosh.c: Likewise.
21576 * math/w_acoshf.c: Likewise.
21577 * math/w_acoshl.c: Likewise.
21578 * math/w_asin.c: Likewise.
21579 * math/w_asinf.c: Likewise.
21580 * math/w_asinl.c: Likewise.
21581 * math/w_atan2.c: Likewise.
21582 * math/w_atan2f.c: Likewise.
21583 * math/w_atan2l.c: Likewise.
21584 * math/w_atanh.c: Likewise.
21585 * math/w_atanhf.c: Likewise.
21586 * math/w_atanhl.c: Likewise.
21587 * math/w_exp10.c: Likewise.
21588 * math/w_exp10f.c: Likewise.
21589 * math/w_exp10l.c: Likewise.
21590 * math/w_fmod.c: Likewise.
21591 * math/w_fmodf.c: Likewise.
21592 * math/w_fmodl.c: Likewise.
21593 * math/w_j0.c: Likewise.
21594 * math/w_j0f.c: Likewise.
21595 * math/w_j0l.c: Likewise.
21596 * math/w_j1.c: Likewise.
21597 * math/w_j1f.c: Likewise.
21598 * math/w_j1l.c: Likewise.
21599 * math/w_jn.c: Likewise.
21600 * math/w_jnf.c: Likewise.
21601 * math/w_log.c: Likewise.
21602 * math/w_logf.c: Likewise.
21603 * math/w_logl.c: Likewise.
21604 * math/w_log10.c: Likewise.
21605 * math/w_log10f.c: Likewise.
21606 * math/w_log10l.c: Likewise.
21607 * math/w_log2.c: Likewise.
21608 * math/w_log2f.c: Likewise.
21609 * math/w_log2l.c: Likewise.
21610 * math/w_pow.c: Likewise.
21611 * math/w_powf.c: Likewise.
21612 * math/w_powl.c: Likewise.
21613 * math/w_remainder.c: Likewise.
21614 * math/w_remainderf.c: Likewise.
21615 * math/w_remainderl.c: Likewise.
21616 * math/w_scalb.c: Likewise.
21617 * math/w_scalbf.c: Likewise.
21618 * math/w_scalbl.c: Likewise.
21619 * math/w_sqrt.c: Likewise.
21620 * math/w_sqrtf.c: Likewise.
21621 * math/w_sqrtl.c: Likewise.
21622 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21623 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21624 used.
21625 * math/math_private.h: Declare __kernel_standard_f.
21626 * math/w_cosh.c: Remove cruft and optimize a bit.
21627 * math/w_coshf.c: Likewise.
21628 * math/w_coshl.c: Likewise.
21629 * math/w_exp2.c: Likewise.
21630 * math/w_exp2f.c: Likewise.
21631 * math/w_exp2l.c: Likewise.
21632 * math/w_hypot.c: Likewise.
21633 * math/w_hypotf.c: Likewise.
21634 * math/w_hypotl.c: Likewise.
21635 * math/w_lgamma.c: Likewise.
21636 * math/w_lgamma_r.c: Likewise.
21637 * math/w_lgammaf.c: Likewise.
21638 * math/w_lgammaf_r.c: Likewise.
21639 * math/w_lgammal.c: Likewise.
21640 * math/w_lgammal_r.c: Likewise.
21641 * math/w_sinh.c: Likewise.
21642 * math/w_sinhf.c: Likewise.
21643 * math/w_sinhl.c: Likewise.
21644 * math/w_tgamma.c: Likewise.
21645 * math/w_tgammaf.c: Likewise.
21646 * math/w_tgammal.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21649 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21650 Minor optimizations. Pretty printing. Remove cruft.
21651 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21655 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21656 * sysdeps/i386/fpu/e_asin.S: Likewise.
21657 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21658 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21659 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21660 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21661 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21662 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21663 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21664 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21665 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21666 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21667 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21668 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21669 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21670 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21671 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21672 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21673 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21674 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21675 * sysdeps/i386/fpu/e_log.S: Likewise.
21676 * sysdeps/i386/fpu/e_log10.S: Likewise.
21677 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21678 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21679 * sysdeps/i386/fpu/e_log2.S: Likewise.
21680 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21681 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21682 * sysdeps/i386/fpu/e_logf.S: Likewise.
21683 * sysdeps/i386/fpu/e_logl.S: Likewise.
21684 * sysdeps/i386/fpu/e_pow.S: Likewise.
21685 * sysdeps/i386/fpu/e_powf.S: Likewise.
21686 * sysdeps/i386/fpu/e_powl.S: Likewise.
21687 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21688 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21689 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21691 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21692 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21693 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21694 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21695 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21699 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21700 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21701 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21702 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21717 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21720 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21721 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21723 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21724 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21725 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21726 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21727 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21728 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21729 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21730 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21731 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21732 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21733 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21734 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21735 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21736 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21737 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21787 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21788 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21789 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21790 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21791 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21792 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21793 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21794 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21795 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21796 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21797 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21798 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21799 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21800 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21801 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21802 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21804 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21805 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21806 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21807 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21808 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21809 (__isnanf): Likewise.
21810 (__isinf_ns): Likewise.
21811 (__isinf_nsf): Likewise.
21812 (__finite): Likewise.
21813 (__finitef): Likewise.
21814 (__ieee754_sqrt): Define as macro.
21815 (__ieee754_sqrtf): Define as macro.
21816 (__ieee754_sqrtl): Define as macro.
21817 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21818 inlined copy.
21819 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21820 __FINITE_MATH_ONLY__ consistent.
21821 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21822
12cc2fcd
AS
218232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21824
a843a204
AS
21825 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21826 of rawmemchr.
21827
12cc2fcd
AS
21828 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21829
c853acd5
UD
218302011-10-09 Ulrich Drepper <drepper@gmail.com>
21831
21832 * po/ja.po: Update from translation team.
21833
c658d255
RM
218342011-10-08 Roland McGrath <roland@hack.frob.com>
21835
110946e4
RM
21836 * locale/programs/locarchive.c (prepare_address_space): New function.
21837 (create_archive, enlarge_archive, open_archive): Use it.
21838
50604220
RM
21839 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21840 inside [SHARED], where it is used.
21841
c658d255
RM
21842 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21843
21844 * nss/getent.c (netgroup_keys): Remove unused variable.
21845 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21846
6a621eb7
UD
218472011-10-08 Ulrich Drepper <drepper@gmail.com>
21848
7edb55ce
UD
21849 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21853 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21854 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21855 * math/Makefile (libm-calls): Add s_isinf_ns.
21856 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21857 * math/multc3.c: Likewise.
21858 * math/s_casin.c: Likewise.
21859 * math/s_casinf.c: Likewise.
21860 * math/s_casinl.c: Likewise.
21861 * math/s_ccos.c: Likewise.
21862 * math/s_ccosf.c: Likewise.
21863 * math/s_ccosl.c: Likewise.
21864 * math/s_ctan.c: Likewise.
21865 * math/s_ctanf.c: Likewise.
21866 * math/s_ctanh.c: Likewise.
21867 * math/s_ctanhf.c: Likewise.
21868 * math/s_ctanhl.c: Likewise.
21869 * math/s_ctanl.c: Likewise.
21870 * math/w_fmod.c: Likewise.
21871 * math/w_fmodf.c: Likewise.
21872 * math/w_fmodl.c: Likewise.
21873 * math/w_remainder.c: Likewise.
21874 * math/w_remainderf.c: Likewise.
21875 * math/w_remainderl.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21877 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21880 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21881 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21882 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21883 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21884
187da0ae
UD
21885 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21886 of the number.
21887 * stdio-common/printf_fphex.c: Likewise.
21888 * stdio-common/printf_size.c: Likewise.
21889
9277c064
UD
21890 * math/e_exp10.c: Include math_private.h using <...> not "...".
21891 * math/e_exp10f.c: Likewise.
21892 * math/e_exp10l.c: Likewise.
21893 * math/e_exp2l.c: Likewise.
21894 * math/e_j0l.c: Likewise.
21895 * math/e_j1l.c: Likewise.
21896 * math/e_jnl.c: Likewise.
21897 * math/e_lgammal_r.c: Likewise.
21898 * math/e_rem_pio2l.c: Likewise.
21899 * math/e_scalb.c: Likewise.
21900 * math/e_scalbf.c: Likewise.
21901 * math/e_scalbl.c: Likewise.
21902 * math/k_cosl.c: Likewise.
21903 * math/k_sinl.c: Likewise.
21904 * math/k_tanl.c: Likewise.
21905 * math/s_cacoshf.c: Likewise.
21906 * math/s_catan.c: Likewise.
21907 * math/s_catanf.c: Likewise.
21908 * math/s_catanh.c: Likewise.
21909 * math/s_catanhf.c: Likewise.
21910 * math/s_catanhl.c: Likewise.
21911 * math/s_catanl.c: Likewise.
21912 * math/s_ccosh.c: Likewise.
21913 * math/s_ccoshf.c: Likewise.
21914 * math/s_ccoshl.c: Likewise.
21915 * math/s_cexp.c: Likewise.
21916 * math/s_cexpf.c: Likewise.
21917 * math/s_cexpl.c: Likewise.
21918 * math/s_clog.c: Likewise.
21919 * math/s_clog10.c: Likewise.
21920 * math/s_clog10f.c: Likewise.
21921 * math/s_clog10l.c: Likewise.
21922 * math/s_clogf.c: Likewise.
21923 * math/s_clogl.c: Likewise.
21924 * math/s_csin.c: Likewise.
21925 * math/s_csinf.c: Likewise.
21926 * math/s_csinh.c: Likewise.
21927 * math/s_csinhf.c: Likewise.
21928 * math/s_csinhl.c: Likewise.
21929 * math/s_csinl.c: Likewise.
21930 * math/s_csqrt.c: Likewise.
21931 * math/s_csqrtf.c: Likewise.
21932 * math/s_csqrtl.c: Likewise.
21933 * math/s_ctan.c: Likewise.
21934 * math/s_ctanf.c: Likewise.
21935 * math/s_ctanh.c: Likewise.
21936 * math/s_ctanhf.c: Likewise.
21937 * math/s_ctanhl.c: Likewise.
21938 * math/s_ctanl.c: Likewise.
21939 * math/s_ldexp.c: Likewise.
21940 * math/s_ldexpf.c: Likewise.
21941 * math/s_ldexpl.c: Likewise.
21942 * math/s_significand.c: Likewise.
21943 * math/s_significandf.c: Likewise.
21944 * math/s_significandl.c: Likewise.
21945 * math/w_acos.c: Likewise.
21946 * math/w_acosf.c: Likewise.
21947 * math/w_acosh.c: Likewise.
21948 * math/w_acoshf.c: Likewise.
21949 * math/w_acoshl.c: Likewise.
21950 * math/w_acosl.c: Likewise.
21951 * math/w_asin.c: Likewise.
21952 * math/w_asinf.c: Likewise.
21953 * math/w_asinl.c: Likewise.
21954 * math/w_atan2.c: Likewise.
21955 * math/w_atan2f.c: Likewise.
21956 * math/w_atan2l.c: Likewise.
21957 * math/w_atanh.c: Likewise.
21958 * math/w_atanhf.c: Likewise.
21959 * math/w_atanhl.c: Likewise.
21960 * math/w_cosh.c: Likewise.
21961 * math/w_coshf.c: Likewise.
21962 * math/w_coshl.c: Likewise.
21963 * math/w_dremf.c: Likewise.
21964 * math/w_exp10.c: Likewise.
21965 * math/w_exp10f.c: Likewise.
21966 * math/w_exp10l.c: Likewise.
21967 * math/w_exp2.c: Likewise.
21968 * math/w_exp2f.c: Likewise.
21969 * math/w_fmod.c: Likewise.
21970 * math/w_fmodf.c: Likewise.
21971 * math/w_fmodl.c: Likewise.
21972 * math/w_hypot.c: Likewise.
21973 * math/w_hypotf.c: Likewise.
21974 * math/w_hypotl.c: Likewise.
21975 * math/w_j0.c: Likewise.
21976 * math/w_j0f.c: Likewise.
21977 * math/w_j0l.c: Likewise.
21978 * math/w_j1.c: Likewise.
21979 * math/w_j1f.c: Likewise.
21980 * math/w_j1l.c: Likewise.
21981 * math/w_jn.c: Likewise.
21982 * math/w_jnf.c: Likewise.
21983 * math/w_jnl.c: Likewise.
21984 * math/w_lgamma.c: Likewise.
21985 * math/w_lgamma_r.c: Likewise.
21986 * math/w_lgammaf.c: Likewise.
21987 * math/w_lgammaf_r.c: Likewise.
21988 * math/w_lgammal.c: Likewise.
21989 * math/w_lgammal_r.c: Likewise.
21990 * math/w_log.c: Likewise.
21991 * math/w_log10.c: Likewise.
21992 * math/w_log10f.c: Likewise.
21993 * math/w_log10l.c: Likewise.
21994 * math/w_log2.c: Likewise.
21995 * math/w_log2f.c: Likewise.
21996 * math/w_log2l.c: Likewise.
21997 * math/w_logf.c: Likewise.
21998 * math/w_logl.c: Likewise.
21999 * math/w_pow.c: Likewise.
22000 * math/w_powf.c: Likewise.
22001 * math/w_powl.c: Likewise.
22002 * math/w_remainder.c: Likewise.
22003 * math/w_remainderf.c: Likewise.
22004 * math/w_remainderl.c: Likewise.
22005 * math/w_scalb.c: Likewise.
22006 * math/w_scalbf.c: Likewise.
22007 * math/w_scalbl.c: Likewise.
22008 * math/w_sinh.c: Likewise.
22009 * math/w_sinhf.c: Likewise.
22010 * math/w_sinhl.c: Likewise.
22011 * math/w_sqrt.c: Likewise.
22012 * math/w_sqrtf.c: Likewise.
22013 * math/w_sqrtl.c: Likewise.
22014 * math/w_tgamma.c: Likewise.
22015 * math/w_tgammaf.c: Likewise.
22016 * math/w_tgammal.c: Likewise.
22017
6a621eb7
UD
22018 * po/ja.po: Update from translation team.
22019
bf582445
AJ
220202011-09-29 Andreas Jaeger <aj@suse.de>
22021
f9efbf3a
AJ
22022 [BZ #13179]
22023 * sunrpc/netname.c (netname2host): Fix logic.
22024
bf582445
AJ
22025 [BZ #6779]
22026 [BZ #6783]
22027 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22028 correctly.
22029 * math/w_remainder.c (__remainder): Likewise.
22030 * math/w_remainderf.c (__remainderf): Likewise.
22031 * math/libm-test.inc (remainder_test): Add test cases.
22032
48693bea
AK
220332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22034
22035 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22036 sdiv_qrnnd.
22037
42622229
LD
220382011-10-07 Ulrich Drepper <drepper@gmail.com>
22039
22040 * string/test-memcmp.c: Avoid unncessary #defines.
22041 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22042
093ecf92
LD
220432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22044
22045 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22046 Use new sse2 version for core i3 - i7 as it's faster
22047 than sse42 version.
22048 (bit_Prefer_PMINUB_for_stringop): New.
22049 * sysdeps/x86_64/rawmemchr.S: Update.
22050 Replace with faster SSE2 version.
22051 * sysdeps/x86_64/memrchr.S: New file.
22052 * sysdeps/x86_64/memchr.S: Update.
22053 Replace with faster SSE2 version.
22054
fde56e5c
MP
220552011-09-12 Marek Polacek <mpolacek@redhat.com>
22056
22057 * elf/dl-load.c (lose): Add cast to avoid warning.
22058
21fd49a9
UD
220592011-10-07 Ulrich Drepper <drepper@gmail.com>
22060
5a06e643
UD
22061 * po/ca.po: Update from translation team.
22062
684ae515
UD
22063 * inet/getnetgrent_r.c: Hook up nscd.
22064 * nscd/Makefile (routines): Add nscd_netgroup.
22065 (nscd-modules): Add netgroupcache.
22066 (CFLAGS-netgroupcache.c): Define.
22067 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22068 (cache_search): Add const to second parameter.
22069 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22070 INNETGR.
22071 (dbs): Add netgrdb entry.
22072 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22073 (verify_persistent_db): Handle netgrdb.
22074 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22075 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22076 GETFDNETGR.
22077 (netgroup_response_header): Define.
22078 (innetgroup_response_header): Define.
22079 (datahead): Add netgroup_response_header and innetgroup_response_header
22080 elements.
22081 * nscd/nscd.conf: Add entries for netgroup cache.
22082 * nscd/nscd.h (dbtype): Add netgrdb.
22083 (_PATH_NSCD_NETGROUP_DB): Define.
22084 (netgroup_iov_disabled): Declare.
22085 (xmalloc, xcalloc, xrealloc): Move declarations here.
22086 (cache_search): Adjust prototype.
22087 Add netgroup-related prototypes.
22088 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22089 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22090 (__nscd_innetgr): Declare.
22091 * nscd/selinux.c (perms): Use access_vector_t as element type and
22092 add netgroup-related initializers.
22093 * nscd/netgroupcache.c: New file.
22094 * nscd/nscd_netgroup.c: New file.
22095 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22096 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22097 For four parameters use innetgr.
22098 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22099 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22100 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22101 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22102
21fd49a9
UD
22103 * nscd/connections.c (register_traced_file): Don't register file
22104 for disabled databases.
22105
054c0457
UD
221062011-10-06 Ulrich Drepper <drepper@gmail.com>
22107
32b63198
UD
22108 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22109
054c0457
UD
22110 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22111 from tree and freeing node.
22112
64031225
JO
221132011-09-25 Jiri Olsa <jolsa@redhat.com>
22114
22115 * nss/nsswitch.c (__nss_database_lookup): Handle
22116 nss_parse_service_list out of memory case.
22117
0490345c
JO
221182011-09-15 Jiri Olsa <jolsa@redhat.com>
22119
22120 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22121 out of memory case.
22122
3a62d00d
AS
221232011-10-04 Andreas Schwab <schwab@redhat.com>
22124
22125 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22126 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22127 pass it down.
22128 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22129 elf_machine_rela, elf_machine_lazy_rel.
22130 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22131 (ELF_DYNAMIC_DO_REL): Likewise.
22132 (ELF_DYNAMIC_DO_RELA): Likewise.
22133 (ELF_DYNAMIC_RELOCATE): Likewise.
22134 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22135 to ELF_DYNAMIC_DO_REL.
22136 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22137 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22138 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22139 elf_machine_rela.
22140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22141 skip_ifunc, don't call ifunc function if non-zero.
22142 (elf_machine_rela): Likewise.
22143 (elf_machine_lazy_rel): Likewise.
22144 (elf_machine_lazy_rela): Likewise.
22145 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22146 (elf_machine_lazy_rel): Likewise.
22147 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22148 Likewise.
22149 (elf_machine_lazy_rel): Likewise.
22150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22151 Likewise.
22152 (elf_machine_lazy_rel): Likewise.
22153 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22154 (elf_machine_lazy_rel): Likewise.
22155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22156 (elf_machine_lazy_rel): Likewise.
22157 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22158 (elf_machine_lazy_rel): Likewise.
22159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22160 (elf_machine_lazy_rel): Likewise.
22161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22162 (elf_machine_lazy_rel): Likewise.
22163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22164 (elf_machine_lazy_rel): Likewise.
22165
68577918
UD
221662011-09-28 Ulrich Drepper <drepper@gmail.com>
22167
22168 * nss/nss_files/files-init.c (_nss_files_init): Use static
22169 initialization for all the *_traced_file variables.
22170
68822d74
AS
221712011-09-28 Andreas Schwab <schwab@redhat.com>
22172
22173 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22174
2056100b
RM
221752011-09-27 Roland McGrath <roland@hack.frob.com>
22176
22177 [BZ #13226]
22178 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22179
32c76b63
AS
221802011-09-27 Andreas Schwab <schwab@redhat.com>
22181
22182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22183 Reread the line before reparsing it.
22184
bf972c9d
AS
221852011-09-26 Andreas Schwab <schwab@redhat.com>
22186
22187 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22188
e057a1b5
JM
221892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22190 Maxim Kuvyrkov <maxim@codesourcery.com>
22191 Joseph Myers <joseph@codesourcery.com>
22192
22193 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22194 if needed for __stack_chk_guard.
22195
bc7e1c36
RM
221962011-09-19 Roland McGrath <roland@hack.frob.com>
22197
ecb1482f
RM
22198 * sysdeps/posix/spawni.c (script_execute): Always define it.
22199 It will be optimized away if unused.
22200 (maybe_script_execute): New function.
22201 (__spawni): Call it.
22202
bc7e1c36
RM
22203 * Makerules: Don't include tls.make.
22204 (config-tls): Always set to thread.
22205 * tls.make.c: File removed.
22206
1c3b002b
MF
222072011-09-19 Mike Frysinger <vapier@gentoo.org>
22208
22209 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22210 * config.make.in (CPPFLAGS-config): New substituted variable.
22211
2840865d
UD
222122011-09-15 Ulrich Drepper <drepper@gmail.com>
22213
88738eb6
UD
22214 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22215
cbf645a6 22216 [BZ #13192]
2840865d
UD
22217 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22218 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22219
b402e91a
RM
222202011-09-15 Roland McGrath <roland@hack.frob.com>
22221
22222 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22223 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22225 (CALL_FAIL): Likewise.
22226 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22227 (CALL_FAIL): Macro removed.
22228 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22229
4c1a1f71
UD
222302011-09-15 Ulrich Drepper <drepper@gmail.com>
22231
22232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22233 for __FINITE_MATH_ONLY__ == 1.
22234
edc121be
AS
222352011-09-15 Andreas Schwab <schwab@redhat.com>
22236
22237 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22238 __ieee754_sqrt instead of sqrt.
22239 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22240 __ieee754_sqrtf instead of sqrtf.
22241 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22242 __floorf instead of floorf.
22243 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22244 __floorf, __truncf instead of floorf, truncf.
22245
cd205654
UD
222462011-09-14 Ulrich Drepper <drepper@gmail.com>
22247
ee4d0315
UD
22248 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22249
cd205654
UD
22250 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22251 __extern_always_inline.
22252 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22253 32-bit.
22254
48b67d71
AS
222552011-09-14 Andreas Schwab <schwab@redhat.com>
22256
22257 * elf/rtld.c (dl_main): Also relocate in dependency order when
22258 doing symbol dependency testing.
22259
1ae12c75
AS
222602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22261
22262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22263 Always define `refsym'.
22264
995a80df
AS
222652011-09-13 Andreas Schwab <schwab@redhat.com>
22266
e529793b
AS
22267 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22268 (__FD_ELT): Renamed from __FDELT.
22269 * misc/bits/select2.h (__FD_ELT): Likewise.
22270 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22271 __FD_MASK instead of __FDELT, __FDMASK.
22272 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22273 Likewise.
22274 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22275 Likewise.
22276
52d4fef8
AS
22277 * elf/Makefile (gen-ldd): Fix pattern.
22278
995a80df
AS
22279 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22280 (init_tls): Likewise.
22281
8682f8b0
UD
222822011-09-12 Ulrich Drepper <drepper@gmail.com>
22283
22284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22285
de82006d
AS
222862011-09-12 Andreas Schwab <schwab@redhat.com>
22287
a7c8e6a1
AS
22288 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22289 `struct cmsghdr *' instead of `void *'.
22290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22291 Likewise.
22292
0f31fe77
AS
222932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22294
22295 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22296 if non-absolute.
22297 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22298 ldd_rewrite_script.
0f31fe77 22299
32b4c839
UD
223002011-09-11 Ulrich Drepper <drepper@gmail.com>
22301
83cd1420
UD
22302 * configure.in: Remove --with-tls option.
22303 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22304 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22305 out in case it is missing.
22306 * sysdeps/ia64/elf/configure.in: Likewise.
22307 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22308 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22309 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22310 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22311 * sysdeps/sh/elf/configure.in: Likewise.
22312 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22313 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22314 * sysdeps/x86_64/elf/configure.in: Likewise.
22315 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22316 * sysdeps/mach/hurd/tls.h: Likewise.
22317
633f745d
UD
22318 [BZ #13067]
22319 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22320
f318beb8
UD
22321 [BZ #13090]
22322 * configure.in: Fix use of AC_INIT.
22323
32b4c839
UD
22324 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22325
3ce1f295
UD
223262011-09-10 Ulrich Drepper <drepper@gmail.com>
22327
bb016596
UD
22328 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22329 __set_errno.
8e58439c
UD
22330 * malloc/hooks.c: Likewise.
22331
aebae053 22332 [BZ #11929]
02d46fc4
UD
22333 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22334 variables statically.
22335 (narenas): Initialize.
22336 (list_lock): Initialize.
bb016596
UD
22337 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22338 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22339 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22340 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22341 Add initializers to main_arena and mp_.
22342 (malloc_state): Remove pagesize member. Change all users to use
22343 GLRO(dl_pagesize).
22344
22345 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22346 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22347 is always initialized.
22348
22a89187
UD
22349 * malloc/malloc.c: Removed unused configurations and dead code.
22350 * malloc/arena.c: Likewise.
22351 * malloc/hooks.c: Likewise.
02d46fc4 22352 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22353
d063d164
UD
22354 * include/tls.h: Removed. USE___THREAD must always be defined.
22355 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22356 * elf/dl-libc.c: Likewise.
22357 * elf/dl-tsd.c: Likewise.
22358 * include/errno.h: Likewise.
22359 * include/netdb.h: Likewise.
22360 * include/resolv.h: Likewise.
22361 * inet/herrno-loc.c: Likewise.
22362 * inet/herrno.c: Likewise.
22363 * malloc/arena.c: Likewise.
22364 * malloc/hooks.c: Likewise.
22365 * malloc/malloc.c: Likewise.
22366 * resolv/res-state.c: Likewise.
22367 * resolv/res_libc.c: Likewise.
22368 * sysdeps/i386/dl-machine.h: Likewise.
22369 * sysdeps/ia64/dl-machine.h: Likewise.
22370 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22372 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22373 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22374 * sysdeps/sh/dl-machine.h: Likewise.
22375 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22376 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22377 * sysdeps/unix/i386/sysdep.S: Likewise.
22378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22379 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22384 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22389 * sysdeps/x86_64/dl-machine.h: Likewise.
22390 * tls.make.c: Likewise.
22391
3ce1f295
UD
22392 * configure.in: Remove --with-__thread option. Make tests for
22393 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22394 tls_model attribute fail if no support is available. Remove
22395 USE_IN_LIBIO.
22396 * Makeconfig: Adjust for dropped configure option. All features are
22397 now mandatory.
22398 * Makerules: Likewise.
22399 * Versions.def: Likewise.
22400 * argp/argp-fmtstream.c: Likewise.
22401 * argp/argp-fmtstream.h: Likewise.
22402 * argp/argp-help.c: Likewise.
22403 * assert/assert.c: Likewise.
22404 * config.h.in: Likewise.
22405 * config.make.in: Likewise.
22406 * configure: Likewise.
22407 * configure.in: Likewise.
22408 * csu/Versions: Likewise.
22409 * csu/init.c: Likewise.
22410 * elf/tst-audit2.c: Likewise.
22411 * elf/tst-tls10.c: Likewise.
22412 * elf/tst-tls10.h: Likewise.
22413 * elf/tst-tls11.c: Likewise.
22414 * elf/tst-tls12.c: Likewise.
22415 * elf/tst-tls14.c: Likewise.
22416 * elf/tst-tlsmod11.c: Likewise.
22417 * elf/tst-tlsmod12.c: Likewise.
22418 * elf/tst-tlsmod13.c: Likewise.
22419 * elf/tst-tlsmod13a.c: Likewise.
22420 * elf/tst-tlsmod14a.c: Likewise.
22421 * elf/tst-tlsmod15b.c: Likewise.
22422 * elf/tst-tlsmod16a.c: Likewise.
22423 * elf/tst-tlsmod16b.c: Likewise.
22424 * elf/tst-tlsmod7.c: Likewise.
22425 * elf/tst-tlsmod8.c: Likewise.
22426 * elf/tst-tlsmod9.c: Likewise.
22427 * gmon/gmon.c: Likewise.
22428 * grp/fgetgrent_r.c: Likewise.
22429 * grp/putgrent.c: Likewise.
22430 * hurd/fopenport.c: Likewise.
22431 * include/libc-symbols.h: Likewise.
22432 * include/tls.h: Likewise.
22433 * intl/gettextP.h: Likewise.
22434 * intl/loadinfo.h: Likewise.
22435 * locale/global-locale.c: Likewise.
22436 * locale/localeinfo.h: Likewise.
22437 * mach/devstream.c: Likewise.
22438 * malloc/arena.c: Likewise.
22439 * malloc/set-freeres.c: Likewise.
22440 * misc/err.c: Likewise.
22441 * misc/getttyent.c: Likewise.
22442 * misc/mntent_r.c: Likewise.
22443 * posix/getopt.c: Likewise.
22444 * posix/wordexp.c: Likewise.
22445 * pwd/fgetpwent_r.c: Likewise.
22446 * resolv/Versions: Likewise.
22447 * resolv/res_hconf.c: Likewise.
22448 * shadow/fgetspent_r.c: Likewise.
22449 * shadow/putspent.c: Likewise.
22450 * stdio-common/printf_fphex.c: Likewise.
22451 * stdio-common/tmpfile.c: Likewise.
22452 * stdlib/abort.c: Likewise.
22453 * stdlib/fmtmsg.c: Likewise.
22454 * sunrpc/auth_unix.c: Likewise.
22455 * sunrpc/clnt_perr.c: Likewise.
22456 * sunrpc/clnt_tcp.c: Likewise.
22457 * sunrpc/clnt_udp.c: Likewise.
22458 * sunrpc/clnt_unix.c: Likewise.
22459 * sunrpc/openchild.c: Likewise.
22460 * sunrpc/svc_simple.c: Likewise.
22461 * sunrpc/svc_tcp.c: Likewise.
22462 * sunrpc/svc_udp.c: Likewise.
22463 * sunrpc/svc_unix.c: Likewise.
22464 * sunrpc/xdr.c: Likewise.
22465 * sunrpc/xdr_array.c: Likewise.
22466 * sunrpc/xdr_rec.c: Likewise.
22467 * sunrpc/xdr_ref.c: Likewise.
22468 * sunrpc/xdr_stdio.c: Likewise.
22469
1248c1c4
PB
224702011-09-09 Ulrich Drepper <drepper@gmail.com>
22471
22472 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22473
224742011-07-03 Andreas Jaeger <aj@suse.de>
22475
22476 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22477 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22478 regenerate with gen-libm-tests.pl.
22479
224802010-05-12 Petr Baudis <pasky@suse.cz>
22481
22482 [BZ #11589]
22483 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22484 around j0() zero points by switching to j1().
22485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22489
f22e1074
UD
224902011-09-09 Ulrich Drepper <drepper@gmail.com>
22491
f19009c1
UD
22492 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22493 instead of 0.
22494 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22495 instead of 0.
f19009c1
UD
22496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22497 Patch in part by Pavel Roskin <proski@gnu.org>.
22498
3f8cc204
UD
22499 [BZ #13138]
22500 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22501 realloc.
22502 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22503 Free memory block if necessary.
22504
f22e1074
UD
22505 [BZ #12847]
22506 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22507 be NULL. Don't lock in this case.
22508
0a2349f9
RM
225092011-09-09 Roland McGrath <roland@hack.frob.com>
22510
22511 * elf/elf.h (ELFOSABI_GNU): New macro.
22512 (ELFOSABI_LINUX): Define to that.
22513
f3cdd467
DZ
225142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22515
22516 * string/strncat.c (strncat): Undef the symbol in case it has been
22517 defined in bits/string.h.
22518
74718d13
UD
225192011-09-09 Ulrich Drepper <drepper@gmail.com>
22520
633e9e0f
UD
22521 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22522
0a2349f9 22523 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22524 link map.
22525
f9924780
AJ
225262011-08-17 Andreas Jaeger <aj@suse.de>
22527
22528 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22529
7f5517aa
PP
225302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22531 Ian Lance Taylor <iant@google.com>
22532
22533 * math/libm-test.inc (lround_test): New testcase.
22534 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22535
762011fe
UD
225362011-09-08 Ulrich Drepper <drepper@gmail.com>
22537
92963737
UD
22538 * Makefile: Remove support for automatic cvs check-ins.
22539 * Makerules: Likewise.
22540 * config.make.in: Likewise.
22541 * configure.in: Likewise.
22542 * intl/Makefile: Likewise.
22543 * locale/Makefile: Likewise.
22544 * po/Makefile: Likewise.
22545 * posix/Makefile: Likewise.
22546 * sysdeps/gnu/Makefile: Likewise.
22547 * sysdeps/mach/hurd/Makefile: Likewise.
22548 * sysdeps/sparc/sparc32/Makefile: Likewise.
22549
b0727fd8
JS
22550 [BZ #13118]
22551 * posix/Makefile (bug-regex32-ENV): Define.
22552 Patch by John Stanley <jpsinthemix@verizon.net>.
22553
a0f33f99
UD
22554 * misc/Makefile (headers): Add bits/select2.h.
22555 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22556 * misc/bits/select2.h: New file.
22557 * include/bits/select2.h: New file.
22558 * debug/Makefile (routines): Add fdelt_chk.
22559 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22560 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22561 FD_ISSET.
22562 * debug/fdelt_chk.c: New file.
22563
762011fe
UD
22564 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22565 * wcsmbs/test-wmemcmp.c: Likewise.
22566 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22567 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22568
225692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22570
22571 * string/Makefile (strop-tests): Add memcmp.
22572 * string/test-wmemcmp.c: New file.
22573 * string/test-memcmp.c: Add wmemcmp support.
22574
7f513ec8
RM
225752011-09-08 Roland McGrath <roland@hack.frob.com>
22576
0442afb4
RM
22577 [BZ #13153]
22578 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22579 2011-07-19 change.
22580
7f513ec8
RM
22581 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22582 garbage value in a __mach_port_mod_refs call in the cases of the
22583 task-self and thread-self ports.
22584
a12b2239
ST
225852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22586
22587 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22588
610f9ab4
AS
225892011-09-08 Andreas Schwab <schwab@redhat.com>
22590
7f513ec8 22591 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22592
48882a1a
LD
225932011-09-07 Ulrich Drepper <drepper@gmail.com>
22594
b49865be
UD
22595 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22596
fdc86bc9
UD
22597 * elf/dl-libc.c (dlerror_run): Pass back error code from
22598 dl_catch_error.
22599
c966526a
UD
22600 [BZ #13123]
22601 * elf/dl-load.c (lose): Free l_origin if it is valid.
22602
48882a1a
LD
22603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22604 names.
22605 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22606 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22607 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22608 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22609 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22610 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22611
77a2a8b4
AZ
226122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22613
22614 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22615 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22616 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22617 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22618 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22619 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22620 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22621 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22622 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22623 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22624
24f579d8
AM
226252011-08-15 Alan Modra <amodra@gmail.com>
22626
22627 [BZ #13092]
22628 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22629 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22630 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22631 ppc_mcount to static-only-routines.
22632 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22633 __mcount_internal.
22634 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22635 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22636
3d4837df
UD
226372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22638
22639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22640 for finite and infinity parameters.
22641
22700377
WS
226422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22643
22644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22645 and add nop instructions for throughput optimization.
22646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22647
5025581e
WS
226482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22649
22650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22651 aligned copy for power7 with vector-scalar instructions.
22652 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22653
08a300c9
L
226542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22657 AVX check.
22658
59178ef9
AS
226592011-09-07 Andreas Schwab <schwab@redhat.com>
22660
22661 [BZ #13144]
22662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22663 last change.
22664
e38ba7ab
UD
226652011-09-07 Ulrich Drepper <drepper@gmail.com>
22666
22667 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22668 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22669 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22670 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22671 clock_gettime.
22672
d53a73ac
UD
226732011-09-06 Ulrich Drepper <drepper@gmail.com>
22674
fc8bffcc
UD
22675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22676 Forgot to demangle the pointer.
22677
ceaa0c5d
UD
22678 * sysdeps/i386/sysdep.h: Define atom_text_section.
22679 * sysdeps/x86_64/sysdep.h: Likewise.
22680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22681 section with atom_text_section.
22682 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22684 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22687
a77d3c17
UD
22688 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22689 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22690 already be defined. Change to take two parameters and don't assign
22691 result to variable. Adjust all users.
22692 Define INTERNAL_GETTIME if not already defined.
22693 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22694 call.
22695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22696 HAVE_CLOCK_GETTIME_VSYSCALL.
22697 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22698
d53a73ac
UD
22699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22700 gettimeofday vsyscall, just use time.
22701
a8f84144
AS
227022011-09-06 Andreas Schwab <schwab@redhat.com>
22703
22704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22705 <errno.h>.
22706
ef606249
UD
227072011-09-06 Ulrich Drepper <drepper@gmail.com>
22708
22709 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22710 syscall on x86-64.
22711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22712 syscall.
22713 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22715 syscall if possible.
22716
6585cb60
UD
227172011-09-05 Ulrich Drepper <drepper@gmail.com>
22718
22719 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22720 e_ident. Don't pass to find_mapsXX.
22721 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22722
a5f524e4
LD
227232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22724
22725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22726 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22727 * sysdeps/x86_64/multiarch/strchr.S: Update.
22728 Check bit_slow_BSF bit.
22729 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22731 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22732
554881ef
UD
227332011-09-05 Ulrich Drepper <drepper@gmail.com>
22734
d96de963
UD
22735 [BZ #13134]
22736 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22737 before glibc 2.15.
22738 (tryshell): Define.
22739 (__spawni): Change last parameter to be flag. Test
22740 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22741 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22742 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22743 * posix/spawni.c: Likewise.
22744 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22745 * posix/spawnp.c: Likewise. Change normal version to use
22746 SPAWN_XFLAGS_USE_PATH.
22747 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22748 SPAWN_XFLAGS_TRY_SHELL.
22749
d48e5868
UD
22750 [BZ #13150]
22751 * posix/glob.h: Remove gcc 1.x support.
22752
554881ef
UD
22753 [BZ #13068]
22754 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22755
693fb948
LD
227562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22757
22758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22759 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22760 strrchr-sse2-bsf
22761 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22762 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22763 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22764 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22765 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22766 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22767
1b48c537
UD
227682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22769
49d42c37
UD
22770 * sysdeps/x86_64/wcscmp.S: New file.
22771
1b48c537
UD
22772 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22773 wcscmp-c wcscmp-sse2
22774 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22775 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22776 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22777 * wcsmbs/wcscmp.c: Allow renaming.
22778
15c95c5d
DM
227792011-09-05 David S. Miller <davem@davemloft.net>
22780
22781 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22782 stack slot, rather than the struct return pointer slot.
22783 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22784 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22786 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22787
2f0ad8f3
UD
227882011-09-05 Ulrich Drepper <drepper@gmail.com>
22789
d88ae418
UD
22790 * po/ja.po: Update from translation team.
22791
2f0ad8f3
UD
22792 [BZ #13144]
22793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22794 kernel in 64-bit binaries.
22795
5f4318d1
DM
227962011-09-01 David S. Miller <davem@davemloft.net>
22797
22798 * elf/elf.h (HWCAP_SPARC_*): Move to..
22799 * sysdeps/sparc/sysdep.h: this new file and add new values.
22800 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22801 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22802 _DL_HWCAP_COUNT to 24.
22803 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22804 entries.
22805 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22806 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22807 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22809 instead of magic constants.
22810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22811
3ba57516
DM
228122011-08-31 David S. Miller <davem@davemloft.net>
22813
22814 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22816 Reimplement to do errno handling inline.
22817 (SYSCALL_ERROR_HANDLER): New macro.
22818 (__SYSCALL_STRING): Do not do errno handling in asm.
22819 (__CLONE_SYSCALL_STRING): Delete.
22820 (__INTERNAL_SYSCALL_STRING): Delete.
22821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22822 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22823 (PSEUDO): Reimplement to do errno handling inline.
22824 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22825 (SYSCALL_ERROR_HANDLER): New macro.
22826 (__SYSCALL_STRING): Do not do errno handling in asm.
22827 (__CLONE_SYSCALL_STRING): Delete.
22828 (__INTERNAL_SYSCALL_STRING): Delete.
22829 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22830 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22831 i386.
22832 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22833 (inline_syscall*): Add 'err' argument.
22834 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22835 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22836 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22837 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22838
22839 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22840 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22841
2bc17433
AS
228422011-08-30 Andreas Schwab <schwab@redhat.com>
22843
22844 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22845
fbeb5f4d
JO
228462011-08-29 Jiri Olsa <jolsa@redhat.com>
22847
22848 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22849 directive.
22850
ad69cc26
DM
228512011-08-24 David S. Miller <davem@davemloft.net>
22852
22853 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22854
39dd69df
AS
228552011-08-24 Andreas Schwab <schwab@redhat.com>
22856
22857 * elf/Makefile: Add rules to build and run unload8 test.
22858 * elf/unload8.c: New file.
22859 * elf/unload8mod1.c: New file.
22860 * elf/unload8mod1x.c: New file.
22861 * elf/unload8mod2.c: New file.
22862 * elf/unload8mod3.c: New file.
22863
22864 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22865 it wasn't used.
22866
2c0b250a
DM
228672011-08-23 David S. Miller <davem@davemloft.net>
22868
22869 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22870 subtract stack bias.
22871 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22872 %sp not %fp in calculations.
22873 (_JMPBUF_UNWINDS_ADJ): Likewise.
22874
22044b48
DM
22875 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22876 (aio_suspend): Call it to force an exception region around the
22877 AIO_MISC_WAIT() invocation.
22878
2cae4995
AS
228792011-08-23 Andreas Schwab <schwab@redhat.com>
22880
22881 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22882 backslash.
22883
873a772e
AJ
228842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22885
22886 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22887 protection macro.
22888 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22889 and <dl-machine.h>.
22890 (Elf64_FuncDesc): Remove.
22891
25ad0df1
DM
228922011-08-22 David S. Miller <davem@davemloft.net>
22893
22894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22895 sigaltstack check, add missing cfi directives.
22896 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22897 missing cfi directives, and sigaltstack handling.
22898
e888bcbe
AS
228992011-08-16 Andreas Schwab <schwab@redhat.com>
22900
22901 [BZ #11724]
22902 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22903 object is seen twice.
22904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22905
22906 * elf/Makefile (distribute): Add tst-initorder2.c.
22907 (tests): Add tst-initorder2.
22908 (modules-names): Add tst-initorder2a tst-initorder2b
22909 tst-initorder2c tst-initorder2d. Add rules to build them.
22910 ($(objpfx)tst-initorder2.out): New rule.
22911 * elf/tst-initorder2.c: New file.
22912 * elf/tst-initorder2.exp: New file.
22913
87162f46
AS
229142011-08-22 Andreas Schwab <schwab@redhat.com>
22915
70538b7f
AS
22916 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22917
f55ffe58
AS
22918 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22919 dependencies back to end of function.
22920
87162f46
AS
22921 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22922 $(elfobjdir)/ld.so.
22923
91b392a4
UD
229242011-08-21 Ulrich Drepper <drepper@gmail.com>
22925
22926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22927 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22929 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22930 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22931 of __vdso_gettimeofday.
22932 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22933 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22934 attribute_hidden.
22935 (_libc_vdso_platform_setup): Remove initialization of
22936 __vdso_gettimeofday and __vdso_time.
22937
5c43483f
UD
229382011-08-20 Ulrich Drepper <drepper@gmail.com>
22939
775a77e7
UD
22940 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22941 and fgetc_unlocked.
22942 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22943 getc_unlocked.
89f447ed 22944
49c74ba9
UD
22945 * elf/dl-open.c (add_to_global): Report additions to the global scope
22946 for LD_DEBUG=scopes.
22947 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22948 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22949
5c43483f
UD
22950 [BZ #13114]
22951 * stdio-common/Makefile (tests): Add bug24.
22952 * stdio-common/bug24.c: New file.
22953
a101b025
AJ
229542011-08-19 Andreas Jaeger <aj@suse.de>
22955
22956 [BZ #13114]
22957 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22958 non-existant file when using close-on-exec mode.
22959
c88f1766
UD
229602011-08-20 Ulrich Drepper <drepper@gmail.com>
22961
0276a718
UD
22962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22963 the very first instruction.
22964
c88f1766
UD
22965 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22966 the CFI state in the end.
22967 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22968 inclusion of dl-trampoline.h.
22969 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22970
51ccffa0
AS
229712011-08-19 Andreas Schwab <schwab@redhat.com>
22972
94d7165f
AS
22973 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22974 expectations for long double.
22975
51ccffa0
AS
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22977 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22978
fd708658 229792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22980
22981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22982 artificual limit depends upon the system page size.
22983
44f0a71e
UD
229842011-08-17 Ulrich Drepper <drepper@gmail.com>
22985
22986 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22987 * resolv/Makefile: Define CFLAGS-libresolv.
22988
8de79a24
AS
229892011-08-17 Andreas Schwab <schwab@redhat.com>
22990
22991 * nss/makedb.c (compute_tables): Make variables used in nested
22992 function static.
22993
27724598
UD
229942011-08-17 Ulrich Drepper <drepper@gmail.com>
22995
c5305d88
UD
22996 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22997 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22998 if buffer was too small.
22999
27724598
UD
23000 * elf/pldd.c (main): Attach to all threads in the process.
23001 Rewrite /proc handling to use *at functions.
23002
076fe015
UD
230032011-08-16 Ulrich Drepper <drepper@gmail.com>
23004
174baab3
UD
23005 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23006 specifies first scope to show.
23007 (dl_open_worker): Update callers. Move printing scope of new
23008 object to before the relocation.
44f0a71e 23009 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23010 * sysdeps/generic/ldsodefs.h: Update declaration.
23011
076fe015
UD
23012 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23013 string for the scope number.
23014
a60df2c3
UD
230152011-08-14 Ulrich Drepper <drepper@gmail.com>
23016
23017 * nscd/servicescache.c (cache_addserv): Make sure written is always
23018 initialized.
23019
5e4287d1
RM
230202011-08-14 Roland McGrath <roland@hack.frob.com>
23021
85ae0589
RM
23022 * sysdeps/i386/i486/bits/atomic.h
23023 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23024 statement expression, so as to suppress "set but not used" warning.
23025 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23026
69f63097
RM
23027 * string/strncat.c (STRNCAT): Use prototype definition.
23028
675456ef
RM
23029 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23030 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23031 -Iprograms here.
23032 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23033 (localedef-modules): Add localedef.
23034 (locale-modules): Add locale.
23035
5e4287d1
RM
23036 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23037 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23038 to avoid a warning.
23039
9c96ff23
DM
230402011-08-14 David S. Miller <davem@davemloft.net>
23041
23042 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23043 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23044
f9ddf089
UD
230452011-08-13 Ulrich Drepper <drepper@gmail.com>
23046
44f0a71e 23047 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23048 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23049 * elf/rtld.c (dl_main): Set l_name of vDSO.
23050 Call _dl_show_scope when DL_DEBUG_SCOPES.
23051 (process_dl_debug): Recognize scopes flag and also set it for all.
23052 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23053 Declare _dl_show_scope.
23054
1dc27704
UD
23055 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23056 (do_dlopen): Pass caller_dlopen to dl_open.
23057 (__libc_dlopen_mode): Initialize caller_dlopen.
23058
f9ddf089
UD
23059 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23060 of libc. Make tolower call locale-independent. Optimize a bit by
23061 using isdigit instead of isalnum.
23062 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23063
9ac533d3
UD
230642011-08-12 Ulrich Drepper <drepper@gmail.com>
23065
23066 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23067 was a dependency or dynamically loaded.
23068
89edf2e9
UD
230692011-08-11 Ulrich Drepper <drepper@gmail.com>
23070
8e999d29
UD
23071 * intl/l10nflist.c: Allow architecture-specific pop function.
23072 * sysdeps/x86_64/l10nflist.c: New file.
23073
89edf2e9
UD
23074 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23075 classification.
23076
14d96785
AS
230772011-08-10 Andreas Schwab <schwab@redhat.com>
23078
23079 * include/dirent.h: Add libc_hidden_proto for scandirat and
23080 scandirat64. Don't declare __scandirat64.
23081 * dirent/scandirat.c: Add libc_hidden_def.
23082 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23083 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23084
6761ac04
DM
230852011-08-10 David S. Miller <davem@davemloft.net>
23086
23087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23088 enum.
23089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23092
c55fbd1e
UD
230932011-08-09 Ulrich Drepper <drepper@gmail.com>
23094
23095 * Versions.def [libc]: Add GLIBC_2.15.
23096 * dirent/Makefile (routines): Add scandirat and scandirat64.
23097 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23098 GLIBC_2.15.
23099 * dirent/dirent.h: Declare scandirat and scandirat64.
23100 * dirent/scandirat.c: New file.
23101 * dirent/scandirat64.c: New file.
23102 * sysdeps/wordsize-64/scandirat.c: New file.
23103 * sysdeps/wordsize-64/scandirat64.c: New file.
23104 * dirent/opendir.c: Define opendirat.
23105 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23106 using scandirat.
23107 * dirent/scandir64.c: Adjust for scandir.c change.
23108 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23109 __scandirat64, and __scandir_cancel_handler.
23110 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23111 additional parameter and use openat instead of open (outside of ld.so).
23112 Add new __opendir as wrapper around __opendirat.
23113 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23114 here without requiring old scandirat implementation.
23115
879165f2
UD
231162011-08-08 Ulrich Drepper <drepper@gmail.com>
23117
23118 * dirent/scandir.c (cancel_handler): Renamed to
23119 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23120 defined. Adjust users.
23121 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23123
cb7e923b
UD
231242011-08-04 Ulrich Drepper <drepper@gmail.com>
23125
16292edd
UD
23126 * string/test-string.h (IMPL): Use __STRING to expand name and then
23127 stringify it.
23128
cb7e923b
UD
23129 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23130 of cleanups.
23131
cff82933
LD
231322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23133
23134 * string/Makefile: Update.
23135 (strop-tests): Append strncat.
23136 * string/test-wcscmp.c: New file.
23137 New comprehensive test for wcscmp.
23138 * string/test-strcmp.c: Update.
23139 (WIDE): New define.
23140
9be9bfcc
AS
231412011-07-22 Andreas Schwab <schwab@redhat.com>
23142
23143 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23144 line.
23145
2e96f1c7
AS
231462011-07-26 Andreas Schwab <schwab@redhat.com>
23147
23148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23149 encoding to ACE if AI_IDN.
23150
85188888
JJ
231512011-08-01 Jakub Jelinek <jakub@redhat.com>
23152
23153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23154 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23155
5fa16e9b
LD
231562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23157
23158 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23159 Fix overflow bug in strncat.
23160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23161
23162 * string/test-strncat.c: Update.
23163 Add new tests for checking overflow bugs.
23164
231652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23166
23167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23168 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23169 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23170 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23171 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23172 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23173 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23174 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23175 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23176
23177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23178 (USE_AS_STRCAT): Define.
23179 Add strcat and strncat support.
23180 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23181
8c1a459f
AS
231822011-07-25 Andreas Schwab <schwab@redhat.com>
23183
23184 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23185 __n bigger than INT_MAX+1.
23186 (__strncmp_g): Likewise.
23187
bba33c28
UD
231882011-07-23 Ulrich Drepper <drepper@gmail.com>
23189
798be72d
UD
23190 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23191 * libio/stido.h: Likewise.
23192
8accd4dc
UD
23193 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23194 (AF_NFC): Define.
23195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23196 (AF_NFC): Define.
23197
cbff0d96
UD
23198 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23201 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23203
9191c04a
UD
23204 [BZ #13021]
23205 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23206 installed.
23207
bba33c28
UD
23208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23209 typo.
23210 (_dl_x86_64_save_sse): Likewise.
23211
90f139dd
UD
232122011-07-22 Ulrich Drepper <drepper@gmail.com>
23213
1aae088a
UD
23214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23215 OSXSAVE.
23216 (_dl_x86_64_save_sse): Likewise.
23217
8e2045f5
UD
23218 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23219
90f139dd
UD
23220 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23221
1d002f25
AS
232222011-07-21 Andreas Schwab <schwab@redhat.com>
23223
23224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23225 change.
23226 (_dl_x86_64_save_sse): Use correct AVX check.
23227
21137f89
UD
232282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23229
23230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23231 bug in strncpy/strncat.
23232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23233
a65c0b7a
UD
232342011-07-21 Ulrich Drepper <drepper@gmail.com>
23235
23236 * string/tester.c (test_strcat): Add tests for different alignments
23237 of source and destination.
23238 (test_strncat): Likewise.
23239
6986b98a
UD
232402011-07-20 Ulrich Drepper <drepper@gmail.com>
23241
90bb2039
UD
23242 [BZ #12852]
23243 * posix/glob.c (glob): Check passed in values before using them in
23244 expressions to avoid some overflows.
23245 (glob_in_dir): Likewise.
23246
5644ef54
UD
23247 [BZ #13007]
23248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23249 check for AVX enablement so that we don't crash with old kernels and
23250 new hardware.
23251 * elf/tst-audit4.c: Add same checks here.
23252 * elf/tst-audit6.c: Likewise.
23253
23254 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23255
bfc9dc9b
AS
232562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23257
23258 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23259
702e64bb
UD
232602011-07-20 Ulrich Drepper <drepper@gmail.com>
23261
23262 * po/cs.po: Update from translation team.
23263 * po/bg.po: Likewise.
23264
295e904f
MP
232652011-07-12 Marek Polacek <mpolacek@redhat.com>
23266
23267 * misc/sys/cdefs.h: Add support for const attribute.
23268 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23269 to gnu_dev_{major,minor,makedev} functions.
23270
3ff94596
MP
232712011-07-20 Marek Polacek <mpolacek@redhat.com>
23272
23273 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23274
28b59fca
AS
232752011-07-20 Andreas Schwab <schwab@redhat.com>
23276
23277 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23278 strlen results.
23279
19df733e
AK
232802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23281
23282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23283 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23284 register in order to avoid conflicts with the soft frame pointer
23285 being held in r11 when necessary.
23286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23287 (INTERNAL_VSYSCALL_NCS): Likewise.
23288
c8835729
MP
232892011-07-14 Marek Polacek <mpolacek@redhat.com>
23290
23291 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23292 * elf/dl-fini.c (_dl_fini): Adjust caller.
23293 * elf/dl-close.c (_dl_close_worker): Likewise.
23294 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23295
b902330c
MP
232962011-07-15 Marek Polacek <mpolacek@redhat.com>
23297
8991e135
MP
23298 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23299 "aux_cache->nlibs < 0".
23300
b902330c
MP
23301 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23302 in the reload-count case.
23303
99710781
LD
233042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23305
23306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23307 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23308 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23309 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23310 * sysdeps/x86_64/multiarch/strcat.S: New file.
23311 * sysdeps/x86_64/multiarch/strncat.S: New file.
23312 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23313 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23314 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23315 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23317 (USE_AS_STRCAT): Define.
23318 Add strcat and strncat support.
23319 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23321 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23322 * string/strncat.c: Update.
23323 (USE_AS_STRNCAT): Define.
23324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23325 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23326 and i7.
23327 * sysdeps/x86_64/multiarch/init-arch.h
23328 (bit_Prefer_PMINUB_for_stringop): New.
23329 (index_Prefer_PMINUB_for_stringop): Likewise.
23330 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23331 bit_Prefer_PMINUB_for_stringop.
23332
7dc6bd90
UD
233332011-07-19 Ulrich Drepper <drepper@gmail.com>
23334
23335 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23336 buffer64.
23337 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23338 of casting of buffer.
23339 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23340 buffer32 and buffer64.
23341 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23342 writes instead of casting of buffer.
23343 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23344 buffer32.
23345 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23346 casting of buffer.
23347
e0e72284
AS
233482011-07-19 Andreas Schwab <schwab@redhat.com>
23349
23350 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23351
feb1eb0b
UD
233522011-07-19 Ulrich Drepper <drepper@gmail.com>
23353
23354 * nscd/nscd.c (termination_handler): Don't do anything for a database
23355 if it has not yet been initialized.
23356
298711ff
UD
233572011-07-18 Ulrich Drepper <drepper@gmail.com>
23358
23359 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23360
233612011-07-15 Marek Polacek <mpolacek@redhat.com>
23362
23363 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23364
f9d68389
UD
233652011-07-18 Ulrich Drepper <drepper@gmail.com>
23366
23367 * po/nl.po: Update from translation team.
23368 * po/sv.po: Likewise.
23369
db290cf5
RM
233702011-07-16 Roland McGrath <roland@hack.frob.com>
23371
23372 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23373 now disallowed by GCC.
5c550700 23374
fd5e21c7
RM
23375 * configure.in (use-default-link): Default to yes if a test -shared
23376 link meets our qualifications.
23377 * configure: Regenerated.
23378
5c550700
RM
23379 * config.make.in (output-format): New variable.
23380 * configure.in: Check for ld --print-output-format support.
23381 * configure: Regenerated.
23382 * Makerules ($(common-objpfx)format.lds)
23383 [$(output-format) != unknown]: Just use $(output-format),
23384 instead of the linker-script munging.
23385
9fa2c032
RM
233862011-07-14 Roland McGrath <roland@hack.frob.com>
23387
a6928d51
RM
23388 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23389 of $(common-objpfx)shlib.lds.
23390 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23391
661607b3
RM
23392 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23393 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23394
9fa2c032
RM
23395 * configure.in (-z relro check): Adjust test code to add a large
23396 writable data section after it.
23397 * configure: Regenerated.
23398
defe9061
RM
233992011-07-11 Roland McGrath <roland@hack.frob.com>
23400
23401 * configure.in (-z relro check): Fix test code to make the variable
23402 truly const.
23403 * configure: Regenerated.
23404
319b9ad4
UD
234052011-07-11 Ulrich Drepper <drepper@gmail.com>
23406
23407 * nscd/nscd.h (struct traced_file): Define.
23408 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23409 elements. Add traced_files.
23410 (inotify_fd): Declare.
23411 (register_traced_file): Declare.
23412 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23413 (inotify_fd): Export.
23414 (resolv_conf_descr): Remove.
23415 (nscd_init): Move inotify descriptor creation to main.
23416 Don't register files for notification here.
23417 (register_traced_file): New function.
23418 (invalidate_cache): Don't use reset_res to determine whether to call
23419 res_init, go through the list of registered files.
23420 (main_loop_poll): The inotify descriptors are now stored in the
23421 structures for the traced files.
23422 (main_loop_epoll): Likewise
23423 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23424 to __nss_disable_nscd.
23425 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23426 for a database anymore. Check the records for all the registered
23427 files instead.
23428 * nss/Makefile (libnss_files-routines): Add files-init.
23429 (libnss_db-routines): Add db-init.
23430 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23431 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23432 * nss/nss_db/db-init.c: New file.
23433 * nss/nss_files/files-init.c: New file.
23434 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23435 __nss_lookup_function.
23436 (__nss_lookup_function): Call nss_load_library.
23437 (nss_load_all_libraries): New function.
23438 (__nss_disable_nscd): Take parameter with callback function for files
23439 to register. Set is_nscd. Load all the DSOs for the NSS modules
23440 used for the cached services.
23441 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23443 options for features to all the files in nscd.
23444
23445 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23446
23bee3e8
RM
234472011-07-10 Roland McGrath <roland@hack.frob.com>
23448
23449 * csu/elf-init.c (__libc_csu_init): Comment typo.
23450
46a5b7f0
UD
234512011-07-09 Ulrich Drepper <drepper@gmail.com>
23452
23453 * po/pl.po: Update from translation team.
23454 * po/ja.po: Likewise.
23455 * po/ru.po: Likewise.
23456 * po/ko.po: Likewise.
23457 * po/fr.po: Likewise.
23458
d30cf5bb
RM
234592011-07-09 Roland McGrath <roland@hack.frob.com>
23460
113ddea4
RM
23461 * configure.in (.ctors/.dtors header and trailer check):
23462 Use an empirical test on a built program.
23463 * configure: Regenerated.
23464
574920b4
RM
23465 * configure.in (-z relro check): Use an empirical test on a built DSO.
23466 Detect, but do not require, on ia64.
23467 * configure: Regenerated.
23468
d30cf5bb
RM
23469 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23470 Update tests that use readelf to use $READELF instead.
23471 * configure: Regenerated.
23472
8538fdb3
UD
234732011-07-08 Ulrich Drepper <drepper@gmail.com>
23474
23475 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23476 if the result is not used.
23477
04d08991
AJ
234782011-07-05 Andreas Jaeger <aj@suse.de>
23479
23480 [BZ#9696]
23481 * stdlib/tst-strtod.c: Add testcase.
23482
de283087
AD
234832011-07-07 Ulrich Drepper <drepper@gmail.com>
23484
4e5f31c8 23485 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23486 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23487 The latter has a higher limit. Take additional parameter to pass to
23488 the new function.
23489 (__pathconf): Pass file to __statfs_link_max.
23490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23491 __statfs_link_max.
23492 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23493 __statfs_link_max.
23494
de283087
AD
23495 [BZ #12868]
23496 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23497 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23498 Handle Lustre.
23499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23500 (__statfs_filesize_max): Likewise.
23501 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23502
c75fa153
AJ
235032011-07-05 Andreas Jaeger <aj@suse.de>
23504
23505 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23506
1a544854
UD
235072011-07-06 Marek Polacek <mpolacek@redhat.com>
23508
23509 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23510 `status' variable.
23511 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23512 Likewise.
23513
6f0eec67
UD
235142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23515
23516 * Makefile (strop-tests): Add strncat.
23517 * string/test-strncat.c: New file.
23518
aae30307
UD
235192011-06-30 Marek Polacek <mpolacek@redhat.com>
23520
23521 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23522
c0cfb5eb
UD
235232011-06-21 Andreas Jaeger <aj@suse.de>
23524
23525 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23526 Copy rule from iconvdata/Makefile.
23527
01636b21
UD
235282011-07-06 Ulrich Drepper <drepper@gmail.com>
23529
23530 [BZ #12922]
23531 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23532 but no long options are defined, just return 'W'.
23533
9895c8bc
UD
235342011-06-22 Marek Polacek <mpolacek@redhat.com>
23535
23536 [BZ #9696]
23537 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23538
5d4cf042
UD
235392011-07-06 Ulrich Drepper <drepper@gmail.com>
23540
23541 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23542 netgroups to read.
960e5535 23543 (innetgr): Likewise.
5d4cf042 23544
751eb97e
RM
235452011-07-05 Roland McGrath <roland@hack.frob.com>
23546
23547 * config.make.in (install_root): Default to $(DESTDIR).
23548
f15f1e45
UD
235492011-07-05 Ulrich Drepper <drepper@gmail.com>
23550
23551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23552
4e34ac6a
RM
235532011-07-02 Roland McGrath <roland@hack.frob.com>
23554
5e9b6af4
RM
23555 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23556
84f9ea0f
RM
23557 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23558 containing directory rather than embedding absolute directory names.
23559
ea5ee9f7
RM
23560 * scripts/check-local-headers.sh: Rewritten using awk.
23561 Match by word, not by line. Print error messages for matches.
23562 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23563
1b74661a
RM
23564 * Makerules [shlib-lds-flags empty]:
23565 ($(common-objpfx)libc_pic.opts): New target.
23566 ($(common-objpfx)libc_pic.os.clean): New target.
23567 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23568
23569 * config.make.in (OBJCOPY): New variable.
23570 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23571 * configure: Regenerated.
23572
f781ef40
RM
23573 * config.make.in (use-default-link): New variable.
23574 * configure.in (use_default_link): Grok --with-default-link to set it.
23575 * configure: Regenerated.
23576 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23577 (shlib-lds, shlib-lds-flags): Define to empty.
23578
2d4fa81e
RM
23579 * Makerules (shlib-lds): New variable.
23580 (shlib-lds-flags): New variable.
23581 (build-shlib, build-moduile, build-module-asneeded): Use it.
23582 ($(common-objpfx)libc.so): Use $(shlib-lds).
23583 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23584 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23585
31fffa6b
RM
23586 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23587 DT_FLAGS/DT_FLAGS_1 with zero flags.
23588
4e34ac6a
RM
23589 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23590 linker script munging.
23591
fcfc776b
UD
235922011-07-02 Ulrich Drepper <drepper@gmail.com>
23593
23594 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23595 as 128-bit value.
23596 * crypt/sha512.c (sha512_process_block): Perform total addition using
23597 128-bit if possible.
23598 (__sha512_finish_ctx): Likewise.
23599 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23600 as 64-bit value.
23601 * crypt/sha256.c (SWAP64): Define.
23602 (sha256_process_block): Perform total addition using 64-bit if
23603 possible.
23604 (__sha256_finish_ctx): Likewise.
23605
99231d9a
UD
236062011-07-01 Ulrich Drepper <drepper@gmail.com>
23607
23608 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23610 * nscd/hstcache.c (cache_addhst): Likewise.
23611 * nscd/grpcache.c (cache_addgr): Likewise.
23612 * nscd/aicache.c (addhstaiX): Likewise
23613 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23614
445b4a53
TK
236152011-07-01 Thorsten Kukuk <kukuk@suse.de>
23616
23617 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23619 * nscd/hstcache.c (cache_addhst): Likewise.
23620 * nscd/grpcache.c (cache_addgr): Likewise.
23621 * nscd/aicache.c (addhstaiX): Likewise
23622
6d4d8e8e
AS
236232011-07-01 Andreas Schwab <schwab@redhat.com>
23624
23625 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23626 domain only when needed.
23627
89f654c5
AS
236282011-06-30 Andreas Schwab <schwab@redhat.com>
23629
23630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23631 is always restored.
23632
cf3b23ff
UD
236332011-06-29 Ulrich Drepper <drepper@gmail.com>
23634
23635 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23636 are re-adding the entry.
23637 * nscd/servicescache.c (cache_addserv): Likewise.
23638
751626f9
AJ
236392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23640
23641 * sysdeps/generic/dl-irel.h: fix protection against multiple
23642 inclusions.
23643 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23644
9113ea1f
UD
236452011-06-28 Ulrich Drepper <drepper@gmail.com>
23646
5c0b8d90
UD
23647 [BZ #12935]
23648 * malloc/memusage.sh: Fix quoting in message.
23649 * debug/xtrace.sh: Likewise.
23650
9113ea1f
UD
23651 * configure.in: Remove support for --experimental-malloc option, make
23652 it the default.
23653 * config.make.in: Likewise.
23654 * malloc/Makefile: Likewise.
23655
a4172181
AS
236562011-06-27 Andreas Schwab <schwab@redhat.com>
23657
23658 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23659 two-byte characters.
23660
78a7eee7
RM
236612011-06-27 Roland McGrath <roland@hack.frob.com>
23662
62bede13
RM
23663 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23664 AC_CACHE_CHECK invocation.
23665 * configure: Regenerated.
23666
78a7eee7
RM
23667 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23668
5ce33a62
UD
236692011-06-27 Ulrich Drepper <drepper@gmail.com>
23670
034807a9
UD
23671 [BZ #12350]
23672 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23673 bit from old_res_options.
23674
4902da17
UD
23675 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23676
5ce33a62
UD
23677 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23678 value type for setfct.
23679
c2344f56
L
236802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23681
23682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23683 __gettimeofday instead of gettimeofday.
23684
68468076
UD
236852011-06-26 Ulrich Drepper <drepper@gmail.com>
23686
23687 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23688
acb0d739
L
236892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23690
23691 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23692
23693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23694 info.
23695
8912479f
L
236962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23697
23698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23699 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23700 strcpy-sse2-unaligned strncpy-sse2-unaligned
23701 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23702 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23703 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23704 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23705 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23708 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23709 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23710 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23711 (STRCPY): Support SSE2 and SSSE3 versions.
23712
d5495a11
UD
237132011-06-24 Ulrich Drepper <drepper@gmail.com>
23714
23715 [BZ #12874]
23716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23717 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23718 kernels which artificially limit size of requests.
23719
0b1cbaae
L
237202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23721
23722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23723 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23724 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23725 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23726 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23727 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23728 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23729 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23730 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23731 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23732 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23733 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23734 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23735 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23736 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23738 Enable unaligned load optimization for Intel Core i3, i5 and i7
23739 processors.
23740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23741 Define.
23742 (index_Fast_Unaligned_Load): Define.
23743 (HAS_FAST_UNALIGNED_LOAD): Define.
23744
07f494a0
MP
237452011-06-23 Marek Polacek <mpolacek@redhat.com>
23746
23747 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23748
fa3fc0fe
UD
237492011-06-22 Ulrich Drepper <drepper@gmail.com>
23750
23751 [BZ #12907]
23752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23753 until it is clear that the information is realy needed.
23754 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23755
e12df166
AS
237562011-06-22 Andreas Schwab <schwab@redhat.com>
23757
23758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23759
852eb34d
UD
237602011-06-22 Ulrich Drepper <drepper@gmail.com>
23761
84e2a551
UD
23762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23763 /sys/devices/system/cpu/online if it is usable.
23764
852eb34d
UD
23765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23766 reading the information from the /proc filesystem to once a second.
23767
6e502e19
UD
237682011-06-21 Andreas Jaeger <aj@suse.de>
23769
23770 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23771 NULL after inclusion of kernel headers.
23772
75d39ff2
UD
237732011-06-21 Ulrich Drepper <drepper@gmail.com>
23774
51f9aa6a
UD
23775 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23776 calls to internal_setent.
23777
c0244a9d
UD
23778 [BZ #12885]
23779 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23780 addresses using gethostbyname4_r ignore IPv4 addresses.
23781
c5e3c2ae
UD
23782 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23783 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23784
75d39ff2
UD
23785 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23786
42675c6f
DM
237872011-06-20 David S. Miller <davem@davemloft.net>
23788
23789 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23790 inclusions.
23791 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23792
23793 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23794 (elf_irel): Use it.
23795 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23796 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23797 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23798 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23799 * sysdeps/x86_64/dl-irel.h: Likewise.
23800
23801 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23802 * elf/dl-sym.c: Likewise.
23803
57912a71
UD
238042011-06-15 Ulrich Drepper <drepper@gmail.com>
23805
23806 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23807 need to dereference resplen2.
23808
ee22793d
AS
238092011-06-14 Andreas Schwab <schwab@redhat.com>
23810
23811 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23812
a9e836b0
UD
238132011-06-15 Ulrich Drepper <drepper@gmail.com>
23814
77fb9117
UD
23815 * Makeconfig: Define vardbdir and inst_vardbdir.
23816 * nss/Makefile: Add rules to install db-Makefile.
23817
40c1b22c
UD
23818 * nss/nss_db/db-XXX.c: Cleanup.
23819
9f2da732
UD
23820 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23821 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23822 GLIBC_PRIVATE.
23823 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23824 * nss/makedb.c: Implement -g option to specify that value strings
23825 are generated and should not be added to table iterated over for
23826 get*ent calls.
23827 * nss/nss_db/db-initgroups.c: New file.
23828
82e9a1f7
UD
23829 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23830 interface.
23831
c41af17e
UD
23832 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23833 (internal_getgrouplist): Adjust to name change.
23834 Update use_initgroups_entry if this is not the first call.
23835 * nss/databases.def: Add initgroups entry.
23836
a9e836b0
UD
23837 * nss/makedb.c (compute_tables): Check result of multiple hash table
23838 sizes to minimize maximum chain length.
23839
2666d441
UD
238402011-06-14 Ulrich Drepper <drepper@gmail.com>
23841
23842 * Versions.def: Add entry for libnss_db.
23843 * shlib-versions: Likewise.
23844 * nss/Makefile: Add rules to build libnss_db.
23845 * nss/Versions: Add libnss_db information. Organize libnss_files
23846 entries better.
23847 * nss/db-Makefile: Add gshadow support. Change rules for the new
23848 makedb progra. Some minor improvements to generate smaller files.
23849 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23850 here from...
23851 * nss/makedb.c: ...here.
23852 Improve database format to be smaller and require less memory at
23853 runtime.
23854 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23855 db anymore.
23856 * nss/nss_db/db-netgrp.c: Likewise.
23857 * nss/nss_db/db-open.c: Likewise.
23858 * nss/nss_files/flies-XXX.x: Adjust comments.
23859 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23860 * nss/nss_files/files-grp.c: Likewise.
23861 * nss/nss_files/files-hosts.c: Likewise.
23862 * nss/nss_files/files-network.c: Likewise.
23863 * nss/nss_files/files-proto.c: Likewise.
23864 * nss/nss_files/files-pwd.c: Likewise.
23865 * nss/nss_files/files-rpc.c: Likewise.
23866 * nss/nss_files/files-service.c: Likewise.
23867 * nss/nss_files/files-sgrp.c: Likewise.
23868 * nss/nss_files/files-spwd.c: Likewise.
23869 * nss/nss_db/db-alias.c: Removed.
23870 * nss/nss_db/dummy-db.h: Removed.
23871
9ee76b5a
UD
238722011-06-02 Ulrich Drepper <drepper@gmail.com>
23873
23874 * nss/makedb.c: Rewritten to not use database library.
23875 * nss/Makefile: Update to build new makedb program.
23876
c71ca1f8
AJ
238772011-06-14 Andreas Jaeger <aj@suse.de>
23878
23879 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23880 memset declaration.
23881
3154bfb8
UD
238822011-06-10 Andreas Schwab <schwab@redhat.com>
23883
23884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23885 tmpbuf.
23886
b350afab
RM
238872011-06-10 Roland McGrath <roland@hack.frob.com>
23888
decd4e50
RM
23889 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23890 * elf/Makefile ($(objpfx)ld.so): Likewise.
23891
5615eaf2
RM
23892 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23893 Don't list ld.so twice in dependencies.
23894
23895 * posix/bug-regex31.c: Include <stdlib.h>.
23896
23897 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23898
23899 * nis/nss_compat/compat-spwd.c
23900 (getspent_next_nss_netgr): Remove unused variable.
23901 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23902
23903 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23904 nonmembers" output to use the right array.
23905
23906 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23907
23908 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23909
23910 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23911 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23912 * catgets/gencat.c (read_input_file): Likewise.
23913 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23914
23915 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23916 variable definition inside #if's controlling its use.
23917
23918 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23919
23920 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23921
23922 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23923
23924 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23925 unreachable code.
23926
23927 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23928
b68e08db
RM
23929 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23930 * configure: Regenerated.
23931
b350afab
RM
23932 * Makerules: Revert last change.
23933 * elf/Makefile: Likewise.
23934
28368601
RM
239352011-06-09 Roland McGrath <roland@hack.frob.com>
23936
23937 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23938 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23939 (reloc-link): Likewise.
23940
11988f8f
UD
239412011-06-09 Ulrich Drepper <drepper@gmail.com>
23942
23943 * elf/Makefile: Add rules to build pldd.
23944 * elf/pldd.c: New file.
23945 * elf/pldd-xx.c: New file.
23946
e80fab37
UD
239472011-06-07 Ulrich Drepper <drepper@gmail.com>
23948
23949 * version.h: Update for 2.15 development version.
23950
9b849836
DM
239512011-06-07 David S. Miller <davem@davemloft.net>
23952
23953 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23954 ifuncs.
23955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23956 elf_machine_lazy_rel): Likewise.
23957 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23959 elf_machine_lazy_rel): Likewise.
23960 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23961 dl_hwcap via passed in argument.
23962 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23963 Likewise.
23964
5a31b283
AK
239652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23966
23967 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23968
069e52f8
RM
239692011-06-06 Roland McGrath <roland@hack.frob.com>
23970
23971 [BZ #12849]
23972 * manual/fdl-1.1.texi: New file, verbatim from:
23973 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23974 * manual/lgpl-2.1.texi: New file, verbatim from:
23975 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23976 * manual/Makefile (licenses): New variable, list those new file names.
23977 (texis): Use it.
23978 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23979
23980 * manual/fdl.texi: File removed.
23981 * manual/lesser.texi: File removed.
23982 * manual/libc.texinfo (Copying, Documentation License):
23983 Use new @include file names, put @appendix directive before @include.
23984
f16846a5
JJ
239852011-06-04 Jakub Jelinek <jakub@redhat.com>
23986
23987 [BZ #12841]
23988 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23989 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23990 (mq_open): Add __NTH.
23991
3d29045b
L
239922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23993
23994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23995 Assume Intel Core i3/i5/i7 processor if AVX is available.
23996
8c297311
UD
239972011-05-31 Ulrich Drepper <drepper@gmail.com>
23998
23999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24000 typo.
24001
c8fc0c91
UD
240022011-05-31 Andreas Schwab <schwab@redhat.com>
24003
24004 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24005 memory. Use alloca_account. Fix memory leak when retrying.
24006
5b27a807
UD
240072011-05-31 Ulrich Drepper <drepper@gmail.com>
24008
356f8bc6
UD
24009 * version.h (RELEASE): Bump for 2.14 release.
24010 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24011
5b27a807
UD
24012 * config.make.in (RANLIB): Remove entry.
24013
01f16ab0
UD
240142011-05-30 Ulrich Drepper <drepper@gmail.com>
24015
41fce8bd
UD
24016 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24017 (libc.pot): Work around missing support for .ksh extension in xgettext.
24018
4769ae77
UD
24019 [BZ #12684]
24020 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24021 if both request failed.
24022 (send_dg): In case of server errors clear resplen or *resplen2.
24023
6b1e7d19
UD
24024 [BZ #12454]
24025 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24026 when there are multiple maps.
24027 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24028 (_dl_fini): Remove test here.
24029
01f16ab0
UD
24030 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24031
b1ebd700
UD
240322011-05-29 Ulrich Drepper <drepper@gmail.com>
24033
7ae22829
UD
24034 [BZ #12350]
24035 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24036 bit from old_res_options.
24037 (gaih_inet): Likewise.
24038
553149f6 24039 [BZ #11099]
18a84741 24040 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24041 as signed.
24042
652ffab1
UD
24043 * resolv/res_init.c (res_setoptions): Make the code more compact.
24044
16985fd0
UD
24045 [BZ #11558]
24046 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24047 set RES_USEVC.
24048
0464f746
UD
24049 [BZ #11634]
24050 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24051
7d17596c
UD
24052 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24053
cf6bbbd7
UD
24054 [BZ #11781]
24055 * malloc/malloc.h: Declare malloc hook variables as volatile.
24056
13f1ab36
UD
24057 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24058 in last patch.
24059
b1ebd700
UD
24060 [BZ #11799]
24061 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24062 raise in the comment.
80e2212d
UD
24063 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24065 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24066
ce67228d
UD
240672011-05-28 Ulrich Drepper <drepper@gmail.com>
24068
8887a920
UD
24069 [BZ #12811]
24070 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24071 grow the buffers more if it already has to be sufficient.
24072 (build_wcs_upper_buffer): Likewise.
24073 * posix/regexec.c (check_matching): Likewise.
24074 (clean_state_log_if_needed): Likewise.
24075 (extend_buffers): Don't enlarge buffers beyond size of the input
24076 buffer.
24077 Patches mostly by Emil Wojak <emil@wojak.eu>.
24078 * posix/bug-regex32.c: New file.
24079 * posix/Makefile (tests): Add bug-regex32.
24080
4f031072
UD
24081 * locale/findlocale.c (_nl_find_locale): Return right away if
24082 _nl_explode_name failed.
24083 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24084
d0478f0c
UD
24085 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24086
de81b246
UD
24087 * debug/xtrace.sh: Unify messages.
24088 * malloc/memusage.sh: Likewise.
24089
c738465a
UD
24090 [BZ #12813]
24091 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24092 time symbol from vDSO. Substitute with vsyscall if not available.
24093 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24094 __vdso_time.
24095
f1f929d7
UD
24096 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24097 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24098 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24099 Add sendmmsg and internal_sendmmsg.
24100 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24101 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24102 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24103
ce67228d
UD
24104 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24105 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24107
e57420c6
UD
241082011-05-27 Ulrich Drepper <drepper@gmail.com>
24109
a8509ca5
UD
24110 [BZ #12813]
24111 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24112 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24113 available.
24114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24115 __vdso_getcpu.
24116
e57420c6
UD
24117 [BZ #12814]
24118 * iconvdata/Makefile (tests): Add bug-iconv9.
24119 * iconvdata/bug-iconv9.c: New file.
24120
4d07db15
AS
241212011-05-27 Andreas Schwab <schwab@redhat.com>
24122
24123 [BZ #12814]
24124 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24125
ea486f69
JJ
241262011-05-25 Jakub Jelinek <jakub@redhat.com>
24127
24128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24129 (struct user_regs_struct): Change intcs field back to cs.
24130
6f038433
UD
241312011-05-25 Ulrich Drepper <drepper@gmail.com>
24132
24133 * po/ja.po: Update from translation team.
24134
67f86a25
UD
241352011-05-23 Ulrich Drepper <drepper@gmail.com>
24136
24137 [BZ #12795]
24138 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24140
def7fbd6
AS
241412011-05-20 Andreas Schwab <schwab@redhat.com>
24142
24143 * stdlib/longlong.h: Update from GCC.
24144
f50ef8f1
AS
241452011-05-23 Andreas Schwab <schwab@redhat.com>
24146
24147 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24148 parameter name.
24149 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24150 Add parameter name.
24151 (__sysconf): Pass it down.
24152
de7ce8f1
UD
241532011-05-22 Ulrich Drepper <drepper@gmail.com>
24154
f2962a71
UD
24155 [BZ #12671]
24156 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24157 some situations.
24158 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24159 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24160 add in in __libc_use_alloca calls. Adjust callers.
24161 (glob): Use malloc in some situations.
24162
de7ce8f1
UD
24163 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24164 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24165 pltexit.
24166
aec84f53
UD
241672011-05-21 Ulrich Drepper <drepper@gmail.com>
24168
05bb4a68
UD
24169 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24170 and CLOCK_BOOTTIME_ALARM.
24171
7ea72f99
UD
24172 [BZ #12782]
24173 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24174 is returned.
24175
7e4afad5
UD
24176 * string/_strerror.c (__strerror_r): Print negative errors as signed
24177 numbers.
24178
8e211fec
UD
24179 [BZ #12777]
24180 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24181 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24182 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24183
f7d82dc9
UD
24184 * configure.in: Fix typo in redirection and correct removal of test
24185 files in two cases.
24186
cc9e536d
UD
24187 [BZ #12788]
24188 * locale/setlocale.c (new_composite_name): Fix test to check for
24189 identical name of all categories.
24190
aec84f53
UD
24191 [BZ #12792]
24192 * libio/filedoalloc.c (local_isatty): New function.
24193 (_IO_file_doallocate): Use local_isatty.
24194 * stdio-common/perror.c (perror): In case a new stream is used
24195 forward the stream error.
24196 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24197 error flag.
24198
78e64fdc
RT
241992011-05-20 Ulrich Drepper <drepper@gmail.com>
24200
34a9094f
UD
24201 [BZ #11869]
24202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24203 alloca.
24204 * include/alloca.h (extend_alloca_account): Define.
24205
78e64fdc
RT
24206 [BZ #11857]
24207 * posix/regex.h: Fix comments with documentation of user-accessible
24208 fields after compilation and describe correct free'ing of pattern
24209 after re_compile_pattern.
24210 Patch by Reuben Thomas <rrt@sc3d.org>.
24211
457bddfc
RA
242122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24213
24214 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24215 and -mno-altivec to prevent the compiler from using Altivec and/or
24216 VSX instructions when the corresponding registers are not available.
24217
a4527b51
AS
242182011-05-19 Andreas Schwab <schwab@redhat.com>
24219
24220 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24221
ed690b2f
UD
242222011-05-19 Ulrich Drepper <drepper@gmail.com>
24223
24224 * libio/freopen.c (freopen): Use __dup2, not dup2.
24225 * libio/freopen64.c (freopen64): Likewise.
24226
8db73634
L
242272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24228
24229 [BZ #12775]
24230 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24231 * math/Makefile (tests): Add test-powl.
24232 (CFLAGS-test-powl.c): Define.
24233 * math/test-powl.c: New file.
24234
0a197a9d
L
242352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24236
24237 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24238
ee30c380
UD
242392011-05-17 Ulrich Drepper <drepper@gmail.com>
24240
24241 [BZ #11837]
24242 * iconvdata/gb18030.c: Update to GB18020-2005.
24243
6ce75379
UD
242442011-05-16 Ulrich Drepper <drepper@gmail.com>
24245
a4b89fd8
AR
24246 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24247 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24248 Patch by Aharon Robbins <arnold@skeeve.com>.
24249
ea389b12
UD
24250 [BZ #11892]
24251 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24252 on the stack.
24253
68a3f91f
UD
24254 [BZ #11895]
24255 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24256 through underflows.
24257
15cc7dd1
UD
24258 [BZ #12766]
24259 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24260 point to strings before performing equality test for error_one_per_line
24261 mode.
24262
f3799213
UD
24263 [BZ #11697]
24264 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24265
d79a9c94
UD
24266 [BZ #11820]
24267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24268 (struct user_fpregs_struct): Avoid __uint*_t types.
24269
56e5eb46
UD
24270 [BZ #6420]
24271 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24272 symbol info. Use it instead of calling _dl_addr locally.
24273 (lock_and_info): New function.
24274 (tr_freehook): Call lock_and_info and pass symbol info as additional
24275 parameter to tr_where.
24276 (tr_mallochook): Likewise.
24277 (tr_reallochook): Likewise.
24278 (tr_memalignhook): Likewise.
24279
6ce75379
UD
24280 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24281 used and couldn't be at all thread-safe.
24282
f8a3b5bf
UD
242832011-05-15 Ulrich Drepper <drepper@gmail.com>
24284
94b7cc37
UD
24285 * libio/freopen.c (freopen): Don't close old file descriptor
24286 before the new one is opened. Instead dup the new file descriptor
24287 to the old one after the new stream is created.
24288 * libio/freopen64.c (freopen64): Likewise.
24289 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24290 * libio/fileops.c (_IO_new_file_close_it): Handle new
24291 _IO_FLAGS2_NOCLOSE flag.
24292 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24293 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24294 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24295 _IO_FLAGS2_NOCLOSE flag.
24296 * include/unistd.h: Add hidden_proto for dup3.
24297 Define __have_dup3.
24298 * io/dup3.c: Define hidden symbol.
24299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24300
bd25564e
UD
24301 [BZ #7101]
24302 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24303 when an incomplete long option is used.
24304 * posix/tst-getopt_long1.c: New file.
24305 * posix/Makefile (tests): Add tst-getopt_long1.
24306
c84cfef4
UD
24307 [BZ #10138]
24308 * scripts/config.guess: Update from autoconf-2.68.
24309 * scripts/config.sub: Likewise.
24310
3b85df27
UD
24311 [BZ #10157]
24312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24313 tests into ...
24314 (has_cpuclock): ...this. New function.
24315 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24316 macro here based on has_cpuclock code.
24317
15a856b1
UD
24318 [BZ #10149]
24319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24320 First byte (not low byte) is now always NUL.
24321 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24322
05f399e6
UD
24323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24324 Use non-cancelable interfaces.
24325
10a52685 24326 [BZ #9809]
94ecc67d
UD
24327 * locale/iso-639.def: Add entry for Sorani.
24328
f8a3b5bf
UD
24329 [BZ #11901]
24330 * include/stdlib.h: Move include protection to the right place.
24331 Define abort_msg_s. Declare __abort_msg with it.
24332 * stdlib/abort.c (__abort_msg): Adjust type.
24333 * assert/assert.c (__assert_fail_base): New function. Majority
24334 of code from __assert_fail. Allocate memory for __abort_msg with
24335 mmap.
24336 (__assert_fail): Now call __assert_fail_base.
24337 * assert/assert-perr.c: Remove bulk of implementation. Use
24338 __assert_fail_base.
24339 * include/assert.hL Declare __assert_fail_base.
24340 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24341 mmap.
24342 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24343
1af4e298
UD
243442011-05-14 Ulrich Drepper <drepper@gmail.com>
24345
f8a3b5bf 24346 [BZ #11952]
d26dfc60
MG
24347 [BZ #12453]
24348 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24349 until all modules are registered in the DTV.
24350 * elf/Makefile: Add rules to build and run tst-tls19.
24351 * elf/tst-tls19.c: New file.
24352 * elf/tst-tls19mod1.c: New file.
24353 * elf/tst-tls19mod2.c: New file.
24354 * elf/tst-tls19mod3.c: New file.
24355 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24356
2fc54d6f
UD
24357 [BZ #12083]
24358 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24359 correctly.
24360
98d76b46
UD
24361 [BZ #12601]
24362 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24363 two-byte sequence errors.
24364 * iconvdata/Makefile (tests): Add bug-iconv8.
24365 * iconvdata/bug-iconv8.c: New file.
24366
da3c19ef
UD
24367 [BZ #12626]
24368 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24369 buf2 definition.
24370
ca408c15
UD
24371 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24372
d6f67f7d
UD
24373 [BZ #12432]
24374 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24375 (dummy_getcfa): New function.
24376 (init): Get _Unwind_GetCFA address, use dummy if not found.
24377 (backtrace_helper): In recursion check, also check whether CFA changes.
24378 (__backtrace): Completely initialize arg.
24379
1af4e298 24380 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24381 storing incomplete byte sequence in state object. Avoid testing for
24382 guaranteed too small input if we know there is enough data available.
1af4e298 24383
da62f81b
AS
243842011-05-11 Andreas Schwab <schwab@redhat.com>
24385
24386 * Makeconfig (+link-pie): Indent.
24387 * Rules (binaries-pie): Define if $(have-fpie) and
24388 $(build-shared).
24389 (binaries-shared): Also filter out $(binaries-pie).
24390 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24391 * nscd/Makefile (others-pie): Add nscd.
24392 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24393 ($(objpfx)nscd): Remove command override.
24394 * login/Makefile (others-pie): Add pt_chown.
24395 ($(objpfx)pt_chown): Remove command override.
24396 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24397 remove command overrides.
24398
fcabc0f8
UD
243992011-05-13 Ulrich Drepper <drepper@gmail.com>
24400
20030ae6
UD
24401 * libio/tst_putwc.c: Fix error messages.
24402
fcabc0f8
UD
24403 [BZ #12724]
24404 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24405 currently writing and seek to current position when not.
24406 * libio/Makefile (tests): Add bug-fclose1.
24407 * libio/bug-fclose1.c: New file.
24408
320a5dc0
PB
244092011-05-12 Ulrich Drepper <drepper@gmail.com>
24410
24411 [BZ #12511]
24412 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24413 don't set DF_1_NODELETE here.
24414 (do_lookup_x): When entering new entry test for copy relocation
24415 and if necessary set DF_1_NODELETE flag.
24416 * elf/tst-unique4.cc: New file.
24417 * elf/tst-unique4.h: New file.
24418 * elf/tst-unique4lib.cc: New file.
24419 * elf/Makefile: Add rules to build and run tst-unique4.
24420 Patch by Piotr Bury <pbury@goahead.com>.
24421
22836f52
UD
244222011-05-11 Ulrich Drepper <drepper@gmail.com>
24423
f574184a
UD
24424 [BZ #12052]
24425 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24426
e1fb097f
UD
24427 [BZ #12625]
24428 * misc/mntent_r.c (addmntent): Flush the stream after the output
24429
22836f52
UD
24430 [BZ #12393]
24431 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24432 (is_trusted_path_normalize): Skip initial colon. Append slash
24433 to empty buffer. Duplicate is_trusted_path code but allow
24434 constructed patch to be prefix.
24435 (is_dst): Allow $ORIGIN followed by /.
24436 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24437 Correct testing of result of is_trusted_path_normalize
24438 (decompose_rpath): Fix warning.
24439
7b3b0b2a
UD
244402011-05-10 Ulrich Drepper <drepper@gmail.com>
24441
24442 [BZ #11257]
24443 * grp/initgroups.c (internal_getgrouplist): When we found the service
24444 list through the initgroups entry in nsswitch.conf do not always
24445 continue on a successful lookup. Don't always use the
eac80ce2 24446 __nss_group_database value if it is set.
7b3b0b2a
UD
24447 * nss/nsswitch.conf (initgroups): Change action for successful db
24448 lookup to continue for compatibility.
24449
2a81eaa5
UD
244502011-05-09 Ulrich Drepper <drepper@gmail.com>
24451
be97a69e
UD
24452 [BZ #11532]
24453 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24454 and CP774 modules.
24455 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24456 and CP774 modules.
24457 * iconvdata/tst-tables.sh: Likewise.
24458 * iconvdata/cp770.c: New file.
24459 * iconvdata/cp771.c: New file.
24460 * iconvdata/cp772.c: New file.
24461 * iconvdata/cp773.c: New file.
24462 * iconvdata/cp774.c: New file.
24463 * iconvdata/testdata/CP770: New file.
24464 * iconvdata/testdata/CP770..UTF8: New file.
24465 * iconvdata/testdata/CP771: New file.
24466 * iconvdata/testdata/CP771..UTF8: New file.
24467 * iconvdata/testdata/CP772: New file.
24468 * iconvdata/testdata/CP772..UTF8: New file.
24469 * iconvdata/testdata/CP773: New file.
24470 * iconvdata/testdata/CP773..UTF8: New file.
24471 * iconvdata/testdata/CP774: New file.
24472 * iconvdata/testdata/CP774..UTF8: New file.
24473
24474 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24475 END CHARMAP line.
24476 * iconvdata/gen-8bit-gap.sh: Likewise.
24477 * iconvdata/gen-8bit.sh: Likewise.
24478
c1e9e399
UD
24479 * locale/iso-639.def: Add ary entry.
24480
24c55fb3 24481 [BZ #11258]
96b4b1b0
UD
24482 * locale/C-translit.h.in: Add U20A1 transliteration.
24483
bdc2f971
KB
24484 [BZ #12178]
24485 * locale/iso-639.def: Add wae entry.
24486 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24487
2952b117
UD
24488 [BZ #12545]
24489 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24490 for n.
24491
2a81eaa5
UD
24492 [BZ #12711]
24493 * locale/C-translit.h.in: Add entry for U20B9.
24494 Patch by pravin.d.s@gmail.com.
24495
28377d1b
UD
244962011-05-08 Ulrich Drepper <drepper@gmail.com>
24497
7fb90fb8
UD
24498 [BZ #12713]
24499 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24500 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24501 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24502 in rtld. Use *stat64.
7fb90fb8 24503 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24504 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24505 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24506 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24507 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24508 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24509 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24510 __fstatat64 macros.
7fb90fb8
UD
24511 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24512 * dirent/rewinddir.c: Add libc_hidden_def.
24513 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24514 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24515
28377d1b
UD
24516 * include/dirent.h (__alloc_dir): Add flags parameter.
24517 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24518 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24519 __alloc_dir.
24520 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24521 from fdopendir if O_CLOEXEC is already set.
24522
66bdbaa4
AM
245232011-03-15 Alan Modra <amodra@gmail.com>
24524
24525 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24526 l_tls_firstbyte_offset non-zero. Save padding offset in
24527 l_tls_firstbyte_offset for later use.
24528 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24529 freeing static tls block.
24530
95721191
JN
245312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24532
24533 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24534 where #ifdef was intended. The intent is to prevent ARG_MAX from
24535 being defined by the kernel headers.
24536
f87dfb1f
UD
245372011-05-07 Ulrich Drepper <drepper@gmail.com>
24538
24539 [BZ #12734]
24540 * resolv/resolv.h: Define RES_NOTLDQUERY.
24541 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24542 no-tld-query and set RES_NOTLDQUERY.
24543 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24544 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24545 modern BIND to search name as TLD unless forbidden.
24546
47c3cd7a
UD
245472011-05-07 Petr Baudis <pasky@suse.cz>
24548 Ulrich Drepper <drepper@gmail.com>
24549
24550 [BZ #12393]
24551 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24552 (is_trusted_path): ...to here.
c1e9ea35 24553 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24554 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24555 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24556
8a35c912
PP
245572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24558
24559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24560 __BEGIN/__END_DECLS.
24561
acd41f47
UD
245622011-05-06 Ulrich Drepper <drepper@gmail.com>
24563
24564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24565 NSS_STATUS_NOTFOUND if no record was found.
24566
597df647
AS
245672011-05-05 Andreas Schwab <schwab@redhat.com>
24568
24569 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24570 (headers-not-in-tirpc): Remove rpc/netdb.h
24571 * resolv/netdb.h: Revert last change.
24572
b9af1301
PP
245732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24574
24575 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24576 circular dependency between libgcc.a and libc.a.
24577
4e34d5f5
AS
245782011-05-05 Andreas Schwab <schwab@redhat.com>
24579
24580 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24581 * nis/Makefile: Don't install rpcsvc/*.
24582 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24583 instead of <rpc/types.h>.
24584 (MAXHOSTNAMELEN): Define.
24585
00ee369c
AS
245862011-05-03 Andreas Schwab <schwab@redhat.com>
24587
24588 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24589
0b592a30
MB
245902011-04-28 Maciej Babinski <mbabinski@google.com>
24591
24592 [BZ #12714]
24593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24594 gethostbyname4_r when IPv6 results are possible.
24595
6e04cbbe
UD
245962011-05-02 Ulrich Drepper <drepper@gmail.com>
24597
24598 [BZ #12723]
24599 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24600 _PC_PIPE_BUF handling.
24601
e4ecafe0
BH
246022011-04-30 Bruno Haible <bruno@clisp.org>
24603
24604 [BZ #12717]
24605 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24606 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24607 to 'int'.
24608 * inet/getnameinfo.c (getnameinfo): Likewise.
24609
125ee683
UD
246102011-04-29 Ulrich Drepper <drepper@gmail.com>
24611
24612 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24613 to groups setting in database lookup.
24614 * nss/nsswitch.conf: Add initgroups entry.
24615
b722481a
EB
246162011-04-22 Ulrich Drepper <drepper@gmail.com>
24617
24618 [BZ #12685]
24619 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24620 mode string.
24621 Patch by Eric Blake <eblake@redhat.com>.
24622
4df46dbd
L
246232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24624
24625 * sunrpc/Makefile (need-export-routines): Add svc_run.
24626 (routines): Remove svc_run.
24627 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24628 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24629 * sunrpc/svc_run.c (svc_run): Likewise.
24630 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24631
e84142d2
UD
246322011-04-21 Ulrich Drepper <drepper@gmail.com>
24633
24634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24635 problem in reallocation in last patch.
24636
877175d8
UD
246372011-04-20 Ulrich Drepper <drepper@gmail.com>
24638
24639 * sunrpc/Makefile: Move inclusion of Rules.
24640
ab8eed78
UD
246412011-04-19 Ulrich Drepper <drepper@gmail.com>
24642
24643 * nss/nss_files/files-initgroups.c: New file.
24644 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24645 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24646 _nss_files_initgroups_dyn.
24647
e3d8f584
RS
246482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24649
24650 * elf/elf.h (R_ARM_IRELATIVE): Define.
24651
af190f45
UD
246522011-04-19 Ulrich Drepper <drepper@gmail.com>
24653
24654 * po/ru.po: Update from translation team.
24655
53cf59ef
UD
246562011-04-17 Ulrich Drepper <drepper@gmail.com>
24657
24658 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24659 dependencies.
24660
4c559bcd
MF
246612011-02-06 Mike Frysinger <vapier@gentoo.org>
24662
24663 [BZ #12653]
24664 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24665 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24669
4420675c
AS
246702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24671
24672 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24673 differing bytes.
24674 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24675 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24677
75ea32ab
UD
246782011-04-17 Ulrich Drepper <drepper@gmail.com>
24679
24680 [BZ #12420]
24681 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24682 storing it.
24683 * stdlib/bug-getcontext.c: New file.
24684 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24685
27390476
AK
246862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24687
24688 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24689 instructions into .machine "z9-109".
24690 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24691 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24692
10442705
AK
246932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24694
24695 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24696 between environment variables and auxiliary vector.
24697
7b57bfe5
UD
246982011-04-16 Ulrich Drepper <drepper@gmail.com>
24699
24700 * Makefile: Add rules to build linkobj/libc.so.
24701 * include/libc-symbols.h: Define libc_hidden_nolink.
24702 * include/rpc/auth.h: Mark functions which are to be hidden.
24703 * include/rpc/auth_des.h: Likewise.
24704 * include/rpc/auth_unix.h: Likewise.
24705 * include/rpc/clnt.h: Likewise.
24706 * include/rpc/des_crypt.h: Likewise.
24707 * include/rpc/key_prot.h: Likewise.
24708 * include/rpc/pmap_clnt.h: Likewise.
24709 * include/rpc/pmap_prot.h: Likewise.
24710 * include/rpc/pmap_rmt.h: Likewise.
24711 * include/rpc/rpc_msg.h: Likewise.
24712 * include/rpc/svc.h: Likewise.
24713 * include/rpc/svc_auth.h: Likewise.
24714 * include/rpc/xdr.h: Likewise.
24715 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24716 * nss/Makefile: Likewise.
24717 * sunrpc/Makefile: Don't install headers. Build library with normal
24718 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24719 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24720 for the compat linking library. Remove use of INTDEF/INTUSE.
24721 * sunrpc/auth_none.c: Likewise.
24722 * sunrpc/auth_unix.c: Likewise.
24723 * sunrpc/authdes_prot.c: Likewise.
24724 * sunrpc/authuxprot.c: Likewise.
24725 * sunrpc/clnt_gen.c: Likewise.
24726 * sunrpc/clnt_perr.c: Likewise.
24727 * sunrpc/clnt_raw.c: Likewise.
24728 * sunrpc/clnt_simp.c: Likewise.
24729 * sunrpc/clnt_tcp.c: Likewise.
24730 * sunrpc/clnt_udp.c: Likewise.
24731 * sunrpc/clnt_unix.c: Likewise.
24732 * sunrpc/des_crypt.c: Likewise.
24733 * sunrpc/des_soft.c: Likewise.
24734 * sunrpc/get_myaddr.c: Likewise.
24735 * sunrpc/key_call.c: Likewise.
24736 * sunrpc/key_prot.c: Likewise.
24737 * sunrpc/netname.c: Likewise.
24738 * sunrpc/pm_getmaps.c: Likewise.
24739 * sunrpc/pm_getport.c: Likewise.
24740 * sunrpc/pmap_clnt.c: Likewise.
24741 * sunrpc/pmap_prot.c: Likewise.
24742 * sunrpc/pmap_prot2.c: Likewise.
24743 * sunrpc/pmap_rmt.c: Likewise.
24744 * sunrpc/publickey.c: Likewise.
24745 * sunrpc/rpc_cmsg.c: Likewise.
24746 * sunrpc/rpc_common.c: Likewise.
24747 * sunrpc/rpc_dtable.c: Likewise.
24748 * sunrpc/rpc_prot.c: Likewise.
24749 * sunrpc/rpc_thread.c: Likewise.
24750 * sunrpc/rtime.c: Likewise.
24751 * sunrpc/svc.c: Likewise.
24752 * sunrpc/svc_auth.c: Likewise.
24753 * sunrpc/svc_authux.c: Likewise.
24754 * sunrpc/svc_raw.c: Likewise.
24755 * sunrpc/svc_run.c: Likewise.
24756 * sunrpc/svc_simple.c: Likewise.
24757 * sunrpc/svc_tcp.c: Likewise.
24758 * sunrpc/svc_udp.c: Likewise.
24759 * sunrpc/svc_unix.c: Likewise.
24760 * sunrpc/svcauth_des.c: Likewise.
24761 * sunrpc/xcrypt.c: Likewise.
24762 * sunrpc/xdr.c: Likewise.
24763 * sunrpc/xdr_array.c: Likewise.
24764 * sunrpc/xdr_float.c: Likewise.
24765 * sunrpc/xdr_intXX_t.c: Likewise.
24766 * sunrpc/xdr_mem.c: Likewise.
24767 * sunrpc/xdr_rec.c: Likewise.
24768 * sunrpc/xdr_ref.c: Likewise.
24769 * sunrpc/xdr_sizeof.c: Likewise.
24770 * sunrpc/xdr_stdio.c: Likewise.
24771
e6c61494
UD
247722011-04-10 Ulrich Drepper <drepper@gmail.com>
24773
24774 [BZ #12650]
24775 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24776 * sysdeps/ia64/dl-tls.h: Likewise.
24777 * sysdeps/powerpc/dl-tls.h: Likewise.
24778 * sysdeps/s390/dl-tls.h: Likewise.
24779 * sysdeps/sh/dl-tls.h: Likewise.
24780 * sysdeps/sparc/dl-tls.h: Likewise.
24781 * sysdeps/x86_64/dl-tls.h: Likewise.
24782 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24783
34fe483e
AS
247842011-03-14 Andreas Schwab <schwab@redhat.com>
24785
24786 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24787 rpath element also skip the following colon.
24788 (expand_dynamic_string_token): Add is_path parameter and pass
24789 down to DL_DST_REQUIRED and _dl_dst_substitute.
24790 (decompose_rpath): Call expand_dynamic_string_token with
24791 non-zero is_path. Ignore empty rpaths.
24792 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24793 with zero is_path.
24794
f12a32e6
AS
247952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24796
24797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24798 Make cancelable.
24799
38a7d692
UD
248002011-04-09 Ulrich Drepper <drepper@gmail.com>
24801
24802 [BZ #12655]
24803 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24804 Patch by Filipe David Manana <fdmanana@apache.org>.
24805
e451d22b
AS
248062011-04-07 Andreas Schwab <schwab@redhat.com>
24807
24808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24809 Maintain aligned stack.
24810 (CHECK_RSP): Remove unused macro.
24811
dedc7c7b
UD
248122011-04-03 Ulrich Drepper <drepper@gmail.com>
24813
24814 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24815 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24816
94521213
UD
248172011-04-02 Ulrich Drepper <drepper@gmail.com>
24818
24819 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24820
8cb700c0 24821 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24822
0354e355
L
248232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24824
24825 [BZ #12518]
24826 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24827 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24828 * sysdeps/x86_64/memmove.c: New file.
24829 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24830 (memcpy): Renamed to ...
24831 (__new_memcpy): This.
24832 (memcpy): Provide GLIBC_2_14 memcpy.
24833 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24834 (memcpy): Provide GLIBC_2_2_5 memcpy.
24835
8593482f
UD
248362011-04-01 Ulrich Drepper <drepper@gmail.com>
24837
24838 [BZ #12631]
24839 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24840
81a5726b
AS
248412011-03-30 Andreas Schwab <schwab@redhat.com>
24842
24843 * misc/syncfs.c: New file.
24844 * misc/Makefile (routines): Add syncfs.
24845 * posix/unistd.h: Declare syncfs.
24846 * sysdeps/unix/syscalls.list: Add syncfs.
24847
00e5419f
AS
248482011-04-01 Andreas Schwab <schwab@redhat.com>
24849
24850 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24851 open_by_handle_at.
24852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24857 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24859
748876bf
UD
248602011-04-01 Ulrich Drepper <drepper@gmail.com>
24861
658e451d
UD
24862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24864 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24869
748876bf
UD
24870 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24871 sync_file_range.c with -fexceptions.
24872 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24873 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24874 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24875 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24876 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24877 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24879 sync_file_range as cancellation point
24880 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24881 now a wrapper around __call_sync_file_range with cancellation handling.
24882 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24883 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24884 function name to __call_sync_file_range.
24885 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24886 Add call_sync_file_range.
748876bf 24887
6e63d5e1
AS
248882011-04-01 Andreas Schwab <schwab@redhat.com>
24889
24890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24891 bits/timex.h.
6e63d5e1 24892
46998f74
UD
248932011-04-01 Ulrich Drepper <drepper@gmail.com>
24894
4c1423ed
UD
24895 * iconv/iconv.h: Fix typo in comment.
24896 * io/fcntl.h: Likewise.
24897 * libio/stdio.h: Likewise.
24898 * posix/spawn.h: Likewise.
24899 * posix/unistd.h: Likewise.
24900 * stdlib/stdlib.h: Likewise.
24901 * time/time.h: Likewise.
24902 * wcsmbs/wchar.h: Likewise.
24903
158648c0
UD
24904 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24905 open_by_handle): Add.
24906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24907 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24908 Augment a few comments.
24909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24914 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24915 open_by_handle.
24916
46998f74
UD
24917 * io/fcntl.h (AT_EMPTY_PATH): Define.
24918
83fe108b
UD
249192011-03-30 Ulrich Drepper <drepper@gmail.com>
24920
24921 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24922 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24923 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24924 to...
24925 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24926 * Versions.def: Add GLIBC_2.14.
24927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24928 Export.
83fe108b 24929
bb242059
UD
249302011-03-22 Ulrich Drepper <drepper@gmail.com>
24931
24932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24933 round counter.
24934 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24935
c97a1282
L
249362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24937
24938 [BZ #12597]
24939 * string/test-strncmp.c (do_page_test): New function.
24940 (check2): Likewise.
24941 (test_main): Call check2.
24942 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24943
2a115601
UD
249442011-03-20 Ulrich Drepper <drepper@gmail.com>
24945
24946 [BZ #12587]
24947 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24948 Handle cache information in CPU leaf 4.
24949 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24950
8126d904
UD
249512011-03-18 Ulrich Drepper <drepper@gmail.com>
24952
042c49c6 24953 [BZ #12583]
8126d904
UD
24954 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24955 character representation.
24956 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24957
ccfe366e
RA
249582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24959
24960 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24961 END(__isnan) to END(__isnanf) to match function entry point/label
24962 EALIGN(__isnanf,...).
24963
c6e13027
JJ
249642011-03-10 Jakub Jelinek <jakub@redhat.com>
24965
24966 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24967
33f85a3f
UD
249682011-03-10 Ulrich Drepper <drepper@gmail.com>
24969
028478fa
UD
24970 [BZ #12510]
24971 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24972 copy from the symbol referenced in the relocation to initialize the
24973 used variable.
24974 Patch by Piotr Bury <pbury@goahead.com>.
24975 * elf/Makefile: Add rules to build and tst-unique3.
24976 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24977 * elf/tst-unique3.cc: New file.
24978 * elf/tst-unique3.h: New file.
24979 * elf/tst-unique3lib.cc: New file.
24980 * elf/tst-unique3lib2.cc: New file.
24981
33f85a3f
UD
24982 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24983
03592fc7
MF
249842011-03-10 Mike Frysinger <vapier@gentoo.org>
24985
24986 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24987 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24988 to _start.
03592fc7 24989
6a5ee102
UD
249902011-03-06 Ulrich Drepper <drepper@gmail.com>
24991
24992 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24993 to-be-loaded object along a path to loader is ld.so.
24994
7e4ba49c
HJ
249952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24996 Ulrich Drepper <drepper@gmail.com>
24997
24998 * sysdeps/x86_64/memset.S: After aligning destination, code
24999 branches to different locations depending on the value of
25000 misalignment, when multiarch is enabled. Fix this.
25001
250022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25003
25004 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25005 Set _x86_64_preferred_memory_instruction for AMD processsors.
25006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25007 Set bit_Prefer_SSE_for_memop for AMD processors.
25008
13a804de
UD
250092011-03-04 Ulrich Drepper <drepper@gmail.com>
25010
25011 * libio/fmemopen.c (fmemopen): Optimize a bit.
25012
9d25c392
AS
250132011-03-03 Andreas Schwab <schwab@redhat.com>
25014
25015 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25016
a5543c6a
RM
250172011-03-03 Roland McGrath <roland@redhat.com>
25018
25019 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25020
012d35f7
DM
250212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25022
7e4ba49c 25023 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25024 __bzero_ultra1 instead of __memset_ultra1.
25025
4bff6e01
AS
250262011-02-23 Andreas Schwab <schwab@redhat.com>
25027 Ulrich Drepper <drepper@gmail.com>
25028
25029 [BZ #12509]
25030 * include/link.h (struct link_map): Add l_orig_initfini.
25031 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25032 returning unsuccessfully.
25033 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25034 close of a file loaded at startup, restore the original l_initfini
25035 list.
25036 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25037 list, store the pointer.
25038 * elf/Makefile ($(objpfx)noload-mem): New rule.
25039 (noload-ENV): Define.
25040 (tests): Add $(objpfx)noload-mem.
25041 * elf/noload.c: Include <memcheck.h>.
25042 (main): Call mtrace. Close all opened handles.
25043
f2092faf
AS
250442011-02-17 Andreas Schwab <schwab@redhat.com>
25045
25046 [BZ #12454]
25047 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25048 dependencies are missing.
25049
6c8a2e88
ST
250502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25051
f2092faf 25052 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25053 Hurd needs munmap.
25054 * sysdeps/mach/hurd/ifreq.h: New file.
25055
84a42118
PB
250562011-01-27 Petr Baudis <pasky@suse.cz>
25057 Ulrich Drepper <drepper@gmail.com>
25058
071f805e 25059 [BZ 12445]#
84a42118
PB
25060 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25061 to extend_alloca().
25062 * stdio-common/bug23.c: New file.
25063 * stdio-common/Makefile (tests): Add bug23.
25064
e23fe25b
AS
250652010-09-28 Andreas Schwab <schwab@redhat.com>
25066 Ulrich Drepper <drepper@gmail.com>
25067
25068 [BZ #12489]
25069 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25070 before performing relro protection. At old place add assertion
25071 to make sure nothing changed.
25072
d3f02e10
NS
250732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25074 Glauber de Oliveira Costa <glommer@gmail.com>
25075
25076 * elf/elf.h: Add new ARM TLS relocs.
25077
d55fd7a5
RA
250782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25079
25080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25081 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25082 cast from r3.
25083 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25084 'tests' variable.
25085 * sysdeps/wordsize-64/tst-writev.c: New file.
25086
2206397e
RA
250872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25088
25089 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25090 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25091 insns in _dl_start to prevent a TOC reference before relocs are
25092 resolved.
25093
e9433893
UD
250942011-02-15 Ulrich Drepper <drepper@gmail.com>
25095
25096 [BZ #12469]
25097 * Makeconfig: Remove RANLIB definition.
25098 * Makerules: Don't use RANLIB.
25099 * aclocal.m4: Remove ranlib test.
25100 * configure.in: No need to check for ranlib.
25101 * elf/rtld-Rules: Don't use RANLIB.
25102
f75286c6
ST
251032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25104
8e31c82d
ST
25105 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25106 protection macro.
25107 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25108 inclusion protection macro.
25109
f75286c6
ST
25110 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25111 SIGRTMIN and SIGRTMAX and print information in that case only when
25112 SIGRTMIN is defined.
25113
c1d0e639
JJ
251142011-02-11 Jakub Jelinek <jakub@redhat.com>
25115
25116 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25117 arginfo fn returning -1.
25118
25119 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25120 and thousands string is zero terminated.
25121
edf9294e
AS
251222011-02-03 Andreas Schwab <schwab@redhat.com>
25123
25124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25125 sysdeps/unix/sysv/linux/bits/socket.h.
25126
2b7e92df
ST
251272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25128
edf9294e
AS
25129 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25130 (__CPU_COUNT): Remove old macros.
25131 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25132 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25133 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25134 (__sched_cpualloc, __sched_cpufree): Add declarations.
25135
a4c7ea7b
UD
251362011-02-05 Ulrich Drepper <drepper@gmail.com>
25137
25138 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25139 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25140 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25141 (readdhstai): Return value of addhstaiX call.
25142 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25143 (addgrbyX): Return value returned by cache_addgr.
25144 (readdgrbyname): Return value returned by addgrbyX.
25145 (readdgrbygid): Likewise.
25146 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25147 (addpwbyX): Return value returned by cache_addpw.
25148 (readdpwbyname): Return value returned by addhstbyX.
25149 (readdpwbyuid): Likewise.
25150 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25151 (addservbyX): Return value returned by cache_addserv.
25152 (readdservbyname): Return value returned by addservbyX:
25153 (readdservbyport): Likewise.
25154 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25155 (addhstbyX): Return value returned by cache_addhst.
25156 (readdhstbyname): Return value returned by addhstbyX.
25157 (readdhstbyaddr): Likewise.
25158 (readdhstbynamev6): Likewise.
25159 (readdhstbyaddrv6): Likewise.
25160 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25161 (readdinitgroups): Return value returned by addinitgroupsX.
25162 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25163 (prune_cache): Keep track of timeout value of re-added entries.
25164 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25165 * nscd/nscd.h: Adjust prototypes of readd* functions.
25166
a0bf67cc
RM
251672011-02-04 Roland McGrath <roland@redhat.com>
25168
25169 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25170 (nis_stats): Likewise.
25171 * nis/nis_modify.c (nis_modify): Likewise.
25172 * nis/nis_remove.c (nis_remove): Likewise.
25173 * nis/nis_add.c (nis_add): Likewise.
25174
25175 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25176
25177 * posix/fnmatch_loop.c: Add some consts.
25178
25179 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25180
435b95eb
L
251812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25182
25183 [BZ #12460]
25184 * config.make.in (config-cflags-novzeroupper): Define.
25185 * configure.in: Substitute libc_cv_cc_novzeroupper.
25186 * elf/Makefile (AVX-CFLAGS): Define.
25187 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25188 (CFLAGS-tst-auditmod4a.c): Likewise.
25189 (CFLAGS-tst-auditmod4b.c): Likewise.
25190 (CFLAGS-tst-auditmod6b.c): Likewise.
25191 (CFLAGS-tst-auditmod6c.c): Likewise.
25192 (CFLAGS-tst-auditmod7b.c): Likewise.
25193 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25194
8517b15e
UD
251952011-02-02 Ulrich Drepper <drepper@gmail.com>
25196
25197 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25198 function to the callback.
25199 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25200
10a656fe
AS
252012011-02-02 Andreas Schwab <schwab@redhat.com>
25202
25203 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25204 of errno.
25205
968dad0a
UD
252062011-01-19 Ulrich Drepper <drepper@gmail.com>
25207
9f94d2ea 25208 [BZ #11724]
968dad0a
UD
25209 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25210 of constructors.
25211 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25212 of destructors.
25213 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25214
25215 [BZ #11724]
25216 * elf/Makefile: Add rules to build and run new test.
25217 * elf/tst-initorder.c: New file.
25218 * elf/tst-initorder.exp: New file.
25219 * elf/tst-initordera1.c: New file.
25220 * elf/tst-initordera2.c: New file.
25221 * elf/tst-initordera3.c: New file.
25222 * elf/tst-initordera4.c: New file.
25223 * elf/tst-initorderb1.c: New file.
25224 * elf/tst-initorderb2.c: New file.
25225 * elf/tst-order-a1.c: New file.
25226 * elf/tst-order-a2.c: New file.
25227 * elf/tst-order-a3.c: New file.
25228 * elf/tst-order-a4.c: New file.
25229 * elf/tst-order-b1.c: New file.
25230 * elf/tst-order-b2.c: New file.
25231 * elf/tst-order-main.c: New file.
25232 New test case by George Gensure <werkt0@gmail.com>.
25233
86e92359
UD
252342010-10-01 Andreas Schwab <schwab@redhat.com>
25235
25236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25237 decoding ACE if AI_CANONIDN.
25238
5d5732b0
UD
252392011-01-18 Ulrich Drepper <drepper@gmail.com>
25240
25241 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25242
a77e8cbc
UD
252432011-01-17 Ulrich Drepper <drepper@gmail.com>
25244
6392473f
UD
25245 * version.h (RELEASE): Bump for 2.13 release.
25246 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25247
620a0529
UD
25248 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25249
18ba70a5
UD
25250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25251 MADV_NOHUGEPAGE.
32465c3e
UD
25252 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25253 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25258
c0dafcf1
UD
25259 * posix/getconf.c: Update copyright year.
25260 * catgets/gencat.c: Likewise.
25261 * csu/version.c: Likewise.
25262 * debug/catchsegv.sh: Likewise.
25263 * debug/xtrace.sh: Likewise.
25264 * elf/ldconfig.c: Likewise.
25265 * elf/ldd.bash.in: Likewise.
25266 * elf/sprof.c (print_version): Likewise.
25267 * iconv/iconv_prog.c: Likewise.
25268 * iconv/iconvconfig.c: Likewise.
25269 * locale/programs/locale.c: Likewise.
25270 * locale/programs/localedef.c: Likewise.
25271 * malloc/memusage.sh: Likewise.
25272 * malloc/mtrace.pl: Likewise.
25273 * nscd/nscd.c (print_version): Likewise.
25274 * nss/getent.c: Likewise.
25275
a77e8cbc
UD
25276 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25277 PF_CAIF, and PF_ALG.
25278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25279
77e8bddf
AS
252802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25281
1f20b93a
AS
25282 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25283 (modules-names): Use them.
25284 (ifunc-test-modules, ifunc-pie-tests): Define.
25285 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25286 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25287 (test-extras): Likewise.
25288 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25289 $(compile-command.c).
25290 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25291 (all-built-dso): Define.
25292 (check-textrel.out, check-execstack.out): Depend on it.
25293
77e8bddf
AS
25294 * configure.in: Don't override --enable-multi-arch.
25295
bc425b33
UD
252962011-01-15 Ulrich Drepper <drepper@gmail.com>
25297
25298 [BZ #6812]
25299 * nscd/hstcache.c (tryagain): Define.
25300 (cache_addhst): Return tryagain not notfound for temporary errors.
25301 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25302 failed.
25303
794c3ad3
UD
253042011-01-14 Ulrich Drepper <drepper@gmail.com>
25305
70181fdd
UD
25306 [BZ #10563]
25307 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25308 to make the syscall.
25309 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25310
794c3ad3
UD
25311 [BZ #12378]
25312 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25313 and fall back to matching as normal character if the string ends before
25314 the matching ']' is found. This is what POSIX requires.
25315 * posix/testfnm.c: Adjust test result.
25316 * posix/globtest.sh: Adjust test result. Add new test.
25317 * posix/tst-fnmatch.input: Likewise.
25318 * posix/tst-fnmatch2.c: Add new test.
25319
68dc9497
AS
253202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25321
25322 * elf/Makefile (check-execstack): Revert last change. Depend on
25323 check-execstack.h.
25324 (check-execstack.h): New target.
25325 (generated): Add check-execstack.h.
25326 * elf/check-execstack.c: Include "check-execstack.h".
25327 (main): Revert last change.
25328 (handle_file): Return zero if GNU_STACK is absent and
25329 DEFAULT_STACK_PERMS doesn't include PF_X.
25330
451f001b
UD
253312011-01-13 Ulrich Drepper <drepper@gmail.com>
25332
cfa28e56
UD
25333 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25334 in child fails because the descriptor is already closed.
8cf8ce17
UD
25335 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25336 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25337 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25338
1086d70d
UD
25339 [BZ #12397]
25340 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25341 syscall.
25342
451f001b
UD
25343 [BZ #10484]
25344 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25345 temporary buffer used to handle multi lookups locally.
a85b5cb4 25346 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25347
08769175
UD
253482011-01-12 Ulrich Drepper <drepper@gmail.com>
25349
25350 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25351 loader is ld.so.
25352
5e49c52e
UD
253532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25354
25355 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25356 alignment for SSE2.
25357
60522a5f
UD
253582011-01-12 Ulrich Drepper <drepper@gmail.com>
25359
25360 [BZ #12394]
25361 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25362 characters. When rounding increased number of integer digits recompute
25363 number of groups.
25364 * stdio-common/tst-grouping.c: New file.
25365 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25366
f257bbd7
UD
253672011-01-09 Ulrich Drepper <drepper@gmail.com>
25368
25369 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25370 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25371
25372 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25373 void.
25374 * bits/select.h: Likewise.
25375
fa9c15cb
UD
253762011-01-08 Ulrich Drepper <drepper@gmail.com>
25377
25378 * po/ja.po: Update from translation team.
25379
16c2895f
DM
253802011-01-04 David S. Miller <davem@sunset.davemloft.net>
25381
25382 [BZ #11155]
25383 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25384 implementation just like for lxstat, fxstatat, et al.
25385
2543fef2
JM
253862010-12-27 Jim Meyering <meyering@redhat.com>
25387
25388 [BZ #12348]
25389 * posix/regexec.c (build_trtable): Return failure indication upon
25390 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25391
98727dbe
UD
253922010-12-25 Ulrich Drepper <drepper@gmail.com>
25393
5bd6dc5c
UD
25394 [BZ #12201]
25395 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25396 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25397 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25398 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25399
97983464
UD
25400 [BZ #12207]
25401 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25402
98727dbe
UD
25403 [BZ #12204]
25404 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25405 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25406
4a531bb0
L
254072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25408
25409 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25410 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25411 script has SORT_BY_INIT_PRIORITY.
25412 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25413 NO_CTORS_DTORS_SECTIONS is defined.
25414 * elf/soinit.c: Likewise.
25415 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25416 NO_CTORS_DTORS_SECTIONS is defined.
25417 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25418 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25419 * sysdeps/sh/init-first.c: Likewise.
25420 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25421
07eb4b71
UD
254222010-12-24 Ulrich Drepper <drepper@gmail.com>
25423
25424 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25425 always use the slow path.
25426
30950a5f
RA
254272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25428
25429 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25430 similar rule which adds the sysdep directories to the header search in
25431 order to pick up the correct platform stackinfo.h.
25432 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25433 perform test if it is, otherwise return successfully without testing.
25434 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25435 DEFAULT_STACK_PERMS define in stackinfo.h.
25436 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25437 defined in stackinfo.h.
25438 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25439 DEFAULT_STACK_PERMS defined in stackinfo.h.
25440 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25441 * sysdeps/ia64/stackinfo.h: Likewise.
25442 * sysdeps/s390/stackinfo.h: Likewise.
25443 * sysdeps/sh/stackinfo.h: Likewise.
25444 * sysdeps/sparc/stackinfo.h: Likewise.
25445 * sysdeps/x86_64/stackinfo.h: Likewise.
25446 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25447 PF_X for powerpc64. Retain PF_X for powerpc32.
25448
db753e2c
UD
254492010-12-19 Ulrich Drepper <drepper@gmail.com>
25450
14b697f7
UD
25451 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25452 accurately.
db753e2c
UD
25453 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25454 GETDENTS_64BIT_ALIGNED.
25455
28300719
UD
254562010-12-14 Ulrich Drepper <dreper@gmail.com>
25457
14b697f7 25458 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25459
4f197237
AS
254602010-12-10 Andreas Schwab <schwab@redhat.com>
25461
dbb0472f
AS
25462 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25463 _GNU_SOURCE.
25464
4f197237
AS
25465 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25466 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25467 Remove __restrict.
25468 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25469 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25470
fb88ac72
UD
254712010-12-09 Ulrich Drepper <drepper@gmail.com>
25472
25473 [BZ #11655]
25474 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25475 are initialized.
25476
42acbb92
JJ
254772010-12-09 Jakub Jelinek <jakub@redhat.com>
25478
25479 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25480
c038d98d
UD
254812010-12-03 Ulrich Drepper <drepper@gmail.com>
25482
25483 * po/it.po: Update from translation team.
25484
3a4a2499
L
254852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25488 unused codes.
25489
1e24cf6e
UD
254902010-11-30 Ulrich Drepper <drepper@gmail.com>
25491
25492 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25493
a7690819
AS
254942010-11-24 Andreas Schwab <schwab@redhat.com>
25495
25496 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25497 specially.
25498 (gaih_getanswer_slice): Likewise.
25499
3bf8d1b1
JJ
255002010-10-20 Jakub Jelinek <jakub@redhat.com>
25501
25502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25503
6db52fbb
PB
255042010-05-31 Petr Baudis <pasky@suse.cz>
25505
25506 [BZ #11149]
25507 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25508 silently even in the chroot mode.
25509
eaca7569
UD
255102010-11-22 Ulrich Drepper <drepper@gmail.com>
25511
25512 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25513 last patch a bit. Pretty printing
25514
3056dcdb
UD
255152010-05-31 Petr Baudis <pasky@suse.cz>
25516
25517 [BZ #10085]
25518 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25519 initialization of skip_initgroups_dyn.
25520
cf7c9078
UD
255212010-11-19 Ulrich Drepper <drepper@gmail.com>
25522
25523 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25525
a1fb5e3e
UD
255262010-11-16 Ulrich Drepper <drepper@gmail.com>
25527
25528 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25529
3540d66b
AS
255302010-11-11 Andreas Schwab <schwab@redhat.com>
25531
25532 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25533 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25534 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25535 ($(objpfx)tst-fnmatch-mem): New rule.
25536 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25537 * posix/tst-fnmatch.c (main): Call mtrace.
25538
13b69574
L
255392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25540
25541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25542 Support Intel processor model 6 and model 0x2c.
25543
da93d214
LM
255442010-11-10 Luis Machado <luisgpm@br.ibm.com>
25545
25546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25547 signed comparison.
25548
8ca52c6e
L
255492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25550
25551 [BZ #12205]
25552 * string/test-strncasecmp.c (check_result): New function.
25553 (do_one_test): Use it.
25554 (check1): New function.
25555 (test_main): Use it.
25556 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25557 Support strcasecmp and strncasecmp.
25558
69da074d
UD
255592010-11-08 Ulrich Drepper <drepper@gmail.com>
25560
25561 [BZ #12194]
25562 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25563 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25564
ff02d528
L
255652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25566
25567 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25568 IFUNC support.
25569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25570 memset-x86-64.
25571 * sysdeps/x86_64/multiarch/bzero.S: New file.
25572 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25573 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25574 * sysdeps/x86_64/multiarch/memset.S: New file.
25575 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25577 Set bit_Prefer_SSE_for_memop for Intel processors.
25578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25579 Define.
25580 (index_Prefer_SSE_for_memop): Define.
25581 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25582
344d0b54
LM
255832010-11-04 Luis Machado <luisgpm@br.ibm.com>
25584
25585 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25586 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25587
c0dde15b
UD
255882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25589
25590 [BZ #12191]
25591 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25592 (__x86_64_raw_data_cache_size_half): Likewise.
25593 (__x86_64_raw_shared_cache_size): Likewise.
25594 (__x86_64_raw_shared_cache_size_half): Likewise.
25595
25596 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25597 (__x86_64_raw_data_cache_size_half): Likewise.
25598 (__x86_64_raw_shared_cache_size): Likewise.
25599 (__x86_64_raw_shared_cache_size_half): Likewise.
25600 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25601 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25602 and __x86_64_raw_shared_cache_size_half. Round
25603 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25604 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25605 to multiple of 256 bytes.
25606
0e516e0e
MS
256072010-11-03 Ulrich Drepper <drepper@gmail.com>
25608
25609 [BZ #12167]
25610 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25611 of inacessible symlinks. Verify result of symlink before returning it.
25612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25613 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25614
0e012e87
ER
256152010-10-28 Erich Ritz <erichritz@gmail.com>
25616
25617 * math/math.h (isinf): Fix typo in comment.
25618
de0ff7bc
UD
256192010-11-01 Ulrich Drepper <drepper@gmail.com>
25620
25621 * po/da.po: Update from translation team.
25622
fa41c84d
UD
256232010-10-26 Ulrich Drepper <drepper@gmail.com>
25624
25625 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25626 is added to the list.
25627
f0967738
AK
256282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25629 Ulrich Drepper <drepper@gmail.com>
25630
25631 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25632 the global list here. Move code to...
25633 (_dl_add_to_namespace_list): ...here. New function.
25634 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25635 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25636 * elf/dl-load.c (lose): Don't remove the element from the list.
25637 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25638 (_dl_map_object): Likewise.
25639
256402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25641
25642 [BZ #12159]
25643 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25644 into all bytes of SSE register.
25645 Patch by Richard Li <richardpku@gmail.com>.
25646
f0967738 256472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25648
25649 [BZ #12140]
25650 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25651 perturbing.
25652
d0b9e94f
MB
256532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25654
25655 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25656 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25657 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25658 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25660 submachine.
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25662
8e9f92e9
AS
256632010-10-22 Andreas Schwab <schwab@redhat.com>
25664
25665 * include/dlfcn.h (__RTLD_SECURE): Define.
25666 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25667 mode & __RTLD_SECURE instead.
25668 (open_path): Rename preloaded parameter to secure.
25669 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25670 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25671 * elf/dl-deps.c (openaux): Likewise.
25672 * elf/rtld.c (struct map_args): Remove is_preloaded.
25673 (map_doit): Don't use it.
25674 (dl_main): Likewise.
25675 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25676 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25677
bc96fbda
AS
256782010-09-09 Andreas Schwab <schwab@redhat.com>
25679
25680 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25681 (sysd-rules-targets): Remove duplicates.
25682 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25683 rtld-%.$o dependency.
25684
22cd1c9b
AS
256852010-10-18 Andreas Schwab <schwab@redhat.com>
25686
25687 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25688 _dl_map_object do it.
25689
18edac48
UD
256902010-10-19 Ulrich Drepper <drepper@gmail.com>
25691
25692 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25693 fast fma builtins, define the macros in the C99 standard.
25694 (FP_FAST_FMAF): Likewise.
25695 (FP_FAST_FMAL): Likewise.
25696 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25697
25698 * bits/mathdef.h: Update copyright year.
25699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25700
d2050124
MM
257012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25702
25703 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25704 builtins, define the macros in the C99 standard.
25705 (FP_FAST_FMAF): Likewise.
25706 (FP_FAST_FMAL): Likewise.
25707 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25708 multiply/add.
25709 (FP_FAST_FMAF): Likewise.
25710
475facd1
JJ
257112010-10-15 Jakub Jelinek <jakub@redhat.com>
25712
25713 [BZ #3268]
25714 * math/libm-test.inc (fma_test): Some new testcases.
25715 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25716 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25717 y and infinite z. Do multiplication by C already in long double.
25718 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25720 y and infinite z. Do bitwise or of inexact bit into u.d.
25721 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25722 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25723 * sysdeps/i386/fpu/s_fma.S: Removed.
25724 * sysdeps/i386/fpu/s_fmal.S: Removed.
25725
7c08a05c
JJ
257262010-10-16 Jakub Jelinek <jakub@redhat.com>
25727
25728 [BZ #3268]
25729 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25731 computation is not scheduled after fetestexcept. Fix value
25732 of minimum denormal long double.
25733
f3f7372d
JJ
257342010-10-14 Jakub Jelinek <jakub@redhat.com>
25735
25736 [BZ #3268]
25737 * math/libm-test.inc (fma_test): Add some more tests.
25738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25739 correctly.
25740
14d43591
AS
257412010-10-15 Andreas Schwab <schwab@redhat.com>
25742
25743 * scripts/data/localplt-s390-linux-gnu.data: New file.
25744 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25745
5e908464
JJ
257462010-10-13 Jakub Jelinek <jakub@redhat.com>
25747
25748 [BZ #3268]
25749 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25750 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25751 instead of dbl-64.
25752 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25753 inlines.
25754 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25756 if one of x and y is very large and the other is subnormal.
25757 * sysdeps/s390/fpu/s_fmaf.c: New file.
25758 * sysdeps/s390/fpu/s_fma.c: New file.
25759 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25760 * sysdeps/powerpc/fpu/s_fma.S: New file.
25761 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25762 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25763 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25764
257652010-10-12 Jakub Jelinek <jakub@redhat.com>
25766
25767 [BZ #3268]
25768 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25769 fma tests.
25770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25771 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25772 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25773 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25774 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25775 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25776 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25777
b833d51f
UD
257782010-10-12 Ulrich Drepper <drepper@redhat.com>
25779
25780 [BZ #12078]
25781 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25782 * posix/bug-regex31.input: Add test case.
25783
1751705d
UD
257842010-10-11 Ulrich Drepper <drepper@gmail.com>
25785
e9b9cbf5
UD
25786 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25787 * posix/bug-regex31.input: New file.
25788
25789 [BZ #12078]
25790 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25791 (parse_sub_exp): Fix last change, use postorder.
25792
ef06edbe
UD
25793 * posix/bug-regex31.c: New file.
25794 * posix/Makefile: Add rules to build and run bug-regex31.
25795
a129c80d
UD
25796 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25797
25798 [BZ #12078]
25799 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25800
b76b818e
UD
25801 [BZ #12108]
25802 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25803 to have entries in sys_siglist.
25804
1751705d
UD
25805 [BZ #12093]
25806 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25807 be NULL.
25808
9ff8d36f
JJ
258092010-10-07 Jakub Jelinek <jakub@redhat.com>
25810
25811 [BZ #3268]
25812 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25813 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25814 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25815 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25816 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25817 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25818 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25819 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25820 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25821 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25822 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25823 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25824 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25825 * math/ftestexcept.c (fetestexcept): Likewise.
25826 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25827 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25828 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25829 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25830 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25831 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25833
af325969
UD
258342010-10-11 Ulrich Drepper <drepper@gmail.com>
25835
c579b202 25836 [BZ #12107]
af325969
UD
25837 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25838 newline.
25839
67a67b95
UD
258402010-10-06 Ulrich Drepper <drepper@gmail.com>
25841
25842 * string/bug-strstr1.c: New file.
25843 * string/Makefile: Add rules to build and run bug-strstr1.
25844
5fb308bc
EB
258452010-10-05 Eric Blake <eblake@redhat.com>
25846
25847 [BZ #12092]
25848 * string/str-two-way.h (two_way_long_needle): Always clear memory
25849 when skipping input due to the shift table.
25850
45db99c7
UD
258512010-10-03 Ulrich Drepper <drepper@gmail.com>
25852
3b111893
UD
25853 [BZ #12005]
25854 * malloc/mcheck.c: Handle large requests.
25855
45db99c7
UD
25856 [BZ #12077]
25857 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25858 for strncmp and strncasecmp.
25859 * string/stratcliff.c: Add tests for strcmp and strncmp.
25860 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25861
cf7a1eb8
NI
258622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25863
25864 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25865 __set_fpscr.
25866
6484ba5e
AJ
258672010-09-30 Andreas Jaeger <aj@suse.de>
25868
25869 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25870 (CGROUP_SUPER_MAGIC): Define.
25871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25872 Handle btrfs and cgroup file systems.
25873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25874 Likewise.
25875
91c42559
LM
258762010-09-27 Luis Machado <luisgpm@br.ibm.com>
25877
25878 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25879 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25880
87a97932
AK
258812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25882
25883 [BZ #12067]
25884 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25885 trying to locate the ELF header.
25886
c21cc9bc
AS
258872010-09-27 Andreas Schwab <schwab@redhat.com>
25888
25889 [BZ #11611]
25890 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25891 Mask out sign-bit copies when constructing f_fsid.
25892
315970f6
PB
258932010-09-24 Petr Baudis <pasky@suse.cz>
25894
25895 * debug/stack_chk_fail_local.c: Add missing licence exception.
25896 * debug/warning-nop.c: Likewise.
25897
1ac7a2c7
JM
258982010-09-15 Joseph Myers <joseph@codesourcery.com>
25899
25900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25901 implementing getdents64 using getdents syscall, set d_type if
25902 __ASSUME_GETDENTS32_D_TYPE.
25903
56801c50
AS
259042010-09-16 Andreas Schwab <schwab@redhat.com>
25905
25906 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25907 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25908
dda51327
UD
259092010-09-21 Ulrich Drepper <drepper@redhat.com>
25910
25911 [BZ #12037]
25912 * posix/unistd.h: Undo change of feature selection for ftruncate from
25913 2010-01-11.
25914
8ffcee4a
UD
259152010-09-20 Ulrich Drepper <drepper@redhat.com>
25916
a545ecd9 25917 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25918 detection.
25919
e24f0a8b
AS
259202010-09-20 Andreas Schwab <schwab@redhat.com>
25921
25922 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25923 fanotify_mark.
25924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25925
7291c56f
AS
259262010-09-14 Andreas Schwab <schwab@redhat.com>
25927
25928 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25929 variables after CHECK_SP call.
25930 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25931
bc5fb037
AS
259322010-09-13 Andreas Schwab <schwab@redhat.com>
25933 Ulrich Drepper <drepper@redhat.com>
25934
25935 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25936 re-relocationg ld.so.
25937 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25938 _dl_init_paths call.
25939 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25940 here anymore.
25941
e66e7419
UD
259422010-09-14 Ulrich Drepper <drepper@redhat.com>
25943
25944 * resolv/res_init.c (__res_vinit): Count the default server we added.
25945
c044aa75
CLT
259462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25947 Ulrich Drepper <drepper@redhat.com>
25948
25949 [BZ #11968]
25950 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25951 (____longjmp_chk): Use %ebx for saving value across system call.
25952 Add unwind info.
25953
32cf4069
AS
259542010-09-06 Andreas Schwab <schwab@redhat.com>
25955
25956 * manual/Makefile: Don't mix pattern rules with normal rules.
25957
817328ee
AS
259582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25959
25960 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25961 operation.
25962 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25963 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25964 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25965 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25967 Likewise.
25968
29fddf61
UD
259692010-09-04 Ulrich Drepper <drepper@redhat.com>
25970
25971 [BZ #11979]
25972 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25973 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25974
0959ffc9
UD
259752010-09-02 Ulrich Drepper <drepper@redhat.com>
25976
25977 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25978 * sysdeps/x86_64/addmul_1.S: Likewise.
25979 * sysdeps/x86_64/lshift.S: Likewise.
25980 * sysdeps/x86_64/mul_1.S: Likewise.
25981 * sysdeps/x86_64/rshift.S: Likewise.
25982 * sysdeps/x86_64/sub_n.S: Likewise.
25983 * sysdeps/x86_64/submul_1.S: Likewise.
25984
ece29840
ST
259852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25986
0959ffc9
UD
25987 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25988 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25989 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25990 * bits/sched.h [__need_schedparam]
ece29840 25991 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25992 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25993 (__defined_schedparam): Define to 1.
ece29840
ST
25994 (__sched_param): New structure, identical to sched_param.
25995 (__need_schedparam): Undefine.
25996
e53a31fe
MF
259972010-08-31 Mike Frysinger <vapier@gentoo.org>
25998
fdc0c10d
MF
25999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26000 (epoll_create1): Declare.
26001
e53a31fe
MF
26002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26003
a726d796
AS
260042010-08-31 Andreas Schwab <schwab@redhat.com>
26005
26006 [BZ #7066]
26007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26008 shifting retval into place.
26009
2f3e3dc7
UD
260102010-09-01 Ulrich Drepper <drepper@redhat.com>
26011
f2933da9
UD
26012 * nis/rpcsvc/nis.h: Update copyright notice.
26013 * nis/rpcsvc/nis.x: Likewise.
26014 * nis/rpcsvc/nis_callback.h: Likewise.
26015 * nis/rpcsvc/nis_callback.x: Likewise.
26016 * nis/rpcsvc/nis_object.x: Likewise.
26017 * nis/rpcsvc/nis_tags.h: Likewise.
26018 * nis/rpcsvc/yp.h: Likewise.
26019 * nis/rpcsvc/yp.x: Likewise.
26020 * nis/rpcsvc/ypupd.h: Likewise.
26021 * nis/yp_xdr.c: Likewise.
26022 * nis/ypupdate_xdr.c: Likewise.
26023
2f3e3dc7
UD
26024 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26025 mainly the body of pmap_getport. Add parameters to specify timeouts.
26026 (pmap_getport): Use __libc_rpc_getport.
26027 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26028 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26029 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26030
f3dcc2f9
AS
260312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26032
26033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26034 fanotify_mark.
26035
6d34eb5b
RM
260362010-08-27 Roland McGrath <roland@redhat.com>
26037
26038 * sysdeps/i386/i686/multiarch/Makefile
26039 (CFLAGS-varshift.c): New variable.
26040
9ea3de11
UD
260412010-08-27 Ulrich Drepper <drepper@redhat.com>
26042
c96d23fc
UD
26043 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26044 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26045
9ea3de11
UD
26046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26047
26048 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26049
623aac7f
L
260502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26051
26052 * sysdeps/x86_64/strlen.S: Unroll the loop.
26053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26054 strlen-sse2 strlen-sse2-bsf.
26055 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26056 __strlen_no_bsf if bit_Slow_BSF is set.
26057 (__strlen_sse42): Removed.
26058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26059 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26060
8b2b7715
RM
260612010-08-25 Roland McGrath <roland@redhat.com>
26062
26063 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26064 * sysdeps/x86_64/multiarch/varshift.c: New file.
26065 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26066 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26067 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26068 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26069
e73015f2
L
260702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26071
26072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26073 strlen-sse2 strlen-sse2-bsf.
26074 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26075 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26076 (__strlen_sse2): Removed.
26077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26080 bit_Slow_BSF for Atom.
26081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26082 (index_Slow_BSF): Define.
26083 (HAS_SLOW_BSF): Define.
26084
df24a73e
UD
260852010-08-25 Ulrich Drepper <drepper@redhat.com>
26086
26087 [BZ #10851]
26088 * resolv/res_init.c (__res_vinit): When no server address at all
26089 is given default to loopback.
26090
f2ac4868
RM
260912010-08-24 Roland McGrath <roland@redhat.com>
26092
09055553
RM
26093 * configure.in: Remove config-name.h generation.
26094 * configure: Regenerated.
26095 * config-name.in: File removed.
26096 * scripts/config-uname.sh: New file.
26097 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26098 ($(objdir)config-name.h): New target.
26099
f2ac4868
RM
26100 * sunrpc/rpc_parse.h: Avoid nested comment.
26101
73f27d5e
RH
261022010-08-24 Richard Henderson <rth@redhat.com>
26103 Ulrich Drepper <drepper@redhat.com>
26104 H.J. Lu <hongjiu.lu@intel.com>
26105
26106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26108 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26109 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26110 _mm_alignr_epi8 with _mm_loadu_si128.
26111 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26112 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26113 (__m128i_shift_right): Removed.
26114 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26115 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26116 * sysdeps/x86_64/multiarch/varshift.h: New file.
26117 * sysdeps/x86_64/multiarch/varshift.S: New file.
26118
84b9230c
MF
261192010-08-21 Mike Frysinger <vapier@gentoo.org>
26120
26121 * configure.in: Move assembler checks to before sysdep dir checking.
26122
9bbd0ddc
PB
261232010-08-20 Petr Baudis <pasky@suse.cz>
26124
26125 * LICENSES: Sync the sunrpc license.
26126
9da4bb31
UD
261272010-08-19 Ulrich Drepper <drepper@redhat.com>
26128
a7ab6ec8
UD
26129 * sunrpc/auth_des.c: Update copyright notice once again.
26130 * sunrpc/auth_none.c: Likewise.
26131 * sunrpc/auth_unix.c: Likewise.
26132 * sunrpc/authdes_prot.c: Likewise.
26133 * sunrpc/authuxprot.c: Likewise.
26134 * sunrpc/bindrsvprt.c: Likewise.
26135 * sunrpc/clnt_gen.c: Likewise.
26136 * sunrpc/clnt_perr.c: Likewise.
26137 * sunrpc/clnt_raw.c: Likewise.
26138 * sunrpc/clnt_simp.c: Likewise.
26139 * sunrpc/clnt_tcp.c: Likewise.
26140 * sunrpc/clnt_udp.c: Likewise.
26141 * sunrpc/clnt_unix.c: Likewise.
26142 * sunrpc/des_crypt.c: Likewise.
26143 * sunrpc/des_soft.c: Likewise.
26144 * sunrpc/get_myaddr.c: Likewise.
26145 * sunrpc/getrpcport.c: Likewise.
26146 * sunrpc/key_call.c: Likewise.
26147 * sunrpc/key_prot.c: Likewise.
26148 * sunrpc/openchild.c: Likewise.
26149 * sunrpc/pm_getmaps.c: Likewise.
26150 * sunrpc/pm_getport.c: Likewise.
26151 * sunrpc/pmap_clnt.c: Likewise.
26152 * sunrpc/pmap_prot.c: Likewise.
26153 * sunrpc/pmap_prot2.c: Likewise.
26154 * sunrpc/pmap_rmt.c: Likewise.
26155 * sunrpc/rpc/auth.h: Likewise.
26156 * sunrpc/rpc/auth_unix.h: Likewise.
26157 * sunrpc/rpc/clnt.h: Likewise.
26158 * sunrpc/rpc/des_crypt.h: Likewise.
26159 * sunrpc/rpc/key_prot.h: Likewise.
26160 * sunrpc/rpc/netdb.h: Likewise.
26161 * sunrpc/rpc/pmap_clnt.h: Likewise.
26162 * sunrpc/rpc/pmap_prot.h: Likewise.
26163 * sunrpc/rpc/pmap_rmt.h: Likewise.
26164 * sunrpc/rpc/rpc.h: Likewise.
26165 * sunrpc/rpc/rpc_des.h: Likewise.
26166 * sunrpc/rpc/rpc_msg.h: Likewise.
26167 * sunrpc/rpc/svc.h: Likewise.
26168 * sunrpc/rpc/svc_auth.h: Likewise.
26169 * sunrpc/rpc/types.h: Likewise.
26170 * sunrpc/rpc/xdr.h: Likewise.
26171 * sunrpc/rpc_clntout.c: Likewise.
26172 * sunrpc/rpc_cmsg.c: Likewise.
26173 * sunrpc/rpc_common.c: Likewise.
26174 * sunrpc/rpc_cout.c: Likewise.
26175 * sunrpc/rpc_dtable.c: Likewise.
26176 * sunrpc/rpc_hout.c: Likewise.
26177 * sunrpc/rpc_main.c: Likewise.
26178 * sunrpc/rpc_parse.c: Likewise.
26179 * sunrpc/rpc_parse.h: Likewise.
26180 * sunrpc/rpc_prot.c: Likewise.
26181 * sunrpc/rpc_sample.c: Likewise.
26182 * sunrpc/rpc_scan.c: Likewise.
26183 * sunrpc/rpc_scan.h: Likewise.
26184 * sunrpc/rpc_svcout.c: Likewise.
26185 * sunrpc/rpc_tblout.c: Likewise.
26186 * sunrpc/rpc_util.c: Likewise.
26187 * sunrpc/rpc_util.h: Likewise.
26188 * sunrpc/rpcinfo.c: Likewise.
26189 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26190 * sunrpc/rpcsvc/key_prot.x: Likewise.
26191 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26192 * sunrpc/rpcsvc/mount.x: Likewise.
26193 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26194 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26195 * sunrpc/rpcsvc/rex.x: Likewise.
26196 * sunrpc/rpcsvc/rstat.x: Likewise.
26197 * sunrpc/rpcsvc/rusers.x: Likewise.
26198 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26199 * sunrpc/rpcsvc/spray.x: Likewise.
26200 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26201 * sunrpc/rtime.c: Likewise.
26202 * sunrpc/svc.c: Likewise.
26203 * sunrpc/svc_auth.c: Likewise.
26204 * sunrpc/svc_authux.c: Likewise.
26205 * sunrpc/svc_raw.c: Likewise.
26206 * sunrpc/svc_run.c: Likewise.
26207 * sunrpc/svc_simple.c: Likewise.
26208 * sunrpc/svc_tcp.c: Likewise.
26209 * sunrpc/svc_udp.c: Likewise.
26210 * sunrpc/svc_unix.c: Likewise.
26211 * sunrpc/svcauth_des.c: Likewise.
26212 * sunrpc/xcrypt.c: Likewise.
26213 * sunrpc/xdr.c: Likewise.
26214 * sunrpc/xdr_array.c: Likewise.
26215 * sunrpc/xdr_float.c: Likewise.
26216 * sunrpc/xdr_mem.c: Likewise.
26217 * sunrpc/xdr_rec.c: Likewise.
26218 * sunrpc/xdr_ref.c: Likewise.
26219 * sunrpc/xdr_sizeof.c: Likewise.
26220 * sunrpc/xdr_stdio.c: Likewise.
26221
9da4bb31
UD
26222 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26223 handling.
26224
bdaa77bc
AS
262252010-08-19 Andreas Schwab <schwab@redhat.com>
26226
26227 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26228
fe2f79db
LM
262292010-08-19 Luis Machado <luisgpm@br.ibm.com>
26230
26231 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26233 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26234 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26235 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26236 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26237 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26238 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26239 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26240 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26241 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26242 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26243 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26244 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26245
b9b42ee0
AB
262462010-07-26 Anton Blanchard <anton@samba.org>
26247
26248 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26249 * malloc/arena.c (heap_trim): Likewise.
26250
1c06ba31
UD
262512010-08-16 Ulrich Drepper <drepper@redhat.com>
26252
26253 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26254 here. Not...
26255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26256 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26257
f8392f40
L
262582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26259
26260 * sysdeps/i386/elf/Makefile: New file.
26261
3162f12e
AS
262622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26263
26264 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26265 from fanotify_init.
26266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26268
28c90b2c
UD
262692010-08-15 Ulrich Drepper <drepper@redhat.com>
26270
26271 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26272 of strncasecmp_l.
1feccb6c 26273 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26274
ca6bb004
UD
262752010-08-14 Ulrich Drepper <drepper@redhat.com>
26276
e9f82e0d
UD
26277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26278 strncase_l-nonascii.
26279 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26280 Add strncase_l-ssse3.
26281 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26282 * sysdeps/x86_64/strcmp.S: Likewise.
26283 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26284 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26285 * sysdeps/x86_64/strncase.S: New file.
26286 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26287 * sysdeps/x86_64/strncase_l.S: New file.
26288 * string/Makefile (strop-tests): Add strncasecmp.
26289 * string/test-strncasecmp.c: New file.
26290
26291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26292 warning.
26293
ca6bb004
UD
26294 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26296
052fa7b3
AS
262972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26298
26299 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26300
962dba78
UD
263012010-08-12 Ulrich Drepper <drepper@redhat.com>
26302
26303 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26304 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26305 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26306
bebff237
AM
263072010-05-01 Alan Modra <amodra@gmail.com>
26308
26309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26310 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26311 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26312 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26313 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26314 tidying. Don't tail-call __sigjmp_save for static lib.
26315 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26316 save location.
26317 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26318 (CALL_MCOUNT): Add eh info, and nop after bl.
26319 (TAIL_CALL_SYSCALL_ERROR): New macro.
26320 (PSEUDO_RET): Use it.
26321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26322 Correct save location of integer regs and cr.
26323 (_dl_profile_resolve): Correct cr save location. Delete nops
26324 after bl when SHARED. Reduce cfi size a little by better
26325 placement of cfi directives.
26326 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26327 make a stack frame. Instead use parm save area as a temp.
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26329 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26331 Don't make a stack frame for parent, use parm save area.
26332 Increase child stack frame to 112 bytes. Don't save unused reg,
26333 and adjust reg usage. Set up cfi on error recovery and
26334 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26336 (__makecontext): Add dummy nop after jump to exit.
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26338 Use correct parm save area and cr save, reduce stack frame.
26339 Correct cfi for possible PSEUDO_RET frame setup.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26341 Branch to local label emitted by PSEUDO_RET rather than
26342 __syscall_error.
26343
02637374
AS
263442010-08-12 Andreas Schwab <schwab@redhat.com>
26345
26346 [BZ #11904]
26347 * locale/programs/locale.c (print_assignment): New function.
26348 (show_locale_vars): Use it.
26349
c3e2f19b
UD
263502010-08-11 Ulrich Drepper <drepper@redhat.com>
26351
3cdaa6ad
UD
26352 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26353 field.
26354 (struct statfs64): Likewise.
26355 (_STATFS_F_FLAGS): Define.
26356 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26357 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26358 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26359 (ST_VALID): Define locally.
26360 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26361 __statvfs_getflags, use the provided value.
26362 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26363 __ASSUME_STATFS_F_FLAGS.
26364
754f7da3
UD
26365 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26366
10b3bedc
UD
26367 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26368 Add sys/fanotify.h.
26369 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26370 fanotify_mask for GLIBC_2.13.
26371 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26372 fanotify_init and fanotify_mark.
26373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26374 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26375
c08fb0d7
UD
26376 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26377 Add prlimit.
26378 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26379 prlimit64 for GLIBC_2.13.
26380 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26381 prlimit64.
26382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26383 syscall.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26386 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26387 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26389 add prlimit alias.
26390 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26391
15bac72b
UD
26392 [BZ #11903]
26393 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26394 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26395
c3e2f19b
UD
26396 * nss/Makefile: Add rules to build and run tst-nss-test1.
26397 * shlib-versions: Add entry for libnss_test1.
26398 * nss/nss_test1.c: New file.
26399 * nss/tst-nss-test1.c: New file.
26400
26401 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26402 (__nss_configure_lookup): Set appropriate entry in
26403 __nss_configure_lookup to true.
26404 * nss/nsswitch.h: Define enum with indeces of databases in
26405 databases and __nss_database_custom arrays. Declare
26406 __nss_database_custom.
26407 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26408 to avoid using nscd when custom rules are installed.
26409 * nss/getXXbyYY_r.c: Likewise.
26410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26411
26412 * nss/nss_files/files-parse.c: Whitespace fixes.
26413
f15ce4d8
UD
264142010-08-09 Ulrich Drepper <drepper@redhat.com>
26415
26416 [BZ #11883]
26417 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26418 * posix/fnmatch_loop.c: Likewise.
26419
d22e4cc9
AK
264202010-07-17 Andi Kleen <ak@linux.intel.com>
26421
26422 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26423 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26424 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26425 * Versions.def [GLIBC_2.13]: Add.
26426
805bc17d
UD
264272010-08-06 Ulrich Drepper <drepper@redhat.com>
26428
26429 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26430 Also fail if tpwd after pwuid call is NULL.
26431
5a42321d
ST
264322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26433
26434 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26435 when converting to ms.
26436
fd3ebeda
ST
264372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26438
26439 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26440 EOPNOTSUPP errors with ENOTTY.
26441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26442 EOPNOTSUPP errors with ENOTTY.
26443
73507d3a
UD
264442010-07-31 Ulrich Drepper <drepper@redhat.com>
26445
26446 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26447 Add strcasecmp_l-ssse3.
26448 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26449 strcasecmp.
26450 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26451 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26452 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26453
fe36dd02
UD
264542010-07-30 Ulrich Drepper <drepper@redhat.com>
26455
66f6765a
UD
26456 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26457
42e08a54
UD
26458 * string/Makefile (strop-tests): Add strcasecmp.
26459 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26460 strcasecmp_l-nonascii.
26461 (gen-as-const-headers): Add locale-defines.sym.
26462 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26463 * sysdeps/x86_64/strcasecmp.S: New file.
26464 * sysdeps/x86_64/strcasecmp_l.S: New file.
26465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26466 * sysdeps/x86_64/locale-defines.sym: New file.
26467 * string/test-strcasecmp.c: New file.
26468
fe36dd02
UD
26469 * string/test-strcasestr.c: Test both ends of the range of characters.
26470 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26471
48cbc0d6
RM
264722010-07-29 Roland McGrath <roland@redhat.com>
26473
76e6d6bc 26474 [BZ #11856]
48cbc0d6
RM
26475 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26476
880113d9
UD
264772010-07-27 Ulrich Drepper <drepper@redhat.com>
26478
26479 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26480 for ld.so.
26481
deb9cabb
AS
264822010-07-27 Andreas Schwab <schwab@redhat.com>
26483
26484 * manual/memory.texi (Malloc Tunable Parameters): Document
26485 M_PERTURB.
26486
1c7570ff
RM
264872010-07-26 Roland McGrath <roland@redhat.com>
26488
26489 [BZ #11840]
26490 * configure.in (-fgnu89-inline check): Set and substitute
26491 gnu89_inline, not libc_cv_gnu89_inline.
26492 * configure: Regenerated.
26493 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26494
24fb0f88
UD
264952010-07-26 Ulrich Drepper <drepper@redhat.com>
26496
26497 * string/test-strnlen.c: New file.
26498 * string/Makefile (strop-tests): Add strnlen.
26499 * string/tester.c (test_strnlen): Add a few more test cases.
26500 * string/tst-strlen.c: Better error reporting.
26501
26502 * sysdeps/x86_64/strnlen.S: New file.
26503
8e96b93a
UD
265042010-07-24 Ulrich Drepper <drepper@redhat.com>
26505
26506 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26507 lower-latency instructions.
26508
dbc676d4
UD
265092010-07-23 Ulrich Drepper <drepper@redhat.com>
26510
26511 * string/test-strcasestr.c: New file.
26512 * string/test-strstr.c: New file.
26513 * string/Makefile (strop-tests): Add strstr and strcasestr.
26514 * string/str-two-way.h: Don't undefine MAX.
26515 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26516
f6a31e0e
AS
265172010-07-21 Andreas Schwab <schwab@redhat.com>
26518
26519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26520 strcasestr-nonascii.
26521 (CFLAGS-strcasestr-nonascii.c): Define.
26522 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26524 Remove unused attribute.
26525
5dbc3b6c
RM
265262010-07-20 Roland McGrath <roland@redhat.com>
26527
26528 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26529 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26530 ld.so.cache was broken. With it, there is no way to disable dsocaps
26531 like LD_HWCAP_MASK can disable hwcaps.
26532
23d101d8
EPM
265332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26534
26535 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26536
cc9f2e47
UD
265372010-07-16 Ulrich Drepper <drepper@redhat.com>
26538
26539 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26540 call in strcasestr.
26541 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26542 __strcasestr_sse42_nonascii.
26543 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26544 strcasestr-nonascii.c.
26545 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26546
77c1b069
LM
265472010-06-15 Luis Machado <luisgpm@br.ibm.com>
26548
26549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26550 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26552 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26553
440566c3
UD
265542010-07-09 Ulrich Drepper <drepper@redhat.com>
26555
26556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26557 fcntl.
26558
5be9d05d
AS
265592010-07-06 Andreas Schwab <schwab@redhat.com>
26560
c30b7ee2 26561 [BZ #11577]
5be9d05d
AS
26562 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26563 dl_signal_cerror.
26564
8a492a67
UD
265652010-07-06 Ulrich Drepper <drepper@redhat.com>
26566
26567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26568 _PC_PIPE_BUF using F_GETPIPE_SZ.
26569
713df3d5
RM
265702010-07-05 Roland McGrath <roland@redhat.com>
26571
26572 * manual/arith.texi (Rounding Functions): Fix rint description
26573 implicit in round description.
26574
702e8f14
UD
265752010-07-02 Ulrich Drepper <drepper@redhat.com>
26576
26577 * elf/Makefile: Fix linking for a few tests to make recent linker
26578 happy.
26579
52ed8be9
AS
265802010-06-30 Andreas Schwab <schwab@redhat.com>
26581
26582 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26583 $(common-objpfx)libc_nonshared.a.
26584
f47c9a11
LM
265852010-06-21 Luis Machado <luisgpm@br.ibm.com>
26586
26587 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26588 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26589 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26590 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26591 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26592 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26593 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26594 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26609 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26610 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26611 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26612 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26613 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26614 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26615 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26616 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26617 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26618 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26619 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26620 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26635
6fb8cbcb
L
266362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26637
26638 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26639 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26640 * string/memmove.c (memmove): Renamed to ...
26641 (MEMMOVE): ...this. Default to memmove.
26642 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26643 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26644 (END_CHK): Define.
26645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26646 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26647 mempcpy-ssse3-back memmove-ssse3-back.
26648 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26651 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26652 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26653 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26654 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26655 * sysdeps/x86_64/multiarch/memmove.c: New file.
26656 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26657 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26658 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26659 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26660 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26662 Define.
26663 (index_Fast_Copy_Backward): Define.
26664 (HAS_ARCH_FEATURE): Define.
26665 (HAS_FAST_REP_STRING): Define.
26666 (HAS_FAST_COPY_BACKWARD): Define.
26667
4e733bac 266682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26669
26670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26671 Restore proper fallback handling.
26672
63c4ed22
UD
266732010-06-19 Ulrich Drepper <drepper@redhat.com>
26674
ac2b484c
UD
26675 [BZ #11701]
26676 * posix/group_member.c (__group_member): Correct checking loop.
26677
63c4ed22
UD
26678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26679 OOM in getpwuid_r correctly. Return error number when the caller
26680 should return, otherwise -1.
26681 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26682 call returning > 0 value.
26683 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26684
765ade4b
AS
266852010-06-07 Andreas Schwab <schwab@redhat.com>
26686
26687 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26688 libc_nonshared.a from targets in modules-names.
26689
80da2e09
KS
266902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26691
26692 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26693 requires it.
26694
158db122
LM
266952010-06-10 Luis Machado <luisgpm@br.ibm.com>
26696
26697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26698 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26701
caa78cf8
AS
267022010-06-02 Andreas Schwab <schwab@redhat.com>
26703
26704 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26705
b2ef2c01
UD
267062010-06-14 Ulrich Drepper <drepper@redhat.com>
26707
26708 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26709 and F_GETPIPE_SZ.
26710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26716
fbd643b6
RM
267172010-06-14 Roland McGrath <roland@redhat.com>
26718
26719 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26720
f32f2869
JJ
267212010-06-07 Jakub Jelinek <jakub@redhat.com>
26722
26723 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26724 __REDIRECT followed by __THROW.
26725 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26726 * posix/getopt.h (getopt): Likewise.
26727
2a50c078
EPM
267282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26729
26730 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26731 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26732 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26733 in AT_FLAGS.
26734 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26735 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26736
eb5ad2eb
LM
267372010-05-28 Luis Machado <luisgpm@br.ibm.com>
26738
26739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26740
3c88fe1e
L
267412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26742
26743 [BZ #11640]
26744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26745 Properly check family and model.
26746
d2f73151
TY
267472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26748
26749 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26750
ebd2e13d
LM
267512010-05-24 Luis Machado <luisgpm@br.ibm.com>
26752
26753 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26754
b32b8b45
UD
267552010-05-21 Ulrich Drepper <drepper@redhat.com>
26756
26757 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26758 symbol reference.
26759
9acbe24d
AS
267602010-05-19 Andreas Schwab <schwab@redhat.com>
26761
26762 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26763 symbol reference.
26764
f0ccf6ea
AS
267652010-05-21 Andreas Schwab <schwab@redhat.com>
26766
3d04ff3a
AS
26767 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26768 and internal_recvmmsg.
26769 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26770 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26771 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26772 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26773
f0ccf6ea
AS
26774 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26775 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26776 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26777
5b08ac57
AS
267782010-05-20 Andreas Schwab <schwab@redhat.com>
26779
26780 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26781
4828935d
LM
267822010-05-17 Luis Machado <luisgpm@br.ibm.com>
26783
26784 POWER7 optimizations.
26785 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26786 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26787
373d545e
UD
267882010-05-19 Ulrich Drepper <drepper@redhat.com>
26789
26790 * version.h: Update for 2.13 development version.
26791
21a2b1ae
AS
267922010-05-12 Andrew Stubbs <ams@codesourcery.com>
26793
26794 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26795 exceptions. Return 0.
26796
3f7dcb2b
RM
267972010-05-07 Roland McGrath <roland@redhat.com>
26798
26799 * elf/ldconfig.c (main): Add a const.
26800
5f24d53a 268012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26802
a160f8d8
UD
26803 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26804 (args_options): Add no-idn option.
26805 (ahosts_keys_int): Add idn_flags to ai_flags.
26806 (parse_option): Handle 'i' option to clear idn_flags.
26807
5f24d53a
UD
26808 * malloc/malloc.c (_int_free): Possible race in the most recently
26809 added check. Only act on the data if no current modification
26810 happened.
265bb1ce
UD
26811
26812See ChangeLog.17 for earlier changes.