]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move testsuite audit definitions to sysdeps tst-audit.h files.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3129cfc6
JM
12012-07-26 Joseph Myers <joseph@codesourcery.com>
2
3 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4 (pltexit): Likewise.
5 (La_regs): Likewise.
6 (La_retval): Likewise.
7 (int_retval): Likewise.
8 Update #error for removed macros to refer only to definitions in
9 tst-audit.h.
10 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11 macro.
12 (pltexit): Likewise.
13 (La_regs): Likewise.
14 (La_retval): Likewise.
15 (int_retval): Likewise.
16 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17 macro.
18 (pltexit): Likewise.
19 (La_regs): Likewise.
20 (La_retval): Likewise.
21 (int_retval): Likewise.
22 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23 macro.
24 (pltexit): Likewise.
25 (La_regs): Likewise.
26 (La_retval): Likewise.
27 (int_retval): Likewise.
28 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29 macro.
30 (pltexit): Likewise.
31 (La_regs): Likewise.
32 (La_retval): Likewise.
33 (int_retval): Likewise.
34 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35 macro.
36 (pltexit): Likewise.
37 (La_regs): Likewise.
38 (La_retval): Likewise.
39 (int_retval): Likewise.
40 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41 macro.
42 (pltexit): Likewise.
43 (La_regs): Likewise.
44 (La_retval): Likewise.
45 (int_retval): Likewise.
46 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47 macro definitions in tst-audit.h.
48 * sysdeps/i386/tst-audit.h: New file.
49 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
50 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
52 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53 * sysdeps/sh/tst-audit.h: Likewise.
54 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56 * sysdeps/x86_64/tst-audit.h: Likewise.
57
bfc07087
AJ
582012-07-26 Andreas Jaeger <aj@suse.de>
59
b1b2aaf8
AJ
60 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61 ptrace.
62
63 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66 PTRACE_O_MASK.
67 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
69 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70
bfc07087
AJ
71 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72 value.
73
74 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75 _sigsys.
76 (si_call_addr, si_syscall, si_arch): Define new macro.
77 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78 _sigsys.
79 (si_call_addr, si_syscall, si_arch): Define new marcro.
80 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
81 _sigsys.
82 (si_call_addr, si_syscall, si_arch): Define new macro.
83 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
84 _sigsys.
85 (si_call_addr, si_syscall, si_arch): Define new macro.
86
89b4b02f
JM
872012-07-25 Joseph Myers <joseph@codesourcery.com>
88
89 [BZ #13717]
90 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
91 Change to 2.4.21 where previously 2.4.1.
92 * sysdeps/unix/sysv/linux/configure: Regenerated.
93 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
94 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
95 Linux kernel version.
96 (__ASSUME_STD_AUXV): Remove.
97 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
98 kernel version.
99 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
100 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
101 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
102 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
103 (__ASSUME_NETLINK_SUPPORT): Likewise.
104 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
105 (__no_netlink_support): Remove conditional definition.
106 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
107 Remove.
108 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
109 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
110 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
111 (if_nameindex_ioctl): Remove.
112 (if_nameindex_netlink): Do not handle __no_netlink_support.
113 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
114 code.
115 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
116 Remove conditional code.
117 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
118 code.
119 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
120 unconditional.
121 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
122 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
123 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
124 Remove.
125 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
126 [!__ASSUME_STD_AUXV]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
128 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
129 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
131 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
132 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
133 code.
134 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
137 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
138 conditional code.
139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
141 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
142 code.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
144 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
145 conditional code.
146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
147 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
148 code unconditional.
149 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
150 conditional code.
151 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
152 unconditional.
153 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
154 conditional code.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
156 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
157 unconditional.
158 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
159 conditional code.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
161 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
162 code unconditional.
163 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
164 conditional code.
165 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
166 unconditional.
167 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
168 conditional code.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
170 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
171 code unconditional.
172 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
173 conditional code.
174 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
175 unconditional.
176 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
177 conditional code.
178
842a39cd
AS
1792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
180
181 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
182 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
183 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
184 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
185 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
186 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
187 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
188 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
189 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
190 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
191 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
192 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
193 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
194 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
197 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
199 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
202 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
204
84b3fd84
FW
2052012-07-25 Florian Weimer <fweimer@redhat.com>
206
207 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
208 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
209 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
210 Introduce __libc_secure_getenv.
0c7936d5
FW
211 * stdlib/Versions (2.17): Add secure_getenv
212 (GLIBC_PRIVATE): Add __libc_secure_getenv.
213 * stdlib/secure-getenv.c: Rename __secure_getenv to
214 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
215 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
216 * stdlib/tst-secure-getenv.c: New.
217 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
218 * manual/startup.texi (Environment Access): Document
219 secure_getenv.
84b3fd84
FW
220 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
221 __libc_secure_getenv.
222 * inet/ruserpass.c (ruserpass): Likewise.
223 * malloc/mtrace.c (mtrace): Likewise.
224 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 225 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
226 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
227 * sysdeps/posix/tempname.c: Likewise. Evaluate
228 HAVE_SECURE_GETENV.
229 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 230 __secure_getenv to __libc_secure_getenv.
84b3fd84 231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
233 Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
235 Likewise.
236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 243
56e49b71
JM
2442012-07-25 Joseph Myers <joseph@codesourcery.com>
245
246 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
247 (struct La_i86_retval): Likewise.
248 (struct La_x86_64_regs): Likewise.
249 (struct La_x86_64_retval): Likewise.
250 (struct La_x32_regs): Likewise.
251 (struct La_x32_retval): Likewise.
252 (struct La_ppc32_regs): Likewise.
253 (struct La_ppc32_retval): Likewise.
254 (struct La_ppc64_regs): Likewise.
255 (struct La_ppc64_retval): Likewise.
256 (struct La_sh_regs): Likewise.
257 (struct La_sh_retval): Likewise.
258 (struct La_s390_32_regs): Likewise.
259 (struct La_s390_32_retval): Likewise.
260 (struct La_s390_64_regs): Likewise.
261 (struct La_s390_64_retval): Likewise.
262 (struct La_sparc32_regs): Likewise.
263 (struct La_sparc32_retval): Likewise.
264 (struct La_sparc64_regs): Likewise.
265 (struct La_sparc64_retval): Likewise.
266 (struct audit_ifaces): Remove architecture-specific pltenter and
267 pltexit members.
268 * sysdeps/i386/ldsodefs.h: New file.
269 * sysdeps/powerpc/ldsodefs.h: Likewise.
270 * sysdeps/s390/ldsodefs.h: Likewise.
271 * sysdeps/sh/ldsodefs.h: Likewise.
272 * sysdeps/sparc/ldsodefs.h: Likewise.
273 * sysdeps/x86_64/ldsodefs.h: Likewise.
274
354691b7
MP
2752012-07-25 Marek Polacek <polacek@redhat.com>
276
277 [BZ #6808]
278 * math/libm-test.inc (yn_test): Add another test.
279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
280 to ERANGE when the result is +-Inf.
281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
283 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
285
bf9e2071
JM
2862012-07-24 Joseph Myers <joseph@codesourcery.com>
287
288 * conform/data/time.h-data (NULL): Use macro-constant. Require
289 equal to 0.
290 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
291 clock_t.
292 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
293
57633811
TS
2942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
295
296 * configure.in <sysdeps resolving>: Correct printing
297 Implies_before.
298 * configure: Regenerate.
299
c23c33b0
TS
3002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
301
302 * math/w_ilogb.c: Include <limits.h>.
303 * math/w_ilogbl.c: Likewise.
304
b5982523
JM
3052012-07-20 Joseph Myers <joseph@codesourcery.com>
306
307 * manual/lang.texi (__va_copy): Document primarily as ISO C99
308 va_copy. Document allowing for unavailable va_copy only as
309 pre-C99 compatibility.
310 * manual/string.texi (Copying and Concatenation): Use va_copy
311 instead of __va_copy in concat example.
312
ac4ea442
PT
3132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
314
315 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
316 (__sendto): Use create_address_port. Initialize APORT and deallocate
317 it if not null.
318
f98eafbd
PT
319 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
320 with O_NOLINK passed to __file_name_lookup.
321
898c7aab
PT
322 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
323 with O_NOLINK passed to __file_name_lookup.
324
0ced335a
PT
325 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
326 negative N or less than NGIDS.
327
b3404dbd
PT
328 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
329 type to string_t. Set ERANGE as errno and return it if NAME is not big
330 enough. Use memcpy instead of strncpy.
331
0f48659e
JM
3322012-07-20 Joseph Myers <joseph@codesourcery.com>
333
334 * elf/Makefile (check-data): Remove.
335 (localplt.data): New vpath directive.
336 ($(objpfx)check-localplt.out): Use localplt.data from vpath
337 instead of $(check-data).
338 * scripts/data/localplt-generic.data: Move to ...
339 * sysdeps/generic/localplt.data: ... here.
340 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
341 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
342 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
344 ... here.
345 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
347 ... here.
348 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
350 ... here.
351 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
353 ... here.
354 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
356 ... here.
357 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
359 ... here.
360
d37cbdaa
AZ
3612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362
363 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
364 PPC32 and PPC64 files.
365 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
366 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
367
46f85fc2
AK
3682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
369
370 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
371 __makecontext_ret to ...
372 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
373 ... here and call exit if uc_link is NULL. New file.
374 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
375 __makecontext_ret.S.
376 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
377 __makecontext_ret to ...
378 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
379 ... here and call exit if uc_link is NULL. New file.
380 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
381 __makecontext_ret.S.
382
08f43f9b
AK
3832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
384
385 * elf/elf.h (R_390_IRELATIVE): New definition.
386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
387 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
388 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
390 (elf_machine_lazy_rel): Likewise.
391 * sysdeps/s390/dl-irel.h: New file.
392 * sysdeps/s390/s390-64/memcpy.S: New asm code.
393 * sysdeps/s390/s390-64/memset.S: New asm code.
394 * sysdeps/s390/s390-64/memcmp.S: New asm code.
395 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
396 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
397 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
398 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
399 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
401 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
402 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
403 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
404 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
405 * sysdeps/s390/s390-32/memcpy.S: New asm code.
406 * sysdeps/s390/s390-32/memset.S: New asm code.
407 * sysdeps/s390/s390-32/memcmp.S: New asm code.
408
3b05db33
MP
4092012-07-17 Marek Polacek <polacek@redhat.com>
410
411 [BZ #14349]
412 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
413 * sysdeps/s390/s390-64/configure.in: Likewise.
414 * sysdeps/sparc/configure.in: Likewise.
415 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
416 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
417 * sysdeps/i386/configure.in: Likewise.
418 * sysdeps/x86_64/configure.in: Likewise.
419 * sysdeps/sh/configure.in: Likewise.
420 * sysdeps/s390/s390-32/configure: Regenerated.
421 * sysdeps/s390/s390-64/configure: Likewise.
422 * sysdeps/x86_64/configure: Likewise.
423 * sysdeps/sh/configure: Likewise.
424 * sysdeps/powerpc/powerpc64/configure: Likewise.
425 * sysdeps/powerpc/powerpc32/configure: Likewise.
426 * sysdeps/sparc/configure: Likwise.
427 * sysdeps/i386/configure: Likewise.
428
a66877c6
MP
429 * elf/dl-open.c: Comment fixes.
430
cfc82fd8
JM
4312012-07-17 Joseph Myers <joseph@codesourcery.com>
432
bd29910a
JM
433 * Makefile [CXX] (check-data): Remove.
434 [CXX] (c++-types.data): New vpath directive.
435 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
436 vpath. Do not allow for C++ type data being missing.
437 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
438 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
439 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
440 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
441 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
442 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
443 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
445 ... here.
446 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
448 ... here.
449 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
451 ... here.
452 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
454 ... here.
455 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
457 ... here.
458 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
460 ... here.
461 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
463 ... here.
464 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
466
cfc82fd8
JM
467 * elf/tls-macros.h (TLS_LE): Move architecture-specific
468 definitions to architecture-specific files.
469 (TLS_IE): Likewise.
470 (TLS_LD): Likewise.
471 (TLS_GD): Likewise.
472 * sysdeps/i386/tls-macros.h: New file.
473 * sysdeps/powerpc/tls-macros.h: Likewise.
474 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
475 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
476 * sysdeps/sh/tls-macros.h: Likewise.
477 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
478 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
479 * sysdeps/x86_64/tls-macros.h: Likewise.
480
f7db3170
TS
4812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
482
07cbfc23
TS
483 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
484 zero value for regular exit case.
485
f7db3170
TS
486 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
487 (__start_context): Preserve zero value for regular exit case.
488
dc97c227
TS
4892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
490 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
491
492 * manual/setjmp.texi (setcontext): Clarify normal process
493 termination when uc_link is the null pointer.
494 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
495 exit call.
496
d0cd7d02
AS
4972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
498
499 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
500 preprocessor. Test for each exception mask separately.
501
dd318934
AJ
5022012-07-16 Andreas Jaeger <aj@suse.de>
503
504 * po/ru.po: Update from translation team.
505
8048311a
JM
5062012-07-15 Joseph Myers <joseph@codesourcery.com>
507
508 * conform/data/string.h-data (NULL): Use macro-constant. Require
509 equal to 0.
510 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
511 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
512 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
513 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
515
b637d46e
AJ
5162012-07-13 Andreas Jaeger <aj@suse.de>
517
518 * po/fr.po: Update from translation team.
519
541428fe
MP
5202012-07-12 Marek Polacek <polacek@redhat.com>
521
522 [BZ #14173]
523 * math/libm-test.inc (yn_test): Add test for BZ #14173.
524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
525 loop condition.
526
ec332e94
JM
5272012-07-12 Joseph Myers <joseph@codesourcery.com>
528
529 [BZ #13717]
530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
531 Change to 2.4.1 where previously 2.4.0.
532 * sysdeps/unix/sysv/linux/configure: Regenerated.
533 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
534 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
535 version.
536 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
537 (__ASSUME_AT_CLKTCK): Remove.
538 (__ASSUME_AT_PAGESIZE): Likewise.
539 (__ASSUME_AT_XID): Likewise.
540 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
541 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
542 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
543 unconditionally.
544 (HAVE_AUX_PAGESIZE): Likewise.
545 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
546 [__ASSUME_AT_CLKTCK]: Make code unconditional.
547 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
548
7b6e99be
JB
5492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
550
551 [BZ #14307]
552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
553 the temporary buffer used to invoke __gethostbyname2_r,
554 __gethostbyaddr_r and gethostbyname4_r to make room for struct
555 host_data / struct gaih_addrtuple.
556 * resolv/nss_dns/dns-host.c (global scope): Move definition of
557 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
558 header file nss/nsswitch.h.
559 * nss/nsswitch.h (global scope): Add definition of implementation
560 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
561 resolv/nss_dns/dns-host.c).
562
608404eb
AJ
5632012-07-11 Andreas Jaeger <aj@suse.de>
564
565 * po/fr.po: Update from translation team.
566
71220aca
AJ
567 * po/sv.po: Update from translation team
568 * po/fr.po: Another update from translation team.
569
28cfe843
AZ
5702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571
572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
573 for subnormals or multiply small sinh result by itself.
574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
576
6b90f981
DM
5772012-07-11 David S. Miller <davem@davemloft.net>
578
579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
580
c6825772
AS
5812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
582
583 [BZ #14347]
584 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
585 (INTERNAL_MARK): Shift it here.
586
7b8e0d49
MP
5872012-07-10 Marek Polacek <polacek@redhat.com>
588
589 [BZ #14151]
590 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
591 libc_cv_asm_global_directive with .globl.
592 * configure: Regenerated.
593 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
594 with .globl.
595 * sysdeps/i386/configure: Regenerated.
596 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
597 with .globl.
598 * sysdeps/x86_64/configure: Regenerated.
599 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
600 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
601 * elf/tst-unique2mod2.c: Likewise.
602 * elf/tst-unique2mod1.c: Likewise.
603 * elf/tst-unique1mod2.c: Likewise.
604 * elf/tst-unique1mod1.c: Likewise.
605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
606 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
607 * sysdeps/s390/s390-64/sysdep.h: Likewise.
608 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
609 * sysdeps/mach/sysdep.h: Likewise.
610 * sysdeps/i386/sysdep.h: Likewise.
611 * sysdeps/i386/i386-mcount.S: Likewise.
612 * sysdeps/x86_64/_mcount.S: Likewise.
613 * sysdeps/x86_64/sysdep.h: Likewise.
614 * sysdeps/sh/_mcount.S: Likewise.
615 * sysdeps/sh/sysdep.h: Likewise.
616 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
617 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
618 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
620 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
621 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
622 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
623 * locale/localeinfo.h: Likewise.
624 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
625 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
626
6c55cda3
RM
6272012-07-09 Roland McGrath <roland@hack.frob.com>
628
629 [BZ #14336]
630 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
631 system".
632 * manual/message.texi (The Uniforum approach): Likewise.
633 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
634 (glibc iconv Implementation): Likewise.
635
638a572e
JM
6362012-07-09 Joseph Myers <joseph@codesourcery.com>
637
638 [BZ #14337]
639 * math/s_clog.c (__clog): Avoid scaling a value down where that
640 could result in underflow.
641 * math/s_clog10.c (__clog10): Likewise.
642 * math/s_clog10f.c (__clog10f): Likewise.
643 * math/s_clog10l.c (__clog10l): Likewise.
644 * math/s_clogf.c (__clogf): Likewise.
645 * math/s_clogl.c (__clogl): Likewise.
646 * math/libm-test.inc (clog_test): Add more tests.
647 (clog10_test): Likewise.
648 * sysdeps/i386/fpu/libm-test-ulps: Update.
649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650
261f4859
AS
6512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
652
0abaf3e4
AS
653 [BZ #14283]
654 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
655 by 7 not 8 to examine high bit of fractional part.
656
261f4859
AS
657 [BZ #14042]
658 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
659 for call to __mcount_internal.
660 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
661 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
662 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
663
f17ac40d
JM
6642012-07-06 Joseph Myers <joseph@codesourcery.com>
665
9ad63c23
JM
666 [BZ #14154]
667 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
668 approximation for values within 0x1p-13f of an odd multiple of
669 pi/4.
670 * math/libm-test.inc (tan_test): Do not allow spurious underflow
671 exception. Add more tests.
672 * sysdeps/i386/fpu/libm-test-ulps: Update.
673
f17ac40d
JM
674 [BZ #6778]
675 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
676 inputs and return -1 for them. Do not check for +Inf in case not
677 reachable for +Inf.
678 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
679 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
681 and return -1 for them. Do not check for +Inf in case not
682 reachable for +Inf.
683 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
684 define.
685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
686 and return -1 for them. Do not check for +Inf in case not
687 reachable for +Inf.
688 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
689 spurious underflow.
690 * sysdeps/i386/fpu/libm-test-ulps: Update.
691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
692
fb21f89b
MF
6932012-07-06 Mike Frysinger <vapier@gentoo.org>
694
695 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
696
cdfe2c5e
JM
6972012-07-05 Joseph Myers <joseph@codesourcery.com>
698
699 [BZ #14157]
700 [BZ #14331]
701 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
702 could result in spurious underflow. Scale down values above
703 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
704 * math/s_csqrtf.c (__csqrtf): Likewise.
705 * math/s_csqrtl.c (__csqrtl): Likewise.
706 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
707 spurious underflow.
708 * sysdeps/i386/fpu/libm-test-ulps: Update.
709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
710
70d35b67
AS
7112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
712
704bc459
AS
713 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
714 xopen-msg.sed.
715 * catgets/xopen-msg.awk: New file.
716 * catgets/xopen-msg.sed: Removed.
717
70d35b67
AS
718 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
719 po2text.sed.
720 * intl/po2test.awk: New file.
721 * intl/po2test.sed: Removed.
722
ca61cf32
JM
7232012-07-04 Joseph Myers <joseph@codesourcery.com>
724
725 [BZ #14328]
726 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
727 or multiply small sinh result by itself.
728 * math/s_ctanf.c (__ctanf): Likewise.
729 * math/s_ctanh.c (__ctanh): Likewise.
730 * math/s_ctanhf.c (__ctanhf): Likewise.
731 * math/s_ctanhl.c (__ctanhl): Likewise.
732 * math/s_ctanl.c (__ctanl): Likewise.
733 * math/libm-test.inc (ctan_test_tonearest): New function.
734 (ctan_test_towardzero): Likewise.
735 (ctan_test_downward): Likewise.
736 (ctan_test_upward): Likewise.
737 (ctanh_test_tonearest): Likewise.
738 (ctanh_test_towardzero): Likewise.
739 (ctanh_test_downward): Likewise.
740 (ctanh_test_upward): Likewise.
741 (main): Call these new functions.
742 * sysdeps/i386/fpu/libm-test-ulps: Update.
743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
744
ca48a46a
MF
7452012-07-03 Mike Frysinger <vapier@gentoo.org>
746
747 * .gitignore: Delete /ports entry.
748
9d63d37d
AJ
7492012-07-03 Andreas Jaeger <aj@suse.de>
750
751 * po/bg.po: Update from translation team.
752 * po/cs.po: Likewise.
753 * po/de.po: Likewise.
754 * po/hr.po: Likewise.
755 * po/nl.pl: Likewise.
756 * po/pl.po: Likewise.
757 * po/vi.po: Likewise.
758
370ca3d2
JM
7592012-07-03 Joseph Myers <joseph@codesourcery.com>
760
95f5a9a8
JM
761 * Makeconfig [!+link] (+link-before-libc): New variable.
762 [!+link] (+link-after-libc): Likewise.
763 [!+link] (+link-tests): Likewise.
764 [!+link] (+link): Define in terms of $(+link-before-libc) and
765 $(+link-after-libc).
766 [!+link-static] (+link-static-before-libc): New variable.
767 [!+link-static] (+link-static-after-libc): Likewise.
768 [!+link-static] (+link-static-tests): Likewise.
769 [!+link-static] (+link-static): Define in terms of
770 $(+link-static-before-libc) and $(+link-static-after-libc).
771 [build-shared] (link-libc-before-gnulib): New variable.
772 [build-shared] (link-libc-tests): Likewise.
773 [build-shared] (link-libc): Define in terms of
774 $(link-libc-before-gnulib).
775 [!build-shared] (link-libc-tests): New variable.
776 (link-libc-static-tests): New variable.
777 [!gnulib] (gnulib-arch): New variable.
778 [!gnulib] (gnulib-tests): Likewise.
779 [!gnulib] (static-gnulib-arch): Likewise.
780 [!gnulib] (static-gnulib-tests): Likewise.
781 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
782 Define with "=" instead of ":=".
783 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
784 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
785 * Rules (binaries-all-notests): New variable.
786 (binaries-all-tests): Likewise.
787 (binaries-static-notests): Likewise.
788 (binaries-static-tests): Likewise.
789 (binaries-all): Define using $(binaries-all-notests) and
790 $(binaries-all-tests).
791 (binaries-static): Define using $(binaries-static-notests) and
792 $(binaries-static-tests).
793 (binaries-shared-tests): New variable.
794 (binaries-shared-notests): Likewise.
795 (binaries-shared): Remove variable.
796 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
797 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
798 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
799 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
800 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
801 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
802 * elf/Makefile (sln-modules): New variable.
803 (extra-objs): Add $(sln-modules:=.o).
804 (ldconfig-modules): Add static-stubs.
805 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
806 * elf/static-stubs.c: New file.
807
7a845b2c
JM
808 [BZ #14283]
809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
810 by 7 not 8 to examine high bit of fractional part. Use volatile
811 variables when splitting into final array of floats if
812 __FLT_EVAL_METHOD__ != 0.
813 * math/libm-test.inc (cos_test): Add another test.
814 (sin_test): Likewise.
815 * sysdeps/i386/fpu/libm-test-ulps: Update.
816
e2283f38
JM
817 [BZ #14273]
818 * math/libm-test.inc (cosh_test): Add more tests.
819
370ca3d2
JM
820 * version.h (RELEASE): Set to "development".
821 (VERSION): Set to "2.16.90".
822
ee9247c3
CD
8232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
824
825 * NEWS: Update copyright. Remove last-updated date.
826 Mention math library bug fixes and timezone data changes.
827 * README: Mention GNU/Hurd, x32, and HPPA support status.
828
4648c381
TS
8292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
830
831 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
832
aac78a43
AJ
8332012-06-27 Andreas Jaeger <aj@suse.de>
834
835 * manual/contrib.texi (Contributors): Add Samuel Thibault.
836
ed3dbfad
AJ
8372012-06-25 Andreas Jaeger <aj@suse.de>
838
839 * sysdeps/s390/fpu/libm-test-ulps: Update.
840
4d0ee855
AS
8412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
842 Thomas Schwinge <thomas@codesourcery.com>
843
844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
845 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
847 fanotify_mark.
848
af1bce34
TS
8492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
850
a9fa33ba
TS
851 * sysdeps/mach/start.c: Remove file.
852 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
853 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
854 * sysdeps/sh/init-first.c: Likewise.
855
58f902b8
TS
856 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
857 registers for frame unwinding purposes, add CFI directives.
858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
860 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
861 Likewise.
862
1518f58b
TS
863 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
864 __fortify_fail returning.
865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
866
db9b5059
TS
867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
868 sysdeps/sh/____longjmp_chk.S.
869 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
870 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
871 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
872 (gen-as-const-headers): Append sigaltstack-offsets.sym.
873
967705fe
TS
874 * sysdeps/sh/abort-instr.h: New file.
875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
876 process in case exit returns.
877
a9def8c4
TS
878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
879 initialize the GOT register before use.
880
2a649725
TS
881 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
882 calculation of ARGC > 4.
883
af1bce34
TS
884 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
885 meaningful names to some local labels.
886
d230f50a
KK
8872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
888 Kaz Kojima <kkojima@rr.iij4u.or.jp>
889
890 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
891 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
892 (__arch_compare_and_exchange_val_16_acq): Likewise.
893 (__arch_compare_and_exchange_val_32_acq): Likewise.
894 (atomic_exchange_and_add): Fix gUSA sequence.
895 (atomic_add): Likewise.
896 (atomic_add_negative): Likewise.
897 (atomic_add_zero): Likewise.
898 (atomic_bit_test_set): Likewise.
899
0479b305
AS
9002012-06-22 Andreas Schwab <schwab@redhat.com>
901
902 [BZ #13579]
903 * include/link.h (struct link_map): Add l_free_initfini.
904 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
905 l_initfini.
906 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
907 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
908 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
909 set.
910
0e3933b9
CD
9112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
912
913 * configure.in: Use AC_LANG_SOURCE.
914 * configure: Regenerate.
915
4248b1b1
RM
9162012-06-22 Roland McGrath <roland@hack.frob.com>
917
918 * configure.in (libc_cv_localstatedir): New substituted variable.
919 * configure: Regenerated.
920 * config.make.in (localstatedir): New variable, substituted from
921 libc_cv_localstatedir.
922 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
923 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
924 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
925 * sysdeps/gnu/configure: Regenerated.
926
006dd861
JL
9272012-06-21 Jeff Law <law@redhat.com>
928
929 [BZ #14277]
930 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
931 free. Simplify list management for _LIBC case.
932
79662d42
JM
9332012-06-21 Joseph Myers <joseph@codesourcery.com>
934
b7abb4bf
JM
935 [BZ #14273]
936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
937 Clear sign bit of 64-bit integer value before comparing against
938 overflow value.
939
79662d42
JM
940 * sysdeps/mach/configure: Regenerated.
941
1f150908
L
9422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
943
944 [BZ #14278]
945 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
946
28363bbf
JL
9472012-06-21 Jeff Law <law@redhat.com>
948
949 [BZ #13882]
950 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
951 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
953 * elf/dl-open.c (dl_open_worker): Likewise.
954
09615db4
CD
9552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
956
957 * scripts/list-sources.sh: Scan PORTS for translations.
958 * po/libc.pot: Regenerated.
959
2174c6dd
AJ
9602012-06-21 Andreas Jaeger <aj@suse.de>
961
962 [BZ #12194]
963 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
964 warning.
965 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
966 * bits/byteswap-16.h (__bswap_16): Likewise.
967 * bits/byteswap.h (__bswap_constant_16): Likewise.
968
3ee947b1
L
9692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
970
971 [BZ #14117]
a2f34833
L
972 * sysdeps/i386/fpu_control.h: Removed.
973 * sysdeps/x86_64/fpu_control.h: Moved to ...
974 * sysdeps/x86/fpu_control.h: Here.
975
3ee947b1
L
976 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
977 (_FPU_SETCW): Likewise.
978
ed1825f8
L
9792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
980
25f1282a
L
981 [BZ #14117]
982 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
983 * sysdeps/x86/fpu/bits/mathinline.h: This.
984 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
985
ed1825f8
L
986 [BZ #14050]
987 [BZ #14117]
988 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
989 functions if __x86_64__ is defined.
990
36d54b74
CLT
9912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
992
993 * string/endian.h: Add !__ASSEMBLER__ condition for including
994 conversion interfaces.
995
10285c21
JM
9962012-06-15 Joseph Myers <joseph@codesourcery.com>
997
998 [BZ #14241]
999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1000 of ABS(x) in calculating zero to negative powers other than odd
1001 integers.
1002 * math/libm-test.inc (pow_test): Add more tests.
1003
06c5abbd
AJ
10042012-06-15 Andreas Jaeger <aj@suse.de>
1005
1006 * manual/contrib.texi (Contributors): Update entry of Liubov
1007 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1008 Machado Filho.
1009
a3aeac40
CH
10102012-06-15 Cyril Hrubis <metan@ucw.cz>
1011
1012 * string/string.h: Add __wur to GNU version of strerror_r.
1013
49bdf4c1
L
10142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 [BZ #14229]
1017 * string/Makefile (tests): Add tst-strtok_r.
1018 * string/tst-strtok_r.c: New file.
1019 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1020 RAX_LP/RDX_LP on SAVE_PTR.
1021
834f9b8d
RM
10222012-06-14 Roland McGrath <roland@hack.frob.com>
1023
1024 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1025
75fa1921
JM
10262012-06-14 Joseph Myers <joseph@codesourcery.com>
1027
1028 * libm_test.inc (csqrt_test): Allow more spurious underflow
1029 exceptions.
1030 (j0_test): Likewise.
1031 (j1_test): Likewise.
1032 (y0_test): Likewise.
1033 (y1_test): Likewise.
1034
771766df
CD
10352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1036
1037 * po/Makefile (libc.pot): Use UTF-8 charset.
1038
ceb9e56b
PP
10392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1040
1041 [BZ #14210]
1042 Suppress sign-conversion warning from FD_SET.
1043 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1044 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1045 not unsigned long int.
1046 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1047
ddb28975
L
10482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 [BZ #14050]
1051 [BZ #14117]
1052 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1053 __extern_always_inline instead of __extern_inline.
1054 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1055 (__signbit): Likewise.
1056 (__signbitl): Support C++ namespace.
1057 (lrintf): New inline function.
1058 (lrint): Likewise.
1059 (llrintf): Likewise.
1060 (llrint): Likewise.
1061 (fmaxf): Likewise.
1062 (fmax): Likewise.
1063 (fminf): Likewise.
1064 (fmin): Likewise.
1065 (rint): Likewise.
1066 (rintf): Likewise.
1067 (ceil): Likewise.
1068 (ceilf): Likewise.
1069 (floor): Likewise.
1070 (floorf): Likewise.
1071 (nearbyint): Likewise.
1072 (nearbyintf): Likewise.
1073
d7b4fb26
TS
10742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1075
1076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1077 non-default versions.
1078
eb55f5c2
RM
10792012-06-11 Roland McGrath <roland@hack.frob.com>
1080
1081 [BZ #14218]
1082 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1083
366af02c
TS
10842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1085
99ff6e5c
TS
1086 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1087 (FE_UPWARD, FE_DOWNWARD): Don't define.
1088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1089 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1090
366af02c
TS
1091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1092 reading it.
1093 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1095
793ea851
KK
10962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1097
1098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1102
a728a38f
L
11032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 [BZ #14117]
c08010c7
L
1106 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1107 * sysdeps/i386/fpu/Implies: New file.
1108 * sysdeps/x86_64/fpu/Implies: Likewise.
1109 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1110 * sysdeps/x86/fpu/bits/fenv.h: This.
1111
a728a38f
L
1112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1113 __SSE_MATH__.
1114
6e230d11
SP
11152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1116
1117 [BZ #14134]
1118 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1119 character 0xffff that matches the last element of the
1120 conversion table.
1121
1b671feb
AZ
11222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123
1124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1125 fmodl commit.
1126
6043738b
AZ
11272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128
1129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1130 values higher than 25.6283.
1131
34ae0b32
AZ
11322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133
1134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1135 subnormal exponent extraction and add some __builtin_expect.
1136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1137 Fix for subnormal mantissa calculation.
1138
1214ec8f
MF
11392012-06-04 Mike Frysinger <vapier@gentoo.org>
1140
1141 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1142 cpu2 is -1 and errno is not ENOSYS.
1143
f3d1f93c
L
11442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1145
1146 [BZ #14117]
0e4a3cd7
L
1147 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1148 * sysdeps/x86/bits/string.h: This.
1149 * sysdeps/x86_64/bits/string.h: Removed.
1150
6704c645
L
1151 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1152 if not compiling for x86-64, but compiling for >= i486.
1153
48495318
L
1154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1155 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1156
14adcbfc
L
1157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1158 New macro from Linux kernel 3.4.0.
1159 (FP_XSTATE_MAGIC2): Likewise.
1160 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1161 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1162 (struct _fpx_sw_bytes): New struct.
1163 (struct _xsave_hdr): Likewise.
1164 (struct _ymmh_state): Likewise.
1165 (struct _xstate): Likewise.
1166
68e408ab
L
1167 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1168 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1170 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1172 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1173
f3d1f93c
L
1174 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1176 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1177 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1178 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1179 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1180
d9dc34cd
TMQMF
11812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1182
1183 [BZ #13743]
1184 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1185 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1186 (sysdep_headers): Include sys/platform/ppc.h.
1187 * sysdeps/powerpc/test-gettimebase.c: Test for
1188 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1189 * manual/Makefile (appendices): Include platform.texi.
1190 * manual/contrib.texi (Contributors): Update @node pointers.
1191 * manual/maint.texi (Maintenance): Likewise.
1192 (Platform): New node.
1193 * manual/platform.texi: New file. Document the new features.
1194
4af3879c
SP
11952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1196 Jakub Jelinek <jakub@redhat.com>
1197
1198 [BZ #14188]
1199 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1200 where __builtin_expect is unavailable.
1201
2fd6ff13
DM
12022012-06-03 David S. Miller <davem@davemloft.net>
1203
1204 * stdlib/longlong.h: Updated from GCC.
1205
173f7220
AS
12062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1207
1208 [BZ #14042]
1209 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1210 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1211 __mcount_internal.
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1213 (GLIBC_2.16): Likewise.
1214
f34a1c6f
L
12152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1216
1217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1218
88a4576f
JM
12192012-06-01 Joseph Myers <joseph@codesourcery.com>
1220
ea32bcdd
JM
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1222 (default-abi): New variable.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1224 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1225 variable.
1226 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1227 Likewise.
1228 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1229 Likewise.
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1231 Likewise.
1232
88a4576f
JM
1233 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1234 definition. Document in comment.
1235
402fe938
DM
12362012-06-01 David S. Miller <davem@davemloft.net>
1237
1238 * stdlib/longlong.h: Updated from GCC.
1239
3553723f
L
12402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1241
1242 [BZ #14117]
3bd872c4
L
1243 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1244 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1245 sys/debugreg.h sys/io.h here.
1246 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1247 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1248 sys/io.h.
1249 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1250 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1251 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1252 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1253 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1254 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1255
3553723f
L
1256 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1257 Define only if __x86_64__ is defined.
1258
4842e4fe
JM
12592012-06-01 Joseph Myers <joseph@codesourcery.com>
1260
c5bfe3d5
JM
1261 [BZ #14048]
1262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1263 Use int64_t for variable i.
1264 * math/libm-test.inc (fmod_test): Add more tests.
1265
4842e4fe
JM
1266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1267 z computation is not scheduled after fetestexcept.
1268 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1269 Use math_force_eval instead of asm to ensure calculation scheduled
1270 before exception test.
1271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1272 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1273
efb73488
AJ
12742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1275
1276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1277 computation is not scheduled after fetestexcept.
1278
29bcce7c
L
12792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1280
1281 [BZ #14117]
1282 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1284
73a68f94
AZ
12852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1286
1287 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1289
67b6df78
L
12902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1291
edf2933a 1292 [BZ #14117]
ebc64a18
L
1293 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1294 <bits/wordsize.h>.
1295 (__WCHAR_MIN): Support __WORDSIZE == 64.
1296 (__WCHAR_MAX): Likewise.
1297
edf2933a
L
1298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1300
57c6cf40
L
1301 [BZ #14183]
1302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1303 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1304
67b6df78 1305 [BZ #14117]
8eb6281e
L
1306 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1308
aac639f4
L
1309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1311
67b6df78
L
1312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1313 Defined to 1 if __x86_64__ isn't defined.
1314 (_STAT_VER_LINUX_OLD): New.
1315 (st_atime): Remove duplicate.
1316 (st_mtime): Likewise.
1317 (st_ctime): Likewise.
1318
1c2cfe81
DM
13192012-05-31 David S. Miller <davem@davemloft.net>
1320
1321 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1322 entries.
1323
5be8418c
AS
13242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1325
e7725326
AS
1326 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1327 gen-libm-test.pl.
1328
5be8418c
AS
1329 [BZ #14132]
1330 * elf/dl-reloc.c: Include <_itoa.h>.
1331 (_dl_reloc_bad_type): Remove use of INTUSE.
1332 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1333 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1334 * stdio-common/psiginfo.c (psiginfo): Likewise.
1335 * stdio-common/psignal.c (psignal): Likewise.
1336 * string/strsignal.c (strsignal): Likewise.
1337 * include/signal.h (_sys_siglist): Declare hidden proto.
1338 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1339 INTVARDEF with libc_hidden_data_def.
1340 * stdio-common/itoa-udigits.c: Likewise.
1341 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1342 (_itoa_lower_digits_internal): Remove declaration.
1343 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1344 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1345 (_sys_sigabbrev_internal): Remove aliases.
1346 (_sys_siglist): Define hidden alias.
1347
507352f1
MT
13482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1349
1350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1351 bits/sysctl.h.
1352
42bbb1c3
L
13532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 [BZ #14117]
6bd784b6
L
1356 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1357 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1358
8bca20f0
L
1359 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1360 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1361 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1362 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1364 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1365
f9e890a9
L
1366 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1367 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1368 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1369
471101a1
L
1370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1371 with __addr.
1372 (insw): Likewise.
1373 (insl): Likewise.
1374 (outsb): Likewise.
1375 (outsw): Likewise.
1376 (outsl): Likewise.
1377
6451c862
L
1378 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1381
a254b8c9
L
1382 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1383 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1384 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1385 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1386 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1387 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1388
b8dfdd92
L
1389 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1390 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1391
578cd270
L
1392 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1393 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1394
de662f5f
L
1395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1398
25653439
L
1399 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1400 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1401 to ...
1402 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1403
6bad24a0
L
1404 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1405 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1406 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1407
42bbb1c3
L
1408 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1409 for x86-64.
1410 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1411
2d10d547
JM
14122012-05-31 Joseph Myers <joseph@codesourcery.com>
1413
1414 * math/math.h (M_El): Use two more decimal places.
1415 (M_LOG2El): Likewise.
1416 (M_LOG10El): Likewise.
1417 (M_LN2l): Likewise.
1418 (M_LN10l): Likewise.
1419 (M_PIl): Likewise.
1420 (M_PI_2l): Likewise.
1421 (M_PI_4l): Likewise.
1422 (M_1_PIl): Likewise.
1423 (M_2_PIl): Likewise.
1424 (M_2_SQRTPIl): Likewise.
1425 (M_SQRT2l): Likewise.
1426 (M_SQRT1_2l): Likewise.
1427
f230c29b
DM
14282012-05-31 David S. Miller <davem@davemloft.net>
1429
1430 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1431 values between float registers.
1432 * sysdeps/sparc/sparc64/memset.S: Likewise.
1433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1434
fed806c3
MF
14352012-05-31 Mike Frysinger <vapier@gentoo.org>
1436
1437 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1438 -D_FORTIFY_SOURCE=1.
1439 (CPPFLAGS-tst-longjmp_chk.c): Define.
1440 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1441 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1442 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1443 CFLAGS-tst-wchar-h.c.
1444
30917259
MP
14452012-05-31 Marek Polacek <polacek@redhat.com>
1446
1447 [BZ #14132]
1448 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1449 __endmntent_internal): Remove declaration.
1450 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1451 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1452 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1453
1c58d5dc
DM
14542012-05-30 David S. Miller <davem@davemloft.net>
1455
1456 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1457 (___Q_simulate_exceptions): Use real FP ops rather than writing
1458 into the %fsr.
1459 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1460 Likewise.
1461
7dc00e0d
L
14622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1463
1464 [BZ #14117]
0bd53985
L
1465 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1466 * sysdeps/x86/bits/xtitypes.h: This.
1467
3a257e66
L
1468 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1469 * sysdeps/x86/bits/wordsize.h: This.
1470
62f62904
L
1471 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1472 * sysdeps/x86/bits/huge_vall.h: This.
1473
404fe9d9
L
1474 * sysdeps/i386/bits/select.h: Removed.
1475 * sysdeps/x86_64/bits/select.h: Renamed to ...
1476 * sysdeps/x86/bits/select.h: This.
1477
d48d0446
L
1478 * sysdeps/i386/bits/setjmp.h: Removed.
1479 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1480 * sysdeps/x86/bits/setjmp.h: This.
1481
7dc00e0d
L
1482 * sysdeps/i386/bits/mathdef.h: Removed.
1483 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1484 * sysdeps/x86/bits/mathdef.h: This.
1485
03277f8f
AS
14862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1487
1488 [BZ #14132]
1489 * include/sys/socket.h (__connect_internal)
1490 (__libc_sa_len_internal): Remove declaration.
1491 (__connect, __libc_sa_len): Declare hidden_proto.
1492 (SA_LEN): Remove use of INTUSE.
1493 * socket/connect.c: Add libc_hidden_def.
1494 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1495 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1496 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1497 alias.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1499 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1500 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1501 of adding _internal alias.
1502
13764867
L
15032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 [BZ #14117]
6bd97696
L
1506 * sysdeps/i386/bits/link.h: Removed.
1507 * sysdeps/i386/bits/linkmap.h: Likewise.
1508 * sysdeps/x86_64/bits/link.h: Renamed to ...
1509 * sysdeps/x86/bits/link.h: This.
1510 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1511 * sysdeps/x86/bits/linkmap.h: This.
1512
f726f0bb
L
1513 * sysdeps/i386/bits/endian.h: Removed.
1514 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1515 * sysdeps/x86/bits/endian.h: This.
1516
13764867
L
1517 * sysdeps/i386/bits/byteswap.h: Removed.
1518 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1519 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1520 * sysdeps/x86/bits/byteswap.h: This.
1521 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1522 * sysdeps/x86/bits/byteswap-16.h: This.
1523 * sysdeps/i386/Implies: Add x86.
1524 * sysdeps/x86_64/Implies: Likewise.
1525
ae251b0b
DM
15262012-05-30 David S. Miller <davem@davemloft.net>
1527
1528 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1529 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1530 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1531 (FP_TRAPPING_EXCEPTIONS): Define.
1532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1533 (FP_TRAPPING_EXCEPTIONS): Define.
1534 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1535 subnormals only when inexact has been signalled or underflow
1536 exceptions are enabled.
1537 (_FP_PACK_CANONICAL): Likewise.
1538
d5c90867
L
15392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 [BZ #14183]
1542 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1543 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1544
63f1549e
RH
15452012-05-30 Richard Henderson <rth@twiddle.net>
1546
8d8f2279
RH
1547 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1548 with #ifndef NOT_IN_libc.
1549
63f1549e
RH
1550 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1551 marked to avoid plt entry.
1552
0ab0291b
L
15532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1554
1555 [BZ #14112]
1556 * Makeconfig (default-abi): New macro.
1557 (abi-includes): Likewise.
1558 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1559 $(abi-$(default-abi)-lib-soname) for soname if defined.
1560 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1561 abi-variants.
1562 * Makefile (installed-stubs): Likewise.
1563 * include/stubs-biarch.h: Removed.
1564 * scripts/lib-names.awk: Only handle one library at a time.
1565 * scripts/soversions.awk: Remove WORDSIZE support.
1566 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1567 entries.
1568 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1569 Removed.
1570 (syscall-list-default-condition): Likewise.
1571 (syscall-list-default-condition): Likewise.
1572 (syscall-list-includes): Likewise.
1573 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1574 syscall-list-* with abi-*. Handle undefined abi-variants.
1575 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1576 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1577 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1578 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1579 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1580 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1581 Removed.
1582 (syscall-list-32-options): Likewise.
1583 (syscall-list-32-condition): Likewise.
1584 (syscall-list-64-options): Likewise.
1585 (syscall-list-64-condition): Likewise.
1586 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1587 macro.
1588 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1589 Renamed to ...
1590 (abi-*): This.
1591 (abi-64-ld-soname): New macro.
1592 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1593 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1594 Renamed to ...
1595 (abi-*): This.
1596 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1597 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1598
4da0431d
JM
15992012-05-30 Joseph Myers <joseph@codesourcery.com>
1600
3a85279c
JM
1601 * sysdeps/unix/sysv/linux/kernel-features.h
1602 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1603 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1604 include <kernel-features.h>.
1605 [!__NR_ftruncate64]: Remove conditional code.
1606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1607 [__NR_ftruncate64]: Make code unconditional.
1608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1609 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1610 include <kernel-features.h>.
1611 [!__NR_ftruncate64]: Remove conditional code.
1612 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1613 [__NR_ftruncate64]: Make code unconditional.
1614 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1616 include <kernel-features.h>.
1617 [!__NR_ftruncate64]: Remove conditional code.
1618 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1619 [__NR_ftruncate64]: Make code unconditional.
1620 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1622 include <kernel-features.h>.
1623 [!__NR_ftruncate64]: Remove conditional code.
1624 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1625 [__NR_ftruncate64]: Make code unconditional.
1626 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1627
4da0431d
JM
1628 * configure.in (libc_cv_fpie): Weaken to a compile test using
1629 LIBC_TRY_CC_OPTION.
1630 * configure: Regenerated.
1631
11ef492c
AK
16322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1633
1634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1638 Refreshed.
1639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1645 Refreshed.
1646
d66ef399
DM
16472012-05-27 David S. Miller <davem@davemloft.net>
1648
1649 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1650 (___Q_zero): New.
1651 (__Q_simulate_exceptions): Return void. Change to simulate
1652 exceptions by writing into the %fsr.
1653 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1654 (__Qp_handle_exceptions): Likewise.
1655 (numbers): Delete.
1656 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1657 __Qp_handle_exceptions.
1658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1659 __Qp_handle_exceptions.
1660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1661 as unused and give dummy FP_RND_NEAREST initializer.
1662 (FP_INHIBIT_RESULTS): Define.
1663 (___Q_simulate_exceptions): Update declaration.
1664 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1665 formatting.
1666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1667 as unused and give dummy FP_RND_NEAREST initializer.
1668 (__Qp_handle_exceptions): Update declaration.
1669 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1670 formatting.
1671
04fb54b5
TS
16722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1673
1674 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1675 the temporary FPU control word.
1676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1677 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1678 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1682 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1684 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1685 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1687
3f99608f
KK
16882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1689
1690 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1691 fields.
1692
65a4de4e
CLT
16932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1694
1695 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1696 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1697 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1698 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1699 Likewise.
1700 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1701 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1702 Likewise.
1703
15749d40
UD
17042012-05-27 Ulrich Drepper <drepper@gmail.com>
1705
1706 * po/h.po: Update from translation team.
1707
25dbcb27
AS
17082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1709
3d3f8e55
AS
1710 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1711
25dbcb27
AS
1712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1713 handling of denormals.
1714 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1715 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1716 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1717 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1721 Likewise.
1722
7ad47a80 17232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1724
1725 [BZ #14152]
1726 * math/libm-test.inc (fma_test): Don't always expect underflow
1727 exception.
1728
9c6ea9fa
SP
17292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1730
1731 [BZ #12416]
1732 * elf/tst-execstack.c: Include stackinfo.h.
1733 (do_test): Adjust test case to ensure that pthread_getattr_np
1734 behaviour remains the same after marking stack executable.
1735
a8239222
JM
17362012-05-25 Joseph Myers <joseph@codesourcery.com>
1737
1738 * sysdeps/unix/sysv/linux/kernel-features.h
1739 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1740 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1741 kernel-features.h.
1742 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1743 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1744 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1745 kernel-features.h.
1746 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1747 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1748
918b5606
L
17492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * configure.in: Define the default includes to being none.
1752 * configure: Regenerated.
1753
3a097cc7
RM
17542012-05-25 Roland McGrath <roland@hack.frob.com>
1755
8422c9a5
RM
1756 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1757 * sysdeps/x86_64/setjmp.S: Likewise.
1758 * sysdeps/i386/bsd-setjmp.S: Likewise.
1759 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1760 * sysdeps/i386/setjmp.S: Likewise.
1761 * sysdeps/i386/__longjmp.S: Likewise.
1762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1763 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1764
3a097cc7
RM
1765 * include/stap-probe.h: New file.
1766 * configure.in: Handle --enable-systemtap.
1767 * configure: Regenerated.
1768 * config.h.in (USE_STAP_PROBE): New #undef.
1769 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1770 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1771 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1772
21708942
JM
17732012-05-25 Joseph Myers <joseph@codesourcery.com>
1774
1775 [BZ #13717]
1776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1777 to 2.4.0 where earlier.
1778 * sysdeps/unix/sysv/linux/configure: Regenerated.
1779 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1780 <kernel-features.h>.
1781 [__ASSUME_32BITUIDS]: Make code unconditional.
1782 [!__ASSUME_32BITUIDS]: Remove conditional code.
1783 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1784 <kernel-features.h>.
1785 [__ASSUME_32BITUIDS]: Make code unconditional.
1786 [!__ASSUME_32BITUIDS]: Remove conditional code.
1787 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1788 [__ASSUME_32BITUIDS]: Make code unconditional.
1789 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1790 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1791 <kernel-features.h>.
1792 [__ASSUME_32BITUIDS]: Make code unconditional.
1793 [!__ASSUME_32BITUIDS]: Remove conditional code.
1794 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1795 <kernel-features.h>.
1796 [__ASSUME_32BITUIDS]: Make code unconditional.
1797 [!__ASSUME_32BITUIDS]: Remove conditional code.
1798 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1799 <kernel-features.h>.
1800 [__ASSUME_32BITUIDS]: Make code unconditional.
1801 [!__ASSUME_32BITUIDS]: Remove conditional code.
1802 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1803 <kernel-features.h>.
1804 [__ASSUME_32BITUIDS]: Make code unconditional.
1805 [!__ASSUME_32BITUIDS]: Remove conditional code.
1806 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1807 <kernel-features.h>.
1808 [__ASSUME_32BITUIDS]: Make code unconditional.
1809 [!__ASSUME_32BITUIDS]: Remove conditional code.
1810 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1811 <kernel-features.h>.
1812 [__ASSUME_32BITUIDS]: Make code unconditional.
1813 [!__ASSUME_32BITUIDS]: Remove conditional code.
1814 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1815 <kernel-features.h>.
1816 [__ASSUME_32BITUIDS]: Make code unconditional.
1817 [!__ASSUME_32BITUIDS]: Remove conditional code.
1818 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1819 <kernel-features.h>.
1820 [__ASSUME_32BITUIDS]: Make code unconditional.
1821 [!__ASSUME_32BITUIDS]: Remove conditional code.
1822 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1823 <kernel-features.h>.
1824 [__ASSUME_32BITUIDS]: Make code unconditional.
1825 [!__ASSUME_32BITUIDS]: Remove conditional code.
1826 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1827 <kernel-features.h>.
1828 [__ASSUME_32BITUIDS]: Make code unconditional.
1829 [!__ASSUME_32BITUIDS]: Remove conditional code.
1830 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1831 <kernel-features.h>.
1832 [__NR_setresgid] (__setresgid): Do not declare.
1833 [__ASSUME_32BITUIDS]: Make code unconditional.
1834 [!__ASSUME_32BITUIDS]: Remove conditional code.
1835 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1836 <kernel-features.h>.
1837 [__NR_setresuid] (__setresuid): Do not declare.
1838 [__ASSUME_32BITUIDS]: Make code unconditional.
1839 [!__ASSUME_32BITUIDS]: Remove conditional code.
1840 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1841 <kernel-features.h>.
1842 [__ASSUME_32BITUIDS]: Make code unconditional.
1843 [!__ASSUME_32BITUIDS]: Remove conditional code.
1844 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1845 <kernel-features.h>.
1846 [__ASSUME_32BITUIDS]: Make code unconditional.
1847 [!__ASSUME_32BITUIDS]: Remove conditional code.
1848 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1849 <kernel-features.h>.
1850 [__ASSUME_32BITUIDS]: Make code unconditional.
1851 [!__ASSUME_32BITUIDS]: Remove conditional code.
1852 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1853 <kernel-features.h>.
1854 [__ASSUME_32BITUIDS]: Make code unconditional.
1855 [!__ASSUME_32BITUIDS]: Remove conditional code.
1856 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1857 <kernel-features.h>.
1858 [__ASSUME_32BITUIDS]: Make code unconditional.
1859 [!__ASSUME_32BITUIDS]: Remove conditional code.
1860 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1861 <kernel-features.h>.
1862 [__ASSUME_32BITUIDS]: Make code unconditional.
1863 [!__ASSUME_32BITUIDS]: Remove conditional code.
1864 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1865 <kernel-features.h>.
1866 [__ASSUME_32BITUIDS]: Make code unconditional.
1867 [!__ASSUME_32BITUIDS]: Remove conditional code.
1868 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1869 <kernel-features.h>.
1870 [__ASSUME_32BITUIDS]: Make code unconditional.
1871 [!__ASSUME_32BITUIDS]: Remove conditional code.
1872 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1873 <kernel-features.h>.
1874 [__ASSUME_32BITUIDS]: Make code unconditional.
1875 [!__ASSUME_32BITUIDS]: Remove conditional code.
1876 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1877 <kernel-features.h>.
1878 [__ASSUME_32BITUIDS]: Make code unconditional.
1879 [!__ASSUME_32BITUIDS]: Remove conditional code.
1880 * sysdeps/unix/sysv/linux/kernel-features.h
1881 (__ASSUME_SETRESUID_SYSCALL): Remove.
1882 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1883 (__ASSUME_32BITUIDS): Likewise.
1884 (__ASSUME_LDT_WORKS): Likewise.
1885 (__ASSUME_O_DIRECTORY): Likewise.
1886 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1887 architecture but not kernel version.
1888 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1889 (__ASSUME_MMAP2_SYSCALL): Likewise.
1890 (__ASSUME_STAT64_SYSCALL): Likewise.
1891 (__ASSUME_IPC64): Likewise.
1892 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1893 <kernel-features.h>.
1894 [__ASSUME_32BITUIDS]: Make code unconditional.
1895 [!__ASSUME_32BITUIDS]: Remove conditional code.
1896 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1897 <kernel-features.h>.
1898 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1899 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1900 132096]: Remove conditional code.
1901 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1902 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1903 <kernel-features.h>.
1904 [__ASSUME_32BITUIDS]: Make code unconditional.
1905 [!__ASSUME_32BITUIDS]: Remove conditional code.
1906 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1907 <kernel-features.h>.
1908 [__ASSUME_32BITUIDS]: Make code unconditional.
1909 [!__ASSUME_32BITUIDS]: Remove conditional code.
1910 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1911 <kernel-features.h>.
1912 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1913 unconditional.
1914 (__setresgid): Do not declare.
1915 [__ASSUME_32BITUIDS]: Make code unconditional.
1916 [!__ASSUME_32BITUIDS]: Remove conditional code.
1917 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1918 <kernel-features.h>.
1919 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1920 unconditional.
1921 (__setresuid): Do not declare.
1922 [__ASSUME_32BITUIDS]: Make code unconditional.
1923 [!__ASSUME_32BITUIDS]: Remove conditional code.
1924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1925 <kernel-features.h>.
1926 [__ASSUME_32BITUIDS]: Make code unconditional.
1927 [!__ASSUME_32BITUIDS]: Remove conditional code.
1928 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1929 <kernel-features.h>.
1930 [__ASSUME_32BITUIDS]: Make code unconditional.
1931 [!__ASSUME_32BITUIDS]: Remove conditional code.
1932
a386f1cc
RH
19332012-05-25 Richard Henderson <rth@twiddle.net>
1934
1935 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1936 dl_hwcap to ifunc resolver.
1937 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1938 elf_ifunc_invoke.
1939 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1940 dl_hwcap to ifunc resolver.
1941 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1942
b6550497
JM
19432012-05-24 Joseph Myers <joseph@codesourcery.com>
1944
1945 [BZ #14153]
1946 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1947 for |x| <= 2**-26, not 2**-57.
1948 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1949 exception.
1950
b0bc23a1
JL
19512012-05-24 Jeff Law <law@redhat.com>
1952
1953 * stdio-common/Makefile (tests): Add bug25.
1954 * stdio-common/bug25.c: New test.
1955
347c92e9
L
19562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 [BZ #13576]
1959 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1960 multiple of MALLOC_ALIGNMENT in size.
1961 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1962
6bcc8b3f
JM
19632012-05-24 Joseph Myers <joseph@codesourcery.com>
1964
1965 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1966 Require >= 256.
1967 (FILENAME_MAX): Use macro-int-constant.
1968 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1969 (_IOFBF): Use macro-int-constant.
1970 (_IOLBF): Likewise.
1971 (_IONBF): Likewise.
1972 (SEEK_CUR): Likewise.
1973 (SEEK_END): Likewise.
1974 (SEEK_SET): Likewise.
1975 (TMP_MAX): Likewise.
1976 (EOF): Use macro-int-constant. Require < 0.
1977 (NULL): Use macro-constant. Require == 0.
1978 (stdin): Require type to be FILE *.
1979 (stdout): Likewise.
1980 (stderr): Likewise.
1981 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1982 macro-int-constant.
1983 (EXIT_SUCCESS): Likewise.
1984 (NULL): Use macro-constant. Require == 0.
1985 (RAND_MAX): Use macro-int-constant.
1986 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1987 [C99-based standards] (strtof): Require function.
1988 [C99-based standards] (strtold): Likewise.
1989 [C99-based standards] (strtoll): Likewise.
1990 [C99-based standards] (strtoull): Likewise.
1991 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1992 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1993 [ISO || ISO99 || ISO11] (math.h): Likewise.
1994 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1995 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1997
d18ea0c5
AS
19982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1999
2000 [BZ #14132]
56d25bb8
AS
2001 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2002 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2003 * intl/dgettext.c (DCGETTEXT): Likewise.
2004 * intl/gettext.c (DCGETTEXT): Likewise.
2005 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2006 * posix/regex_internal.h (gettext): Likewise.
2007 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2008 Remove declaration.
2009 * include/argz.h (__argz_count_internal)
2010 (__argz_stringify_internal): Remove declaration.
2011 (__argz_count, __argz_stringify): Declare hidden proto.
2012 * intl/dcgettext.c: Remove use of INTDEF.
2013 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2014 * string/argz-stringify.c: Likewise.
2015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2017 Declare hidden proto.
d18ea0c5
AS
2018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2020 Declare hidden proto.
2021 * include/stdio.h (__asprintf_internal): Don't declare.
2022 (__asprintf): Don't define as macro. Declare hidden proto.
2023 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2024 (__fsetlocking): Declare hidden proto.
2025 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2026 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2027 hidden proto.
2028 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2029 (_IO_setlinebuf): Remove use of INTUSE.
2030 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2031 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2032 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2033 Remove declaration.
2034 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2035 (_IO_do_flush): Remove use of INTUSE.
2036 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2037 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2038 (_IO_adjust_column, _IO_least_wmarker)
2039 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2040 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2041 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2042 (_IO_default_doallocate, _IO_wdefault_doallocate)
2043 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2044 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2045 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2046 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2047 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2048 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2049 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2050 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2051 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2052 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2053 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2054 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2055 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2056 proto.
2057 (_IO_flush_all_internal, _IO_adjust_column_internal)
2058 (_IO_default_uflow_internal, _IO_default_finish_internal)
2059 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2060 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2061 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2062 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2063 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2064 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2065 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2066 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2067 (_IO_file_close_internal, _IO_file_close_it_internal)
2068 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2069 (_IO_file_init_internal, _IO_file_attach_internal)
2070 (_IO_file_fopen_internal, _IO_file_read_internal)
2071 (_IO_file_sync_internal, _IO_file_seek_internal)
2072 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2073 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2074 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2075 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2076 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2077 (_IO_list_all_internal, _IO_link_in_internal)
2078 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2079 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2080 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2081 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2082 (_IO_do_write_internal, _IO_padn_internal)
2083 (_IO_getline_info_internal, _IO_getline_internal)
2084 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2085 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2086 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2087 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2088 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2089 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2090 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2091 with libc_hidden_ver, remove use of INTUSE.
2092 * libio/genops.c: Likewise.
2093 * libio/freopen.c: Likewise.
2094 * libio/freopen64.c: Likewise.
2095 * libio/iofclose.c: Likewise.
2096 * libio/iofdopen.c: Likewise.
2097 * libio/iofflush.c: Likewise.
2098 * libio/iofflush_u.c: Likewise.
2099 * libio/iofgets.c: Likewise.
2100 * libio/iofgets_u.c: Likewise.
2101 * libio/iofopen.c: Likewise.
2102 * libio/iofopncook.c: Likewise.
2103 * libio/iofread.c: Likewise.
2104 * libio/iofread_u.c: Likewise.
2105 * libio/ioftell.c: Likewise.
2106 * libio/iofwrite.c: Likewise.
2107 * libio/iogetline.c: Likewise.
2108 * libio/iogets.c: Likewise.
2109 * libio/iogetwline.c: Likewise.
2110 * libio/iopadn.c: Likewise.
2111 * libio/iopopen.c: Likewise.
2112 * libio/ioseekoff.c: Likewise.
2113 * libio/ioseekpos.c: Likewise.
2114 * libio/iosetbuffer.c: Likewise.
2115 * libio/iosetvbuf.c: Likewise.
2116 * libio/ioungetc.c: Likewise.
2117 * libio/ioungetwc.c: Likewise.
2118 * libio/iovdprintf.c: Likewise.
2119 * libio/iovsprintf.c: Likewise.
2120 * libio/iovsscanf.c: Likewise.
2121 * libio/memstream.c: Likewise.
2122 * libio/obprintf.c: Likewise.
2123 * libio/oldfileops.c: Likewise.
2124 * libio/oldiofclose.c: Likewise.
2125 * libio/oldiofdopen.c: Likewise.
2126 * libio/oldiofopen.c: Likewise.
2127 * libio/oldiopopen.c: Likewise.
2128 * libio/oldstdfiles.c: Likewise.
2129 * libio/putc.c: Likewise.
2130 * libio/setbuf.c: Likewise.
2131 * libio/setlinebuf.c: Likewise.
2132 * libio/stdfiles.c: Likewise.
2133 * libio/strops.c: Likewise.
2134 * libio/vasprintf.c: Likewise.
2135 * libio/vscanf.c: Likewise.
2136 * libio/vsnprintf.c: Likewise.
2137 * libio/vswprintf.c: Likewise.
2138 * libio/wfiledoalloc.c: Likewise.
2139 * libio/wfileops.c: Likewise.
2140 * libio/wgenops.c: Likewise.
2141 * libio/wmemstream.c: Likewise.
2142 * libio/wstrops.c: Likewise.
2143 * libio/__fpurge.c: Likewise.
2144 * libio/__fsetlocking.c: Likewise.
2145 * assert/assert.c: Likewise.
2146 * debug/fgets_chk.c: Likewise.
2147 * debug/fgets_u_chk.c: Likewise.
2148 * debug/fread_chk.c: Likewise.
2149 * debug/fread_u_chk.c: Likewise.
2150 * debug/gets_chk.c: Likewise.
2151 * debug/obprintf_chk.c: Likewise.
2152 * debug/vasprintf_chk.c: Likewise.
2153 * debug/vdprintf_chk.c: Likewise.
2154 * debug/vsnprintf_chk.c: Likewise.
2155 * debug/vsprintf_chk.c: Likewise.
2156 * malloc/mtrace.c: Likewise.
2157 * misc/error.c: Likewise.
2158 * misc/syslog.c: Likewise.
2159 * stdio-common/asprintf.c: Likewise.
2160 * stdio-common/fxprintf.c: Likewise.
2161 * stdio-common/getw.c: Likewise.
2162 * stdio-common/isoc99_fscanf.c: Likewise.
2163 * stdio-common/isoc99_scanf.c: Likewise.
2164 * stdio-common/isoc99_vfscanf.c: Likewise.
2165 * stdio-common/isoc99_vscanf.c: Likewise.
2166 * stdio-common/isoc99_vsscanf.c: Likewise.
2167 * stdio-common/printf-prs.c: Likewise.
2168 * stdio-common/printf_fp.c: Likewise.
2169 * stdio-common/printf_fphex.c: Likewise.
2170 * stdio-common/printf_size.c: Likewise.
2171 * stdio-common/putw.c: Likewise.
2172 * stdio-common/scanf.c: Likewise.
2173 * stdio-common/sprintf.c: Likewise.
2174 * stdio-common/tmpfile.c: Likewise.
2175 * stdio-common/vfprintf.c: Likewise.
2176 * stdio-common/vfscanf.c: Likewise.
2177 * stdlib/strfmon_l.c: Likewise.
2178 * sunrpc/openchild.c: Likewise.
2179 * sunrpc/xdr_stdio.c: Likewise.
2180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2181 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2182
d6c33fda
RM
21832012-05-24 Roland McGrath <roland@hack.frob.com>
2184
c1487492
RM
2185 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2186
2187 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2188 in the third column, to generate for the shared library an IFUNC
2189 that uses _dl_vdso_vsym.
2190 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2191 * Makeconfig (object-suffixes-noshared): New variable.
2192
2193 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2194 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2195 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2196 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2197
d6c33fda
RM
2198 [BZ #14132]
2199 * include/sys/time.h (__gettimeofday): Remove macro.
2200 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2201 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2202 Remove INTDEF.
2203 (__gettimeofday): Add libc_hidden_def.
2204 (gettimeofday): Add libc_hidden_weak.
2205 * sysdeps/mach/gettimeofday.c: Likewise.
2206 * sysdeps/posix/gettimeofday.c: Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2208 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2210 (__gettimeofday_internal): Remove strong_alias.
2211 (__gettimeofday): Add libc_hidden_def.
2212 (gettimeofday): Add libc_hidden_weak.
2213 * sysdeps/unix/syscalls.list (gettimeofday):
2214 Remove __gettimeofday_internal alias.
2215
b5a2bbe6
L
22162012-05-24 Daniel Jacobowitz <drow@false.org>
2217 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 [BZ #12495]
2220 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2221 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2222 (largebin_index_32_big): New.
2223 (largebin_index): Use it for 16-byte alignment.
2224 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2225 correction with front_misalign.
2226
cfba4fda
L
22272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2228
7f907421
L
2229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2231 Likewise.
2232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2233 Likewise.
2234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2235 Likewise.
2236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2237 Likewise.
2238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2239 Likewise.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2241 Likewise.
2242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2243 Likewise.
2244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2245 Likewise.
2246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2247 Likewise.
2248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2249 Likewise.
2250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2251 Likewise.
2252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2253 Likewise.
2254
cfba4fda
L
2255 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2256 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2257
80bad0cc
JM
22582012-05-24 Joseph Myers <joseph@codesourcery.com>
2259
7a25eb06
JM
2260 [BZ #10846]
2261 [BZ #14036]
2262 * math/libm-test.inc (exp_test): Add test from bug 14036.
2263 (pow_test): Add test from bug 10846.
2264
795405f9
JM
2265 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2266 and other flags.
2267 (special_function): Do not include flags in test name.
2268 (parse_args): Likewise.
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2274
80bad0cc
JM
2275 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2276 exceptions.
2277 * math/libm-test.inc ("Philosophy"): Update comment about
2278 exception testing.
2279 (UNDERFLOW_EXCEPTION): New macro.
2280 (UNDERFLOW_EXCEPTION_OK): Likewise.
2281 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2282 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2283 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2284 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2285 (INVALID_EXCEPTION_OK): Update value.
2286 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2287 (OVERFLOW_EXCEPTION_OK): Likewise.
2288 (IGNORE_ZERO_INF_SIGN): Likewise.
2289 (test_exceptions): Handle underflow exceptions.
2290 (acos_test): Update for underflow exception expectations.
2291 (cexp_test): Likewise.
2292 (clog_test): Likewise.
2293 (clog10_test): Likewise.
2294 (csqrt_test): Likewise.
2295 (ctan_test): Likewise.
2296 (ctanh_test): Likewise.
2297 (exp_test): Likewise.
2298 (exp10_test): Likewise.
2299 (exp2_test): Likewise.
2300 (expm1_test): Likewise.
2301 (fma_test): Likewise.
2302 (j0_test): Likewise.
2303 (jn_test): Likewise.
2304 (nexttoward_test): Likewise.
2305 (pow_test): Likewise.
2306 (scalbn_test): Likewise.
2307 (scalbln_test): Likewise.
2308 (tan_test): Likewise.
2309 (y1_test): Likewise.
2310 * sysdeps/i386/fpu/libm-test-ulps: Update.
2311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2312
9e0e3d0b
DM
23132012-05-23 David S. Miller <davem@davemloft.net>
2314
2315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2316 (__libc_sigaction): Remove unused local variables.
2317
ccd0a08f
L
23182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2319
2320 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2321
62bdf9a6
PE
23222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2323
f8591f80
PE
2324 mktime: avoid signed integer overflow
2325 * time/mktime.c (__mktime_internal): Do not mishandle the case
2326 where diff == INT_MIN.
2327
94c7d826
PE
2328 mktime: simplify computation of average
2329 * time/mktime.c (ranged_convert): Use new time_t_avg function
2330 instead of rolling our own (probably-slower) code.
2331
ce73d683
PE
2332 mktime: do not assume signed right shift propagates sign bit
2333 * time/mktime.c (isdst_differ): New static function.
2334 (__mktime_internal): No need to normalize tm_isdst now.
2335 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2336 tm_isdst values.
2337
72a22e59
PE
2338 mktime: merge another wrapv change from gnulib
2339 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2340 from some compilers.
2341
68605433
PE
2342 mktime: remove incorrect attempt at unusual arithmetics
2343 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2344 The code didn't really work on such machines anyway.
2345 (TYPE_MINIMUM): Assume two's complement.
2346 (twos_complement_arithmetic): Verify that long_int and time_t
2347 are two's complement (or unsigned, in the latter case).
2348
03cf7fe3
PE
2349 mktime: check signed shifts on long_int and time_t, too
2350 * time/mktime.c (SHR): Check that shifts work as desired
2351 on the types long_int and time_t too, as SHR is used on
2352 such types.
2353
f04dfbc2
PE
2354 mktime: do not assume 'long' is wide enough
2355 * time/mktime.c (verify): Move decl up.
2356 (long_int): New type.
2357 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2358 to remove assumption in the code that 'long' is wide enough to
2359 store year values. This assumption is not true on x32 and on
2360 some non-glibc platforms.
2361
62bdf9a6
PE
2362 mktime: merge wrapv change from gnulib
2363 * time/mktime.c (WRAPV): New macro.
2364 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2365 (guess_time_tm, __mktime_internal): Do not assume that signed
2366 integer overflow wraps around; modern compilers generate code
2367 where this assumption is no longer valid.
2368
5e292e4f
L
23692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2370
2371 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2372 Replace "jmp L(pseudo_end)" with "ret".
2373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2374 Likewise.
2375
8caf8c87
AJ
23762012-05-23 Andreas Jaeger <aj@suse.de>
2377
2378 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2379 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2380
1a09dc56
AJ
23812012-05-23 Andreas Jaeger <aj@suse.de>
2382 Maximilian Attems <max@stro.at>
2383
2384 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2385 New macros.
2386
1c87aba0
L
23872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2388
2389 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2390 code so that pseudo_end is just ret and the stack pointer is
2391 correct also for static library in error case.
2392
40e45bd5
JM
23932012-05-23 Joseph Myers <joseph@codesourcery.com>
2394
c2670533
JM
2395 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2396 move to syscalls.list.
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2401
40e45bd5
JM
2402 * manual/install.texi (Running make install): Do not mention Linux
2403 kernel version for which pt_chown is not needed.
2404 (Linux): Do not mention problems with nscd with 2.0 kernels.
2405 * INSTALL: Regenerated.
2406
be08eda5
AJ
24072012-05-23 Andreas Jaeger <aj@suse.de>
2408
2409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2410 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2411 macro.
2412 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2414 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2416 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2422 * sysdeps/unix/sysv/linux/bits/in.h
2423 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2424
a6a056bb
RM
24252012-05-22 Roland McGrath <roland@hack.frob.com>
2426
2427 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2428 (PREPARE_VERSION): Just use assert instead, it will be elided
2429 under [NDEBUG] anyway.
2430
c9009328
L
24312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2432
2433 * sysdeps/unix/sysv/linux/Makefile: Include
2434 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2435 (sysdep_routines): Remove sysctl.
c9009328
L
2436 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2437 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2439 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2440 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2441
73338355
AJ
24422012-05-22 Andreas Jaeger <aj@suse.de>
2443
2444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2445 that pseudo_end is just ret and the stack pointer is correct also
2446 for static library in error case.
2447
d44638b0
PP
24482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2449
2450 [BZ #14122]
2451 * nss/nsswitch.c (defconfig_entries): New variable.
2452 (__nss_database_lookup): Don't leak defconfig entries.
2453 (nss_parse_service_list): Don't leak on error paths.
2454 (free_database_entries): New function.
2455 (free_defconfig): New function.
2456 (free_mem): Move common code to free_database_entries.
2457
31a39bd8
L
24582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2459
da0331a8
L
2460 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2461 Add arch_prctl.
2462 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2463
31a39bd8
L
2464 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2465 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2467 New macro.
2468 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2469 (INTERNAL_SYSCALL_TYPES): Likewise.
2470 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2471 (LOAD_REGS_TYPES_[1-6]): Likewise.
2472 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2473 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2474
45470df3
AZ
24752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476
2477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2478 copysignl for GLIBC_2_0.
2479 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2480 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2482 logbl for GLIBC_2_0.
2483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2484 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2485
98a61bcb
L
24862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2487
a4f6e481
L
2488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2490
f63d5db6
L
2491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2492 Use "neg %eax".
2493
98a61bcb
L
2494 * time/mktime.c: Update copyright years.
2495
95770f14
PE
24962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2497
6226efbd
PE
2498 mktime: merge comment-quoting-style change from gnulib
2499 * time/mktime.c: Quote 'like this' in comments.
2500 The GNU coding standards suggest that we no longer quote `like this',
2501 as "`" and "'" are typically rendered asymmetrically nowadays.
2502 The typical gnulib style is to quote 'like this' when quoting
2503 code, and "like this" when quoting English.
2504
b99e4f78
PE
2505 * time/mktime.c (compile-command): Add "-I.".
2506
643e01e6
PE
2507 mktime: merge mktime-internal.h change from gnulib
2508 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2509
2554247d
PE
2510 mktime: merge time_r change from gnulib
2511 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2512
826dd0ab
PE
2513 mktime: merge DEBUG change from gnulib
2514 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2515 case system <time.h> has a #define.
2516
bd83aabe
PE
2517 mktime: merge <sys/types.h> change from gnulib
2518 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2519 since <time.t> is now guaranteed to define time_t.
2520
95770f14
PE
2521 mktime: merge HAVE_CONFIG_H change from gnulib
2522 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2523
5e1a27a9
L
25242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2525
0e44a77e
L
2526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2527 Use "neg %eax".
2528
5e1a27a9
L
2529 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2530 __rlim_t cast.
2531 (struct rusage): Use anonymous union to pad each field to
2532 __syscall_slong_t.
2533
46259bec
DM
25342012-05-21 David S. Miller <davem@davemloft.net>
2535
2536 * Makefules (o-iterator): Remove .s cases.
2537 (compile-command.s): Delete.
2538 (COMPILE.s): Delete.
2539 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2540
59f0c22e
JM
25412012-05-21 Joseph Myers <joseph@codesourcery.com>
2542
2543 * configure.in (libc_cv_predef_stack_protector): Only consider
2544 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2545 * configure: Regenerated.
2546
20c07380
L
25472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2548
bbb3154b
L
2549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2550 New macro. Use R*LP on int and pointer.
2551 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2552 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2553 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2554 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2555
20c07380
L
2556 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2557 [__WORDSIZE_TIME64_COMPAT32] instead of
2558 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2559 (struct utmp): Likewise.
2560 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2561 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2562 Renamed to ...
2563 (__WORDSIZE_TIME64_COMPAT32): This.
2564 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2565 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2566 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2567 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2568 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2569 (__WORDSIZE_TIME64_COMPAT32): New macro.
2570
d8d1017e
AJ
25712012-05-21 Andreas Jaeger <aj@suse.de>
2572
2573 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2574 only if [SHARED]. Add prototype for __wcschr_ia32.
2575
6c7fb145
RM
25762012-05-21 Roland McGrath <roland@hack.frob.com>
2577
2578 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2579 of %rbp unmolested in the jmp_buf while mangling the low bits.
2580 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2581 unmolested high bits of %rbp while demangling the low bits.
2582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2583
66274218
AJ
25842012-05-21 Andreas Jaeger <aj@suse.de>
2585
07c58f8f
AJ
2586 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2587 * sunrpc/svc_simple.c: Use it for registerrpc.
2588 * sunrpc/xcrypt.c: Use it for passwd2des.
2589
66274218
AJ
2590 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2591
61f65140
L
25922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2593
2594 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2595 Don't define if [__SYSCALL_WORDSIZE != 32].
2596 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2597 New macro.
2598
5fefb436
AJ
25992012-05-21 Bruno Haible <bruno@clisp.org>
2600 Andreas Jaeger <aj@suse.de>
2601
2602 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2603 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2604 inptr and inend for must_buffer_ch.
2605 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2606 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2607 * stdio-common/Makefile (tests): Remove bug15.
2608 (bug15-ENV): Remove macro.
2609 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2610 anymore.
2611
d8e272ab
AJ
26122012-05-19 Andreas Jaeger <aj@suse.de>
2613 Roland McGrath <roland@hack.frob.com>
2614
2615 * manual/contrib.texi: Completely rewritten. It contains now an
2616 alphabetical list of contributors and their contributions.
2617
4a56a162
RH
26182012-05-21 Richard Henderson <rth@twiddle.net>
2619
2620 * misc/getauxval.c (__getauxval): Use unsigned long int.
2621 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2622 (getauxval): Use unsigned long int.
2623
d024d23c
L
26242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2625
2626 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2627
cbc00a03
RM
26282012-05-21 Roland McGrath <roland@hack.frob.com>
2629
2630 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2631 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2632 __alignof__ (long double).
2633
478143fa
AZ
26342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2635
2636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2637
c7683a6d
RH
26382012-05-20 Richard Henderson <rth@twiddle.net>
2639
2640 * misc/getauxval.c: New file.
2641 * misc/sys/auxv.h: New file.
2642 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2643 (routines): Add getauxval.
2644 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2646 * elf/dl-sysdep.c (_dl_auxv): Remove.
2647 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2648 * elf/dl-support.c (_dl_auxv): New variable.
2649 (_dl_aux_init): Initialize it.
2650 * manual/startup.texi (Auxiliary Vector): New node.
2651 * sysdeps/generic/bits/hwcap.h: New file.
2652 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2653 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2654 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2655 * sysdeps/sparc/sysdep.h: ... here. Include it.
2656 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2659 Update.
c7683a6d
RH
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2668
a6f1845d
AZ
26692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670
2671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2672
cbcbe830
DM
26732012-05-19 David S. Miller <davem@davemloft.net>
2674
2675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2676
e0b16cc2
JM
26772012-05-19 Joseph Myers <joseph@codesourcery.com>
2678
2679 [BZ #14123]
2680 * math/s_ccosh.c: Include <float.h>
2681 (__ccosh): Avoid internal overflow calculating sinh and cosh
2682 values before multiplying by sin and cos values.
2683 * math/s_ccoshf.c: Likewise.
2684 * math/s_ccoshl.c: Likewise.
2685 * math/s_csin.c: Likewise.
2686 * math/s_csinf.c: Likewise.
2687 * math/s_csinl.c: Likewise.
2688 * math/s_csinh.c: Likewise.
2689 * math/s_csinhf.c: Likewise.
2690 * math/s_csinhl.c: Likewise.
2691 * math/libm-test.inc (ccos_test): Add more tests.
2692 (ccosh_test): Likewise.
2693 (csin_test): Likewise.
2694 (csinh_test): Likewise.
2695 * sysdeps/i386/fpu/libm-test-ulps: Update.
2696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2697
6ad13e08
L
26982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2699
f66f0ce8
L
2700 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2701 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2702
6ad13e08
L
2703 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2704
b1d072a7
JM
27052012-05-19 Joseph Myers <joseph@codesourcery.com>
2706
2707 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2708 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2709 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2710 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2711 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2712 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2713 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2714 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2715 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2716 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2717 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2718 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2719 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2720 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2721 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2722 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2723 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2724 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2725 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2726 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2727 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2728 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2729 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2730 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2731 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2732 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2733 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2734 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2735 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2736 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2737 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2738
9eae47cb
AJ
27392012-05-18 Andreas Jaeger <aj@suse.de>
2740
2741 * csu/.gitignore: Delete.
2742
bb07f69f
L
27432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2744
2745 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2746 (timex): Use __syscall_slong_t.
2747
e6bdb741
AJ
27482012-05-18 Andreas Jaeger <aj@suse.de>
2749 Carlos O'Donell <carlos_odonell@mentor.com>
2750
2751 * manual/install.texi (Configuring and compiling): Update
2752 description about files modified in the source directory.
d6c33fda 2753 * INSTALL: Regenerated.
e6bdb741 2754
1b74487e
L
27552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2758 value. Use "or" to set return value to -1.
2759 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2760 negate return value.
2761
a88b64b9
TMQMF
27622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2763
2764 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2765 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2766 failure if the compiler has Graphite support disabled.
2767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2768 Likewise.
2769 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2770 CFLAGS-memmove.c): Likewise.
2771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2772 Likewise.
2773
3707636e
L
27742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2775
610b8622
L
2776 * sysdeps/x86_64/x32/_itoa.h: New file.
2777
7cd195df
L
2778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2779 getdents system call only if kernel and user dirents have the
2780 same d_ino and d_off.
2781
94b07d20
L
2782 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2783 LLONG_MAX != LONG_MAX.
2784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2785 (_fitoa_word): Likewise.
2786
18298070
L
2787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2788 years.
2789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2792
553c7ea4
L
2793 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2794 include <bits/wordsize.h>. Check __x86_64__ instead of
2795 __WORDSIZE.
2796 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2797 if __x86_64__ is defined. Use anonymous union on fpstate.
2798
3707636e
L
2799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2800 anonymous union.
2801
b53ef01a
AS
28022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2803
37fb1dc0
AS
2804 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2805 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2806 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2807 Refer to _rtld_local_ro instead of _rtld_global_ro.
2808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2809 Likewise.
2810 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2811 Likewise.
2812 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2813 Likewise.
2814 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2815 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2816 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2817
b53ef01a
AS
2818 * sysdeps/powerpc/powerpc32/dl-machine.c
2819 (__elf_machine_runtime_setup) [PROF]: Don't reference
2820 _dl_prof_resolve.
2821
7a185db2
AJ
28222012-05-18 Andreas Jaeger <aj@suse.de>
2823
2824 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2825 function only available for GCCs before 3.4 since GCC 3.4
2826 introduced a builtin.
2827 (lrint): Likewise.
2828 (llrintf): Likewise.
2829 (llrint): Likewise.
2830 (fmaxf): Likewise.
2831 (fmax): Likewise.
2832 (fminf): Likewise.
2833 (fmin): Likewise.
2834 (rint): Likewise.
2835 (rintf): Likewise.
2836 (nearbyint): Likewise.
2837 (nearbyintf): Likewise.
2838 (ceil): Likewise.
2839 (ceilf): Likewise.
2840 (floor): Likewise.
2841 (floorf): Likewise.
2842
3e5aef87
L
28432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2844
428bd707
L
2845 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2846 on both fields and cast pointer to __syscall_ulong_t.
2847
3e5aef87
L
2848 * bits/types.h (__fsword_t): New type.
2849 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2850 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2852 (__FSWORD_T_TYPE): Likewise.
2853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2854 (__FSWORD_T_TYPE): Likewise.
2855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2856 (__FSWORD_T_TYPE): Likewise.
2857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2858 (__FSWORD_T_TYPE): Likewise.
2859 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2860 __SWORD_TYPE with __fsword_t.
2861 (statfs64): Likewise.
2862
1ba7c3dc
DM
28632012-05-17 David S. Miller <davem@davemloft.net>
2864
2865 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2866
59910343
AJ
28672012-05-17 Andreas Jaeger <aj@suse.de>
2868
2869 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2870 warning.
2871
2e4c1e9e
L
28722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2873
2874 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2875
de7f5ce7
AJ
28762012-05-17 Andreas Jaeger <aj@suse.de>
2877
2878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2879 when it is used.
2880
286abc3d
CM
28812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2882
2883 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2884
477cc68e
L
28852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2888 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2889
1a0994f5
CD
28902012-05-17 Andreas Jaeger <aj@suse.de>
2891 Carlos O'Donell <carlos_odonell@mentor.com>
2892
2893 [BZ #14059]
2894 * sysdeps/x86_64/multiarch/init-arch.h
2895 (bit_YMM_Usable): Rename to...
2896 (bit_AVX_Usable): ... this.
2897 (bit_FMA4_Usable): New macro.
2898 (bit_XMM_state): New macro.
2899 (bit_YMM_state): New macro.
2900 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2901 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2902 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2903 (CPUID_OSXSAVE): New macro.
2904 (CPUID_AVX): New macro.
2905 (CPUID_FMA4): New macro.
2906 (index_YMM_Usable): Rename to...
2907 (index_AVX_Usable): ... this.
2908 (HAS_AVX): Use HAS_ARCH_FEATURE.
2909 (HAS_FMA4): Likewise.
2910 (HAS_YMM_USABLE): Remove.
2911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2912 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2913 are present.
2914 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2915 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2916 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2917 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2918 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2919
0af797de
CM
29202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2921
2922 * math/libm-test.c: Support platforms without multiple rounding modes.
2923 * math/bug-nextafter.c: Support platforms without FP exceptions.
2924 * math/bug-nexttoward.c: Likewise.
2925 * math/test-fenv.c: Likewise.
2926 * math/test-misc.c: Likewise.
2927 * stdlib/bug-getcontext.c: Likewise.
2928
e39745ff
AJ
29292012-05-17 Andreas Jaeger <aj@suse.de>
2930
2931 * manual/examples/search.c (critter_cmp): Change signature to
2932 avoid warnings.
2933 * manual/string.texi (Collation Functions): Likewise.
2934
48970aba
L
29352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 * bits/types.h: Fold copyright years.
2938 * bits/typesizes.h: Likewise.
2939 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2943 * time/time.h: Likewise.
2944
bedee953
PP
29452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2946
2947 [BZ #208]
2948 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2949 in instead of returning them. Return void.
2950 (__libc_mallinfo): Accumulate over all arenas.
2951 (__malloc_stats): Adjust for change in int_mallinfo interface.
2952
61653dfb
RM
29532012-05-16 Roland McGrath <roland@hack.frob.com>
2954
30b99d79
RM
2955 [BZ #10375]
2956 * configure.in (NM): Add AC_CHECK_TOOL for it.
2957 (libc_extra_cflags): New substituted variable.
2958 Check for -fstack-protector being used implicitly.
2959 * configure: Regenerated.
2960 * config.make.in (config-extra-cflags): New variable,
2961 gets @libc_extra_cflags@.
2962 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2963
61653dfb
RM
2964 [BZ #10375]
2965 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2966 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2967 * configure: Regenerated.
2968 * config.make.in (CPPUNDEFS): New substituted variable.
2969 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2970 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2971 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2972
661768bb
L
29732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2974
2975 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2976 (mq_attr): Use __syscall_slong_t.
2977
d4261567
L
29782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2981 Check __x86_64__ instead of __WORDSIZE.
2982 (_STAT_VER_LINUX): Likewise.
2983 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2984 __syscall_ulong_t and __syscall_slong_t.
2985 (stat64): Likewise.
2986
cf3ff365
L
29872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2990
76cf3e4d
L
29912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2992
2993 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2994
a637753a
L
29952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2996
2997 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2998 __syscall_ulong_t.
2999
d5e05119
L
3000 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3001 include <bits/wordsize.h>. Check __x86_64__ instead of
3002 __WORDSIZE.
3003 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3004 defined.
3005 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3006
f62ee380
L
3007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3008 include <bits/wordsize.h>. Check __x86_64__ instead of
3009 __WORDSIZE.
3010 (user_regs_struct): Use "__extension__ unsigned long long"
3011 instead of "unsigned long" if __x86_64__ is defined.
3012 (user): Likewise. Pad after pointer field if __ILP32__ is
3013 defined.
3014
4e124ced
JM
30152012-05-16 Joseph Myers <joseph@codesourcery.com>
3016
6a3951a0
JM
3017 * configure.in (makeinfo): Require version 4.5 or later. Allow
3018 versions 5 to 9.
3019 * configure: Regenerated.
3020 * manual/install.texi (texinfo): Increase version requirement to
3021 4.5 or later.
3022 * INSTALL: Regenerated.
3023
4e124ced
JM
3024 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3025
953ca31a
L
30262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3029
617aca05
L
3030 * sysdeps/x86_64/x32/ffs.c: New file.
3031
5762f7ae
L
3032 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3033 __syscall_ulong_t.
3034 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3035 defined. Use __syscall_ulong_t.
3036 (shminfo): Use __syscall_ulong_t.
3037 (shm_info): Likewise.
3038
a26b6856
L
3039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3040 __syscall_ulong_t.
3041
cb2b9ef7
L
3042 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3043 <bits/wordsize.h>.
3044 (msgqnum_t): Use __syscall_ulong_t.
3045 (msglen_t): Likewise.
3046 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3047 __syscall_ulong_t.
3048
34683bb0
L
3049 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3051
84a68786
L
3052 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3053
48baa5f1
L
3054 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3055 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3056
180be88b
L
3057 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3058 __syscall_slong_t.
3059
5e90c8ad
L
3060 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3061 include <bits/wordsize.h>. Check __x86_64__ instead of
3062 __WORDSIZE.
3063
23dfb58b
L
3064 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3065 "unsigned long long int" if __x86_64__ is defined.
3066 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3067
ce5d54b0
L
3068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3069 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3070 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3071
13dc9eac
L
3072 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3073 <stdint.h>.
3074 (GET_PC): Cast to uintptr_t first.
3075 (GET_FRAME): Likewise.
3076 (GET_STACK): Likewise.
3077
a7895d15
L
3078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3084 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3086 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3107
656416c9
AS
31082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3109
5bd66283
AS
3110 * Makerules (+depfiles): Also collect depfiles from .oS in
3111 $(extra-objs).
3112 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3113 .oS, $(libnldbl-routines)).
3114
656416c9
AS
3115 * Makerules (native-compile-mkdep-flags): Define.
3116 * sunrpc/Makefile (extra-objs): Add $(addprefix
3117 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3118 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3119 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3120 calling $(make-target-directory).
3121
a46f2169
L
31222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3123
3124 * bits/types.h (__snseconds_t): Removed.
3125 * time/time.h (struct timespec): Replace __snseconds_t with
3126 __syscall_slong_t.
3127 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3128 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3129 Likewise.
3130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3131 (__SNSECONDS_T_TYPE): Likewise.
3132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3133 (__SNSECONDS_T_TYPE): Likewise.
3134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3135 (__SNSECONDS_T_TYPE): Likewise.
3136
6af6528b
L
31372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 * sysdeps/mach/hurd/bits/typesizes.h
3140 (__SYSCALL_SLONG_TYPE): New macro.
3141 (__SYSCALL_ULONG_TYPE): Likewise.
3142
de986b56
L
31432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3144
3145 * bits/types.h (__syscall_slong_t): New type.
3146 (__syscall_ulong_t): Likewise.
3147
3148 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3149 (__SYSCALL_ULONG_TYPE): Likewise.
3150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3151 (__SYSCALL_SLONG_TYPE): Likewise.
3152 (__SYSCALL_ULONG_TYPE): Likewise.
3153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3154 (__SYSCALL_SLONG_TYPE): Likewise.
3155 (__SYSCALL_ULONG_TYPE): Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3157 (__SYSCALL_SLONG_TYPE): Likewise.
3158 (__SYSCALL_ULONG_TYPE): Likewise.
3159
85736dc7
L
31602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3163 Add sigaltstack-offsets.sym.
3164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3165 <sigaltstack-offsets.h>.
3166 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3167 longjmp_msg pointer.
3168 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3169 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3170 signal stack.
3171 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3172
cc03b296
JM
31732012-05-15 Joseph Myers <joseph@codesourcery.com>
3174
a9538892
JM
3175 * elf/stackguard-macros.h: Remove file.
3176 * sysdeps/generic/stackguard-macros.h: New file.
3177 * sysdeps/i386/stackguard-macros.h: Likewise.
3178 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3179 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3180 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3181 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3182 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3183 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3184 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3185 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3186 <elf/stackguard-macros.h>.
3187
cc03b296
JM
3188 [BZ #14109]
3189 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3190 __aligned__ in attribute.
3191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3192 (gregset_t): Likewise.
3193
93171016
L
31942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3195
3196 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3197 * sysdeps/x86_64/64/Implies-after: Here. New file.
3198 * sysdeps/x86_64/x32/Implies-after: New file.
3199
d86813a0
L
32002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3201
3202 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3203 and access return value for _dl_profile_fixup. Use R10_LP to
3204 load frame size.
3205
2953ec75
L
32062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3207
3208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3209
3b550e9e
L
32102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3213 * sysdeps/x86_64/x32/sysdep.h: New file.
3214
eda41706
L
32152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3216
3217 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3218 * sysdeps/x86_64/setjmp.S: Likewise.
3219
9ea01d93
AZ
32202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221
3222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3224 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3225 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3226 remove unused global constant.
3227
02a91938
CM
32282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3229
3230 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3231 include of <not-cancel.h>.
3232
6540185f
RM
32332012-05-15 Roland McGrath <roland@hack.frob.com>
3234
3235 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3236
509072a0
AJ
32372012-05-15 Jeff Law <law@redhat.com>
3238 Andreas Jaeger <aj@suse.de>
3239
3240 [BZ #13594]
3241 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3242 out from...
3243 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3244 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3246 code changing __hst_map_handle.map.
3247
ba75122d
RM
32482012-05-15 Roland McGrath <roland@hack.frob.com>
3249
3250 * configure.in (sysnames): Look for Implies-before and Implies-after
3251 files.
3252 * configure: Regenerated.
3253
890d8bd8
L
32542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3255
3256 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3257 8-byte data alignment with LP_SIZE alignment.
3258
f6ee6623
L
32592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3262 into R10_LP.
3263
ea2626f6
L
32642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3265
3266 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3267
085f715e
L
32682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3269
3270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3271 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3273 Likewise.
3274 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3275
be8498fc
L
32762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3277
3278 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3279 (stackinfo_sub_sp): Likewise.
3280
70bc83b9
L
32812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3282
3283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3284 RAX_LP.
3285
9bc0b730
L
32862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3289 into R*_LP.
3290
6d2850e7
L
32912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3292
3293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3294 sizes into R*_LP.
3295
3cb84561
L
32962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3297
3298 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3299
54e2ed81
L
33002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3301
3302 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3303 into R11_LP and load __x86_64_shared_cache_size_half into
3304 R8_LP.
3305
8a17f349
L
33062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3307
3308 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3309 R8_LP.
3310
777b1eea
AZ
33112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3312
3313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3314 logb for POWER7.
3315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3316 logbf for POWER7.
3317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3318 logbl for POWER7.
3319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3320 powerpc32/power7/fpu/s_logb.c via #include.
3321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3322 powerpc32/power7/fpu/s_logbf.c via #include.
3323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3324 powerpc32/power7/fpu/s_logbl.c via #include.
3325
d20d4ac2
JM
33262012-05-15 Joseph Myers <joseph@codesourcery.com>
3327
3328 * README.libm: Remove file.
3329
6cdef1ab
L
33302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3331
3332 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3333 count for x32. Use R*_LP and omit operand-size suffix.
3334
0b254d8f
L
33352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3336
3337 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3338 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3339 * sysdeps/x86_64/x32/shlib-versions: New file.
3340
ceb809dc
RM
33412012-05-14 Roland McGrath <roland@hack.frob.com>
3342
3343 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3344 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3345 Use _dl_fatal_printf instead.
3346
37f1abd4
JM
33472012-05-14 Joseph Myers <joseph@codesourcery.com>
3348
3349 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3350 set if not set by the user. Do not allow for being unset.
3351 * sysdeps/unix/sysv/linux/configure: Regenerated.
3352
11de3a33
L
33532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3354
3355 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3356 the `q' suffix from lea and replace .quad with ASM_ADDR.
3357
e02f153a
L
33582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3359
3360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3361 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3362 instead of $17.
3363 (PTR_DEMANGLE): Likewise.
3364
520ae0fd
L
33652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3368 (LP_OP): Likewise.
3369 (ASM_ADDR): Likewise.
3370 (RAX_LP): Likewise.
3371 (RBP_LP): Likewise.
3372 (RBX_LP): Likewise.
3373 (RCX_LP): Likewise.
3374 (RDI_LP): Likewise.
3375 (RSI_LP): Likewise.
3376 (RSP_LP): Likewise.
3377 (R8_LP): Likewise.
3378 (R9_LP): Likewise.
3379 (R10_LP): Likewise.
3380 (R10_LP): Likewise.
3381 (R11_LP): Likewise.
3382 (R12_LP): Likewise.
3383 (R13_LP): Likewise.
3384 (R14_LP): Likewise.
3385 (R15_LP): Likewise.
3386
b985be81
L
33872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 * sysdeps/x86_64/x32/dl-machine.h: New file.
3390
6a4888ff
AJ
33912012-05-14 Andreas Jaeger <aj@suse.de>
3392
3393 * manual/Makefile (subdir): Remove export of subdir.
3394 (all): Remove target.
3395 (.PHONY): Remove all from list.
3396 (mkinstalldirs): Remove.
3397 (.PHONY): Remove installdirs from list.
3398 ($(inst_infodir)/libc.info): Use make-target-directory.
3399 (installdirs): Remove.
3400 (subdir_%): Remove.
3401 (glibc-targets): Remove.
3402 (lib): Remove.
3403 (stubs): Remove.
3404 ($(objpfx)stubs ../po/manual.pot): Remove.
3405 ($(objpfx)stamp%): Remove.
3406 (make-target-directory): Remove.
3407 (subdir_install): Remove.
3408 (routines): Remove.
3409 (aux): Remove.
3410 (sources): Remove.
3411 (objects): Remove.
3412 (headers): Remove.
3413
3414 [BZ #13750]
3415 * manual/.gitignore: Remove, it's not needed anymore.
3416 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3417 all files in it.
3418 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3419 directory.
3420 (texis): Renamed to $(objpfx)texis.
3421 (texis-path): New, contains path to generated files.
3422 (chapters.%): Use texis-path for complete path, add extra argument
3423 libc-texinfo.sh.
3424 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3425 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3426 (summary,texi, stamp-summary): Use complete path of
3427 files. Generate files in build dir.
3428 (dir-add.texi): Build in build dir.
3429 (libm-err.texi,stamp-libm-err): Likewise.
3430 (version.texi, stamp-version): Likewise.
3431 (.%c.texi): Likewise.
3432 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3433 (mostlyclean): Remove target.
3434 (realclean): Remove target.
3435 (generated): Add new variable with contents from mostlyclean and
3436 realclean, remove entries duplicated in common-mostlyclean, add
3437 stamp-libm-err and stamp-version.
3438 (generated-dirs): Add libc directory.
3439 ($(inst_infodir)/libc.info): Install files from build dir.
3440
3441 * manual/install.texi (Configuring and compiling): Adjust since
3442 the info files are not part of the tar ball anymore.
3443
7ac77294
AJ
34442012-05-14 Andreas Jaeger <aj@suse.de>
3445
3446 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3447 variable.
3448
ffb7875d
JM
34492012-05-14 Joseph Myers <joseph@codesourcery.com>
3450
3451 [BZ #13717]
3452 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3453 to 2.2.0 where earlier.
3454 * sysdeps/unix/sysv/linux/configure: Regenerated.
3455 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3456 Remove conditional code.
3457 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3458 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3459 Remove conditional code.
3460 [!__NR_lchown]: Likewise.
3461 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3462 [__NR_lchown]: Likewise.
3463 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3464 comment referencing __ASSUME_LCHOWN_SYSCALL.
3465 * sysdeps/unix/sysv/linux/i386/sigaction.c
3466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3468 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3469 Remove conditional code.
3470 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3471 (__protocol_available): Remove #if 0 code.
3472 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3473 conditional code.
3474 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3475 * sysdeps/unix/sysv/linux/kernel-features.h
3476 (__ASSUME_GETCWD_SYSCALL): Don't define.
3477 (__ASSUME_REALTIME_SIGNALS): Likewise.
3478 (__ASSUME_PREAD_SYSCALL): Likewise.
3479 (__ASSUME_PWRITE_SYSCALL): Likewise.
3480 (__ASSUME_POLL_SYSCALL): Likewise.
3481 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3482 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3483 non-SPARC.
3484 (__ASSUME_SIOCGIFNAME): Don't define.
3485 (__ASSUME_MSG_NOSIGNAL): Likewise.
3486 (__ASSUME_SENDFILE): Define unconditionally.
3487 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3488 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3489 conditional code.
3490 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3491 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3493 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3494 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3496 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3521 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3522 Remove conditional code.
3523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3524 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3525 Remove conditional code.
3526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3527 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3528 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3529 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3530 Remove conditional code.
3531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3532 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3533 Remove conditional code.
3534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3535 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3536 Remove conditional code.
3537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3538 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3539 Remove conditional code.
3540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3541 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3542 Remove conditional code.
3543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3544 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3547 * sysdeps/unix/sysv/linux/sigaction.c
3548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3550 * sysdeps/unix/sysv/linux/sigpending.c
3551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3553 * sysdeps/unix/sysv/linux/sigprocmask.c
3554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3556 * sysdeps/unix/sysv/linux/sigsuspend.c
3557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3560 (__libc_missing_rt_sigs): Remove.
3561 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3562 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3563 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3564 Remove conditional code.
3565 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3566 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3567 return 1.
3568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3569 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3570 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3571 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3572
1bfb7291
AJ
35732012-05-14 Andreas Jaeger <aj@suse.de>
3574
caae5a81
AJ
3575 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3576 it's not used in glibc.
3577 (__coshm1): Likewise.
3578 (__acosh1p): Likewise.
3579 (__sgn): Likewise.
3580
1bfb7291
AJ
3581 * manual/string.texi (Copying and Concatenation): Add missing
3582 variable in concat example.
3583 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3584
c044d724
L
35852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3586
144c5467 3587 [BZ #14103]
c044d724
L
3588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3589 __builtin_clzl with __builtin_clzll.
3590
2523c62b
L
35912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3592
3593 [BZ #14104]
3594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3595 libc_freeres_ptr.
3596
d7bb4c42
LD
35972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3598
3599 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3600 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3601 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3602 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3603
9dc4e1fb
MF
36042012-05-14 Mike Frysinger <vapier@gentoo.org>
3605
3606 * NEWS: Update ia64 info.
3607
c7df0112
AS
36082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3609
3610 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3611 used as bcopy.
3612
dc70356c
TS
36132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3614
3615 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3616 * sysdeps/unix/syscalls.list (dup3): Likewise.
3617 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3618 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3619
9fb1a21f
L
36202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3623 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3624
4822a2a5
L
36252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3626
3627 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3628 thread pointer.
3629 (TLS_IE): Use mov/add instead of movq/addq to load thread
3630 pointer.
3631 (TLS_GD_PREFIX): New.
3632 (TLS_GD): Use it.
3633
842b81d6
DM
36342012-05-11 David S. Miller <davem@davemloft.net>
3635
3636 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3637 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3638 (_FPU_SETCW): Likewise.
3639
1cf463cd
L
36402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3643 is 32-byte aligned.
3644
60cc4a18
AS
36452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3646
3647 [BZ #11837]
3648 * iconvdata/gb18030.c: Update tables.
3649 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3650 characters specially.
3651 (BODY for TO_LOOP): Add encoding of missing ranges.
3652
febb44a4
TS
36532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3654
3655 [BZ #13673]
3656 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3657 * sysdeps/mach/hurd/dup3.c: Likewise.
3658 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3659 * sysdeps/powerpc/memmove.c:: Likewise.
3660
0a10fb9e
L
36612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3662
3663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3664 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3665
df8a552f
L
36662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 * elf/elf.h (R_X86_64_RELATIVE64): New.
3669 (R_X86_64_NUM): Updated.
3670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3671 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3672 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3673 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3674 tst-quad1pie tst-quad2pie
3675 (modules-names): Add tst-quadmod1 tst-quadmod2.
3676 ($(objpfx)tst-quad1): New dependency.
3677 ($(objpfx)tst-quad2): Likewise.
3678 ($(objpfx)tst-quad1pie): Likewise.
3679 ($(objpfx)tst-quad2pie): Likewise.
3680 * sysdeps/x86_64/tst-quad1.c: New file.
3681 * sysdeps/x86_64/tst-quad1pie.c: New file.
3682 * sysdeps/x86_64/tst-quad2.c: Likewise.
3683 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3684 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3685 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3686 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3687 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3688
f34d6f84
ST
36892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3690
f42d41d1
ST
3691 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3692 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3693 * streams/stropts.h (t_scalar_t): Define type.
3694
3c3571fc
ST
3695 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3696 (_PATH_PRESERVE): Set to "/var/lib".
3697 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3698
61f06bd3
ST
3699 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3700 instead of int.
3701
918d4d71
ST
3702 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3703 if __dir_mkfile succeeded.
3704
f34d6f84
ST
3705 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3706 checking for _hurd_dtablesize. Unlock it right after having
3707 finished _hurd_dtable allocation.
3708
10589b4a
TS
37092012-05-10 Thomas Schwinge <thomas@schwinge.name>
3710
674cdbc7
TS
3711 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3712 * sysdeps/mach/hurd/configure: Regenerated.
3713 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3714 special-casing to...
3715 * sysdeps/gnu/configure.in: ... this new file.
3716 * sysdeps/unix/sysv/linux/configure: Regenerated.
3717 * sysdeps/gnu/configure: New generated file.
3718
8e41b99f
TS
3719 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3720 for Linux: use nsec instead of usec, as well as:
3721 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3722 members of type struct timespec.
3723 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3724 New macros.
3725 (struct stat64): Likewise.
3726 (_STATBUF_ST_NSEC): New macro.
3727 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3728
10589b4a
TS
3729 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3730 __strtoul_internal rather than strtoul.
3731
63643c85
PT
37322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3733
3734 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3735 and reject them.
3736
3faebe6a
ST
37372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3738
3739 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3740 which preserves existing values.
3741 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3742
c6474b07
PT
37432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3744
3745 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3746 TIMEOUT values. Return EINVAL for NFDS values either negative or
3747 greater than FD_SETSIZE.
3748
1043890b
ST
37492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3750
3751 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3752 allocated, call __vm_protect to finish enabling the existing space, and
3753 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3754 allocate the remainder.
3755
37ed8b9b
PT
37562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3757
3758 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3759 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3760
db653660
ST
37612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3762
37ed8b9b
PT
3763 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3764 sysdeps/mach/hurd/readlink.c.
b29d4053 3765
db653660
ST
3766 * posix/tst-sysconf.c (posix_options): Only use
3767 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3768 _POSIX_SYNCHRONIZED_IO when they are defined
3769 * sysdeps/mach/hurd/bits/posix_opt.h:
3770 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3771 (_XOPEN_REALTIME): Undefine macro.
3772 (_XOPEN_REALTIME_THREADS): Undefine macro.
3773 (_XOPEN_SHM): Undefine macro.
3774 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3775 macro to -1.
3776 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3777 macro to -1.
3778 (_POSIX_ASYNC_IO): Undefine macro.
3779 (_POSIX_PRIORITIZED_IO): Undefine macro.
3780 (_POSIX_SPIN_LOCKS): Define macro to -1.
3781
ee16e894
ST
3782 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3783 SA_NODEFER, SA_RESETHAND.
3784 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3785 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3786 F_DUPFD_CLOEXEC.
3787
6103ae3b
TS
37882012-05-10 Thomas Schwinge <thomas@schwinge.name>
3789
3790 * elf/Makefile (pldd-modules): Define unconditionally.
3791
80b4e5f3
TS
37922012-05-10 Thomas Schwinge <thomas@schwinge.name>
3793
3794 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3795
edadcbd6
ST
37962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3797
3798 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3799 Return ENOENT when name is empty.
3800 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3801
80694780
TS
38022012-05-10 Thomas Schwinge <thomas@schwinge.name>
3803
1792c087
TS
3804 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3805
80694780
TS
3806 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3807
6b645f0d
ST
38082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3809
80694780
TS
3810 Fix mlock in all cases except non-readable pages.
3811 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3812 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3813
6b645f0d
ST
3814 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3815 (__mkdir): When path is `/', just fail with EEXIST.
3816 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3817
e468f8a3
TS
38182012-05-10 Thomas Schwinge <thomas@schwinge.name>
3819
3820 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3821 <sys/uio.h> (for writev).
3822 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3823 and <sys/param.h> (for MIN).
3824
a4186cff
PT
38252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3826
3827 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3828 REQUESTED_TIME. Properly set the remaining time and return EINTR
3829 if interrupted.
3830
510bbf14
TS
38312012-05-10 Thomas Schwinge <thomas@schwinge.name>
3832
3833 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3834 Depend on against $(link-rpcuserlibs).
3835
5d5722e8
ST
38362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3837
a4186cff
PT
3838 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3839 (__libc_stack_end): Do not use attribute_relro.
3840 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3841 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3842 to libthread-provided value.
a4186cff
PT
3843 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3844 attribute_relro.
5d5722e8 3845
37233df9
TS
38462012-05-10 Thomas Schwinge <thomas@schwinge.name>
3847
be971a2b
TS
3848 [BZ #3748]
3849 * bits/libc-lock.h (__libc_once_get): New macro.
3850 * sysdeps/mach/bits/libc-lock.h: Likewise.
3851 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3853 instead of using implementation details.
3854
37233df9
TS
3855 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3856 * libio/freopen.c: Likewise.
3857 * libio/freopen64.c: Likewise.
3858 * misc/syslog.c: Likewise.
3859 * nscd/connections.c: Likewise.
3860 * nscd/netgroupcache.c: Likewise.
3861 * sysdeps/posix/getcwd.c: Likewise.
3862
38de94a5
RM
38632012-05-10 Roland McGrath <roland@hack.frob.com>
3864
3865 * math/w_ilogbf.c: Add #include <limits.h>.
3866
67530489
ST
38672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3868
a4186cff 3869 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3870 path instead of returning without unlocking.
3871
67530489
ST
3872 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3873 immediate-write ioctls.
3874 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3875
5aa3a74a
TS
38762012-05-10 Thomas Schwinge <thomas@schwinge.name>
3877
18bad2ae
TS
3878 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3879 __builtin_frame_address instead of making assumptions about the
3880 location of the return address relative to DATA. Force early load of
3881 the return address.
3882 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3883 __builtin_frame_address.
3884
5aa3a74a
TS
3885 dup3 for GNU Hurd.
3886 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3887 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3888 implement dup3 and do some further code clean-ups.
3889 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3891
ecd0de9a
ST
38922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3893
cd9fa985
ST
3894 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3895
a4186cff
PT
3896 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3897 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3898 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3899 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3900 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3901 d->port.lock.
802ca5a5 3902
a4186cff
PT
3903 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3904 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3905 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3906
bcf55240
TS
39072012-05-10 Thomas Schwinge <thomas@schwinge.name>
3908
6960eb42
TS
3909 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3910 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3911 definitions.
3912
eb43375f
TS
3913 accept4 for GNU Hurd.
3914 * include/sys/socket.h (__libc_accept4): New prototype.
3915 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3916 to implement __libc_accept4.
3917 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3918 __libc_accept4.
3919 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3920
bcf55240
TS
3921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3922 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3923 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3924 signal-defines.sym.
3925
6178c55b
ST
39262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3927
a4186cff 3928 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3929
6f080c2f
TS
39302012-05-10 Thomas Schwinge <thomas@schwinge.name>
3931
3932 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3933 assertion on O_CLOEXEC flag.
3934 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3935 * hurd/intern-fd.c: Likewise.
3936 * hurd/port2fd.c: Likewise.
3937
bcfe3a54
ST
39382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3939
3940 [BZ #3906]
3941 * bits/in.h (IPV6_PKTINFO): Define new macro.
3942 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3943
89c9aa49
AZ
39442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3945
3946 [BZ #13954]
3947 [BZ #13955]
3948 [BZ #13956]
3949 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3951 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3952 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3954 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3955 * math/libm-test.inc (logb_test) : Additional logb tests.
3956
021db4be
AJ
39572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3958 Andreas Jaeger <aj@suse.de>
3959
3960 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3961 * configure: Regenerated.
3962 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3963 * config.make.in (link-obsolete-rpc): New substituted variable.
3964 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3965 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3966 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3967 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3968 so that libc.a contains the symbols.
3969 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3970 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3971 * sunrpc/auth_none.c: Likewise.
3972 * sunrpc/auth_unix.c: Likewise.
3973 * sunrpc/authdes_prot.c: Likewise.
3974 * sunrpc/authuxprot.c: Likewise.
3975 * sunrpc/clnt_gen.c: Likewise.
3976 * sunrpc/clnt_perr.c: Likewise.
3977 * sunrpc/clnt_raw.c: Likewise.
3978 * sunrpc/clnt_simp.c: Likewise.
3979 * sunrpc/clnt_tcp.c: Likewise.
3980 * sunrpc/clnt_udp.c: Likewise.
3981 * sunrpc/clnt_unix.c: Likewise.
3982 * sunrpc/des_crypt.c: Likewise.
3983 * sunrpc/des_soft.c: Likewise.
3984 * sunrpc/get_myaddr.c: Likewise.
3985 * sunrpc/key_call.c: Likewise.
3986 * sunrpc/key_prot.c: Likewise.
3987 * sunrpc/netname.c: Likewise.
3988 * sunrpc/pm_getmaps.c: Likewise.
3989 * sunrpc/pm_getport.c: Likewise.
3990 * sunrpc/pmap_clnt.c: Likewise.
3991 * sunrpc/pmap_prot.c: Likewise.
3992 * sunrpc/pmap_prot2.c: Likewise.
3993 * sunrpc/pmap_rmt.c: Likewise.
3994 * sunrpc/publickey.c: Likewise.
3995 * sunrpc/rpc_cmsg.c: Likewise.
3996 * sunrpc/rpc_common.c: Likewise.
3997 * sunrpc/rpc_dtable.c: Likewise.
3998 * sunrpc/rpc_prot.c: Likewise.
3999 * sunrpc/rpc_thread.c: Likewise.
4000 * sunrpc/rtime.c: Likewise.
4001 * sunrpc/svc.c: Likewise.
4002 * sunrpc/svc_auth.c: Likewise.
4003 * sunrpc/svc_raw.c: Likewise.
4004 * sunrpc/svc_run.c: Likewise.
4005 * sunrpc/svc_tcp.c: Likewise.
4006 * sunrpc/svc_udp.c: Likewise.
4007 * sunrpc/svc_unix.c: Likewise.
4008 * sunrpc/svcauth_des.c: Likewise.
4009 * sunrpc/xcrypt.c: Likewise.
4010 * sunrpc/xdr.c: Likewise.
4011 * sunrpc/xdr_array.c: Likewise.
4012 * sunrpc/xdr_float.c: Likewise.
4013 * sunrpc/xdr_intXX_t.c: Likewise.
4014 * sunrpc/xdr_mem.c: Likewise.
4015 * sunrpc/xdr_rec.c: Likewise.
4016 * sunrpc/xdr_ref.c: Likewise.
4017 * sunrpc/xdr_sizeof.c: Likewise.
4018 * sunrpc/xdr_stdio.c: Likewise.
4019
b5c086a2
RM
40202012-05-10 Roland McGrath <roland@hack.frob.com>
4021
4022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4023 change. Update copyright years.
4024
6d74dd09
JM
40252012-05-10 Joseph Myers <joseph@codesourcery.com>
4026
4027 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4028
28e72501
MK
40292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4030 Joseph Myers <joseph@codesourcery.com>
4031 Paul Pluzhnikov <ppluzhnikov@google.com>
4032
4033 [BZ #14012]
4034 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4035 requiring rpcgen.
4036 [cross-compiling] (extra-libs): Likewise.
4037 [cross-compiling] (extra-libs-others): Likewise.
4038 [cross-compiling] (librpcsvc-routines): Likewise.
4039 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4040 [cross-compiling] (omit-deps): Likewise.
4041 (sunrpc-CPPFLAGS): New variable.
4042 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4043 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4044 (cross-rpcgen-objs): New variable.
4045 (extra-objs): Append $(cross-rpcgen-objs).
4046 ($(cross-rpcgen-objs)): New rule.
4047 ($(objpfx)cross-rpcgen): Likewise.
4048 (rpcgen-cmd): Define to use $(built-program-file). Expand
4049 comment.
4050 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4051 ($(objpfx)x%.stmp): Likewise.
4052 * sunrpc/proto.h [IS_IN_build] (_): Define.
4053 [IS_IN_build] (_libc_intl_domainname): Likewise.
4054
c8c59454
L
40552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4056
4057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4058 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4059 and R_X86_64_TPOFF64.
4060
6f27cd16
JM
40612012-05-10 Joseph Myers <joseph@codesourcery.com>
4062
4063 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4064 sysdeps/unix/sysv/syscalls.list.
4065 (stime): Likewise.
4066 (utime): Likewise.
4067 * sysdeps/unix/sysv/syscalls.list: Remove file.
4068
02467e1c
PE
40692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4070
4071 [BZ #3440]
4072 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4073 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4074 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4075 (__LC_IDENTIFICATION): Make these macros useful in #if
4076 expressions, as required by C99.
4077
da392631
AS
40782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4079
4080 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4081 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4082 after this.
4083
8115f29b
L
40842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4085
4086 * stdlib/longlong.h: Updated from GCC.
4087
bdd74070
AJ
40882012-05-09 Andreas Jaeger <aj@suse.de>
4089
edfe0dbe
AJ
4090 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4091 default is first entry.
4092 (run_mode): Set type.
4093 (main): Remove informal message about syslog.
4094 (options): Fix typo.
4095
bcfe3a54
ST
4096 [BZ #14053]
4097 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4098 to asm.
bcfe3a54
ST
4099 (lrint): Likewise.
4100 (llrintf): Likewise.
4101 (llrint): Likewise.
4102 (rint): Likewise.
4103 (rintf): Likewise.
4104 (nearbyint): Likewise.
4105 (nearbyintf): Likewise.
bdd74070 4106
91d8d69e
AJ
41072012-05-09 Andreas Jaeger <aj@suse.de>
4108 Pedro Alves <palves@redhat.com>
4109
4110 * nscd/nscd.c (run_mode): Use enum.
4111 (main): Cleanup coding style issue.
4112
bb90b80b
AJ
41132012-05-09 Alexandre Oliva <aoliva@redhat.com>
4114 Andreas Jaeger <aj@suse.de>
4115
bcfe3a54
ST
4116 * nscd/nscd.c (go_background): Replaced with...
4117 (run_mode): ... this.
bb90b80b 4118 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4119 (options): Add -F --foreground.
4120 (main): Implement it.
4121 (parse_opt): Parse it.
bb90b80b 4122
1a4b75a1
AJ
41232012-05-09 Andreas Jaeger <aj@suse.de>
4124
4125 [BZ #14083]
4126 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4127 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4128 -Wconversion warning.
4129 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4130 Likewise.
4131
b1cc2472
JM
41322012-05-09 Joseph Myers <joseph@codesourcery.com>
4133
4134 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4135 == 0.
4136 (LC_ALL): Use macro-int-constant.
4137 (LC_COLLATE): Likewise.
4138 (LC_CTYPE): Likewise.
4139 (LC_MESSAGES): Likewise.
4140 (LC_MONETARY): Likewise.
4141 (LC_NUMERIC): Likewise.
4142 (LC_TIME): Likewise.
4143 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4144 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4146 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4147 Specify type.
4148 [C99-based standards] (float_t): Expect type.
4149 [C99-based standards] (double_t): Expect type.
4150 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4151 type.
4152 [C99-based standards] (HUGE_VALL): Likewise.
4153 [C99-based standards] (INFINITY): Likewise.
4154 [C99-based standards] (NAN): Likewise.
4155 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4156 [C99-based standards] (FP_NAN): Likewise.
4157 [C99-based standards] (FP_NORMAL): Likewise.
4158 [C99-based standards] (FP_SUBNORMAL): Likewise.
4159 [C99-based standards] (FP_ZERO): Likewise.
4160 [C99-based standards] (FP_FAST_FMA): Use
4161 optional-macro-int-constant. Specify type. Require == 1.
4162 [C99-based standards] (FP_FAST_FMAF): Likewise.
4163 [C99-based standards] (FP_FAST_FMAL): Likewise.
4164 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4165 [C99-based standards] (FP_ILOGBNAN): Likewise.
4166 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4167 Specify type.
4168 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4169 [C99-based standards] (math_errhandling): Specify type.
4170 [ISO99 || ISO11] (signgam): Do not allow.
4171 [non-C99-based standards] (copysignf): Do not allow.
4172 [non-C99-based standards] (exp2f): Likewise.
4173 [non-C99-based standards] (log2f): Likewise.
4174 [non-C99-based standards] (modff): Allow.
4175 [non-C99-based standards] (erff): Do not allow.
4176 [non-C99-based standards] (erfcf): Likewise.
4177 [non-C99-based standards] (gammaf): Likewise.
4178 [non-C99-based standards] (hypotf): Likewise.
4179 [non-C99-based standards] (j0f): Likewise.
4180 [non-C99-based standards] (j1f): Likewise.
4181 [non-C99-based standards] (jnf): Likewise.
4182 [non-C99-based standards] (lgammaf): Likewise.
4183 [non-C99-based standards] (tgammaf): Likewise.
4184 [non-C99-based standards] (y0f): Likewise.
4185 [non-C99-based standards] (y1f): Likewise.
4186 [non-C99-based standards] (ynf): Likewise.
4187 [non-C99-based standards] (isnanf): Likewise.
4188 [non-C99-based standards] (acoshf): Likewise.
4189 [non-C99-based standards] (asinhf): Likewise.
4190 [non-C99-based standards] (atanhf): Likewise.
4191 [non-C99-based standards] (cbrtf): Likewise.
4192 [non-C99-based standards] (expm1f): Likewise.
4193 [non-C99-based standards] (ilogbf): Likewise.
4194 [non-C99-based standards] (log1pf): Likewise.
4195 [non-C99-based standards] (logbf): Likewise.
4196 [non-C99-based standards] (nextafterf): Likewise.
4197 [non-C99-based standards] (remainderf): Likewise.
4198 [non-C99-based standards] (rintf): Likewise.
4199 [non-C99-based standards] (scalbf): Likewise.
4200 [non-C99-based standards] (copysignl): Likewise.
4201 [non-C99-based standards] (exp2l): Likewise.
4202 [non-C99-based standards] (log2l): Likewise.
4203 [non-C99-based standards] (modfl): Allow.
4204 [non-C99-based standards] (erfl): Do not allow.
4205 [non-C99-based standards] (erfcl): Likewise.
4206 [non-C99-based standards] (gammal): Likewise.
4207 [non-C99-based standards] (hypotl): Likewise.
4208 [non-C99-based standards] (j0l): Likewise.
4209 [non-C99-based standards] (j1l): Likewise.
4210 [non-C99-based standards] (jnl): Likewise.
4211 [non-C99-based standards] (lgammal): Likewise.
4212 [non-C99-based standards] (tgammal): Likewise.
4213 [non-C99-based standards] (y0l): Likewise.
4214 [non-C99-based standards] (y1l): Likewise.
4215 [non-C99-based standards] (ynl): Likewise.
4216 [non-C99-based standards] (isnanl): Likewise.
4217 [non-C99-based standards] (acoshl): Likewise.
4218 [non-C99-based standards] (asinhl): Likewise.
4219 [non-C99-based standards] (atanhl): Likewise.
4220 [non-C99-based standards] (cbrtl): Likewise.
4221 [non-C99-based standards] (expm1l): Likewise.
4222 [non-C99-based standards] (ilogbl): Likewise.
4223 [non-C99-based standards] (log1pl): Likewise.
4224 [non-C99-based standards] (logbl): Likewise.
4225 [non-C99-based standards] (nextafterl): Likewise.
4226 [non-C99-based standards] (remainderl): Likewise.
4227 [non-C99-based standards] (rintl): Likewise.
4228 [non-C99-based standards] (scalbl): Likewise.
4229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4230 [non-C99-based standards] (FP_*): Do not allow.
4231 [C99-based standards] (FP_*): Change to
4232 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4233 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4234 allow.
4235 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4236 (SIG_ERR): Likewise.
4237 [X/Open-based standards] (SIG_HOLD): Likewise.
4238 (SIG_IGN): Likewise.
4239 (SIGABRT): Use macro-int-constant. Specify type. Require
4240 positive value.
4241 (SIGFPE): Likewise.
4242 (SIGILL): Likewise.
4243 (SIGINT): Likewise.
4244 (SIGSEGV): Likewise.
4245 (SIGTER): Likewise.
4246 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4247 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4248 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4249 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4250 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4251 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4252 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4253 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4254 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4255 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4256 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4257 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4258 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4259 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4260 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4261 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4262 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4263 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4264 [X/Open-based standards] (SIGTRAP): Likewise.
4265 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4266 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4267 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4268 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4269 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4270 allow.
4271
b9f1922d
IW
42722012-05-08 Ian Wienand <ianw@vmware.com>
4273
4274 [BZ #14080]
4275 * time/tzset.c (__tzset_parse_tz): Update default rules for
4276 daylight time changes in the Energy Policy Act of 2005.
4277
1db86e88
AJ
42782012-05-09 Andreas Jaeger <aj@suse.de>
4279
4280 [BZ #13983]
4281 * elf/ldconfig.c (parse_conf): Change string to make clear that
4282 ldconfig only issued a warning if ld.so.conf does not exist.
4283
dee4a4e3
DM
42842012-05-08 David S. Miller <davem@davemloft.net>
4285
ee0db190
DM
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4287 movxtod instead of popping the value on the stack.
4288
dee4a4e3
DM
4289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4290
6a43ec98
CD
42912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4292
4293 * config.h.in: Add HAVE_ARM_PCS_VFP.
4294
05c2c961
RMG
42952012-05-08 Roland Mc Grath <roland@hack.frob.com>
4296
bcfe3a54
ST
4297 [BZ #13979]
4298 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4299 checking but the checks are disabled for any reason.
05c2c961 4300
4b30f61a
L
43012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4302
4303 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4304 and ELF64_R_TYPE with ELFW(R_TYPE).
4305
eee2bc67
JM
43062012-05-08 Joseph Myers <joseph@codesourcery.com>
4307
7ea5391a
JM
4308 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4309 (ulimit): Likewise.
4310
eee2bc67
JM
4311 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4312 (settimeofday): Likewise.
4313
abb66a67
MF
43142012-05-08 Mike Frysinger <vapier@gentoo.org>
4315
4316 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4317 a struct th_u2 inside the union, and move tu_block/tu_code into
4318 a new th_u3 union of tu_block/tu_code inside of that. Move
4319 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4320 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4321 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4322 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4323 (th_stuff): Change to th_u1.tu_stuff.
4324 (th_data): Define.
4325 (th_msg): Change to th_u1.th_u2.tu_data.
4326
7f18b530
DM
43272012-05-07 David S. Miller <davem@davemloft.net>
4328
05760585
DM
4329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4330
7f18b530
DM
4331 [BZ #14074]
4332 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4333 (SETUP_PIC_REG): Use it.
4334 (SETUP_PIC_REG_LEAF): Use it.
4335
495fd99f
JM
43362012-05-07 Joseph Myers <joseph@codesourcery.com>
4337
4338 [BZ #13885]
4339 [BZ #13923]
4340 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4341 USE_AS_EXPM1L.
4342 (EXPL_FINITE): Likewise.
4343 (FLDLOG): Likewise.
4344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4345 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4346 e_expl.S.
4347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4348 USE_AS_EXPM1L.
4349 (EXPL_FINITE): Likewise.
4350 (FLDLOG): Likewise.
4351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4352 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4353 e_expl.S.
4354 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4355 test of -max_value argument for long double.
4356 * sysdeps/i386/fpu/libm-test-ulps: Update.
4357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4358
6693d694
DM
43592012-05-06 David S. Miller <davem@davemloft.net>
4360
4361 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4362 quad soft-float symbols whose references which are compiler
4363 generated.
4364 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4365
6c23e11c
JM
43662012-05-06 Joseph Myers <joseph@codesourcery.com>
4367
d8b82cad
JM
4368 [BZ #13884]
4369 [BZ #13914]
4370 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4371 USE_AS_EXP10L.
4372 (EXPL_FINITE): Likewise.
4373 (FLDLOG): Likewise.
4374 (c0): Likewise.
4375 (c1): Likewise.
4376 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4377 Adjust comments for base varying.
4378 (__expl_finite): Change alias to EXPL_FINITE.
4379 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4380 e_expl.S.
4381 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4382 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4384 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4386 USE_AS_EXP10L.
4387 (EXPL_FINITE): Likewise.
4388 (FLDLOG): Likewise.
4389 (c0): Likewise.
4390 (c1): Likewise.
4391 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4392 Adjust comments for base varying.
4393 (__expl_finite): Change alias to EXPL_FINITE.
4394 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4395 tests for bugs.
4396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4397
6c23e11c
JM
4398 [BZ #14064]
4399 * math/libm-test.inc (check_float_internal): Correct ulp
4400 calculation for subnormal expected results.
4401
29ba805c
AJ
44022012-05-06 Andreas Jaeger <aj@suse.de>
4403
4404 * Makeconfig (+math-flags): New, set to -frounding-math.
4405 (+cflags): Add +math-flags so that all of glibc gets compiled with
4406 it.
4407
4408 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4409
7b17aeda
JM
44102012-05-05 Joseph Myers <joseph@codesourcery.com>
4411
5779f134
JM
4412 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4413 Disable one test.
4414
41498f4d
JM
4415 [BZ #13787]
4416 [BZ #13922]
4417 [BZ #14036]
4418 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4419 (__ieee754_expl): Allow for and saturate large arguments.
4420 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4421 (u_threshold): Likewise.
4422 (__exp): Call __ieee754_exp before checking for overflow and
4423 underflow.
4424 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4425 (u_threshold): Likewise.
4426 (__expf): Call __ieee754_expf before checking for overflow and
4427 underflow.
4428 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4429 (u_threshold): Likewise.
4430 (__expl): Call __ieee754_expl before checking for overflow and
4431 underflow.
4432 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4433 (__ieee754_expl): Allow for and saturate large arguments.
4434 * math/libm-test.inc (exp_test): Add another test. Do not allow
4435 missing overflow exception on overflow.
4436 (expm1_test): Do not allow missing overflow exception on overflow.
4437
6698b8bf
JM
4438 * sysdeps/i386/fpu/e_expl.c: Move to ...
4439 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4440 rather than using inline asm.
4441 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4442 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4443 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4444
7b17aeda
JM
4445 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4446 (nice): Likewise.
4447 (poll): Likewise.
4448 (signal): Likewise.
4449 (time): Likewise.
4450 (times): Likewise.
4451
f7c85819
JM
44522012-05-04 Joseph Myers <joseph@codesourcery.com>
4453
4454 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4455 sysdeps/unix/common/syscalls.list.
4456 (fchmod): Likewise.
4457 (fchown): Likewise.
4458 (ftruncate): Likewise.
4459 (getrusage): Likewise.
4460 (gettimeofday): Likewise.
4461 (setpgid): Likewise.
4462 (setregid): Likewise.
4463 (setreuid): Likewise.
4464 (sigaction): Likewise.
4465 (truncate): Likewise.
4466 (vhangup): Likewise.
4467 * sysdeps/unix/common/syscalls.list: Remove file.
4468 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4469 * sysdeps/unix/sysv/linux/Implies: Likewise.
4470
336270d0
L
44712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4472
4473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4476 Moved to ...
4477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4478 Here.
4479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4480 to ...
4481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4483 to ...
4484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4485 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4486 to ...
4487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4488 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4489 to ...
4490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4492 to ...
4493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4494 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4495 to ...
4496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4497 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4498 to ...
4499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4500 Here.
4501 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4502 to ...
4503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4504 Here.
4505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4506 to ...
4507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4508 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4509 Moved to ...
4510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4511 Here.
4512 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4513 to ...
4514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4515
d128e450
JM
45162012-05-04 Joseph Myers <joseph@codesourcery.com>
4517
fa8ee516
JM
4518 * sysdeps/unix/common/bits/dirent.h: Remove file.
4519 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4520
d128e450
JM
4521 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4522 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4523 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4524 * sysdeps/unix/bsd/isatty.c: Likewise.
4525 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4526 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4527 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4528
ff8faaf0 45292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4530
62881be4 4531 [BZ #13563]
31dc8730
AZ
4532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4533 long double comparison inaccuracies.
4534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4536
6fef930c
AS
45372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4538
4539 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4541
8f203e6c
JM
45422012-05-04 Joseph Myers <joseph@codesourcery.com>
4543
4544 [BZ #14049]
4545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4546 nonzero digits before rounding a hex value.
4547 * stdlib/tst-strtod.c (tests): Add another test.
4548
5197d9c2
AK
45492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4550
4551 * sysdeps/s390/fpu/libm-test-ulps: Update.
4552
f0c1dedf
AJ
45532012-05-03 Andreas Jaeger <aj@suse.de>
4554
4555 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4556 does not get optimized out.
4557 (malloc_opt_barrier): New.
4558
a65ef2ae 45592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4560 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4561
2b942cb7 4562 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4563 intermediate file deletion.
2b942cb7 4564 (generated): Add .symlist files.
a65ef2ae 4565
54b71e02
JM
45662012-05-03 Joseph Myers <joseph@codesourcery.com>
4567
4568 [BZ #13775]
4569 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4570 Redirect under this condition.
4571 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4572 [__USE_GNU] (__dprintf_chk): Not under this condition.
4573 [__USE_GNU] (__vdprintf_chk): Likewise.
4574 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4575 under this condition.
4576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4577 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4578 [__USE_XOPEN2K8] (vdprintf): Likewise.
4579 [__USE_GNU] (__dprintf_chk): Not under this condition.
4580 [__USE_GNU] (__vdprintf_chk): Likewise.
4581 [__USE_GNU] (dprintf): Likewise.
4582 [__USE_GNU] (vdprintf): Likewise.
4583
d3dfcc41
RM
45842012-05-03 Roland McGrath <roland@hack.frob.com>
4585
4586 * elf/Makefile (common-generated): Set this instead of generated for
4587 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4588 $(all-built-dso)-derived lists.
4589
7ac30cc5
AJ
45902012-05-03 Andreas Jaeger <aj@suse.de>
4591
0c51e550
AJ
4592 * sysdeps/i386/fpu/libm-test-ulps: Update.
4593
7ac30cc5
AJ
4594 * FAQ: Removed.
4595 * FAQ.in: Likewise.
4596 * scripts/gen-FAQ.pl: Likewise.
4597 * manual/install.texi (Installation): Point to online location of
4598 FAQ.
4599 * Makefile (files-for-dist): Remove FAQ.
4600 (FAQ): Remove.
4601
d4c2917f
AM
46022012-05-02 Allan McRae <allan@archlinux.org>
4603
4604 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4605 (LDFLAGS-reldepmod5.so): Likewise.
4606 (LDFLAGS-reldep6mod1.so): Likewise.
4607 (LDFLAGS-reldep6mod4.so): Likewise.
4608 (LDFLAGS-reldep8mod3.so): Likewise.
4609 (LDFLAGS-unload4mod1.so): Likewise.
4610 (LDFLAGS-unload4mod2.so): Likewise.
4611 (LDFLAGS-tst-initorder): Likewise.
4612 (LDFLAGS-tst-initordera2.so): Likewise.
4613 (LDFLAGS-tst-initordera3.so): Likewise.
4614 (LDFLAGS-tst-initordera4.so): Likewise.
4615 (LDFLAGS-tst-initorderb2.so): Likewise.
4616 (LDFLAGS-noload): Likewise.
4617 (LDFLAGS-next): Likewise.
4618 (LDFLAGS-order2mod1.so): Likewise.
4619 (LDFLAGS-order2mod2.so): Likewise.
4620 (LDFLAGS-tst-initorder2): Likewise.
4621 (LDFLAGS-tst-initorder2a.so): Likewise.
4622 (LDFLAGS-tst-initorder2b.so): Likewise.
4623 (LDFLAGS-tst-initorder2c.so): Likewise.
4624 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4625
d77f993f
DM
46262012-05-02 David S. Miller <davem@davemloft.net>
4627
4628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4629
171a70b4
PP
46302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4631
4632 [BZ #14055]
4633 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4634
0be196ad
AJ
46352012-05-02 Andreas Jaeger <aj@suse.de>
4636
4637 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4638 since we manipulate rounding mode.
4639 (CPPFLAGS-test-idouble.c): Likewise.
4640 (CPPFLAGS-test-ifloat.c): Likewise.
4641 (CFLAGS-test-ldouble.c): Likewise.
4642 (CFLAGS-test-double.c): Likewise.
4643 (CFLAGS-test-float.c): Likewise.
4644 (CFLAGS-test-misc.c): Likewise.
4645 (CFLAGS-test-test-fenv.c): Likewise.
4646
4f9d04aa
AZ
46472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4648
2b942cb7
RM
4649 [BZ #2550]
4650 [BZ #2570]
4651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4652 comparisons to determine direction to adjust input.
4f9d04aa 4653
82a79e7d
RM
46542012-05-01 Roland McGrath <roland@hack.frob.com>
4655
f5a01ca9
RM
4656 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4657 output to the target.
4658
90fe4186
RM
4659 * scripts/localplt.awk: New file.
4660 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4661 (check-localplt-CFLAGS): Variable removed.
4662 ($(all-built-dso:=.jmprel)): New static pattern rule.
4663 (generated): Add those targets.
4664 (localplt-built-dso): New variable.
4665 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4666
4667 * elf/check-localplt.c: File removed.
4668
82397ed6
RM
4669 * scripts/check-execstack.awk: New file.
4670 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4671 (check-execstack-CFLAGS): Variable removed.
4672 ($(objpfx)check-execstack.h): Target removed.
4673 ($(objpfx)execstack-default): New target.
4674 (generated): Add that instead of check-execstack.h.
4675 ($(all-built-dso:=.phdr)): New static pattern rule.
4676 (generated): Add those targets.
4677 * elf/check-execstack.c: File removed.
4678
82a79e7d
RM
4679 * scripts/check-textrel.awk: New file.
4680 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4681 (check-textrel-CFLAGS): Variable removed.
4682 (all-built-dso): Use := to define.o
4683 ($(all-built-dso:=.dyn)): New static pattern rule.
4684 (generated): Add those targets.
4685 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4686 * config.make.in (READELF): New substituted variable.
4687 * elf/check-textrel.c: File removed.
4688
62fde54f 46892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4690
615605c9
JM
4691 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4692 allow.
4693 * conform/data/ctype.h-data [C99-based standards] (isblank):
4694 Expect function.
4695 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4696 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4698 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4699 Specify type. Require positive value.
4700 (EILSEQ): Likewise.
4701 (ERANGE): Likewise.
4702 [ISO || POSIX] (EILSEQ): Do not expect.
4703 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4704 Specify type. Require positive value.
4705 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4706 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4707 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4708 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4709 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4710 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4711 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4712 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4713 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4714 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4715 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4716 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4717 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4718 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4719 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4720 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4721 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4722 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4723 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4724 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4725 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4726 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4727 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4728 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4729 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4730 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4731 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4732 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4733 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4734 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4735 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4736 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4737 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4738 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4739 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4740 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4741 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4742 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4743 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4744 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4745 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4746 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4747 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4748 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4749 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4750 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4751 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4752 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4753 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4754 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4755 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4756 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4757 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4758 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4759 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4760 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4761 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4762 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4763 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4764 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4765 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4766 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4767 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4768 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4769 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4770 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4771 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4772 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4773 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4774 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4775 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4776 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4777 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4778 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4779 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4780 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4781 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4782 Require >= 2.
4783 (FLT_ROUNDS): Expect as macro, not constant.
4784 (FLT_MANT_DIG): Use macro-int-constant.
4785 (DBL_MANT_DIG): Likewise.
4786 (LDBL_MANT_DIG): Likewise.
4787 (FLT_DIG): Likewise.
4788 (DBL_DIG): Likewise.
4789 (LDBL_DIG): Likewise.
4790 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4791 (DBL_MIN_EXP): Likewise.
4792 (LDBL_MIN_EXP): Likewise.
4793 (FLT_MAX_EXP): Use macro-int-constant.
4794 (DBL_MAX_EXP): Likewise.
4795 (LDBL_MAX_EXP): Likewise.
4796 (FLT_MAX_10_EXP): Likewise.
4797 (DBL_MAX_10_EXP): Likewise.
4798 (LDBL_MAX_10_EXP): Likewise.
4799 (FLT_MAX): Use macro-constant.
4800 (DBL_MAX): Likewise.
4801 (LDBL_MAX): Likewise.
4802 (FLT_EPSILON): Use macro-constant. Give upper bound.
4803 (DBL_EPSILON): Likewise.
4804 (LDBL_EPSILON): Likewise.
4805 (FLT_MIN): Likewise.
4806 (DBL_MIN): Likewise.
4807 (LDBL_MIN): Likewise.
4808 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4809 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4810 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4811 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4812 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4813 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4814 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4815 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4816 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4817 [ISO11] (FLT_TRUE_MIN): Likewise.
4818 [ISO11] (LDBL_TRUE_MIN): Likewise.
4819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4820 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4821 (SCHAR_MIN): Use macro-int-constant. Specify type.
4822 (SCHAR_MAX): Likewise.
4823 (UCHAR_MAX): Likewise.
4824 (CHAR_MIN): Likewise.
4825 (CHAR_MAX): Likewise.
4826 (MB_LEN_MAX): Use macro-int-constant.
4827 (SHRT_MIN): Use macro-int-constant. Specify type.
4828 (SHRT_MAX): Likewise.
4829 (USHRT_MAX): Likewise.
4830 (INT_MAX): Likewise.
4831 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4832 bound negative.
4833 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4834 bound with "U".
4835 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4836 bound with "L".
4837 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4838 bound negative. Suffix upper bound with "L".
4839 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4840 bound with "UL".
4841 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4842 Specify type.
4843 [C99-based standards] (LLONG_MAX): Likewise.
4844 [C99-based standards] (ULLONG_MAX): Likewise.
4845 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4846 == 0.
4847 [ISO11] (max_align_t): Require type.
4848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4849
c9140a62
JM
4850 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4851 from $CFLAGS, without defining away __attribute__ calls.
4852 (checknamespace): Use $CFLAGS_namespace.
4853
9af0bf29
JM
4854 * conform/conformtest.pl (@keywords): Only include C99 keywords
4855 for standards based on C99 or C11.
4856
343222a2
JM
4857 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4858 Disable tests.
4859 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4860 UNIX98]: Likewise.
4861
661f8cf0
JM
4862 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4863 usability of symbols in #if.
4864
ee74b9cb
JM
4865 * conform/conformtest.pl: If macro or constant types start
4866 "promoted:", expect the symbol to be of the following type
4867 promoted by the integer promotions.
62fde54f 4868
aafc49b3
JM
4869 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4870 in one place. Also handle "macro-constant".
4871
fefdf574
JM
4872 * conform/conformtest.pl: Only accept expected macro values with
4873 "==". Parse all "macro" lines in one place.
4874 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4875
f2d922fe
JM
4876 * conform/conformtest.pl: Handle braced types on "constant" lines
4877 instead of handling "typed-constant".
4878 * conform/data/signal.h-data: Use "constant" instead of
4879 "typed-constant".
4880
d22956c9
JM
4881 * conform/conformtest.pl: Handle "optional-" at start of lines in
4882 one place rather than duplicating several cases. Handle each
4883 format of "macro" line with initial "optional-".
4884
028e2e38
JM
4885 * conform/conformtest.pl: Only accept expected constant or
4886 optional-constant values with "==". Parse all "constant" lines in
4887 one place. Parse all "optional-constant" lines in one place.
4888 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4889 * conform/data/fmtmsg.h-data: Likewise.
4890 * conform/data/netinet/in.h-data: Likewise.
4891 * conform/data/tar.h-data: Likewise.
4892 * conform/data/limits.h-data: Use "==" form on "constant" and
4893 "optional-constant" lines.
4894
1b8f2850
JM
4895 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4896 Use -std=c99 for XOPEN2K.
4897 (@knownproblems): Remove.
4898 (newtoken): Don't check %isknown.
4899
a05a144b
JM
4900 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4901 Do not expect macro.
4902 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4903 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4904 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4905 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4906 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4907 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4908 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4909 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4910 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4911 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4912 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4913 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4914 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4915 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4916 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4917 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4918 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4919 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4920 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4921 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4922 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4926 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4927 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4928 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4929 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4930 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4931 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4932 [XPG3] (acosh): Likewise.
4933 [XPG3] (asinh): Likewise.
4934 [XPG3] (atanh): Likewise.
4935 [XPG3] (cbrt): Likewise.
4936 [XPG3] (expm1): Likewise.
4937 [XPG3] (ilogb): Likewise.
4938 [XPG3] (log1p): Likewise.
4939 [XPG3] (logb): Likewise.
4940 [XPG3] (nextafter): Likewise.
4941 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4942 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4943 [XPG3] (remainder): Likewise.
4944 [XPG3] (rint): Likewise.
4945 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4946 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4947 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4948 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4949 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4950 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4951 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4952 [UNIX98 || XOPEN2K] (scalb): Expect.
4953 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4954 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4955 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4956 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4957 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4958 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4959 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4960 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4961 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4962 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4963 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4964 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4965 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4966 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4967 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4968 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4969 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4970 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4971 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4972 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4973 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4974 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4975 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4976 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4977 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4978 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4979 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4980 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4981 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4982 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4983 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4984 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4985 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4986 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4987 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4988 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4989 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4990 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4991 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4992 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4993 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4994 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4995 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4996 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4997 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4998 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4999 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5000 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5001 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5002 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5003 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5004 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5005 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5006 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5007 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5008 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5009 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5010 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5011 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5012 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5013 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5014 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5015 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5016 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5017 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5018 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5019 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5020 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5021 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5022 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5023 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5024 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5025 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5026 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5027 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5028 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5029 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5030 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5031 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5032 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5033 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5034 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5035 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5036 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5037 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5038 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5039 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5040 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5041 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5042 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5043 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5044 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5045 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5046 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5047 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5048 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5049 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5050 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5051 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5052 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5053 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5054 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5055 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5056 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5057 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5058 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5059 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5060 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5061 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5062 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5063 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5064 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5065 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5066 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5067 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5068 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5069 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5070 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5071 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5072 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5073 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5074 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5075 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5076 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5077 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5078 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5079 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5080 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5081 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5082 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5083 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5084 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5085 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5086 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5087 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5088 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5089 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5090
73c5ebe3
JM
5091 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5092 _XOPEN_SOURCE_EXTENDED for XPG4.
5093
39c33b6c
JM
5094 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5095
62fde54f
JM
5096 * Makeconfig (localtime): Remove variable.
5097 (inst_localtime-file): Likewise.
5098
0741d64c
AS
50992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5100
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5102 Update.
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5104 Update.
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5106 Update.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5108 Update.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5110 Update.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5112 Update.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5114 Update.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5116 Update.
5117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5118 Update.
5119
7cb029ee
JM
51202012-05-01 Joseph Myers <joseph@codesourcery.com>
5121
5122 [BZ #2550]
5123 [BZ #2570]
5124 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5125 comparisons to determine direction to adjust input.
5126 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5127 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5129 Likewise.
5130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5131 Likewise.
5132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5133 Likewise.
5134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5136 Likewise.
5137 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5138 Likewise.
5139 * math/libm-test.inc (nexttoward_test): Add more tests.
5140
412bd966
AS
51412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5142
5143 [BZ #14040]
5144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5145 in version GLIBC_2.1, not GLIBC_2.0.
5146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5147 Likewise.
5148
9568c0c2
JM
51492012-04-30 Joseph Myers <joseph@codesourcery.com>
5150
adfbc8ac
JM
5151 [BZ #13942]
5152 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5153 (1 - x) * (1 + x).
5154 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5155 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5156 * math/libm-test.inc (acos_test): Add more tests.
5157 (asin_test): Likewise.
5158 * sysdeps/i386/fpu/libm-test-ulps: Update.
5159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5160
5ba3cc69
JM
5161 [BZ #14034]
5162 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5163 of square root.
5164 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5165 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5166 * math/libm-test.inc (acos_test_tonearest): New function.
5167 (acos_test_towardzero): Likewise.
5168 (acos_test_downward): Likewise.
5169 (acos_test_upward): Likewise.
5170 (asin_test_tonearest): Likewise.
5171 (asin_test_towardzero): Likewise.
5172 (asin_test_downward): Likewise.
5173 (asin_test_upward): Likewise.
5174 (main): Call the new functions.
5175 * sysdeps/i386/fpu/libm-test-ulps: Update.
5176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5177
9568c0c2
JM
5178 [BZ #13884]
5179 [BZ #13924]
5180 * math/e_exp10.c: Include <float.h>.
5181 (__ieee754_exp10): Handle underflow here rather than multiplying
5182 large negative argument by M_LN10.
5183 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5184 of __ieee754_expf.
5185 * math/e_exp10l.c: Include <float.h>.
5186 (__ieee754_exp10l): Handle underflow here rather than multiplying
5187 large negative argument by M_LN10l.
5188 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5189 spurious overflow exception on underflow.
5190
5ac3ea17
MP
51912012-04-29 Marek Polacek <polacek@redhat.com>
5192
5193 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5194 (__fortify_function): New macro.
5195 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5196 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5197 __extern_always_inline.
5198 * libio/bits/stdio2.h: Likewise.
5199 * libio/bits/stdio.h: Likewise.
5200 * string/string.h: Likewise.
5201 * string/bits/string3.h: Likewise.
5202 * include/stdio.h: Likewise.
5203 * stdlib/bits/stdlib.h: Likewise.
5204 * stdlib/stdlib.h: Likewise.
5205 * rt/bits/mqueue2.h: Likewise.
5206 * rt/mqueue.h: Likewise.
5207 * posix/bits/unistd.h: Likewise.
5208 * posix/unistd.h: Likewise.
5209 * io/bits/poll2.h: Likewise.
5210 * io/bits/fcntl2.h: Likewise.
5211 * io/fcntl.h: Likewise.
5212 * io/sys/poll.h: Likewise.
5213 * misc/bits/syslog.h: Likewise.
5214 * misc/bits/syslog-ldbl.h: Likewise.
5215 * misc/sys/syslog.h: Likewise.
5216 * socket/bits/socket2.h: Likewise.
5217 * socket/sys/socket.h: Likewise.
5218 * debug/tst-chk1.c: Likewise.
5219 * wcsmbs/bits/wchar2.h: Likewise.
5220 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5221 * wcsmbs/wchar.h: Likewise.
5222
ecf0ebfb
AJ
52232012-04-29 Andreas Jaeger <aj@suse.de>
5224
5225 * Makerules (tests): Remove enable-check-abi protection.
5226 (check-abi-warn): Remove.
5227 (check-abi-%): Remove check-abi-warn usage.
5228
5229 * configure.in: Remove check-abi configure option.
5230 * configure: Regenerated.
5231 * config.make.in (enable-check-abi): Remove.
5232
6d5c57fa
AS
52332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5234
24c5d07e 5235 [BZ #14033]
ded5180a
AS
5236 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5237 double functions to double *_finite functions.
5238
7e0d315d
AS
5239 [BZ #13941]
5240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5241 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5242 LDBL_MIN_EXP.
5243 * stdio-common/Makefile (tests): Add tst-sprintf3.
5244 * stdio-common/tst-sprintf3.c: New file.
5245
6d5c57fa
AS
5246 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5247 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5248
0749ff8b
JM
52492012-04-28 Joseph Myers <joseph@codesourcery.com>
5250
5251 * conform/conformtest.pl: Remove duplicate typed-constant
5252 handling.
5253
8dbd5d7b
DM
52542012-04-28 David S. Miller <davem@davemloft.net>
5255
5256 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5257 (check-abi-%): Remove AWK script prerequisite and explicit
5258 abilist directory.
5259 (check-abi): Rewrite to just diff the symlist with the abilist.
5260 (config-tls, config-abi-config): Delete, no longer used.
5261 (update-abi-%): Remove AWK script and explicit abilist directory.
5262 (update-abi): Rewrite to simply compare and conditionally copy the
5263 symlist and the sysdep abilist file. Remove update-abi-config
5264 checks.
5265 * abilist/ld.abilist: Remove.
5266 * abilist/libBrokenLocale.abilist: Remove.
5267 * abilist/libanl.abilist: Remove.
5268 * abilist/libcrypt.abilist: Remove.
5269 * abilist/libdl.abilist: Remove.
5270 * abilist/librt.abilist: Remove.
5271 * abilist/libthread_db.abilist: Remove.
5272 * abilist/libutil.abilist: Remove.
5273 * scripts/extract-abilist.awk: Remove.
5274 * scripts/merge-abilist.awk: Remove.
5275 * sysdeps/generic/libcidn.abilist: New file.
5276 * sysdeps/generic/libnss_compat.abilist: New file.
5277 * sysdeps/generic/libnss_db.abilist: New file.
5278 * sysdeps/generic/libnss_dns.abilist: New file.
5279 * sysdeps/generic/libnss_files.abilist: New file.
5280 * sysdeps/generic/libnss_hesiod.abilist: New file.
5281 * sysdeps/generic/libnss_nis.abilist: New file.
5282 * sysdeps/generic/libnss_nisplus.abilist: New file.
5283 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5284 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5285 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5286 file.
5287 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5288 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5289 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5290 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5291 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5292 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5293 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5294 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5295 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5296 file.
5297 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5298 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5299 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5300 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5301 file.
5302 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5303 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5304 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5305 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5306 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5307 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5308 file.
5309 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5311 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5312 file.
5313 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5315 New file.
5316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5317 New file.
5318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5319 New file.
5320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5321 New file.
5322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5323 New file.
5324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5325 New file.
5326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5327 New file.
5328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5329 New file.
5330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5331 New file.
5332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5333 New file.
5334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5335 New file.
5336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5337 New file.
5338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5339 New file.
5340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5341 file.
5342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5343 New file.
5344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5345 New file.
5346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5347 file.
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5349 New file.
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5351 New file.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5353 file.
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5355 New file.
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5357 New file.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5359 New file.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5361 New file.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5363 New file.
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5365 New file.
5366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5368 file.
5369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5370 New file.
5371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5372 file.
5373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5374 file.
5375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5376 file.
5377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5378 file.
5379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5380 file.
5381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5382 New file.
5383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5384 file.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5386 file.
5387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5388 New file.
5389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5390 file.
5391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5393 file.
5394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5395 New file.
5396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5397 file.
5398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5399 file.
5400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5401 file.
5402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5403 file.
5404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5405 file.
5406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5407 New file.
5408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5409 file.
5410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5411 file.
5412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5413 New file.
5414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5415 file.
5416 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5417 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5418 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5419 file.
5420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5421 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5422 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5423 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5424 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5425 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5426 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5427 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5428 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5429 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5432 file.
5433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5434 New file.
5435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5436 file.
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5438 file.
5439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5440 file.
5441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5442 file.
5443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5444 file.
5445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5446 New file.
5447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5448 New file.
5449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5450 file.
5451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5452 New file.
5453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5454 file.
5455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5457 file.
5458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5459 New file.
5460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5461 file.
5462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5463 file.
5464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5465 file.
5466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5467 file.
5468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5469 file.
5470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5471 New file.
5472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5473 New file.
5474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5475 file.
5476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5477 New file.
5478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5479 file.
5480
41d73a1b
JM
54812012-04-28 Joseph Myers <joseph@codesourcery.com>
5482
5483 * conform/conformtest.pl: Fix typo in handling typed-constant from
5484 allow-header.
5485
28aeeda4
JM
54862012-04-27 Joseph Myers <joseph@codesourcery.com>
5487
adae8f5e
JM
5488 * README: Cut down references to pre-2.6 Linux kernels and
5489 Linuxthreads. Update lists of configurations in libc and ports
5490 and sort alphabetically. Say "or newer" with Linux kernel version
5491 requirements.
5492
28aeeda4
JM
5493 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5494
a462cb63
RA
54952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5496
5497 [BZ #887]
5498 * math/libm-test.inc (logb_test_downward): New test to expose
5499 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5500 rounding mode.
5501
6ad3493e
JM
55022012-04-27 Joseph Myers <joseph@codesourcery.com>
5503
5504 [BZ #14027]
5505 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5506 to be done.
5507 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5508 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5509
2ce4f015
JM
55102012-04-26 Joseph Myers <joseph@codesourcery.com>
5511
5aeb141a
JM
5512 * sysdeps/unix/i386/brk.S: Remove file.
5513 * sysdeps/unix/i386/dl-brk.S: Likewise.
5514 * sysdeps/unix/i386/pipe.S: Likewise.
5515 * sysdeps/unix/i386/sigreturn.S: Likewise.
5516 * sysdeps/unix/i386/syscall.S: Likewise.
5517 * sysdeps/unix/i386/vfork.S: Likewise.
5518 * sysdeps/unix/i386/wait.S: Likewise.
5519
7143acae
JM
5520 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5521 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5522
2ce4f015
JM
5523 * configure.in (arm*-none*): Do not allow without
5524 --enable-hacker-mode.
5525 (netbsd*): Remove case setting base_os.
5526 (386bsd*): Likewise.
5527 (freebsd*): Likewise.
5528 (bsdi*): Likewise.
5529 (osf*): Likewise.
5530 (sunos*): Likewise.
5531 (ultrix*): Likewise.
5532 (newsos*): Likewise.
5533 (dynix*): Likewise.
5534 (*bsd*): Likewise.
5535 (sysv*): Likewise.
5536 (isc*): Likewise.
5537 (esix*): Likewise.
5538 (sco*): Likewise.
5539 (minix*): Likewise.
5540 (irix4*): Likewise.
5541 (irix6*): Likewise.
5542 (solaris[2-9]*): Likewise.
5543 (none): Likewise.
5544 * configure: Regenerated.
5545
0ac229c8
AZ
55462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547
5548 [BZ #11521]
5549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5550 overflow or cancellation in calculating denominator.
5551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5553 down expression to avoid unexpected rounding in newer GCCs.
5554 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5555
33f244f4
DM
55562012-04-26 David S. Miller <davem@davemloft.net>
5557
5558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5559 long-double compat symbols.
5560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5573
cfa1f3e8
DM
55742012-04-25 David S. Miller <davem@davemloft.net>
5575
5576 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5577 HWCAP_* values only after the memory barriers have been defined.
5578 (atomic_full_barrier): Define.
5579 (atomic_read_barrier): Define.
5580 (atomic_write_barrier): Define.
5581
6e236b92
SP
55822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5583
5584 * shlib-versions: Add libgcc_s version information.
5585 * sysdeps/generic/libgcc_s.h: Remove.
5586 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5587 libgcc_s.h.
5588 * sysdeps/gnu/unwind-resume.c: Likewise.
5589 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5590
aab39a09
DM
55912012-04-25 David S. Miller <davem@davemloft.net>
5592
5593 * sysdeps/unix/sparc/brk.S: Delete.
5594 * sysdeps/unix/sparc/dl-brk.S: Delete.
5595 * sysdeps/unix/sparc/pipe.S: Delete.
5596 * sysdeps/unix/sparc/sysdep.S: Delete.
5597 * sysdeps/unix/sparc/sysdep.h: Delete.
5598 * sysdeps/unix/sparc/vfork.S: Delete.
5599 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5600 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5602 ret_ERRVAL, r0, r1, MOVE): Define.
5603 (JUMPTARGET): Remove.
5604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5605 sysdeps/unix/sparc/sysdep.h
5606 (ENTRY, END): Remove.
5607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5608
a3cc4f48
JM
56092012-04-25 Joseph Myers <joseph@codesourcery.com>
5610
2ed8cda2
JM
5611 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5612 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5613 -DIS_IN_build.
5614
35d76d59
JM
5615 * timezone/README: Update upstream location and email address for
5616 tzcode and tzdata.
5617 * timezone/zdump.c: Update from tzcode 2012b.
5618 * timezone/zic.c: Likewise.
5619
a3cc4f48
JM
5620 * configure.in (libc_cv_as_needed): Remove test.
5621 * configure: Regenerated.
5622 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5623 conditional definition.
5624 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5625 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5626 * config.make.in (have-as-needed): Remove variable.
5627
ceab42c3
SP
56282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5629 Paul Pluzhnikov <ppluzhnikov@google.com>
5630
5631 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5632 strings correctly.
5633
3ce2865f
CLT
56342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5635
5636 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5637 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5638 * sysdeps/sh/strlen.S: Likewise.
5639
f37e0d68
JM
56402012-04-24 Joseph Myers <joseph@codesourcery.com>
5641
ae186e9a
JM
5642 * sysdeps/unix/fork.S: Remove file.
5643 * sysdeps/unix/i386/fork.S: Likewise.
5644 * sysdeps/unix/sparc/fork.S: Likewise.
5645
b96914af
JM
5646 * sysdeps/unix/system.c: Remove file.
5647 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5648
f37e0d68
JM
5649 * sysdeps/unix/getegid.S: Remove file.
5650 * sysdeps/unix/geteuid.S: Likewise.
5651
87ef29ca
RM
56522012-04-24 Roland McGrath <roland@hack.frob.com>
5653
83bcd236
RM
5654 * scripts/check-localplt.awk: New file.
5655 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5656 of diff.
5657 * scripts/data/localplt-generic.data: Add a comment.
5658
87ef29ca
RM
5659 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5660 NODE when __dir_mkfile failed.
5661 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5662 Reported by Ludovic Courtès <ludo@gnu.org>.
5663
e5a6e567
AJ
56642012-04-24 Andreas Jaeger <aj@suse.de>
5665
5666 * Makerules (common-clean): Also remove gen-as-const-headers
5667 files.
5668
c1820385
JM
56692012-04-24 Joseph Myers <joseph@codesourcery.com>
5670
5671 * Makerules (native-compile): Do not change working directory for
5672 build. Use $(OUTPUT_OPTION) in command.
5673 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5674
94e02fc4
AZ
56752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5676
5677 [BZ #13886]
5678 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5679 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5680 * math/libm-test.inc (floor_test): Add more tests.
5681 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5682
3a533ca3
JM
56832012-04-24 Joseph Myers <joseph@codesourcery.com>
5684
940ab4b3
JM
5685 * sysdeps/unix/getdents.c: Remove file.
5686 * sysdeps/unix/sysv/getdents.c: Likewise.
5687 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5688
90e037bd
JM
5689 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5690 sysdeps/unix/mman/syscalls.list.
5691 (mmap): Likewise.
5692 (mprotect): Likewise.
5693 (msync): Likewise.
5694 (munmap): Likewise.
5695 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5696 * sysdeps/unix/mman/syscalls.list: Remove.
5697 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5698
3a533ca3
JM
5699 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5700 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5701 * configure: Regenerated.
5702 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5703 $(libgcc_s_suffix).
5704 * config.make.in (libgcc_s_suffix): Remove variable.
5705
1ad743de
JM
57062012-04-23 Joseph Myers <joseph@codesourcery.com>
5707
4ad451e2
JM
5708 * sysdeps/unix/sysv/gethostname.c: Move to ...
5709 * sysdeps/posix/gethostname.c: ... here.
5710
5e37ce39
JM
5711 * sysdeps/unix/execve.S: Remove file.
5712
1ad743de
JM
5713 * sysdeps/unix/_exit.S: Remove file.
5714
4e681b5b
AJ
57152012-04-23 Andreas Jaeger <aj@suse.de>
5716
5717 [BZ #13739]
5718 * manual/Makefile: Remove make dist support, there's no
5719 need for a stand-alone documentation tar ball.
5720 (TEXI2DVI): Define always, it's not in Makeconfig.
5721 (dist): Removed.
5722 (tar-it): Removed.
5723 (edition): Removed.
5724 (glibc-doc-$(edition).tar): Removed
5725 (%.Z): Removed.
5726 (%.gz): Removed.
5727 (%.uu): Removed.
5728 (ETAGS): Remove, it's in Makeconfig.
5729 (move-if-change): Remove, it's in Makeconfig.
5730
c0baea34
PE
57312013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5732
5733 [BZ #13970]
5734 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5735 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5736 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5737 (strtod_l, strtof_l, strtold_l): Remove __wur.
5738 It is not necessarily an error to ignore strtol's return value.
5739 One can reliably look at the stored endptr to decide whether
5740 the number had valid syntax.
5741
7c0616fa
AJ
57422012-04-21 Andreas Jaeger <aj@suse.de>
5743
803cb6b7 5744 [BZ #13739]
7c0616fa
AJ
5745 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5746
b0fe253f
JM
57472012-04-21 Joseph Myers <joseph@codesourcery.com>
5748
5749 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5750 * sysdeps/unix/sysv/Versions: Remove file.
5751
8280f22d
MT
57522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5753
5754 [BZ #13927]
5755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5756
75ce411f 57572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5758
5759 [BZ #7064]
5760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5761 version from __vm86.
5762
097d59fa
JM
57632012-04-20 Joseph Myers <joseph@codesourcery.com>
5764
a90f3bcb
JM
5765 * sysdeps/unix/common/lxstat.c: Remove file.
5766 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5767
edc7ea78
JM
5768 * sysdeps/unix/sysv/Makefile: Remove file.
5769
cb78c221
JM
5770 * sysdeps/unix/sysv/direct.h: Remove file.
5771
efa6a45f
JM
5772 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5773 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5774 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5775 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5776 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5777 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5778 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5779
9c9f2d0c
JM
5780 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5781
4541c83b
JM
5782 * sysdeps/unix/xmknod.c: Remove file.
5783 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5784
f5d153a0
JM
5785 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5786
aa746595
JM
5787 * sysdeps/unix/sysv/i386/time.S: Remove file.
5788
cce5905e
JM
5789 * sysdeps/unix/fxstat.c: Remove file.
5790 * sysdeps/unix/xstat.c: Likewise.
5791 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5792
37fa3841
JM
5793 * sysdeps/unix/sysv/sigaction.c: Remove file.
5794
ff1962a3
JM
5795 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5796 (sysdep_headers): Remove variable.
5797 [termio.h not in sysdep_headers] (generated): Likewise.
5798 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5799 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5800 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5801 * sysdeps/unix/sysv/tcflow.c: Likewise.
5802 * sysdeps/unix/sysv/tcflush.c: Likewise.
5803 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5804 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5805 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5806 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5807 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5808
e7740d31
JM
5809 * sysdeps/unix/siglist.c: Remove file.
5810
ee06f18b
JM
5811 * sysdeps/unix/getppid.S: Remove file.
5812
097d59fa
JM
5813 * sysdeps/unix/mkdir.c: Remove file.
5814 * sysdeps/unix/rmdir.c: Likewise.
5815
ff3d51ec
AS
58162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5817
5818 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5819 ERR_MAX value.
5820 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5821 errlist-compat value.
5822
50f81fd7
DM
58232012-04-18 David S. Miller <davem@davemloft.net>
5824
5825 * sysdeps/generic/memcopy.h (reg_char): Delete.
5826 * debug/strcat_chk.c: Use char, not reg_char.
5827 * debug/strcpy_chk.c: Likewise.
5828 * debug/strncat_chk.c: Likewise.
5829 * debug/strncpy_chk.c: Likewise.
5830 * string/memchr.c: Likewise.
5831 * string/memrchr.c: Likewise.
5832 * string/rawmemchr.c: Likewise.
5833 * string/strcat.c: Likewise.
5834 * string/strchr.c: Likewise.
5835 * string/strchrnul.c: Likewise.
5836 * string/strcmp.c: Likewise.
5837 * string/strcpy.c: Likewise.
5838 * string/strncat.c: Likewise.
5839 * string/strncmp.c: Likewise.
5840 * string/strncpy.c: Likewise.
5841
8ff41c46
WS
58422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5843
5844 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5845 __builtin_memcopy is called when src and dest ranges are known to not
5846 overlap.
5847
6b652f46
WS
58482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5849
5850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5851 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5852 fwd_align_merge macro call.
5853 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5854 bwd_align_merge macro call.
5855 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5856
b282631e
WS
58572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5858
5859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5860 bwd_align_merge macros.
5861 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5862 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5864
95aa737c
DM
58652012-04-18 David S. Miller <davem@davemloft.net>
5866
5867 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5868
7a99a614
AJ
58692012-04-18 Andreas Jaeger <aj@suse.de>
5870
5871 [BZ# 6794]
5872 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5873 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5874 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5875
5876 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5877 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5878 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5879
5880 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5881 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5882 Adjust for changed ldbl-128 files.
5883
5884 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5885 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5886 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5887
e5270c23
DM
58882012-04-17 David S. Miller <davem@davemloft.net>
5889
5890 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5891
fb5e92c9
AS
58922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5893
5894 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5895 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5896 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5897 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5898 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5899 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5900
76da7265
AZ
59012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5902
5903 [BZ #6794]
5904 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5905 * math/libm-test.inc: Add ilogb errno and exception tests.
5906 * math/w_ilogb.c: New file: ilogb wrapper.
5907 * math/w_ilogbf.c: New file: ilogbf wrapper.
5908 * math/w_ilogbl.c: New file: ilogbl wrapper.
5909 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5910 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5911 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5912 exception being thrown with 0.0 as argument.
5913 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5914 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5915 exception being thrown with 0.0 as argument.
5916 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5917 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5918 exception being thrown with 0.0 as argument.
5919 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5920 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5921 exception being thrown with 0.0 as argument.
5922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5923 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5925 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5927 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5928 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5929 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5930 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5931
0396e69d
PB
59322012-04-17 Petr Baudis <pasky@ucw.cz>
5933
5934 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5935 with altivec.
5936
750b5926
MP
59372012-04-16 Marek Polacek <polacek@redhat.com>
5938
5939 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5940
751728a1
MP
59412012-04-16 Marek Polacek <polacek@redhat.com>
5942
5943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5944 operands of fdivp instruction.
5945
34a27407
L
59462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5947
5948 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5949 * elf/tst-auditmod3b.c: Likewise.
5950 * elf/tst-auditmod4b.c: Likewise.
5951 * elf/tst-auditmod5b.c: Likewise.
5952 * elf/tst-auditmod6b.c: Likewise.
5953 * elf/tst-auditmod6c.c: Likewise.
5954 * elf/tst-auditmod7b.c: Likewise.
5955 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5956 * sysdeps/x86_64/preconfigure.in: Likewise.
5957 * sysdeps/x86_64/preconfigure: Regenerated.
5958
7e73e17d
L
59592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5960
5961 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5962 __ILP32__.
5963
c7a6ab72
AB
59642012-04-13 Antoine Balestrat <merkil33@gmail.com>
5965
5966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5967 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5968
a9e8e0e0
CL
59692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5970
5971 [BZ #13973]
5972 * locale/iso-639.def: Fix gl language name. Spotted by
5973 Yaron Shahrabani.
5974
ec98af7d
RM
59752012-04-12 Roland McGrath <roland@hack.frob.com>
5976
5977 [BZ #2074]
5978 * libio/libio.h (__io_write_fn): Update comment.
5979
247c3ede
PB
59802012-04-12 Petr Baudis <pasky@ucw.cz>
5981
5982 [BZ #2074]
5983 * stdio.texi (Hook Functions): The user provided writer function
5984 is not allowed to return -1.
5985
55939d6d
DM
59862012-04-11 David S. Miller <davem@davemloft.net>
5987
5988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5989
90020f5a
MF
59902012-04-11 Mike Frysinger <vapier@gentoo.org>
5991
5992 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5993 Add a leading slash to rtkaio.
5994
288f9098
JM
59952012-04-11 Jim Meyering <meyering@redhat.com>
5996
90020f5a
MF
5997 [BZ #11959]
5998 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5999 It is not necessarily an error to ignore fwrite's return
6000 value. One can reliably use ferror to test for errors after
6001 the fact.
288f9098 6002
4be2b570
L
60032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6004
6005 * bits/types.h (__snseconds_t): New type.
6006 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6007
6008 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6010 (__SNSECONDS_T_TYPE): Likewise.
6011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6012 (__SNSECONDS_T_TYPE): Likewise.
6013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6014 (__SNSECONDS_T_TYPE): Likewise.
6015
288f9098 60162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6017
6018 [BZ #2636]
6019 * manual/time.texi (Processor Time): Return type of times is
6020 elapsed real time since an arbitrary point in the past.
6021 (CPU Time): Move CLK_TCK from here...
6022 (Processor Time): ...to here. Correct description.
6023 * manual/conf.texi (Constants for Sysconf): Correct description of
6024 _SC_CLK_TCK.
6025
d7dd4413
DM
60262012-04-10 David S. Miller <davem@davemloft.net>
6027
6028 [BZ #13967]
6029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6030 where the is a gap between DT_REL(A) and DT_JMPREL.
6031
b46068fc
L
60322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6035 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6036 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6037
73d65cc3
SP
60382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6039
6040 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6041 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6042 (dl_main): Handle --inhibit-cache.
6043 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6044 _dl_inhibit_cache.
6045 * elf/dl-load.c (_dl_map_object): Use it.
6046 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6047
bcc8d661
JM
60482012-04-09 Joseph Myers <joseph@codesourcery.com>
6049
8f9a2fae
JM
6050 [BZ #13872]
6051 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6052 (__ieee754_powl): Saturate large exponents rather than testing for
6053 overflow of y*log2(x).
6054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6055 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6056 exceptions.
6057
bcc8d661
JM
6058 [BZ #11521]
6059 * math/s_ctan.c: Include <float.h>.
6060 (__ctan): Avoid internal overflow or cancellation in calculating
6061 denominator.
6062 * math/s_ctanf.c: Likewise.
6063 * math/s_ctanl.c: Likewise.
6064 * math/s_ctanh.c: Likewise.
6065 * math/s_ctanhf.c: Likewise.
6066 * math/s_ctanhl.c: Likewise.
6067 * math/libm-test.inc (ctan_test): Add more tests.
6068 (ctanh_test): Likewise.
6069 * sysdeps/i386/fpu/libm-test-ulps: Update.
6070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6071
823fbbb4
AJ
60722012-04-09 Andreas Jaeger <aj@suse.de>
6073
03879793
AJ
6074 [BZ #6894]
6075 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6076 is an optional BSD extension.
6077
823fbbb4
AJ
6078 [BZ #10254]
6079 * manual/stdio.texi (Opening Streams): Document additional fopen
6080 parameters.
6081
8de131cb
RM
60822012-04-09 Roland McGrath <roland@hack.frob.com>
6083
6084 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6085 %eax without telling the compiler.
6086
c0ed9d7d
CD
60872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6088
6089 [BZ # 13963]
6090 * manual/install.texi: Use sourceware.org.
6091
c483f6b4
JM
60922012-04-09 Joseph Myers <joseph@codesourcery.com>
6093
d7dd9453
JM
6094 [BZ #13873]
6095 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6096 (__ieee754_pow): Generate overflow and underflow using huge*huge
6097 and tiny*tiny rather than just returning constant infinity or zero
6098 for large exponents.
6099 * math/libm-test.inc (pow_test): Require overflow exceptions for
6100 applicable cases of large exponents.
6101
c483f6b4
JM
6102 [BZ #706]
6103 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6104 (__ieee754_pow): Use iterative multiplication algorithm only for
6105 integer exponents with absolute value below 1024. Check for odd
6106 integer exponents when using algorithm for real exponents.
6107 * math/libm-test.inc (pow_test): Add more tests.
6108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6109
d2de7579
JM
61102012-04-08 Joseph Myers <joseph@codesourcery.com>
6111
6112 [BZ #13705]
6113 * math/libm-test.inc (exp_test): Do not allow overflow exception
6114 on underflow test.
6115
f77f1232
AJ
61162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6117
6118 [BZ #13705]
6119 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6120 instead of __kernel_standard_f.
6121
3884932b
MF
61222012-04-08 Mike Frysinger <vapier@gentoo.org>
6123
6124 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6125 * sysdeps/x86_64/memset_chk.S: Likewise.
6126
54472e9c
AJ
61272012-04-08 Andreas Jaeger <aj@suse.de>
6128
6ab0fbfc
AJ
6129 [BZ #10153]
6130 * manual/startup.texi (Environment Access): Describe return value
6131 for putenv and setenv.
6132
61efba8c
AJ
6133 [BZ #6895]
6134 * manual/filesys.texi (Directory Entries): Add description for
6135 DT_LNK.
6136
95c3f29a
AJ
6137 [BZ #6890]
6138 * manual/filesys.texi (Directory Entries): Clarify that it's file
6139 system not operating system in the description of DT_UNKNOWN.
6140
54472e9c
AJ
6141 [BZ #6578]
6142 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6143
624254b1
SC
61442012-04-08 Stephen Compall <s11@member.fsf.org>
6145
6146 [BZ #6649]
6147 * manual/llio.texi (Opening and Closing Files): Add cross
6148 reference to explain mode argument.
6149
1e4920e0
MF
61502012-04-07 Mike Frysinger <vapier@gentoo.org>
6151
6152 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6153 * sysdeps/x86_64/memset_chk.S: Likewise.
6154
5ed848f3
DM
61552012-04-07 David S. Miller <davem@davemloft.net>
6156
6157 * elf/elf.h (R_SPARC_WDISP10): Define.
6158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6159 R_SPARC_SIZE32.
6160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6161 R_SPARC_SIZE64 and R_SPARC_H34.
6162
96154cd8
CD
61632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6164
6165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6166 conditions and remove no longer applicable assertion.
6167
9904dc47
L
61682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6169
6170 * bits/byteswap.h: Include <features.h>.
6171 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6172 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6173
f8887d0a
L
61742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6175
6176 * bits/byteswap.h (__bswap_16): Removed.
6177 Include <bits/byteswap-16.h> to get __bswap_16.
6178 * sysdeps/i386/bits/byteswap.h: Likewise.
6179 * sysdeps/s390/bits/byteswap.h: Likewise.
6180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6181 * bits/byteswap-16.h: New file.
6182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6183 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6184 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6185 * string/Makefile (headers): Add bits/byteswap-16.h.
6186
62470f60
PP
61872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6188
6189 [BZ #13895]
6190 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6191 extra indirection.
6192 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6193 * nss/tst-nss-static.c: New.
6194
4dad7bab
RM
61952012-04-06 Robert Millan <rmh@gnu.org>
6196
6197 [BZ #6486]
6198 * manual/llio.texi (File Position Primitive): lseek
6199 refers to WHENCE when it really means OFFSET.
6200
e9142a17
AJ
62012012-04-06 Andreas Jaeger <aj@suse.de>
6202
2c040eff
AJ
6203 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6204 strncmp declarations.
6205
e9142a17
AJ
6206 * abilist/libc.abilist: Add __poll and __ppoll.
6207
ff9f1c5f
DM
62082012-04-05 David S. Miller <davem@davemloft.net>
6209
dcd2ae90
DM
6210 * scripts/check-local-headers.sh: Accept a host triplet in the
6211 path matched by the exclude regexp.
6212
993eb054
DM
6213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6214 definition.
6215 * sysdeps/powerpc/powerpc32/dl-machine.h
6216 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6217 * sysdeps/s390/s390-32/dl-machine.h
6218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6219 * sysdeps/sparc/sparc32/dl-machine.h
6220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6221 * sysdeps/sparc/sparc64/dl-machine.h
6222 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6223
ff9f1c5f
DM
6224 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6225 lazy binding.
48e2e132 6226 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6227 undefined symbol errors.
6228
48e2e132 6229 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6230 DT_NEEDED entries.
6231
e80d6f94
MM
62322012-04-05 Michael Matz <matz@suse.de>
6233
6234 [BZ #13592]
6235 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6236
349fa79f
AJ
62372012-04-05 Andreas Jaeger <aj@suse.de>
6238
6239 [BZ #13908]
6240 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6241 comment.
6242
f402708f
KK
62432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6244
6245 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6246 which ROUND is no valid rounding mode.
6247
2ecccfc9
KK
62482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6249
6250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6251 read again.
6252 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6253
8a53f50f
KK
62542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6255
6256 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6257 an exception using FPU order intentionally.
6258
62592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6260
6261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6262 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6263 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6264 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6265
d653abb7
SJ
62662012-04-05 Simon Josefsson <simon@josefsson.org>
6267
6268 [BZ #12340]
6269 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6270 EINVAL when BUFLEN is too smal.
6271
c3b1bf7d
TS
62722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6273
6274 [BZ #13553]
6275 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6276 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6277
b1aa60f3
AJ
62782012-04-03 Andreas Jaeger <aj@suse.de>
6279
c3b1bf7d 6280 [BZ #13938]
67f60a26
AJ
6281 * manual/setjmp.texi (System V contexts): Fix sentence.
6282
b1aa60f3
AJ
6283 [BZ #13926]
6284 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6285 New macro for this case.
6286 [!__GNUC__] (__bswap_64): New inline function for this case.
6287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6288 * bits/byteswap.h: Likewise.
6289 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6290 ull, guard with __GLIBC_HAVE_LONG_LONG.
6291
6292 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6293 __GLIBC_HAVE_LONG_LONG.
6294
6295 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6296 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6297
39c59c35
TMQMF
62982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6299
6300 [BZ #13691]
6301 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6302 inptr and inend, rather than using last_ch.
6303
135ffda8
DM
63042012-04-02 David S. Miller <davem@davemloft.net>
6305
6306 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6307 * stdio-common/printf-parse.h (read_int): Change return type to
6308 'int', return -1 on INT_MAX overflow.
6309 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6310 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6311 overflows INT_MAX. Check for overflow of in-format-string precision
6312 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6313 SIZE_MAX not INT_MAX for integer overflow test.
6314 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6315 skip the construct in the format string but do not record anything.
6316 * stdio-common/bug22.c: Adjust to test both width/prevision
6317 INT_MAX overflow as well as total length INT_MAX overflow. Check
6318 explicitly for proper errno values.
6319
228c019e
TS
63202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6321
302cadd3
TS
6322 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6323 CHAR_MAX.
6324 * string/test-strcmp.c [! WIDE]: Likewise.
6325 * time/tst-mktime2.c: Likewise for INT_MAX.
6326 * string/test-string.h: #include <sys/param.h> for MIN.
6327
228c019e
TS
6328 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6329 * sysdeps/i386/init-first.c (init): Likewise.
6330 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6331 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6332 * sysdeps/sh/init-first.c (init): Likewise.
6333
cfa633f5
UD
63342012-04-01 Ulrich Drepper <drepper@gmail.com>
6335
6336 * po/ru.po: Update from translation team.
d1635ef8 6337 * po/vi.po: Likewise.
cfa633f5 6338
6cd0a5ea
SP
63392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6340
6341 * resolv/nss_dns/dns-host.c: Merge copyright years.
6342
4b43400f
LD
63432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6344
6345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6346 Optimize memcpy with prefetch if
6347 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6348 src, dst pointers have unequal 16 byte alignments.
6349
48c41d04
SP
63502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6351
6352 [BZ #13928]
6353 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6354 from a CNAME entry and return the minimum ttl for the query.
6355 (gaih_getanswer_slice): Likewise.
6356
b8dc394d
JL
63572012-03-30 Jeff Law <law@redhat.com>
6358
6359 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6360 due to long keys.
6361 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6362 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6363
2f5a5ed0
JL
6364 * resolv/nss_dns/dns-host.c: Update copyright year.
6365
1d39e359
UD
63662012-03-30 Ulrich Drepper <drepper@gmail.com>
6367
c030f70c 6368 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6369 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6370
1d39e359
UD
6371 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6372 comments for sendmmsg.
6373
63742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6375
6376 [BZ #13691]
6377 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6378 with only 1 character between 0x0041 and 0x01b0.
6379 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6380 * wcsmbs/tst-mbsnrtowcs.c: New file.
6381
20fde227
DM
63822012-03-29 David S. Miller <davem@davemloft.net>
6383
6384 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6385 small copies by hand.
6386
984a4237
JL
63872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6388
6389 [BZ #13761]
6390 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6391 _nss_compat_initgroups_dyn): Fall back to malloc/free
6392 for large group memberships.
6393
18c9d62b
DM
63942012-03-28 David S. Miller <davem@davemloft.net>
6395
88d85d4f
DM
6396 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6397 that branches into memcpy.
6398 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6401 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6403 bits.
6404 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6405 implementation too.
6406 * sysdeps/sparc/mempcpy.S: New file.
6407
e5aa83e1
DM
6408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6409 the IFUNC routine in the libc case.
6410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6411
88570753
DM
6412 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6414 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6415 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6416 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6417 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6418 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6419 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6420
249d7567
DM
6421 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6422 loop to 256 bytes instead of 64 bytes and fix test signedness.
6423
18c9d62b
DM
6424 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6425 * sysdeps/sparc/sparc32/Makefile: rather than here...
6426 * sysdeps/sparc/sparc64/Makefile: and here.
6427
05f3d1f6
UD
64282012-03-28 Ulrich Drepper <drepper@gmail.com>
6429
6430 * malloc/mallocbug.c: Avoid warnings about unused variables.
6431
86ae07a8
JL
64322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6433
6434 [BZ #13760]
6435 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6436 in the right place. Discard and retry query if response is
6437 larger than input buffer size.
6438
41bf21a1
JM
64392012-03-28 Joseph Myers <joseph@codesourcery.com>
6440
d6270972
JM
6441 [BZ #369]
6442 [BZ #2678]
6443 [BZ #3866]
6444 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6445 x for large integer exponent.
6446 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6447 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6448 sign of result as needed afterwards.
6449 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6451 result for underflowing pow the same as for overflow.
6452 (__kernel_standard_l): Handle powl overflow and underflow here
6453 rather than calling __kernel_standard.
6454 * math/libm-test.inc (pow_test): Add more tests.
6455
414fca03 6456 [BZ #3868]
41bf21a1
JM
6457 [BZ #13879]
6458 [BZ #13910]
6459 [BZ #13911]
6460 [BZ #13912]
6461 [BZ #13913]
6462 [BZ #13915]
6463 [BZ #13916]
6464 [BZ #13917]
6465 [BZ #13918]
6466 [BZ #13919]
6467 [BZ #13920]
6468 [BZ #13921]
6469 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6470 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6471 (__kernel_standard_l): New function.
6472 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6473 __kernel_standard.
6474 * math/w_acosl.c (__acosl): Likewise.
6475 * math/w_asinl.c (__asinl): Likewise.
6476 * math/w_atan2l.c (__atan2l): Likewise.
6477 * math/w_atanhl.c (__atanhl): Likewise.
6478 * math/w_coshl.c (__coshl): Likewise.
6479 * math/w_exp10l.c (__exp10l): Likewise.
6480 * math/w_exp2l.c (__exp2l): Likewise.
6481 * math/w_fmodl.c (__fmodl): Likewise.
6482 * math/w_hypotl.c (__hypotl): Likewise.
6483 * math/w_j0l.c (__j0l, __y0l): Likewise.
6484 * math/w_j1l.c (__j1l, __y1l): Likewise.
6485 * math/w_jnl.c (__jnl, __ynl): Likewise.
6486 * math/w_lgammal.c (__lgammal): Likewise.
6487 * math/w_log10l.c (__log10l): Likewise.
6488 * math/w_log2l.c (__log2l): Likewise.
6489 * math/w_logl.c (__logl): Likewise.
6490 * math/w_powl.c (__powl): Likewise.
6491 * math/w_remainderl.c (__remainderl): Likewise.
6492 * math/w_scalbl.c (sysv_scalbl): Likewise.
6493 * math/w_sinhl.c (__sinhl): Likewise.
6494 * math/w_sqrtl.c (__sqrtl): Likewise.
6495 * math/w_tgammal.c (__tgammal): Likewise.
6496 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6497 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6498 * math/libm-test.inc (acos_test): Add more tests.
6499 (acosh_test): Likewise.
6500 (asin_test): Likewise.
6501 (atanh_test): Likewise.
6502 (exp_test): Likewise.
6503 (exp10_test): Likewise.
6504 (exp2_test): Likewise.
6505 (expm1_test): Likewise.
6506 (lgamma_test): Likewise.
6507 (log_test): Likewise.
6508 (log10_test): Likewise.
6509 (log1p_test): Likewise.
6510 (log2_test): Likewise.
6511 (pow_test): Do not allow some spurious overflow exceptions.
6512 (sqrt_test): Add more tests.
6513 (tgamma_test): Likewise.
6514 (y0_test): Likewise.
6515 (y1_test): Likewise.
6516 (yn_test): Likewise.
6517
dd62fda6
AB
65182012-03-27 Anton Blanchard <anton@samba.org>
6519
6520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6521 MAP_HUGETLB.
6522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6525
1e3cdfda
AJ
65262012-03-27 David S. Miller <davem@davemloft.net>
6527
b855ab85
DM
6528 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6529
1e3cdfda
AJ
6530 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6531 have-as-vis3 check.
6532
65332012-03-27 Andreas Jaeger <aj@suse.de>
6534
6535 * sysdeps/x86_64/elf/configure.in: Moved to ...
6536 * sysdeps/x86_64/configure.in: ... here.
6537 * sysdeps/x86_64/elf/start.S: Moved to ...
6538 * sysdeps/x86_64/start.S: ... here.
6539 * sysdeps/x86_64/elf/configure: Delete.
6540
6541 * sysdeps/x86_64/configure.in: Merge contents from
6542 sysdeps/i386/configure.in (without i686 check).
6543
6544 * sysdeps/i386/elf/Versions: Merge into ...
6545 * sysdeps/i386/Versions: ... this.
6546 * sysdeps/i386/elf/Versions: Delete file.
6547 * sysdeps/i386/elf/start.S: Moved to ...
6548 * sysdeps/i386/start.S: ...here.
6549 * sysdeps/i386/elf/configure.in: Merge into...
6550 * sysdeps/i386/configure.in: ...here.
6551 * sysdeps/i386/elf/configure.in: Delete file.
6552 * sysdeps/i386/elf/configure: Delete file.
6553
6554 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6555 * debug/backtracesyms.c: ... here.
6556 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6557 * debug/backtracesymsfd.c: ... here.
6558 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6559 * sysdeps/generic/ifunc-sel.h: ... here.
6560
6561 * sysdeps/unix/i386/start.c: Delete file.
6562 * sysdeps/unix/sparc/start.c: Delete file.
6563 * sysdeps/unix/start.c: Delete file.
6564
6565 * sysdeps/sh/elf/configure.in: Moved to ...
6566 * sysdeps/sh/configure.in: ... here.
6567 * sysdeps/sh/elf/start.S: Moved to ...
6568 * sysdeps/sh/start.S: ... here.
6569 * sysdeps/sh/elf/configure: Delete file.
6570
6571 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6572 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6573 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6574 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6575 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6576 * sysdeps/powerpc/powerpc64/start.S: here.
6577 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6578 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6579 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6580 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6581 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6582
6583 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6584 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6585 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6586 * sysdeps/powerpc/powerpc32/start.S: ... here.
6587 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6588 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6589 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6590
6591 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6592 * sysdeps/powerpc/ifunc-sel.h: ... here.
6593 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6594 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6595
6596 * sysdeps/sparc/elf/configure.in: Moved to ...
6597 * sysdeps/sparc/configure.in: ... here.
6598 * sysdeps/sparc/elf/configure: Delete file.
6599 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6600 * sysdeps/sparc/sparc32/start.S: ... here.
6601 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6602 * sysdeps/sparc/sparc64/start.S: ... here.
6603 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6604 * sysdeps/sparc/sparc32/Makefile: ... this.
6605 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6606 * sysdeps/sparc/sparc64/Makefile: ... this.
6607
6608 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6609 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6610 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6611 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6612 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6613 * sysdeps/s390/s390-32/setjmp.S: ... here.
6614 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6615 * sysdeps/s390/s390-32/configure.in: ... here.
6616 * sysdeps/s390/s390-32/elf/configure: Delete file.
6617 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6618 * sysdeps/s390/s390-32/start.S: ... here.
6619
6620 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6621 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6622 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6623 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6624 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6625 * sysdeps/s390/s390-64/setjmp.S: ... here.
6626 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6627 * sysdeps/s390/s390-64/configure.in: ... here
6628 * sysdeps/s390/s390-64/elf/configure: Delete file.
6629 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6630 * sysdeps/s390/s390-64/start.S: ... here.
6631 * sysdeps/s390/s390-64/elf/configure: Delete.
6632
6633 * configure.in: Remove support for elf directories in sysdeps.
6634
6635 * configure: Regenerated.
6636 * sysdeps/i386/configure: Regenerated.
6637 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6638 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6639 * sysdeps/s390/s390-32/configure: Regenerated.
6640 * sysdeps/s390/s390-64/configure: Regenerated.
6641 * sysdeps/sh/configure: Regenerated.
6642 * sysdeps/sparc/configure: Regenerated.
6643 * sysdeps/x86_64/configure: Regenerated.
6644
a3f61311
AS
66452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6646
c876e002
AS
6647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6648
a3f61311
AS
6649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6650 denormal result into account.
6651
ac4c54f0
RM
66522012-03-25 Roland McGrath <roland@hack.frob.com>
6653
6654 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6655 Reported by Allan McRae <allan@archlinux.org>.
6656
6a9b9c02
JL
66572012-03-23 Jeff Law <law@redhat.com>
6658
6659 * nss/getnssent.c (__nss_getent): Fix typo.
6660
4c42a0c1
DM
66612012-03-23 David S. Miller <davem@davemloft.net>
6662
6663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6664
1532c7ac
L
66652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6666
6667 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6668 to pad to uint64_t for each field.
6669 (dl_tls_index): Replace unsigned long with uint64_t.
6670
3ff42526
PP
66712012-03-23 Daniel Jacobowitz <dmj@google.com>
6672 Paul Pluzhnikov <ppluzhnikov@google.com>
6673
6674 [BZ #6528]
6675 * grp/Makefile (otherlibs): Don't set it.
6676 * inet/Makefile (otherlibs): Likewise.
6677 * login/Makefile (otherlibs): Likewise.
6678 * nscd/Makefile (otherlibs): Likewise.
6679 * posix/Makefile (otherlibs): Likewise.
6680 * pwd/Makefile (otherlibs): Likewise.
6681 * rt/Makefile (otherlibs): Likewise.
6682 * sunrpc/Makefile (otherlibs): Likewise.
6683 * nss/Makefile (otherlibs): Likewise.
6684 Add libnss_files to routines and static-only-routines.
6685 ($(objpfx)getent): Remove rule.
6686 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6687 static-only-routines.
6688
7c69cd14
JM
66892012-03-22 Joseph Myers <joseph@codesourcery.com>
6690
6691 [BZ #13892]
6692 * math/s_cexp.c: Include <float.h>.
6693 (__cexp): Handle exp result overflowing not necessarily
6694 overflowing both real and imaginary parts of result.
6695 * math/s_cexpf.c: Likewise.
6696 * math/s_cexpl.c: Likewise.
6697 * math/libm-test.inc (cexp_test): Add more tests.
6698 * sysdeps/i386/fpu/libm-test-ulps: Update.
6699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6700
81b035fe
L
67012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6702
6703 * include/link.h (ELFW): New macro.
6704 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6705 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6706
1da7940c
L
67072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6708
6709 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6710 with uint64_t.
6711
b749dbb9
L
67122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6715 declaration.
6716 (struct La_x32_retval): Likewise.
6717
2ff87f3f
L
67182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6719
6720 * sysdeps/x86_64/preconfigure.in: New file.
6721 * sysdeps/x86_64/preconfigure: New generated file.
6722
c0df8e69
JM
67232012-03-22 Joseph Myers <joseph@codesourcery.com>
6724
48e44791
JM
6725 [BZ #13824]
6726 * math/e_exp2l.c: Include <float.h>.
6727 (__ieee754_exp2l): Handle overflow and underflow cases
6728 separately. Only pass fractional part of argument to
6729 __ieee754_expl.
6730 * math/libm-test.inc (exp2_test): Add more tests.
6731
c0df8e69
JM
6732 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6733 negating x to take absolute value.
6734 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6735 Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6738 Likewise.
6739 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6740 computing low part if x was negated.
6741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6742
c8e43ba7
L
67432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6744
6745 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6746 la_x32_gnu_pltexit.
6747 (pltexit): Cast int_retval to ptrdiff_t.
6748 * elf/tst-auditmod3b.c: Likewise.
6749 * elf/tst-auditmod4b.c: Likewise.
6750 * elf/tst-auditmod5b.c: Likewise.
6751 * elf/tst-auditmod6b.c: Likewise.
6752 * elf/tst-auditmod6c.c: Likewise.
6753 * elf/tst-auditmod7b.c: Likewise.
6754
6755 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6756 and x32_gnu_pltexit.
6757
6758 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6759 __ELF_NATIVE_CLASS.
6760 (La_x32_regs): New macro.
6761 (La_x32_retval): Likewise.
6762 (la_x32_gnu_pltenter): New function prototype.
6763 (la_x32_gnu_pltexit): Likewise.
6764
7998fa78
AS
67652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6766
dcb33988
AS
6767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6768 exponent.
6769
233fc563
AS
6770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6771
7998fa78
AS
6772 * configure.in (libc_cv_cc_nofma): Check for option to disable
6773 generation of FMA instructions.
6774 * configure: Regenerate.
6775 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6776 * sysdeps/ieee754/dbl-64/Makefile: New file.
6777 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6778 Remove brandred-fma4.
6779 (CFLAGS-brandred-fma4.c): Remove.
6780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6781 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6782 define.
6783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6784 define.
6785
8e95c99a
L
67862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6787
6788 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6789 LLONG_MAX != LONG_MAX.
6790 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6791 (_fitoa_word): Likewise.
6792 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6793 LLONG_MAX != LONG_MAX.
6794 * stdio-common/_itowa.h: Include <_itoa.h>.
6795 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6796 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6797 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6798 only if not defined.
6799 (_ITOA_WORD_TYPE): Likewise.
6800 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6801 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6802
6f4db457
DM
68032012-03-21 David S. Miller <davem@davemloft.net>
6804
6805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6806
7785fe5a
L
68072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6808
6809 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6810 of x86_64 when setting libc_cv_slibdir, libdir and
6811 libc_cv_localedir.
6812 * sysdeps/unix/sysv/linux/configure: Regenerated.
6813
4535cd55
JM
68142012-03-21 Joseph Myers <joseph@codesourcery.com>
6815
6816 * manual/lang.texi (Old Varargs): Remove section.
6817 (How Variadic): Update menu.
6818 (va_start): Do not mention varargs.h.
6819
17228132
TS
68202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6821 Joseph Myers <joseph@codesourcery.com>
6822
6823 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6824 link test.
6825 * configure: Regenerated.
6826
8149f976
TS
68272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6828
05f3d1f6
UD
6829 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6830 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6831 conformtest.pl
8149f976 6832
1a4ac776
JM
68332012-03-21 Joseph Myers <joseph@codesourcery.com>
6834
be22ce65
JM
6835 * NOTES: Remove.
6836 * Makefile (files-for-dist): Remove NOTES.
6837 (NOTES): Remove rule.
6838 * README: Don't refer to NOTES.
6839 * manual/creature.texi: Don't include macros.texi.
6840 * manual/intro.texi (creature.texi): Remove comment referring to
6841 NOTES.
6842
40b601fb
JM
6843 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6844 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6845 * configure: Regenerated.
6846 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6847 LIBC_TRY_CC_OPTION.
6848 (libc_cv_as_i686): Likewise.
6849 (libc_cv_cc_avx): Likewise.
6850 (libc_cv_cc_sse2avx): Likewise.
6851 (libc_cv_cc_fma4): Likewise.
6852 (libc_cv_cc_novzeroupper): Likewise.
6853 * sysdeps/i386/configure: Regenerated.
6854
1a4ac776
JM
6855 [BZ #13883]
6856 * sysdeps/i386/fpu/s_cexp.S: Remove.
6857 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6859 * math/libm-test.inc (cexp_test): Add more tests.
6860 * sysdeps/i386/fpu/libm-test-ulps: Update.
6861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6862
a458e7fe
AM
68632012-03-21 Allan McRae <allan@archlinux.org>
6864
6865 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6866
0cb7efc5
JM
68672012-03-21 Joseph Myers <joseph@codesourcery.com>
6868
6869 [BZ #13871]
6870 * math/w_exp2.c: Do not include <float.h>.
6871 (o_threshold, u_threshold): Remove.
6872 (__exp2): Calculate result before checking finiteness and calling
6873 __kernel_standard.
6874 * math/w_exp2f.c: Likewise.
6875 * math/w_exp2l.c: Likewise.
6876 * math/libm-test.inc (exp2_test): Require overflow exception for
6877 1e6 input.
2460d3aa
JM
6878
6879 [BZ #3866]
6880 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6881 range of signed 64-bit integers before using fistpll. Remove
6882 checks for whether integers fit in mantissa bits.
6883 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6884 the range of signed 32-bit integers before using fistpl. Remove
6885 checks for whether integers fit in mantissa bits.
6886 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6887 (__ieee754_powl): Test for y outside the range of signed 64-bit
6888 integers before using fistpll. Reduce 64-bit values to 63-bit
6889 ones as needed.
6890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6891 divide-by-zero is raised for zero to large negative powers.
6892 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6893 (__ieee754_powl): Test for y outside the range of signed 64-bit
6894 integers before using fistpll. Reduce 64-bit values to 63-bit
6895 ones as needed.
6896 * math/libm-test.inc (pow_test): Add more tests.
6897
eb96ffb0
L
68982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6899
6900 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6901 <stdio-common/_itoa.h>.
6902 * debug/segfault.c: Likewise.
6903 * elf/dl-cache.c: Likewise.
6904 * elf/dl-minimal.c: Likewise.
6905 * elf/dl-misc.c: Likewise.
6906 * elf/dl-sysdep.c: Likewise.
6907 * elf/dl-version.c: Likewise.
6908 * elf/rtld.c: Likewise.
6909 * hurd/hurdsock.c: Likewise.
6910 * hurd/lookup-retry.c: Likewise.
6911 * malloc/malloc.c: Likewise.
6912 * malloc/mtrace.c: Likewise.
6913 * nscd/nscd_getgr_r.c: Likewise.
6914 * nscd/nscd_getpw_r.c: Likewise.
6915 * nscd/nscd_getserv_r.c: Likewise.
6916 * posix/getopt_init.c: Likewise.
6917 * posix/wordexp.c: Likewise.
6918 * stdio-common/_itoa.c: Likewise.
6919 * stdio-common/printf_fphex.c: Likewise.
6920 * stdio-common/vfprintf.c: Likewise.
6921 * string/_strerror.c: Likewise.
6922 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6923 * sysdeps/i386/i686/hp-timing.h: Likewise.
6924 * sysdeps/mach/_strerror.c: Likewise.
6925 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6926 * sysdeps/mach/hurd/sethostid.c: Likewise.
6927 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6928 * sysdeps/mach/xpg-strerror.c: Likewise.
6929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6931 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6932 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6933 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6934 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6935 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6936 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6937 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6938 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6939 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6940 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6941 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6942 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6943 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6946 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6947 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6948 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6949 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6950
6951 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6952
6953 * stdio-common/_itoa.h: Moved to ...
6954 * sysdeps/generic/_itoa.h: Here.
6955
6956 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6957
6958 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6959 instead of "_itoa.h" and "_itowa.h".
6960 * stdio-common/vfprintf.: Likewise.
6961
d1af992d
L
69622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6963
6964 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6965 <bits/wordsize.h>.
6966 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6967 (__signbit): Likwise.
6968 (llrintf): Likwise.
6969 (llrint): Likwise.
6970
114883e0
L
69712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6972
6973 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6974 __WORDSIZE != 64.
6975
c135cc1b
JM
69762012-03-20 Joseph Myers <joseph@codesourcery.com>
6977
6978 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6979 OVERFLOW_EXCEPTION_OK.
6980 * math/libm-test.inc ("Philosophy"): Update comment about
6981 exception testing.
6982 (OVERFLOW_EXCEPTION): Define.
6983 (OVERFLOW_EXCEPTION_OK): Likewise.
6984 (INVALID_EXCEPTION_OK): Renumber.
6985 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6986 (IGNORE_ZERO_INF_SIGN): Likewise.
6987 (test_exceptions): Handle FE_OVERFLOW.
6988 (exp10_test): Expect overflow exceptions.
6989 (exp2_test): Likewise.
6990 (expm1_test): Likewise.
6991 (nextafter_test): Likewise.
6992 (pow_test): Likewise.
6993 (scalbn_test): Likewise.
6994 (scalbln_test): Likewise.
6995
95443d88
L
69962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6997
6998 * sysdeps/x86_64/bits/atomic.h
6999 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7000 64bit integer.
7001 (atomic_exchange_acq): Likewise.
7002 (__arch_exchange_and_add_body): Likewise.
7003 (__arch_add_body): Likewise.
7004 (atomic_add_negative): Likewise.
7005 (atomic_add_zero): Likewise.
7006
490df6c4
L
70072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7008
c2722551 7009 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7010 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7011
5e52b189
L
70122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7013
7014 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7015 Check __x86_64__ instead of __WORDSIZE.
7016
a9879d4c
L
70172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7018
7019 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7020
5df98260
DM
70212012-03-19 David S. Miller <davem@davemloft.net>
7022
e1497744
DM
7023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7024
5df98260
DM
7025 * sysdeps/sparc/fpu/fenv_private.h: New file.
7026 * sysdeps/sparc/fpu/math_private.h: Use it.
7027 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7028 Remove.
7029 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7030 (libc_feholdexcept_setroundl): Remove.
7031 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7032 Remove.
7033 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7034 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7035
b4c35121
L
70362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7037
7038 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7039 int64_t instead of long int.
7040 (INSERT_WORDS64): Likwise.
7041
56965fd7
L
70422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7043
7044 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7045 _Unwind_GetCFA return to _Unwind_Ptr first.
7046
83d1aec8
JM
70472012-03-19 Joseph Myers <joseph@codesourcery.com>
7048
1897ad44
JM
7049 [BZ #13629]
7050 * math/s_clog.c: Include <float.h>.
7051 (__clog): Scale large or subnormal inputs.
7052 * math/s_clogf.c: Likewise.
7053 * math/s_clogl.c: Likewise.
7054 * math/s_clog10.c: Include <float.h>.
7055 (M_LOG10_2): Define.
7056 (__clog10): Scale large or subnormal inputs.
7057 * math/s_clog10f.c: Likewise.
7058 * math/s_clog10l.c: Likewise.
7059 * math/libm-test.inc (clog_test): Add more tests.
7060 (clog10_test): Likewise.
7061 * sysdeps/i386/fpu/libm-test-ulps: Update.
7062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063
7726d6a9
JM
7064 [BZ #11451]
7065 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7066 x and y.
7067 * math/libm-test.inc (atan2_test): Add another test.
7068
83d1aec8
JM
7069 * Makerules (common-objdir-compile): Remove.
7070 * sysdeps/unix/Makefile (config-generated): Do not add
7071 $(unix-generated) to variable.
7072 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7073 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7074 Remove rule.
7075 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7076 Likewise.
7077 [generic bits/local_lim.h] (before-compile): Do not append to
7078 variable.
7079 [generic bits/local_lim.h] (common-generated): Likewise.
7080 [generic sys/param.h] (before-compile): Do not append to variable.
7081 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7082 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7083 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7085 include.
7086 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7087 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7088 [generic sys/param.h] ($(addprefix
7089 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7090 [generic sys/param.h] (common-generated): Do not append to
7091 variable.
7092 [generic sys/param.h] (sysdep_headers): Likewise.
7093 [generic bits/errno.h] (before-compile): Do not append to
7094 variable.
7095 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7096 rule.
7097 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7098 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7099 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7100 [generic bits/errno.h] (common-generated): Do not append to
7101 variable.
7102 [generic bits/ioctls.h] (before-compile): Do not append to
7103 variable.
7104 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7105 rule.
7106 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7107 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7109 rule.
7110 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7111 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7112 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7113 [generic bits/ioctls.h] (common-generated): Do not append to
7114 variable.
7115 [generic sys/syscall.h] (syscall.h): Remove variable.
7116 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7117 rule.
7118 [generic sys/syscall.h] (before-compile): Do not append to
7119 variable.
7120 [generic sys/syscall.h] (common-generated): Likewise.
7121 * sysdeps/unix/errnos-tmpl.c: Remove file.
7122 * sysdeps/unix/errnos.awk: Likewise.
7123 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7124 * sysdeps/unix/ioctls.awk: Likewise.
7125 * sysdeps/unix/mk-local_lim.c: Likewise.
7126 * sysdeps/unix/snarf-ioctls: Likewise.
7127
4851a949
RH
71282012-03-19 Richard Henderson <rth@twiddle.net>
7129
bd37f2ee
RH
7130 * sysdeps/i386/fpu/fenv_private.h: New file.
7131 * sysdeps/i386/fpu/math_private.h: Use it.
7132 (math_opt_barrier, math_force_eval): Remove.
7133 (libc_feholdexcept_setround_53bit): Remove.
7134 (libc_feupdateenv_53bit): Remove.
7135 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7136 (math_opt_barrier, math_force_eval): Remove.
7137 (libc_feholdexcept): Remove.
7138 (libc_feholdexcept_setround): Remove.
7139 (libc_fetestexcept, libc_fesetenv): Remove.
7140 (libc_feupdateenv_test): Remove.
7141 (libc_feupdateenv, libc_feholdsetround): Remove.
7142 (libc_feresetround): Remove.
7143
d0adc922
RH
7144 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7145 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7146
0fe0f1f8
RH
7147 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7148 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7149 (libc_feupdateenv_testl): New.
7150 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7151 (libc_feupdateenv_testf): New.
7152 (libc_feupdateenv): Use libc_feupdateenv_test.
7153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7155
eb92c487
RH
7156 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7157 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7158 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7159 (libc_feresetround_noex): New.
7160 (libc_feresetround_noexf): New.
7161 (libc_feresetround_noexl): New.
7162 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7163 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7164 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7166 SET_RESTORE_ROUND.
7167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7169 (__cos): Likewise.
7170 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7172 SET_RESTORE_ROUND_NOEX.
7173 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7174 SET_RESTORE_ROUND_NOEXF.
7175 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7176 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7177 (libc_feholdsetroundf): New.
7178 (libc_feresetround, libc_feresetroundf): New.
7179
7d2e8012
RH
7180 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7181 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7182 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7183
b4dabbb4
RH
7184 * sysdeps/generic/math_private.h: Include <fenv.h>.
7185 (default_libc_feholdexcept): New.
7186 (default_libc_feholdexcept_setround): New.
7187 (default_libc_fesetenv, default_libc_feupdateenv): New.
7188 (libc_feholdexcept): Only define if undefined.
7189 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7190 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7191 (libc_feholdexcept_setroundl): Likewise.
7192 (libc_feholdexcept_setround_53bit): Likewise.
7193 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7194 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7195 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7196 (libc_feupdateenv_53bit): Likewise.
7197 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7198 (libc_feholdexcept): Convert from macro to inline function.
7199 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7200 (libc_fesetenv, libc_feupdateenv): Likewise.
7201
4851a949
RH
7202 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7203 not previously defined.
7204 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7205 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7206 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7207 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7208 * sysdeps/ieee754/flt-32/math_private.h: New file.
7209 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7210 math_private.h below SET_FLOAT_WORD.
7211 (__isnan, __isinf_ns, __finite): Remove.
7212 (__isnanf, __isinf_nsf, __finitef): Remove.
7213
e79d442e
AS
72142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7215
7216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7217
90b80344
DM
72182012-03-17 David S. Miller <davem@davemloft.net>
7219
7220 [BZ #6471]
7221 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7222 for 2.16.
7223
edc21804
DM
72242012-03-16 David S. Miller <davem@davemloft.net>
7225
77e927af
DM
7226 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7227 warnings.
7228
374976dd
DM
7229 [BZ #6471]
7230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7231 properly.
7232 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7233 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7234 sysdep_routines when subdir is sysvipc.
7235 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7236 __getshmlba helper.
7237
edc21804
DM
7238 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7239
473c3ef3
L
72402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7241
7242 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7243 [__LP64__].
7244
eb0f39b6
L
72452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7246
7247 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7248 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7249 (__lround): Renamed to ...
7250 (__llround): This. Replace long int with long long int.
7251 Define lround functions as aliases of llround functions.
7252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7253
6b6cd74b
L
72542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7255
7256 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7257 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7258 adresses to uintptr_t. Replace "long int" and "unsigned long
7259 int" with "greg_t" on va_arg.
7260
f1a77b01
L
72612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7262
7263 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7264 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7265
7266 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7267 Move e_machine check before EI_CLASS check. Handle x32
7268 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7269 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7270 SKIP_EM_IA_64 and include
7271 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7272
7273 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7274 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7275 (add_system_dir): New macro.
7276
7277 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7278 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7279
11b90b9f
JM
72802012-03-16 Joseph Myers <joseph@codesourcery.com>
7281
c36e1d23
JM
7282 [BZ #2551]
7283 [BZ #2552]
7284 [BZ #2553]
7285 [BZ #2554]
7286 [BZ #2562]
7287 [BZ #2563]
7288 [BZ #2565]
7289 [BZ #2566]
7290 [BZ #2576]
7291 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7292 (y0): Likewise.
7293 * math/w_j0f.c (j0f): Likewise.
7294 (y0f): Likewise.
7295 * math/w_j0l.c (__j0l): Likewise.
7296 (__y0l): Likewise.
7297 * math/w_j1.c (j1): Likewise.
7298 (y1): Likewise.
7299 * math/w_j1f.c (j1f): Likewise.
7300 (y1f): Likewise.
7301 * math/w_j1l.c (__j1l): Likewise.
7302 (__y1l): Likewise.
7303 * math/w_jn.c (jn): Likewise.
7304 (yn): Likewise.
7305 * math/w_jnf.c (jnf): Likewise.
7306 (ynf): Likewise.
7307 * math/w_jnl.c (__jnl): Likewise.
7308 (__ynl): Likewise.
7309 * math/libm-test.inc (j0_test): Add more tests.
7310 (j1_test): Likewise.
7311 (jn_test): Likewise. Add trailing semicolon to existing test.
7312 (y0_test): Likewise.
7313 (y1_test): Likewise.
7314 * sysdeps/i386/fpu/libm-test-ulps: Update.
7315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7316
11b90b9f
JM
7317 [BZ #13851]
7318 [BZ #13854]
7319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7320 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7321 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7323 (__tanl): Set errno for infinite argument.
7324 * sysdeps/i386/fpu/mptan.c: Remove.
7325 * sysdeps/i386/fpu/s_tan.S: Likewise.
7326 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7327 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7328 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7329 * math/libm-test.inc (tan_test): Add more tests and enable more
7330 tests for double and long double.
7331 * sysdeps/i386/fpu/libm-test-ulps: Update.
7332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7333
6a1bd2a1
JK
73342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7335
7336 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7337 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7338
10a803e0
RM
73392012-03-16 Roland McGrath <roland@hack.frob.com>
7340
7341 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7342 * configure.in: Use it for both main tree and add-ons.
7343 * configure: Regenerated.
7344
f196c7f7
L
73452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7346
7347 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7348
8848d99d
JM
73492012-03-16 Joseph Myers <joseph@codesourcery.com>
7350
96cbe7f4
JM
7351 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7352 in comment.
7353
8848d99d
JM
7354 [BZ #13851]
7355 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7356 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7360 infinite argument.
7361 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7363 != 0 for prec == 2.
7364 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7365 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7366 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7367 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7368 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7369 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7370 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7371 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7372 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7373 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7374 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7375 * math/libm-test.inc (cos_test): Add more tests and enable more
7376 tests for long double.
7377 (sin_test): Likewise.
7378 (sincos_test): Likewise.
7379 * sysdeps/i386/fpu/libm-test-ulps: Update.
7380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7381
dd7f4703
DM
73822012-03-16 David S. Miller <davem@davemloft.net>
7383
7384 * sysdeps/sparc/fpu/math_private.h: New file.
7385
006f1daa
DM
73862012-03-15 David S. Miller <davem@davemloft.net>
7387
c0c83bc8
DM
7388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7389 file.
e6a62e18 7390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7392 file.
e6a62e18
DM
7393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7399 sysdep routines.
7400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7401
88cb87d9
DM
7402 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7403 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7404
006f1daa 7405 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7407 sparc-ifunc.h
006f1daa 7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7410 Likewise.
7411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7412 Likewise.
006f1daa
DM
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7417 Likewise.
006f1daa
DM
7418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7423 Likewise.
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7425 Likewise.
006f1daa
DM
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7450
11e0098e
AS
74512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7452
7453 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7454 scaling.
7455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7456
e85b09d0
AJ
74572012-03-15 Andreas Jaeger <aj@suse.de>
7458
7459 [BZ #13852]
7460 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7461 ieee754/flt-32 implementation for sin, cos and sincos.
7462 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7463 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7464 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7465 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7466 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7467 ieee754/flt-32 implementation for tan.
7468
7469 * math/libm-test.inc (cos_test): Enable some large input tests for
7470 float as well
7471 (sin_test): Likewise.
7472 (sincos_test): Likewise.
7473 (tan_test): Add tests for large input.
7474
7475 * sysdeps/i386/fpu/libm-test-ulps: Update.
7476
81c64153
AJ
74772012-03-15 Andreas Jaeger <aj@suse.de>
7478
7479 [BZ #13658]
7480 * math/libm-test.inc (cos_test): Add more test cases.
7481 (sin_test): Likewise.
7482 (sincos_test): Likewise.
7483
7bbfa5c6
AJ
74842012-03-15 Andreas Jaeger <aj@suse.de>
7485
7486 [BZ #13837]
7487 * math/libm-test.inc (cos_test): Add a test case for large input
7488 value.
7489 (sin_test): Likewise.
7490 (sincos_test): Likewise.
7491
74922012-03-15 Andreas Jaeger <aj@suse.de>,
7493 Joseph Myers <joseph@codesourcery.com>
7494
7495 [BZ #13658]
0671f479 7496 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7497 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7498 * sysdeps/i386/fpu/branred.c: Likewise.
7499 * sysdeps/i386/fpu/dosincos.c: Likewise.
7500 * sysdeps/i386/fpu/mpa.c: Likewise.
7501 * sysdeps/i386/fpu/s_cos.S: Likewise.
7502 * sysdeps/i386/fpu/s_sin.S: Likewise.
7503 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7504 * sysdeps/i386/fpu/sincos32.c: Likewise.
7505
7506 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7507 Define.
7508 (libc_feupdateenv_53bit): Define.
7509 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7510 Define.
7511 (libc_feupdateenv_53bit): Define.
7512
7513 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7514 53 bit (without extend i386 double precision).
7515
7516 * math/libm-test.inc (sincos_test): Add tests for large input.
7517 (sin): Likewise.
7518 (cos): Likewise.
7519
7520 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7521
9cad04ea
AS
75222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7523
7524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7525
f7062b9a
DM
75262012-03-15 David S. Miller <davem@davemloft.net>
7527
7528 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7529 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7530 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7531 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7544 file.
f7062b9a 7545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7547 file.
f7062b9a 7548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7550 file.
f7062b9a 7551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7553 file.
f7062b9a
DM
7554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7556 fmin/fmax sysdep routines.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7558
7bd951ff
DM
75592012-03-14 David S. Miller <davem@davemloft.net>
7560
559398ab
DM
7561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7590 routines.
7591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7592 file.
559398ab 7593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7595 file.
559398ab 7596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7598 file.
559398ab 7599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7601 file.
559398ab 7602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7604 file.
559398ab 7605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7607 file.
7608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7609 file.
7610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7611 file.
7612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7613 file.
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7615 New file.
7616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7617 file.
7618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7619 file.
559398ab 7620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7622 file.
559398ab 7623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7625 file.
559398ab 7626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7628 file.
559398ab 7629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7631 VIS3 routines.
559398ab
DM
7632
7633 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7634 New file.
7635
5a1c1e32
DM
7636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7637
eae47a36
DM
7638 * sysdeps/sparc/configure.in: New file.
7639 * sysdeps/sparc/configure: Generate.
7640 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7641 * configure: Regenerate.
7642 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7643 * config.make.in (have-as-vis3): New.
7644 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7645 available use -Av9d instead of -Av9a.
7646 * sysdeps/sparc/sparc64/Makefile: Likewise.
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7649 New file.
7650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7651 file.
7652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7653 New file.
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7655 file.
eae47a36
DM
7656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7661
c0c83bc8
DM
7662 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7663 fzeros/fnegs to load 0x80000000 into a float register instead of
7664 using the stack.
7bd951ff
DM
7665 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7666
bd951ccb
JM
76672012-03-14 Joseph Myers <joseph@codesourcery.com>
7668
7669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7670 bits/syscall.h.
7671 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7672 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7673 ($(inst_includedir)/bits/syscall.h): Remove rule.
7674 ($(objpfx)bits/syscall.d): Include instead of
7675 $(objpfx)syscall-list.d.
7676 (generated): Change syscall-list.h and syscall-list.d to
7677 bits/syscall.h and bits/syscall.d.
7678
bb4e6db2
RM
76792012-03-14 Roland McGrath <roland@hack.frob.com>
7680
7681 [BZ #13846]
7682 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7683
aa4a2ae1
JM
76842012-03-14 Joseph Myers <joseph@codesourcery.com>
7685
e456826d
JM
7686 [BZ #13841]
7687 * math/s_csqrt.c: Include <float.h>.
7688 (__csqrt): Scale large or subnormal inputs.
7689 * math/s_csqrtf.c: Likewise.
7690 * math/s_csqrtl.c: Likewise.
7691 * math/libm-test.inc (csqrt_test): Add more tests.
7692 * sysdeps/i386/fpu/libm-test-ulps: Update.
7693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7694
aa4a2ae1
JM
7695 [BZ #13840]
7696 * math/libm-test.inc (hypot_test): Add more tests.
7697
7c10fd35
DM
76982012-03-13 David S. Miller <davem@davemloft.net>
7699
7700 [BZ #13840]
7701 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7702 double-precision for the calculation instead of scaling.
7703
f453b98b
JM
77042012-03-13 Joseph Myers <joseph@codesourcery.com>
7705
7706 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7707 manipulate bits before adding and subtracting TWO52[sx].
7708 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7710 Likewise.
7711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7712
09a3453f
DM
77132012-03-13 David S. Miller <davem@davemloft.net>
7714
8e59da90
DM
7715 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7716 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7718 rtld-global-offsets.h
7719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7720
2a8ab7f2
DM
7721 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7722 large parameters.
7723
10f62770
DM
7724 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7725
5f0bdb18
DM
7726 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7727 'err' in the ifdef scope in which it is actually used.
7728
09a3453f
DM
7729 * nss/nss_db/db-init.c: Include string.h
7730
b4b2eb5e
DM
77312012-03-12 David S. Miller <davem@davemloft.net>
7732
98bb2f1c
DM
7733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7734 masking out of the most significant byte of random value used.
7735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7736 Fix coding style in previous change.
7737
b4b2eb5e
DM
7738 * sysdeps/unix/sysv/linux/kernel-features.h
7739 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7740 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7741 expression.
7742 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7743 later.
7744
6e226b09
DM
77452012-03-11 David S. Miller <davem@davemloft.net>
7746
a1bcbd40
DM
7747 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7748 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7750 for 'resultvar' otherwise things get truncated on 64-bit.
7751
cb9d6174
DM
7752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7753 Fix masking out of the most significant byte of random value used.
7754
6e226b09
DM
7755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7756
058c132d
AS
77572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7758
7759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7760
2d2cd515
DM
77612012-03-09 David S. Miller <davem@davemloft.net>
7762
7763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7764 variables with appropriate CPP guards.
7765 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7766 frame pointer, not the stack pointer. Correct layout comments. Fix test
7767 on resulting framesize and the management of the outregs buffer for pltexit.
7768 Preserve floating point return values across _dl_call_pltexit call.
7769 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7770 framesize and the management of the outregs buffer for pltexit.
7771 Preserve floating point return values across _dl_call_pltexit
7772 call.
7773 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7774 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7775 (print_exit): Fix format string for return register value.
7776
9a07f9d0
JM
77772012-03-10 Joseph Myers <joseph@codesourcery.com>
7778
7779 * sunrpc/Makefile (others): Add rpcgen.
7780 ($(objpfx)rpcgen): Remove special build rule and dependency on
7781 libc.
7782 * sunrpc/rpcgen.c: New file.
7783
547b5e30
PE
77842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7785
c524201a
PE
7786 [BZ #13673]
7787 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7788 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7789 * sysdeps/i386/crti.S: Likewise.
7790 * sysdeps/i386/crtn.S: Likewise.
7791 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7792 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7793 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7794 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7795 * sysdeps/sh/crti.S: Likewise.
7796 * sysdeps/sh/crtn.S: Likewise.
7797 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7798
7b6235f2
PE
7799 [BZ #13673]
7800 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7801 with URL.
7802 * locale/programs/locfile-kw.gperf: Likewise.
7803 * locale/programs/charmap-kw.h: Regenerated.
7804 * locale/programs/locfile-kw.h: Likewise.
7805
547b5e30
PE
7806 [BZ #13673]
7807 * intl/plural.y: Replace FSF snail mail address with URL.
7808 * intl/plural.c: Regenerated.
7809
5f0a5dae
RH
78102012-03-09 Richard Henderson <rth@twiddle.net>
7811
7812 * include/math_private.h: Remove file.
7813 * math/math_private.h: Move file ...
7814 * sysdeps/generic/math_private.h: ... here.
7815
b8c03620
RH
7816 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7817 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7818 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7819
4e234f5d 7820 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7821 and <math_private.h>.
7822 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7823 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7824 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7825 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7826 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7827 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7828 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7830 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7831 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7833 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7840 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7841 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7844 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7846 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7852 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7855 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7856 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7866 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7868 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7871 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7872 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7873 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7874 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7875 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7876 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7879 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7880 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7881 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7883 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7885 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7886 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7888 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7889 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7890 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7892 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7901 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7903 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7905 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7909 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7910 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7911 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7912 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7913 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7915 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7916 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7917 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7922 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7923 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7924 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7925 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7926 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7927 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7928 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7929 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7930 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7932 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7933 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7934 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7936 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7938 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7939 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7941 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7942 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7943 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7944 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7945 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7946 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7947 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7948 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7949 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7950 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7951 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7952 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7953 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7954 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7955 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7956 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7957 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7958 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7959 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7960 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7961 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7962 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7963 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7964 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7965 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7966 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7967 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7968 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7969 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7970 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7971 * sysdeps/ieee754/k_standard.c: Likewise.
7972 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7974 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7975 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7976 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7988 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7989 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7990 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7991 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7995 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7996 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8009 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8010 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8012 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8013 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8014 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8015 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8016 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8017 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8018 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8020 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8021 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8023 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8024 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8025 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8028 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8029 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8030 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8031 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8033 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8034 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8049 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8051 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8053 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8054 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8055 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8063 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8064 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8065 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8069 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8070 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8071 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8075 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8076 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8079 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8080 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8081 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8084 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8085 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8086 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8087 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8088 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8090 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8091 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8094 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8096 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8097 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8099 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8100 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8102 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8104 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8105 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8106 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8108 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8109 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8110 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8111 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8112 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8113 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8114 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8115 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8121 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8122 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8123 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8126 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8128 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8129 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8130 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8131 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8132 * sysdeps/ieee754/s_lib_version.c: Likewise.
8133 * sysdeps/ieee754/s_matherr.c: Likewise.
8134 * sysdeps/ieee754/s_signgam.c: Likewise.
8135 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8136 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8137 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8138 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8139 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8140 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8141 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8142 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8143 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8144 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8145 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8146 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8147 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8149 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8150 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8151 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8152 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8153 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8156
1991fa03
JM
81572012-03-09 Joseph Myers <joseph@codesourcery.com>
8158
8159 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8160 * sunrpc/rpc_main.c: Likewise.
8161 * sunrpc/rpc_svcout.c: Likewise.
8162
60d6f5a6
DM
81632012-03-09 David S. Miller <davem@davemloft.net>
8164
8165 * include/math_private.h: New file.
8166
4962050e
JM
81672012-03-09 Joseph Myers <joseph@codesourcery.com>
8168
02a6f887
JM
8169 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8170 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8171 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8172 from <bits/socket_type.h>.
8173 (enum __socket_type): Don't define here.
8174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8176 bits/socket_type.h.
8177
c6e013c1
JM
8178 [BZ #13566]
8179 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8180 checking __USE_GNU.
8181
4962050e
JM
8182 * Makerules ($(inst_includedir)/%.h): New rule.
8183 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8184 (install-others): Remove variable setting.
8185 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8186
38842f45
RH
81872012-03-08 Richard Henderson <rth@twiddle.net>
8188
67bb6da6
RH
8189 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8190 from macro to inline function; merge with the
8191 !__LIBC_INTERNAL_MATH_INLINES version.
8192 (__ieee754_sqrtf): Likewise.
8193
15194b4b
RH
8194 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8195 to inline function.
8196 (__rintf, __floor, __floorf): Likewise.
8197
64e21ede
RH
8198 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8199 macro to inline function.
8200 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8201
38842f45
RH
8202 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8203 not <math/math_private.h>.
8204
c64bf5fe
DM
82052012-03-08 David S. Miller <davem@davemloft.net>
8206
8207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8208 copyright year.
8209 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8210
82d86f28
TS
82112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8212
8213 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8214 normalization.
8215 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8216 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8217
aea5d727
UD
82182012-03-08 Ulrich Drepper <drepper@gmail.com>
8219
8220 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8221 be defined individually, they must be defined as a block. Define
8222 S for printing a string instead of hidint the different by using a
8223 macro for adding the 'l'.
8224 * stdio-common/tst-fphex-wide.c: Adjust.
8225
70bca0a3
MP
82262012-03-07 Marek Polacek <polacek@redhat.com>
8227
8228 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8229
65b81130
MP
82302012-03-08 Marek Polacek <polacek@redhat.com>
8231
8232 [BZ #13806]
8233 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8234 * stdio-common/tst-fphex.c: Define a few macros to make the
8235 test reusable. Use them.
8236 * stdio-common/tst-fphex-wide.c: New file.
8237
07037eeb
JM
82382012-03-08 Joseph Myers <joseph@codesourcery.com>
8239
a7a93d50
JM
8240 [BZ #6911]
8241 * manual/macros.texi (gnusystems): New macro.
8242 (nongnusystems): Likewise.
8243 (gnulinuxhurdsystems): Likewise.
8244 (gnuhurdsystems): Likewise..
8245 (gnulinuxsystems): Likewise.
8246 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8247 variants of the GNU system, not "GNU system".
8248 * manual/conf.texi: Likewise.
8249 * manual/errno.texi: Likewise. Update example of errno macro
8250 expansion.
8251 * manual/filesys.texi: Likewise.
8252 (getumask): Document as specific to GNU/Hurd.
8253 * manual/install.texi: Likewise. Reword some references to
8254 GNU/Linux.
8255 * manual/intro.texi: Likewise.
8256 * manual/io.texi: Likewise.
8257 (File Name Portability): Detail which constraints are inapplicable
8258 to all GNU systems and which are only inapplicable to GNU/Hurd.
8259 * manual/job.texi: Likewise.
8260 * manual/llio.texi: Likewise.
8261 (O_NOCTTY): Document as present on GNU/Linux.
8262 * manual/maint.texi: Likewise.
8263 * manual/memory.texi: Likewise.
8264 * manual/pattern.texi: Likewise.
8265 * manual/pipe.texi: Likewise.
8266 * manual/process.texi: Likewise.
8267 * manual/resource.texi: Likewise.
8268 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8269 child on GNU/Hurd.
8270 * manual/setjmp.texi: Likewise.
8271 * manual/signal.texi: Likewise.
8272 * manual/startup.texi: Likewise.
8273 * manual/stdio.texi: Likewise.
8274 * manual/terminal.texi: Likewise.
8275 (ONLCR): Document as POSIX.
8276 (OXTABS): Document availability on GNU/Linux as XTABS.
8277 (ONOEOT): Document availability separately from other bits.
8278 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8279 * manual/time.texi: Likewise.
8280 * manual/users.texi: Likewise.
8281 * INSTALL: Regenerated.
8282 * sysdeps/gnu/errlist.c: Regenerated.
8283
07037eeb
JM
8284 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8285 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8286 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8287 puts.
8288 * configure: Regenerated.
8289
d1d3431a
JM
82902012-03-07 Joseph Myers <joseph@codesourcery.com>
8291
af6a1e37
JM
8292 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8293 default includes instead of AC_HEADER_CHECK.
8294 * sysdeps/i386/configure: Regenerated.
8295
d1d3431a
JM
8296 [BZ #10716]
8297 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8298 * math/s_cacoshf.c (__cacoshf): Likewise.
8299 * math/s_cacoshl.c (__cacoshl): Likewise.
8300 * math/s_casinh.c (__casinh): Set signs of result from argument.
8301 * math/s_casinhf.c (__casinhf): Likewise.
8302 * math/s_casinhl.c (__casinhl): Likewise.
8303 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8304 (casinh_test): Add more tests.
8305 * sysdeps/i386/fpu/libm-test-ulps: Update.
8306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8307
482ff4da
UD
83082012-03-07 Ulrich Drepper <drepper@gmail.com>
8309
872fda05
UD
8310 * po/zh_TW.po: Update from translation team.
8311
a4300c7a
UD
8312 * login/Makefile (distribute): Remove variable.
8313 * catgets/Makefile: Likewise.
8314 * mach/Makefile: Likewise.
8315 * malloc/Makefile: Likewise.
8316 * misc/Makefile: Likewise.
8317 * iconv/Makefile: Likewise.
8318 * nscd/Makefile: Likewise.
8319 * hurd/Makefile: Likewise.
8320 * manual/Makefile: Likewise.
8321 * locale/Makefile: Likewise.
8322 * intl/Makefile: Likewise.
8323 * conform/Makefile: Likewise.
8324 * nss/Makefile: Likewise.
8325 * time/Makefile: Likewise.
8326 * soft-fp/Makefile: Likewise.
8327 * dirent/Makefile: Likewise.
8328 * gmon/Makefile: Likewise.
8329 * po/Makefile: Likewise.
8330 * rt/Makefile: Likewise.
8331 * socket/Makefile: Likewise.
8332 * math/Makefile: Likewise.
8333 * signal/Makefile: Likewise.
8334 * debug/Makefile: Likewise.
8335 * elf/Makefile: Likewise.
8336 * timezone/Makefile: Likewise.
8337 * stdlib/Makefile: Likewise.
8338 * iconvdata/Makefile: Likewise.
8339 * sunrpc/Makefile: Likewise.
8340 * io/Makefile: Likewise.
8341 * argp/Makefile: Likewise.
8342 * inet/Makefile: Likewise.
8343 * hesiod/Makefile: Likewise.
8344 * grp/Makefile: Likewise.
8345 * csu/Makefile: Likewise.
8346 * wctype/Makefile: Likewise.
8347 * crypt/Makefile: Likewise.
8348 * libio/Makefile: Likewise.
8349 * string/Makefile: Likewise.
8350 * nis/Makefile: Likewise.
8351 * resolv/Makefile: Likewise.
8352 * stdio-common/Makefile: Likewise.
8353 * wcsmbs/Makefile: Likewise.
8354 * dlfcn/Makefile: Likewise.
8355 * posix/Makefile: Likewise.
8356
3b7c4e74 8357 [BZ #6959]
482ff4da
UD
8358 * timezone/Makefile: Don't install timezone files, just the programs
8359 and scripts.
8360
f72ed77d
UD
83612012-03-06 Ulrich Drepper <drepper@gmail.com>
8362
a000466f
UD
8363 * nss/databases.def: Add missing gshadow entry.
8364
f72ed77d
UD
8365 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8366
a53b7a4e
MP
83672012-03-06 Marek Polacek <polacek@redhat.com>
8368
8369 [BZ #13726]
8370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8372 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8373 * stdio-common/tst-long-dbl-fphex.c: New file.
8374
e9258400
DM
83752012-03-06 David S. Miller <davem@davemloft.net>
8376
8377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8378 (set_obp_int): New function.
8379 (get_obp_int): New function.
8380 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8382 Avoid unused variable warnings on 'val' and use builtin_expect.
8383 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8384 __builtin_expect.
e9258400
DM
8385 (INLINE_CLONE_SYSCALL): Likewise.
8386
3bd2c723
DM
83872012-03-05 David S. Miller <davem@davemloft.net>
8388
8389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8390
bbb78d03
AS
83912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8392
884c5db4
AS
8393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8394
bbb78d03
AS
8395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8396 only for |x| >= 40.
8397 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8398
1c9f702a 83992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8400
8401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8402 Replace gettimeofday with __vdso_gettimeofday.
8403
7be16f82
RM
8404 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8405 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8406 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8407
8408 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8409 time with __vdso_time.
8410
ed58a00f
JM
84112012-03-05 Joseph Myers <joseph@codesourcery.com>
8412
8413 * manual/lang.texi (size_t): Note types to which size_t may be
8414 equivalent with the GNU C Library, but do not describe when
8415 differences between them are significant.
8416
30ee4ced
AJ
84172012-03-05 Andreas Jaeger <aj@suse.de>
8418
8419 * sysdeps/i386/fpu/libm-test-ulps: Update.
8420
b7cd39e8
JM
84212012-03-05 Joseph Myers <joseph@codesourcery.com>
8422
8423 [BZ #3976]
8424 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8425 (__ieee754_pow): Save and restore rounding mode and use
8426 round-to-nearest for main computations.
8427 * math/libm-test.inc (pow_test_tonearest): New function.
8428 (pow_test_towardzero): Likewise.
8429 (pow_test_downward): Likewise.
8430 (pow_test_upward): Likewise.
8431 (main): Call the new functions.
8432 * sysdeps/i386/fpu/libm-test-ulps: Update.
8433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8434
8435 [BZ #3976]
8436 * math/libm-test.inc (cosh_test_tonearest): New function.
8437 (cosh_test_towardzero): Likewise.
8438 (cosh_test_downward): Likewise.
8439 (cosh_test_upward): Likewise.
8440 (sinh_test_tonearest): Likewise.
8441 (sinh_test_towardzero): Likewise.
8442 (sinh_test_downward): Likewise.
8443 (sinh_test_upward): Likewise.
8444 (main): Call the new functions.
8445 * sysdeps/i386/fpu/libm-test-ulps: Update.
8446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8447
6c6a98c9
TV
84482012-03-05 Tom de Vries <tom@codesourcery.com>
8449
8450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8451 default stack guard is set in last bytes.
8452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8453
21bb2d2e 84542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8455
21bb2d2e 8456 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8457
21bb2d2e
AJ
8458 [BZ #13656]
8459 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8460 possibly allocate from heap instead of stack.
8461 * stdio-common/bug-vfprintf-nargs.c: New file.
8462 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8463
c6922934
AS
84642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8465
8466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8467
bc957d53
MP
84682012-03-03 Marek Polacek <polacek@redhat.com>
8469
8470 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8471 * math/math_private.h: Likewise.
8472 * stdlib/tst-strtod.c: Likewise.
8473 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8474 * sysdeps/x86_64/bits/atomic.h: Likewise.
8475
6358490d
DM
84762012-03-02 David S. Miller <davem@davemloft.net>
8477
8478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8482 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8483 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8484 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8485 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8486
01ae168d
RM
84872012-03-02 Roland McGrath <roland@hack.frob.com>
8488
d9a17c07
RM
8489 [BZ #13792]
8490 * manual/examples/README: New file, says the example source files
8491 can be used under GPL>=2.
8492 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8493 line containing just "*/".
8494 * manual/examples/add.c: Add copyright header (GPL>=2).
8495 * manual/examples/argp-ex1.c: Likewise.
8496 * manual/examples/argp-ex2.c: Likewise.
8497 * manual/examples/argp-ex3.c: Likewise.
8498 * manual/examples/argp-ex4.c: Likewise.
8499 * manual/examples/atexit.c: Likewise.
8500 * manual/examples/db.c: Likewise.
8501 * manual/examples/dir.c: Likewise.
8502 * manual/examples/dir2.c: Likewise.
8503 * manual/examples/execinfo.c: Likewise.
8504 * manual/examples/filecli.c: Likewise.
8505 * manual/examples/filesrv.c: Likewise.
8506 * manual/examples/fmtmsgexpl.c: Likewise.
8507 * manual/examples/genpass.c: Likewise.
8508 * manual/examples/inetcli.c: Likewise.
8509 * manual/examples/inetsrv.c: Likewise.
8510 * manual/examples/isockad.c: Likewise.
8511 * manual/examples/longopt.c: Likewise.
8512 * manual/examples/memopen.c: Likewise.
8513 * manual/examples/memstrm.c: Likewise.
8514 * manual/examples/mkfsock.c: Likewise.
8515 * manual/examples/mkisock.c: Likewise.
8516 * manual/examples/mygetpass.c: Likewise.
8517 * manual/examples/pipe.c: Likewise.
8518 * manual/examples/popen.c: Likewise.
8519 * manual/examples/rprintf.c: Likewise.
8520 * manual/examples/search.c: Likewise.
8521 * manual/examples/select.c: Likewise.
8522 * manual/examples/setjmp.c: Likewise.
8523 * manual/examples/sigh1.c: Likewise.
8524 * manual/examples/sigusr.c: Likewise.
8525 * manual/examples/stpcpy.c: Likewise.
8526 * manual/examples/strdupa.c: Likewise.
8527 * manual/examples/strftim.c: Likewise.
8528 * manual/examples/strncat.c: Likewise.
8529 * manual/examples/subopt.c: Likewise.
8530 * manual/examples/swapcontext.c: Likewise.
8531 * manual/examples/termios.c: Likewise.
8532 * manual/examples/testopt.c: Likewise.
8533 * manual/examples/testpass.c: Likewise.
8534 * manual/examples/timeval_subtract.c: Likewise.
8535
01ae168d
RM
8536 [BZ #13792]
8537 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8538 function to ...
8539 * manual/timeval_subtract.c.texi: ... here, new file.
8540
49efa33d
DM
85412012-03-02 David S. Miller <davem@davemloft.net>
8542
8543 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8544
28afd92d
JM
85452012-03-02 Joseph Myers <joseph@codesourcery.com>
8546
804360ed
JM
8547 [BZ #3976]
8548 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8549 (__sin): Save and restore rounding mode and use round-to-nearest
8550 for all computations.
8551 (__cos): Save and restore rounding mode and use round-to-nearest
8552 for all computations.
8553 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8554 <fenv.h>.
8555 (tan): Save and restore rounding mode and use round-to-nearest for
8556 all computations.
8557 * math/libm-test.inc (cos_test_tonearest): New function.
8558 (cos_test_towardzero): Likewise.
8559 (cos_test_downward): Likewise.
8560 (cos_test_upward): Likewise.
8561 (sin_test_tonearest): Likewise.
8562 (sin_test_towardzero): Likewise.
8563 (sin_test_downward): Likewise.
8564 (sin_test_upward): Likewise.
8565 (tan_test_tonearest): Likewise.
8566 (tan_test_towardzero): Likewise.
8567 (tan_test_downward): Likewise.
8568 (tan_test_upward): Likewise.
8569 (main): Call the new functions.
8570 * sysdeps/i386/fpu/libm-test-ulps: Update.
8571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8572
a6d06d7b
JM
8573 [BZ #10135]
8574 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8575 small n, then large n, before computing and testing k+n.
8576 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8578 Likewise.
8579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8580 Likewise.
8581 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8582 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8587 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8588 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8589 * math/libm-test.inc (scalbn_test): Add more tests.
8590 (scalbln_test): Likewise.
8591
07e12bb3
JM
8592 * manual/filesys.texi (mode_t): Describe constraints on size and
8593 signedness, not exact equivalence to a particular type.
8594 (ino_t): Likewise.
8595 (ino64_t): Likewise.
8596 (dev_t): Likewise.
8597 (nlink_t): Likewise.
8598 (blkcnt_t): Likewise.
8599 (blkcnt64_t): Likewise.
8600 * manual/llio.texi (off_t): Likewise.
8601
28afd92d
JM
8602 [BZ #3976]
8603 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8604 (__ieee754_exp): Save and restore rounding mode and use
8605 round-to-nearest for all computations.
8606 * math/libm-test.inc (exp_test_tonearest): New function.
8607 (exp_test_towardzero): Likewise.
8608 (exp_test_downward): Likewise.
8609 (exp_test_upward): Likewise.
8610 (main): Call the new functions.
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613
b1eeb65d
CD
86142012-03-01 Chris Demetriou <cgd@google.com>
8615
8616 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8617 have predictable order.
8618
53362a4b
DM
86192012-03-01 David S. Miller <davem@davemloft.net>
8620
3c969083
DM
8621 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8622
759707de
DM
8623 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8624 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8625 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8626 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8627
dfdb8ff2
DM
8628 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8629 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8630 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8632 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8633 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8634 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8635 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8637
ead89f96
DM
8638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8639
7f66bd07
DM
8640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8641 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8642 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8643
53362a4b
DM
8644 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8645 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8646 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8647 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8648 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8651 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8652 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8653 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8654 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8658 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8660 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8661 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8662 * sysdeps/sparc/elf/configure: Regenerated.
8663
7b1902cb
JM
86642012-03-01 Joseph Myers <joseph@codesourcery.com>
8665
bec039bc
JM
8666 * configure.in (AS, LD): Require binutils 2.20 or later.
8667 * configure: Regenerated.
8668 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8669 as required minimum version.
8670 * INSTALL: Regenerated.
8671
7b1902cb
JM
8672 [BZ #2541]
8673 [BZ #4108]
8674 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8675 before squaring exponent.
8676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8677 bottom long double and 27 bits of top long double before squaring
8678 exponent.
8679 * math/libm-test.inc (erfc_test): Add more tests.
8680 * sysdeps/i386/fpu/libm-test-ulps: Update.
8681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8683
f775c276
KT
86842012-03-01 Kai Tietz <ktietz@redhat.com>
8685
8686 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8687 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8688 containing bit-fields.
8689 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8690 * soft-fp/single.h (_FP_UNION_S): Likewise.
8691 * soft-fp/double.h (_FP_UNION_D): Likewise.
8692
5b8a4d4a
JM
86932012-02-29 Joseph Myers <joseph@codesourcery.com>
8694
0bab47b6
JM
8695 [BZ #13786]
8696 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8697 not include ../strcmp.S.
8698 [USE_AS_STRNCASECMP_L]: Likewise.
8699 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8700 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8701 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8702 (__strncasecmp_l_ia32): Define as alias to
8703 __strncasecmp_l_nonascii.
8704
0fcad3e2
JM
8705 [BZ #5794]
8706 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8707 * sysdeps/i386/fpu/libm-test-ulps: Update.
8708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8709
5b8a4d4a
JM
8710 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8712
8fdceb2e
JL
87132012-02-29 Jeff Law <law@redhat.com>
8714
8715 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8716 out of bounds read.
8717
1f393a11
MP
87182012-02-29 Marek Polacek <polacek@redhat.com>
8719
8720 [BZ #13706]
8721 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8722 * elf/Makefile: Add rules to run tst-unused-dep.out.
8723
8847f037
DM
87242012-02-28 David S. Miller <davem@davemloft.net>
8725
8726 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8727 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8730 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8731 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8732
169d7f11
JM
87332012-02-29 Joseph Myers <joseph@codesourcery.com>
8734
8735 * math/libm-test.inc (llround_test): Move one test from
8736 lround_test. Use TEST_f_L in moved test.
8737 (lround_test): Move misplaced test to llround_test. Add testcase
8738 from bug 2561.
8739
39adf059
UD
87402012-02-28 Ulrich Drepper <drepper@gmail.com>
8741
8742 * sysdeps/x86_64/fpu/e_expf.S: New file.
8743 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8744
71b5d1c5
SB
87452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8746
8747 [BZ #13637]
8748 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8749 of remain_len that may cause incomplete multi-byte character and
8750 false match.
8751 * posix/bug-regex33.c: New file.
8752 * posix/Makefile (tests): Add bug-regex33.
8753
1f77f049
JM
87542012-02-28 Joseph Myers <joseph@codesourcery.com>
8755
8756 * manual/macros.texi: New file.
8757 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8758 * manual/libc.texinfo: Include macros.texi.
8759 * manual/creatute.texi: Likewise.
8760 * manual/install.texi: Likewise.
8761 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8762 @glibcadj{} in references to the GNU C Library.
8763 * manual/charset.texi: Likewise.
8764 * manual/conf.texi: Likewise.
8765 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8766 when not using those macros.
8767 * manual/creature.texi: Likewise.
8768 * manual/crypt.texi: Likewise.
8769 * manual/errno.texi: Likewise.
8770 * manual/filesys.texi: Likewise.
8771 * manual/header.texi: Likewise.
8772 * manual/install.texi: Likewise.
8773 * manual/intro.texi: Likewise.
8774 * manual/io.texi: Likewise.
8775 * manual/job.texi: Likewise.
8776 * manual/lang.texi: Likewise.
8777 * manual/libc.texiinfo: Likewise.
8778 * manual/llio.texi: Likewise.
8779 * manual/locale.texi: Likewise.
8780 * manual/maint.texi: Likewise.
8781 * manual/math.texi: Likewise.
8782 * manual/memory.texi: Likewise.
8783 * manual/message.texi: Likewise.
8784 * manual/nss.texi: Likewise.
8785 * manual/pattern.texi: Likewise.
8786 * manual/process.texi: Likewise.
8787 * manual/resource.texi: Likewise.
8788 * manual/search.texi: Likewise.
8789 * manual/setjmp.texi: Likewise.
8790 * manual/signal.texi: Likewise.
8791 * manual/socket.texi: Likewise.
8792 * manual/startup.texi: Likewise.
8793 * manual/stdio.texi: Likewise.
8794 * manual/string.texi: Likewise.
8795 * manual/sysinfo.texi: Likewise.
8796 * manual/syslog.texi: Likewise.
8797 * manual/terminal.texi: Likewise.
8798 * manual/time.texi: Likewise.
8799 * manual/users.texi: Likewise.
8800 * INSTALL: Regenerated.
8801 * NOTES: Regenerated.
d40c5d54 8802 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8803
450bf206
AS
88042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8805
8806 * include/dirent.h: Include <dirstream.h> before
8807 <dirent/dirent.h>.
8808
741a235b
DM
88092012-02-28 David S. Miller <davem@davemloft.net>
8810
8811 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8812 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8813 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8814 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8815
d6b5aa58
DM
88162012-02-27 David S. Miller <davem@davemloft.net>
8817
1aff59a3
DM
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8820 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8821 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8822
d6b5aa58
DM
8823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8824 frame pointer instead of stack pointer relative arg slot.
8825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8826 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8827 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8828
433f48bf
CD
88292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8830
8831 [BZ #3992]
8832 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8833
d674b76d
DM
88342012-02-27 David S. Miller <davem@davemloft.net>
8835
8836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8840 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8841 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8842 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8843 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8844
0e7727f7
JM
88452012-02-27 Joseph Myers <joseph@codesourcery.com>
8846
8847 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8848 later. Allow versions 5-9.
43be4ca2 8849 * configure: Regenerated.
0e7727f7
JM
8850 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8851 required minimum version and 4.6 as recommended version. Do not
8852 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8853 * INSTALL: Regenerated.
0e7727f7 8854
a78bc654
DM
88552012-02-27 David S. Miller <davem@davemloft.net>
8856
428d5830
DM
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8862 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8863 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8865
a78bc654
DM
8866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8867 manipulate bits before adding and subtracting TWO112[sx].
8868 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8869
4579f81c
RM
88702012-02-27 Roland McGrath <roland@hack.frob.com>
8871
36c8acb4
RM
8872 [BZ #13775]
8873 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8874 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8875 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8876 being in POSIX, because they are in 1003.1-2008.
8877
84ad622b
RM
8878 * rt/tst-aio.c: Include <fcntl.h>.
8879 * rt/tst-aio7.c: Likewise.
8880 * rt/tst-aio64.c: Likewise.
8881
4579f81c
RM
8882 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8883
abd923db
JM
88842012-02-27 Joseph Myers <joseph@codesourcery.com>
8885
8886 * manual/install.texi (--with-headers): Describe headers as
8887 interface headers, not private headers.
8888 (Specific advice for GNU/Linux systems): Describe use of headers
8889 from "make headers_install", not private headers from older
8890 kernels.
43be4ca2 8891 * INSTALL: Regenerated.
abd923db
JM
8892 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8893 Change to 2.6.19.
8894 * sysdeps/unix/sysv/linux/configure: Regenerated.
8895
6664049b
JM
8896 * manual/llio.texi (fclean): Remove documentation.
8897
bb8b6697
JM
8898 * manual/Makefile (libc-texi-generated): New variable. Include
8899 version.texi.
8900 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8901 $(libc-texi-generated), not duplicated list of files.
8902 (version.texi, stamp-version): New rules.
8903 (realclean): Remove $(libc-texi-generated), not individual files
8904 from that list. Do not remove dir-add.texinfo.
8905 * manual/libc.texinfo: Comment out uses of edition numbers and
8906 references to printed manual. Remove last-updated dates.
8907 (EDITION): Comment out.
8908 (ISBN): Likewise.
8909 (VERSION, UPDATED): Remove.
8910 (version.texi): Include.
8911
12e5c3b9
AS
89122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8913
8914 * sysdeps/posix/spawni.c: Include <signal.h>.
8915 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8916 * sysdeps/pthread/aio_fsync.c: Likewise.
8917
4efeffc1 89182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8919
ba63ba08
UD
8920 * conform/Makefile (tests): Run only when not cross-compiling and
8921 when fast-check is not defined.
8922
d94a4670
UD
8923 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8924 * conform/data/limits.h-data: Fixes for POSIX2008.
8925 * conform/run-conformtest.sh: Run all tests.
8926 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8927 headers.
8928 * include/bits/dlfcn.h: Likewise.
8929 * include/langinfo.h: Likewise.
8930 * include/monetary.h: Likewise.
8931 * include/sys/poll.h: Likewise.
8932
8933 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8934 for __USE_GNU.
8935 * posix/spawn.h: Define __need_sigset_t.
8936 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8937 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8938 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8939 to get sigevent_t only.
8940 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8941 only for __USE_GNU.
8942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8943 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8944 process_vm_writev only for __USE_GNU.
8945 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8946
8947 * conform/Makefile: For now ignore errors from run-conformtest.
8948 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8949 POSIX to avoid namespace pollution. Don't prepend headers.
8950 * conform/data/aio.h-data: Fixes for POSIX testing.
8951 * conform/data/fcntl.h-data: Likewise.
8952 * conform/data/glob.h-data: Likewise.
8953 * conform/data/grp.h-data: Likewise.
8954 * conform/data/pthread.h-data: Likewise.
8955 * conform/data/pwd.h-data: Likewise.
8956 * conform/data/signal.h-data: Likewise.
8957 * conform/data/spawn.h-data: Likewise.
8958 * conform/data/stdio.h-data: Likewise.
8959 * conform/data/stdlib.h-data: Likewise.
8960 * conform/data/stropts.h-data: Likewise.
8961 * conform/data/sys/mman.h-data: Likewise.
8962 * conform/data/sys/stat.h-data: Likewise.
8963 * conform/data/sys/types.h-data: Likewise.
8964 * conform/data/sys/wait.h-data: Likewise.
8965 * conform/data/time.h-data: Likewise.
8966 * conform/data/unistd.h-data: Likewise.
8967 * conform/data/utime.h-data: Likewise.
8968
8969 * io/sys/stat.h: fchmod was always in POSIX.
8970 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8971 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8972 * rt/aio.h: Define __need_timespec before including <time.h>.
8973 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8974 struct. Add forward declaration of pthread_attr_t and use it in
8975 sigevent.
8976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8978 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8979 always remove CLK_TCK definition.
8980
c20105c3
AS
89812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8982
8983 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8984
7a270350
UD
89852012-02-25 Ulrich Drepper <drepper@gmail.com>
8986
31341567
UD
8987 * conform/run-conformtest.sh: New file.
8988 * conform/Makefile: Run run-conformtest for tests.
8989 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8990 support.
8991
8992 * conform/data/uchar.h-data: New file.
8993 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8994 * conform/data/arpa/inet.h-data: Likewise.
8995 * conform/data/assert.h-data: Likewise.
8996 * conform/data/complex.h-data: Likewise.
8997 * conform/data/cpio.h-data: Likewise.
8998 * conform/data/ctype.h-data: Likewise.
8999 * conform/data/dirent.h-data: Likewise.
9000 * conform/data/dlfcn.h-data: Likewise.
9001 * conform/data/errno.h-data: Likewise.
9002 * conform/data/fcntl.h-data: Likewise.
9003 * conform/data/float.h-data: Likewise.
9004 * conform/data/fmtmsg.h-data: Likewise.
9005 * conform/data/fnmatch.h-data: Likewise.
9006 * conform/data/ftw.h-data: Likewise.
9007 * conform/data/glob.h-data: Likewise.
9008 * conform/data/grp.h-data: Likewise.
9009 * conform/data/iconv.h-data: Likewise.
9010 * conform/data/inttypes.h-data: Likewise.
9011 * conform/data/langinfo.h-data: Likewise.
9012 * conform/data/libgen.h-data: Likewise.
9013 * conform/data/limits.h-data: Likewise.
9014 * conform/data/locale.h-data: Likewise.
9015 * conform/data/math.h-data: Likewise.
9016 * conform/data/monetary.h-data: Likewise.
9017 * conform/data/mqueue.h-data: Likewise.
9018 * conform/data/ndbm.h-data: Likewise.
9019 * conform/data/net/if.h-data: Likewise.
9020 * conform/data/netdb.h-data: Likewise.
9021 * conform/data/netinet/in.h-data: Likewise.
9022 * conform/data/nl_types.h-data: Likewise.
9023 * conform/data/poll.h-data: Likewise.
9024 * conform/data/pthread.h-data: Likewise.
9025 * conform/data/pwd.h-data: Likewise.
9026 * conform/data/regex.h-data: Likewise.
9027 * conform/data/sched.h-data: Likewise.
9028 * conform/data/search.h-data: Likewise.
9029 * conform/data/semaphore.h-data: Likewise.
9030 * conform/data/setjmp.h-data: Likewise.
9031 * conform/data/signal.h-data: Likewise.
9032 * conform/data/spawn.h-data: Likewise.
9033 * conform/data/stdarg.h-data: Likewise.
9034 * conform/data/stdio.h-data: Likewise.
9035 * conform/data/stdlib.h-data: Likewise.
9036 * conform/data/string.h-data: Likewise.
9037 * conform/data/strings.h-data: Likewise.
9038 * conform/data/stropts.h-data: Likewise.
9039 * conform/data/sys/ipc.h-data: Likewise.
9040 * conform/data/sys/mman.h-data: Likewise.
9041 * conform/data/sys/msg.h-data: Likewise.
9042 * conform/data/sys/resource.h-data: Likewise.
9043 * conform/data/sys/select.h-data: Likewise.
9044 * conform/data/sys/sem.h-data: Likewise.
9045 * conform/data/sys/shm.h-data: Likewise.
9046 * conform/data/sys/socket.h-data: Likewise.
9047 * conform/data/sys/stat.h-data: Likewise.
9048 * conform/data/sys/statvfs.h-data: Likewise.
9049 * conform/data/sys/time.h-data: Likewise.
9050 * conform/data/sys/timeb.h-data: Likewise.
9051 * conform/data/sys/times.h-data: Likewise.
9052 * conform/data/sys/types.h-data: Likewise.
9053 * conform/data/sys/uio.h-data: Likewise.
9054 * conform/data/sys/un.h-data: Likewise.
9055 * conform/data/sys/utsname.h-data: Likewise.
9056 * conform/data/sys/wait.h-data: Likewise.
9057 * conform/data/syslog.h-data: Likewise.
9058 * conform/data/tar.h-data: Likewise.
9059 * conform/data/termios.h-data: Likewise.
9060 * conform/data/utime.h-data: Likewise.
9061 * conform/data/utmpx.h-data: Likewise.
9062 * conform/data/varargs.h-data: Likewise.
9063 * conform/data/wchar.h-data: Likewise.
9064 * conform/data/wctype.h-data: Likewise.
9065 * conform/data/wordexp.h-data: Likewise.
9066
9067 * include/stropts.h: New file.
9068 * include/uchar.h: New file.
9069 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9070 * include/assert.h: Likewise.
9071 * include/ctype.h: Likewise.
9072 * include/dirent.h: Likewise.
9073 * include/dlfcn.h: Likewise.
9074 * include/fcntl.h: Likewise.
9075 * include/fnmatch.h: Likewise.
9076 * include/glob.h: Likewise.
9077 * include/grp.h: Likewise.
9078 * include/libio.h: Likewise.
9079 * include/locale.h: Likewise.
9080 * include/math.h: Likewise.
9081 * include/net/if.h: Likewise.
9082 * include/netdb.h: Likewise.
9083 * include/netinet/in.h: Likewise.
9084 * include/pthread.h: Likewise.
9085 * include/pwd.h: Likewise.
9086 * include/regex.h: Likewise.
9087 * include/sched.h: Likewise.
9088 * include/search.h: Likewise.
9089 * include/setjmp.h: Likewise.
9090 * include/signal.h: Likewise.
9091 * include/stdio.h: Likewise.
9092 * include/stdlib.h: Likewise.
9093 * include/string.h: Likewise.
9094 * include/sys/cdefs.h: Likewise.
9095 * include/sys/mman.h: Likewise.
9096 * include/sys/msg.h: Likewise.
9097 * include/sys/resource.h: Likewise.
9098 * include/sys/select.h: Likewise.
9099 * include/sys/socket.h: Likewise.
9100 * include/sys/stat.h: Likewise.
9101 * include/sys/statvfs.h: Likewise.
9102 * include/sys/time.h: Likewise.
9103 * include/sys/times.h: Likewise.
9104 * include/sys/uio.h: Likewise.
9105 * include/sys/utsname.h: Likewise.
9106 * include/sys/wait.h: Likewise.
9107 * include/termios.h: Likewise.
9108 * include/time.h: Likewise.
9109 * include/ulimit.h: Likewise.
9110 * include/unistd.h: Likewise.
9111 * include/utime.h: Likewise.
9112 * include/wchar.h: Likewise.
9113 * include/wctype.h: Likewise.
9114 * include/wordexp.h: Likewise.
9115
9116 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9117
7a270350
UD
9118 * time/time.h: TIME_UTC must be a macro.
9119 Make timespec_get available for ISO C11 only as well.
9120
7724defc
UD
91212012-02-24 Ulrich Drepper <drepper@gmail.com>
9122
9123 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9124 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9125
6b1d1d46
JM
91262012-02-24 Joseph Myers <joseph@codesourcery.com>
9127
9128 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9129
0f8bbd69
JM
91302012-02-24 Joseph Myers <joseph@codesourcery.com>
9131
9132 * manual/texinfo.tex: Update to version 2012-01-19.16.
9133
66ab80bc
JM
91342012-02-24 Joseph Myers <joseph@codesourcery.com>
9135
9136 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9137
74981cc5
RM
91382012-02-24 Roland McGrath <roland@hack.frob.com>
9139
ee968201
RM
9140 [BZ #13738]
9141 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9142 * manual/fdl-1.3.texi: New file.
9143 * manual/fdl-1.1.texi: File removed.
9144
74981cc5
RM
9145 [BZ #13738]
9146 * manual/libc.texinfo (FDL_VERSION): New @set.
9147 Use it for mention of FDL in cover text.
9148 (Documentation License): Use it in @include file name.
9149
7bb764bc
JM
91502012-02-22 Joseph Myers <joseph@codesourcery.com>
9151 Roland McGrath <roland@hack.frob.com>
9152
9153 [BZ #5461]
9154 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9155 not LONG_LONG_MAX and LONG_LONG_MIN.
9156 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9157 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9158 name.
9159 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9160
6cbeae47
JM
91612012-02-22 Joseph Myers <joseph@codesourcery.com>
9162
9163 [BZ #2547]
9164 [BZ #11365]
9165 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9166 manipulate bits before adding and subtracting TWO23[sx].
9167 * math/libm-test.inc (nearbyint_test): Add more tests.
9168
fe45ce09
JM
91692012-02-22 Joseph Myers <joseph@codesourcery.com>
9170
9171 [BZ #2548]
9172 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9173 bits before adding and subtracting TWO23[sx].
9174 * math/libm-test.inc (rint_test): Add more tests.
9175 (rint_test_tonearest): Likewise.
9176 (rint_test_towardzero): Likewise.
9177 (rint_test_downward): Likewise.
9178 (rint_test_upward: Likewise.
9179
ff3b3d82
JM
91802012-02-22 Joseph Myers <joseph@codesourcery.com>
9181
9182 [BZ #10110]
9183 * include/stdc-predef.h: New file. Extracted from features.h.
9184 * include/features.h: Include stdc-predef.h.
9185 * Makefile (headers): Add stdc-predef.h.
9186 * CONFORMANCE (Compiler limitations): Update.
9187
ef0aab35
JM
91882012-02-22 Joseph Myers <joseph@codesourcery.com>
9189
9190 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9191
58639409
DM
91922012-02-21 David S. Miller <davem@davemloft.net>
9193
9194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9195 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9196
c0e70b25
DM
91972012-02-20 David S. Miller <davem@davemloft.net>
9198
9199 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9200 using a normal save/restore sequence, rather than allocating a
9201 dummy stack frame just to store a frame pointer and restore.
9202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9203
fb06851d
JM
92042012-02-21 Joseph Myers <joseph@codesourcery.com>
9205
9206 * manual/install.texi: Fix stray word in line-wrapped comment.
9207
7a8b71c3
DM
92082012-02-20 David S. Miller <davem@davemloft.net>
9209
d510c123
DM
9210 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9211 both binutils and gcc support GOTDATA.
9212
0722d7c2
DM
9213 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9214 "rd %pc" in the PIC register setup sequences.
9215
3d2b3019
DM
9216 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9217 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9219 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9220 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9223 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9225 (SYSCALL_ERROR_HANDLER): Likewise.
9226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9227 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9229 (SYSCALL_ERROR_HANDLER): Likewise.
9230
c80098a9
DM
9231 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9232 (HAVE_GCC_GOTDATA): New.
9233 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9234 relocation support in both binutils and gcc.
9235 * sysdeps/sparc/elf/configure: Regenerate.
9236
3a2545a0
DM
9237 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9238 * sysdeps/sparc/sparc32/elf/configure: Delete.
9239 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9240 * sysdeps/sparc/sparc64/elf/configure: Delete.
9241 * sysdeps/sparc/elf/configure.in: New file.
9242 * sysdeps/sparc/elf/configure: Generate.
9243
7a8b71c3
DM
9244 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9245 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9246 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9247 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9248 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9249
f1e86fca
JM
92502012-02-21 Joseph Myers <joseph@codesourcery.com>
9251
9252 * manual/install.texi: Do not mention specific glibc version
9253 numbers.
9254 * manual/libc.texinfo (VERSION, UPDATED): Update.
9255 (@copying): Use @copyright{} and range of years.
9256
0e7dfaef
JM
92572012-02-21 Joseph Myers <joseph@codesourcery.com>
9258
9259 [BZ #13695]
9260 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9261 [crti.S not in sysdirs] (generated): Do not append.
9262 [crti.S not in sysdirs] (omit-deps): Likewise.
9263 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9264 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9265 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9266 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9267 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9268 Likewise.
9269 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9270 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9271 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9272 * csu/defs.awk: Remove file.
9273 * sysdeps/generic/initfini.c: Likewise.
9274 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9275 variable.
9276 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9277 Likewise.
9278
599af3ca
JM
92792012-02-20 Joseph Myers <joseph@codesourcery.com>
9280
9281 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9282 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9283 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9286 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9287 <bits/epoll.h>.
9288 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9289 (__EPOLL_PACKED): Define to empty if not defined by
9290 <bits/epoll.h>.
9291 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9293 bits/epoll.h.
9294
0e499750
JM
92952012-02-20 Joseph Myers <joseph@codesourcery.com>
9296
9297 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9298 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9300 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9301 <bits/timerfd.h>.
9302 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9304 bits/timerfd.h.
9305
5ad91f6e
JM
93062012-02-20 Joseph Myers <joseph@codesourcery.com>
9307
9308 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9309 in C locale.
9310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9314
06b99b02
AJ
93152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9316
9317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9318 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9319
7638c0fd
AS
93202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9321
9322 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9323 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9324 defined.
9325 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9326 Likewise.
9327 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9328 entry for 2.16.
9329
92221550
AJ
93302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9331
9332 * math/w_acos.c: Use non-signaling floating-point comparisons.
9333 * math/w_acosf.c: Likewise.
9334 * math/w_acosh.c: Likewise.
9335 * math/w_acoshf.c: Likewise.
9336 * math/w_acoshl.c: Likewise.
9337 * math/w_acosl.c: Likewise.
9338 * math/w_asin.c: Likewise.
9339 * math/w_asinf.c: Likewise.
9340 * math/w_asinl.c: Likewise.
9341 * math/w_atanh.c: Likewise.
9342 * math/w_atanhf.c: Likewise.
9343 * math/w_atanhl.c: Likewise.
9344 * math/w_exp2.c: Likewise.
9345 * math/w_exp2f.c: Likewise.
9346 * math/w_exp2l.c: Likewise.
9347 * math/w_j0.c: Likewise.
9348 * math/w_j0f.c: Likewise.
9349 * math/w_j0l.c: Likewise.
9350 * math/w_j1.c: Likewise.
9351 * math/w_j1f.c: Likewise.
9352 * math/w_j1l.c: Likewise.
9353 * math/w_jn.c: Likewise.
9354 * math/w_jnf.c: Likewise.
9355 * math/w_log.c: Likewise.
9356 * math/w_log10.c: Likewise.
9357 * math/w_log10f.c: Likewise.
9358 * math/w_log10l.c: Likewise.
9359 * math/w_log2.c: Likewise.
9360 * math/w_log2f.c: Likewise.
9361 * math/w_log2l.c: Likewise.
9362 * math/w_logf.c: Likewise.
9363 * math/w_logl.c: Likewise.
9364 * math/w_sqrt.c: Likewise.
9365 * math/w_sqrtf.c: Likewise.
9366 * math/w_sqrtl.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9370 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9371 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9372
ebaf36eb
JM
93732012-02-19 Joseph Myers <joseph@codesourcery.com>
9374
9375 [BZ #9739]
9376 * manual/string.texi (strnlen): Use correct parameter name in
9377 equivalent expression.
9378
71c254a6
JM
93792012-02-19 Joseph Myers <joseph@codesourcery.com>
9380
9381 [BZ #11174]
9382 * manual/users.texi (seteuid): Consistently use neweuid for
9383 argument name.
9384
16d2c631
JM
93852012-02-19 Joseph Myers <joseph@codesourcery.com>
9386
9387 [BZ #13704]
9388 * manual/nss.texi (Services in the NSS configuration): Correct
9389 list of services in example configuration file.
9390
cd837b09
NB
93912012-02-19 Nick Bowler <nbowler@draconx.ca>
9392
9393 [BZ #11322]
9394 * manual/arith.texi: Remove statements about negative zero
9395 behaving identically to zero.
9396
02c4bbad
JM
93972012-02-18 Joseph Myers <joseph@codesourcery.com>
9398
9399 [BZ #5993]
9400 * manual/install.texi: Do not document upgrading from libc5.
9401
366842e7
JM
94022012-02-18 Joseph Myers <joseph@codesourcery.com>
9403
9404 [BZ #4596]
9405 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9406
dd54084d
DM
94072012-02-18 David S. Miller <davem@davemloft.net>
9408
9409 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9410 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9411 %o7 across the call.
9412 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9413 instead.
9414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9415 SETUP_PIC_REG_LEAF.
9416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9417 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9418 * sysdeps/sparc/crtn.S: Likewise.
9419
2bcc53a3
UD
94202012-02-17 Ulrich Drepper <drepper@gmail.com>
9421
9422 * aout/Makefile: Remove.
9423
09c093b5
RK
94242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9425
9426 [BZ #13058]
9427 * manual/examples/argp-ex1.c (main): Format definition in GNU
9428 style.
9429 * manual/examples/argp-ex2.c (main): Likewise.
9430 * manual/examples/argp-ex3.c (main): Likewise.
9431 * manual/examples/argp-ex4.c (main): Likewise.
9432 * manual/examples/longopt.c (main): Use new-style prototype
9433 definition.
9434 * manual/examples/strncat.c (main): Specify return type and use
9435 (void) for arguments.
9436 * manual/examples/subopt.c (main): Use char **argv argument.
9437
2ee633a2
JM
94382012-02-17 Joseph Myers <joseph@codesourcery.com>
9439
9440 [BZ #5077]
9441 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9442 rounding modes.
9443
0520adde
FB
94442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9445
9446 [BZ #6907]
9447 * manual/string.texi (strchr): Change when strchrnul is
9448 recommended.
9449
3f4081cd
DGM
94502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9451
9452 [BZ #174]
9453 * manual/locale.texi (setlocale): Document LOCPATH.
9454
d1b10e78
JM
94552012-02-17 Joseph Myers <joseph@codesourcery.com>
9456
9457 [BZ #10210]
9458 * manual/process.texi (execle): Move @dots{} before last argument.
9459
79c6869c
PB
94602012-02-17 Paul Bolle <pebolle@tiscali.nl>
9461
9462 [BZ #12047]
9463 * manual/charset.texi (Generic Charset Conversion): Fix typo
9464 (LC_TYPE -> LC_CTYPE).
9465
cc6e48bc
NB
94662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9467
9468 [BZ #5805]
9469 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9470 (scalbnf): Likewise.
9471 (scalbnl): Likewise.
9472 (scalbln): Likewise.
9473 (scalblnf): Likewise.
9474 (scalblnl): Likewise.
9475 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9476 (vwarnx): Likewise.
9477 (verr): Likewise.
9478 (verrx): Likewise.
9479 * manual/filesys.texi (telldir): Use braces around return type.
9480 * manual/llio.texi (mmap): Add space after comma.
9481 (mmap64): Likewise.
9482 * manual/math.texi (jn): Use @var{} on parameter names.
9483 (jnf): Likewise.
9484 (jnl): Likewise.
9485 (yn): Likewise.
9486 (ynf): Likewise.
9487 (ynl): Likewise.
9488 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9489 line.
9490 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9491 "...".
9492 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9493 (sched_get_priority_max): Likewise.
9494 * manual/signal.texi (sigvec): Add space after comma.
9495 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9496 names.
9497 (if_indextoname): Likewise.
9498 (if_freenameindex): Likewise.
9499 (sendto): Use ',' instead of '.' in prototype.
9500 * manual/startup.texi (syscall): Use @dots{} instead of literal
9501 "...".
9502 * manual/stdio.texi (__fpending): Separate initial words of
9503 paragraph from @deftypefun line.
9504 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9505 "...".
9506 (vsyslog): Use @var{} on parameter names.
9507 * manual/terminal.texi (stty): Use @var{} on parameter names.
9508 * manual/users.texi (getutmp): Use @var{} on parameter names.
9509 (getutmpx): Likewise.
9510
5b23062f
JM
95112012-02-17 Joseph Myers <joseph@codesourcery.com>
9512
9513 [BZ #6884]
9514 * manual/stdio.texi (fopen): Fix typos in description of
9515 ",ccs=STRING".
9516
8dee4833
AJ
95172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9518
9519 [BZ #4026]
9520 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9521 get clock_id definition.
9522
9078ce93
TS
95232012-02-17 Thomas Schwinge <thomas@schwinge.name>
9524
9525 [BZ #4822]
9526 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9527 (madvise): Cast every argument to void on its own.
9528
3835c55f
JM
95292012-02-17 Joseph Myers <joseph@codesourcery.com>
9530
9531 [BZ #9902]
9532 * manual/startup.texi (Exit Status): Fix typo.
9533
35c47e37
JM
95342012-02-17 Joseph Myers <joseph@codesourcery.com>
9535
9536 [BZ #10140]
9537 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9538 * manual/examples/argp-ex2.c: Likewise.
9539 * manual/examples/argp-ex3.c: Likewise.
9540
e3b69ca7
RH
95412012-02-16 Richard Henderson <rth@redhat.com>
9542
9543 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9544 * sysdeps/s390/s390-32/initfini.c: Remove.
9545 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9546 * sysdeps/s390/s390-64/initfini.c: Remove.
9547
df83af67
KK
95482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9549
9550 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9551 compiler output for sysdeps/generic/initfini.c.
9552 * sysdeps/sh/elf/initfini.c: Remove file.
9553
f63f3380
DM
95542012-02-16 David S. Miller <davem@davemloft.net>
9555
fb59b3a4
DM
9556 [BZ #11494]
9557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9558
f63f3380
DM
9559 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9560 * sysdeps/sparc/crti.S: New file.
9561 * sysdeps/sparc/crtn.S: New file.
9562 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9563 * sysdeps/sparc/sparc64/Makefile: Likewise.
9564
df6a4a4a
MF
95652012-02-15 Mike Frysinger <vapier@gentoo.org>
9566
6dd8f3dc 9567 [BZ #3335]
df6a4a4a
MF
9568 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9569
1cac7236
RM
95702012-02-15 Roland McGrath <roland@hack.frob.com>
9571
d2c736f8
RM
9572 [BZ #4822]
9573 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9574
1cac7236
RM
9575 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9576 (write, read, close): Likewise.
9577 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9578
8e475601
JM
95792012-02-15 Joseph Myers <joseph@codesourcery.com>
9580
9581 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9582 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9583 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9584 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9585 <bits/signalfd.h>.
9586 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9588 bits/signalfd.h.
9589
ed656b40
MP
95902012-02-14 Marek Polacek <polacek@redhat.com>
9591
9592 * sysdeps/x86_64/crti.S: New file.
9593 * sysdeps/x86_64/crtn.S: New file.
9594 * sysdeps/x86_64/elf/initfini.c: Remove file.
9595
2a979d3a
JM
95962012-02-13 Joseph Myers <joseph@codesourcery.com>
9597
9598 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9599 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9600 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9601 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9602 <bits/inotify.h>.
9603 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9605 bits/inotify.h.
9606
2a418ac3
JM
96072012-02-13 Joseph Myers <joseph@codesourcery.com>
9608
9609 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9610 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9611 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9612 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9613 <bits/eventfd.h>.
9614 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9616 bits/eventfd.h.
9617
fb779be7
TS
96182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9619
e19e83c5
RM
9620 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9621 __feraiseexcept instead of feraiseexcept.
7c35ffed 9622
fb779be7
TS
9623 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9624 nanosleep invocations.
9625 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9626 strings, and add error checking for a nanosleep invocations.
9627
59ba27a6
PE
96282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9629
9630 Replace FSF snail mail address with URLs, as per GNU coding standards.
9631 Most of the snail mail addresses were wrong anyway, and omitting
9632 them makes the source code easier to maintain. Almost all of the
9633 changes are to license notices and to locale LC_IDENTIFICATION
9634 addresses, except for this one:
9635 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9636 not its snail mail address.
9637
57b957eb
RH
96382012-02-09 Richard Henderson <rth@twiddle.net>
9639
af850b1c
RH
9640 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9641 of kernel-features.h.
9642
57b957eb
RH
9643 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9644
6b73181a
MP
96452012-02-08 Marek Polacek <polacek@redhat.com>
9646
9647 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9648 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9649 * sysdeps/gnu/_G_config.h: Likewise.
9650 * sysdeps/generic/_G_config.h: Likewise.
9651
26ecc33a
AS
96522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9653
6c6dbc63
AS
9654 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9655 tests.
9656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9657
e216c012
AS
9658 * sysdeps/powerpc/powerpc32/crti.S: New file.
9659 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9660 * sysdeps/powerpc/powerpc64/crti.S: New file.
9661 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9662
26ecc33a
AS
9663 * Makeconfig (have-initfini): Don't set.
9664 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9665 * configure.in (nopic_initfini): Don't substitute.
9666 * config.h.in (HAVE_INITFINI): Don't #undef.
9667 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9668 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9669
3add8e13
JM
96702012-02-08 Joseph Myers <joseph@codesourcery.com>
9671
9672 Support crti.S and crtn.S provided directly by architectures.
9673 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9674 [crti.S in sysdirs] (omit-deps): Likewise.
9675 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9676 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9677 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9678 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9679 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9680 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9681 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9682 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9683 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9684 compiler output for sysdeps/generic/initfini.c.
9685 * sysdeps/i386/elf/Makefile: Remove file.
9686 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9687
a22f12b4
MP
96882012-02-07 Marek Polacek <polacek@redhat.com>
9689
9690 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9691 * sysdeps/gnu/_G_config.h: Likewise.
9692 * sysdeps/mach/hurd/_G_config.h: Likewise.
9693
148cf100
MP
96942012-02-07 Marek Polacek <polacek@redhat.com>
9695
9696 * math/Makefile (tests): Add tst-CMPLX2.
9697 * math/tst-CMPLX2.c: New file.
9698
cfdc0dd7
AS
96992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9700
84ba42c4
AS
9701 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9702
cfdc0dd7
AS
9703 * math/libm-test.inc (jn_test): Add missing L suffix.
9704
622c86f4
MP
97052012-02-06 Marek Polacek <polacek@redhat.com>
9706
9707 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9708 * sysdeps/i386/fpu/e_powf.S: Likewise.
9709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9710 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9711 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9712 * sysdeps/i386/fpu/e_pow.S: Likewise.
9713 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9714 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9715 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9716 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9717 * sysdeps/i386/fpu/e_log2.S: Likewise.
9718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9719 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9720 * sysdeps/i386/fpu/e_powl.S: Likewise.
9721 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9722 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9723 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9724 * sysdeps/i386/fpu/e_logl.S: Likewise.
9725 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9726 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9727 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9728 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9729 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9731 * sysdeps/i386/fpu/e_log.S: Likewise.
9732 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9734 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9735 * sysdeps/i386/fpu/e_logf.S: Likewise.
9736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9738 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9739 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9740 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9741 * sysdeps/i386/fpu/e_log10.S: Likewise.
9742 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9744 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9745 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9746 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9747 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9748 * sysdeps/i386/asm-syntax.h: Likewise.
9749 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9751 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9752 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9753 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9758 * sysdeps/powerpc/sysdep.h: Likewise.
9759 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9761
d4a54ac6
JM
97622012-02-06 Joseph Myers <joseph@codesourcery.com>
9763
9764 [BZ #411]
9765 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9766
314054ea
JM
97672012-02-06 Joseph Myers <joseph@codesourcery.com>
9768
9769 * sysdeps/i386/sysdep.h: Include <features.h>.
9770 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9771 version.
9772
d8e0ca50
JM
97732012-02-05 Joseph Myers <joseph@codesourcery.com>
9774
9775 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9776 Define.
9777 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9778 LOAD_PIC_REG_STR.
9779
b1da7dd9
JM
97802012-02-03 Joseph Myers <joseph@codesourcery.com>
9781
9782 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9783 (SETUP_PIC_REG): Use GET_PC_THUNK.
9784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9785 macro.
9786
9a1d9254
JM
97872012-02-03 Joseph Myers <joseph@codesourcery.com>
9788
9789 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9790 for non-PIC compilation.
9791 (SETUP_PIC_REG): Add .p2align directive.
9792 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9793 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9794 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9795 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9797 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9798 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9800 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9801 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9802 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9803 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9804 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9805 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9806 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9807 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9808 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9809 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9810 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9811 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9812 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9813 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9814 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9815 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9820 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9821 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9822 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9823 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9824 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9825 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9826 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9827 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9828 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9829 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9830 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9831 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9832 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9833
65dc3b75
JM
98342012-02-03 Joseph Myers <joseph@codesourcery.com>
9835
9836 * math/tst-CMPLX.c: Include <stdio.h>.
9837
d55bf177
JM
98382012-01-31 Joseph Myers <joseph@codesourcery.com>
9839
9840 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9841 float.
9842 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9843 * sysdeps/sparc/bits/mathdef.h: Likewise.
9844
69db4f8f
MP
98452012-01-31 Marek Polacek <polacek@redhat.com>
9846
9847 * libio/libio.h: Don't define _PARAMS.
9848 * locale/programs/config.h: Don't define PARAMS.
9849 * stdlib/strtol_l.c: Likewise.
9850 (__strtol_l): Remove PARAMS from the prototype.
9851
41b81892
UD
98522012-01-31 Ulrich Drepper <drepper@gmail.com>
9853
3b49edc0
UD
9854 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9855 names. Just use the correct names. Remove unnecessary wrapper
9856 functions.
9857 * malloc/arena.c: Likewise.
9858 * malloc/hooks.c: Likewise.
9859
41b81892
UD
9860 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9861 ARENA_TEST says not to. Simplify test for creation of a new arena.
9862 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9863
27a25b6e
UD
98642012-01-30 Ulrich Drepper <drepper@gmail.com>
9865
9866 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9867 into tail calls.
9868 (update_get_addr): New function.
9869 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9870 GET_ADDR_MODULE parameter.
9871
c8a89e7d
JM
98722012-01-30 Joseph Myers <joseph@codesourcery.com>
9873
9874 * crypt/cert.c: Remove __STDC__ conditionals.
9875 * crypt/crypt-entry.c: Likewise.
9876 * crypt/crypt_util.c: Likewise.
9877 * libio/filedoalloc.c: Likewise.
9878 * libio/fileops.c: Likewise.
9879 * libio/genops.c: Likewise.
9880 * libio/iofclose.c: Likewise.
9881 * libio/iofdopen.c: Likewise.
9882 * libio/iofopen.c: Likewise.
9883 * libio/iofopen64.c: Likewise.
9884 * libio/iogetdelim.c: Likewise.
9885 * libio/iopopen.c: Likewise.
9886 * libio/obprintf.c: Likewise.
9887 * libio/oldfileops.c: Likewise.
9888 * libio/oldiofclose.c: Likewise.
9889 * libio/oldiofdopen.c: Likewise.
9890 * libio/oldiofopen.c: Likewise.
9891 * libio/oldiopopen.c: Likewise.
9892 * libio/wfiledoalloc.c: Likewise.
9893 * libio/wgenops.c: Likewise.
9894 * locale/programs/xmalloc.c: Likewise.
9895 * misc/syslog.c: Likewise.
9896 * stdio-common/xbug.c: Likewise.
9897 * string/memchr.c: Likewise.
9898 * string/memcmp.c: Likewise.
9899 * string/memrchr.c: Likewise.
9900 * string/rawmemchr.c: Likewise.
9901 * sysdeps/posix/getcwd.c: Likewise.
9902 * time/strftime_l.c: Likewise.
9903
3b100462
JM
99042012-01-30 Joseph Myers <joseph@codesourcery.com>
9905
9906 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9907 * config.make.in (config-cflags-sse2avx): Define.
9908 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9909 Fix typo.
9910
607998af
CM
99112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9912
9913 * scripts/config.guess: Update from upstream config git repository.
9914 * scripts/config.sub: Likewise.
9915
3601428f
CM
99162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9917
3ac8b282
CM
9918 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9919 (EM_NUM): Update.
9920 (R_TILEPRO_*, R_TILEGX_*): New macros.
9921
e034841e
CM
9922 * scripts/firstversions.awk: Fix bug in version range handling.
9923
540d7568
CM
9924 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9925
3601428f
CM
9926 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9927
463de862
CM
9928 * include/sys/epoll.h: New file.
9929 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9930 libc_hidden_def.
9931
73139a76
UD
99322012-01-28 Ulrich Drepper <drepper@gmail.com>
9933
96bc5b45
UD
9934 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9935 Avoid unnecessary __WORDSIZE == 64 test.
9936 (fmaxf): Use VEX format if possible.
9937 (fmax): Likewise.
9938 (fminf): Likewise.
9939 (fmin): Likewise.
9940
56f6f6a2
UD
9941 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9942 * math/math_private.h: Remove libc_fegetround* and
9943 libc_fesetround*.
9944 * sysdeps/i386/configure.in: Check for -msse2avx.
9945 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9946 also if SSE2AVX is defined.
9947 Remove libc_fegetround* and libc_fesetround*.
9948 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9949 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9951 of HAS_YMM_USABLE.
9952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9957
73139a76
UD
9958 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9959
d73f93a4
AZ
99602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9961
9962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9963 size is not set.
9964 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9965
6ee65ed6
UD
99662012-01-27 Ulrich Drepper <drepper@gmail.com>
9967
9968 [BZ #13618]
9969 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9970 relocation.
9971 * Makeconfig (libm): Define.
9972 * elf/Makefile: Add rules to build and run tst-relsort1.
9973 * elf/tst-relsort1.c: New file.
9974 * elf/tst-relsort1mod1.c: New file.
9975 * elf/tst-relsort1mod2.c: New file.
9976
8db21882
JM
99772012-01-27 Joseph Myers <joseph@codesourcery.com>
9978
9979 * math/s_ldexp.c: Remove __STDC__ conditionals.
9980 * math/s_ldexpf.c: Likewise.
9981 * math/s_ldexpl.c: Likewise.
9982 * math/s_nextafter.c: Likewise.
9983 * math/s_nexttowardf.c: Likewise.
9984 * math/s_significand.c: Likewise.
9985 * math/s_significandf.c: Likewise.
9986 * math/s_significandl.c: Likewise.
9987 * math/w_jnl.c: Likewise.
9988 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9989 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9990 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9991 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9992 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9995 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10007 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10008 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10010 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10011 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10012 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10013 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10014 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10015 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10016 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10017 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10018 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10019 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10021 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10022 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10023 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10025 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10026 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10027 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10028 * sysdeps/ieee754/k_standard.c: Likewise.
10029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10032 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10033 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10037 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10038 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10039 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10041 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10042 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10043 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10048 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10049 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10050 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10051 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10052 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10053 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10054 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10061 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10064 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10065 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10069 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10078 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10090 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10093 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10095 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10096 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10097 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10098 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10099 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10101 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10102 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10103 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10104 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10108 * sysdeps/ieee754/s_matherr.c: Likewise.
10109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10113
965a54a4
JM
101142012-01-26 Joseph Myers <joseph@codesourcery.com>
10115
10116 * crypt/md5.h: Remove __STDC__ conditionals.
10117 * libio/libioP.h: Likewise.
10118 * locale/programs/config.h: Likewise.
10119 * sysdeps/generic/sysdep.h: Likewise.
10120 * sysdeps/i386/asm-syntax.h: Likewise.
10121 * sysdeps/s390/asm-syntax.h: Likewise.
10122 * sysdeps/unix/sysdep.h: Likewise.
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10125
7071ad79
JM
101262012-01-26 Joseph Myers <joseph@codesourcery.com>
10127
10128 * libio/libio.h: Remove __STDC__ conditionals.
10129 * malloc/obstack.h: Likewise.
10130 * math/complex.h: Likewise.
10131 * math/math.h: Likewise.
10132 * sysdeps/generic/_G_config.h: Likewise.
10133 * sysdeps/gnu/_G_config.h: Likewise.
10134 * sysdeps/mach/hurd/_G_config.h: Likewise.
10135 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10136 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10137 * sysdeps/sparc/bits/mathdef.h: Likewise.
10138
afc5ed09
UD
101392012-01-26 Ulrich Drepper <drepper@gmail.com>
10140
10141 [BZ #13583]
10142 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10143 Clean up HAS_* macros.
afc5ed09 10144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10145 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10146 possible.
10147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10148 HAS_AVX.
10149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10154
bdb6de1d
JM
101552012-01-25 Joseph Myers <joseph@codesourcery.com>
10156
10157 * elf/tst-unique3.cc (gets): Remove declaration.
10158 * elf/tst-unique3lib.cc (gets): Likewise.
10159 * elf/tst-unique3lib2.cc (gets): Likewise.
10160 * elf/tst-unique4.cc (gets): Likewise.
10161
b15549e6
UD
101622012-01-24 Ulrich Drepper <drepper@gmail.com>
10163
10164 * include/stdio.h: Add C++ protection. Add gets declarations and
10165 definitions.
10166 * debug/tst-chk1.c: Don't declare gets here.
10167 * stdio-common/tst-gets.c: Likewise.
10168
a037381f
JM
101692012-01-24 Joseph Myers <joseph@codesourcery.com>
10170
10171 * posix/glob: Remove directory.
10172
f1d4aa75
JM
101732012-01-24 Joseph Myers <joseph@codesourcery.com>
10174
10175 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10176
81c0c964
PT
101772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10178
10179 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10180 of the non-standard EPFNOSUPPORT.
10181
0ea698ae
ST
101822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10183
10184 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10185 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10186 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10187
d220b117
UD
101882012-01-21 Ulrich Drepper <drepper@gmail.com>
10189
10190 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10191
3e1aa84e
UD
101922012-01-20 Ulrich Drepper <drepper@gmail.com>
10193
10194 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10195 transient errors.
10196 * nscd/grpcache.c (cache_addgr): Likewise.
10197 * nscd/hstcache.c (cache_addhst): Likewise.
10198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10199 * nscd/pwdcache.c (cache_addpw): Likewise.
10200 * nscd/servicescache.c (cache_addserv): Likewise.
10201
400aa020
UD
102022012-01-16 Ulrich Drepper <drepper@gmail.com>
10203
d77e7869
UD
10204 * malloc/malloc.c: Various cleanups.
10205 * malloc/hooks.c: Likewise.
10206
400aa020
UD
10207 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10208 * stdlib/bug-fmtmsg1.c: New file.
10209
10210 * stdlib/fmtmsg.c (init): Add missing unlock.
10211 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10212
e0a309cf
MP
102132012-01-12 Marek Polacek <polacek@redhat.com>
10214
10215 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10216 and _GNU_SOURCE.
10217
929d11c7
WS
102182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10219
10220 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10221 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10222 macro to ensure uniqueness of label name.
10223 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10224 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10225
41d0e869
UD
102262012-01-11 Ulrich Drepper <drepper@gmail.com>
10227
0cc5ed3b
UD
10228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10229
41d0e869
UD
10230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10231 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10234
a47a831a
UD
102352012-01-10 Ulrich Drepper <drepper@gmail.com>
10236
daa891c0
UD
10237 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10238
10239 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10240 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10242
e58ef0f2
UD
10243 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10244
a47a831a 10245 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10246 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10249
10250 * math/bits/math-finite.h: Add ldexp support.
10251
a0bfc9c7
MP
102522012-01-10 Marek Polacek <polacek@redhat.com>
10253
10254 * locale/programs/localedef.h (show_archive_content): Add noreturn
10255 attribute.
10256
d6e97a1d
UD
102572012-01-09 Ulrich Drepper <drepper@gmail.com>
10258
10259 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10260
d5835c26
UD
102612012-01-08 Ulrich Drepper <drepper@gmail.com>
10262
e5f484c6
UD
10263 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10264
d5835c26
UD
10265 * io/Makefile (headers): Add bits/poll2.h.
10266
d1f741e9
WS
102672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10268
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10270 typo #include statement.
10271
ec09c1c4
UD
102722012-01-08 Ulrich Drepper <drepper@gmail.com>
10273
10274 * include/sys/cdefs.h: Define __attribute_alloc_size.
10275 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10276 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10277 * elf/pldd.c: Likewise.
10278 * iconv/iconv_charmap.c: Likewise.
10279 * iconv/iconvconfig.c: Likewise.
10280 * iconv/strtab.c: Likewise.
10281 * locale/programs/locale.c: Likewise.
10282 * locale/programs/localedef.h: Likewise.
10283 * locale/programs/simple-hash.c: Likewise.
10284 * nscd/nscd.h: Likewise.
10285 * nss/makedb.c: Likewise.
10286 * sysdeps/generic/ldconfig.h: Likewise.
10287 * locale/programs/localedef.c: Remove xmalloc prototype.
10288 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10289
20b38e03
PP
102902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10291
10292 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10293 appropriate.
10294
a0da5fe1
UD
102952012-01-08 Ulrich Drepper <drepper@gmail.com>
10296
1d5a644a 10297 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10298 * math/tst-CMPLX.c: New file.
1d5a644a 10299
8784a6db
UD
10300 * math/complex.h (CMPLXL): Fix typo.
10301
d9a216c0
UD
10302 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10303 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10304 GLIBC_2.16.
10305 * debug/tst-chk1.c: Add poll and ppoll tests.
10306 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10307 * include/sys/poll.h: Add hidden proto for ppoll.
10308 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10309 * sysdeps/mach/hurd/ppoll.c: Likewise.
10310 * io/ppoll.c: Likewise.
10311 * debug/poll_chk.c: New file.
10312 * debug/ppoll_chk.c: New file.
10313 * include/bits/poll2.h: New file.
10314 * io/bits/poll2.h: New file.
10315
ac097f5c
UD
10316 [BZ #1350]
10317 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10318
2119dcfa
UD
10319 * configure.in: static is always set to yes. Remove.
10320 * config.make.in: Don't set build-static.
10321 * Makeconfig: Remove use of build-static.
10322 * dlfcn/Makefile: Likewise.
10323 * elf/Makefile: Likewise.
10324 * math/Makefile: Likewise.
10325 * misc/Makefile: Likewise.
10326 * nptl/Makefile: Likewise.
10327 * sysdeps/mach/hurd/Makefile: Likewise.
10328
121766a9
UD
10329 * configure.in: PWD_P is not used anymore.
10330 * config.make.in: Remove PWD_P entry.
10331
51a1d39c 10332 * configure.in: Remove last remnants of RANLIB.
8720d066 10333 No need to check for signed size_t anymore.
215f4bdc
UD
10334 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10335 and IA-64.
3857022a 10336 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10337 * aclocal.m4: Likewise.
10338
d3ed7225
UD
10339 * wcsmbs/mbrtoc16.c: Implement using towc function.
10340 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10341 * wcsmbs/wcsmbsload.c: Likewise.
10342 * iconv/gconv_simple.c: Likewise.
10343 * iconv/gconv_int.h: Likewise.
10344 * iconv/gconv_builtin.h: Likewise.
10345 * iconv/iconv_prog.c: Remove CHAR16 handling.
10346
10347 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10348
10349 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10350
a0da5fe1
UD
10351 * configure.in: Remove --with-elf and --enable-bounded options.
10352 Dont set base_machine for ia64. More non-ELF conditions removed.
10353 Remove testing and setting of leading underscore information.
10354 * config.make.in (build-bounded): Set to no.
10355 * config.h.in: Remove NO_UNDERSCORES entry.
10356 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10357 them.
10358 * csu/start.c: Remove !NO_UNDERSCORE code.
10359 * locale/localeinfo.h: Likewise.
10360 * sysdeps/generic/machine-gmon.h: Likewise.
10361 * sysdeps/generic/sysdep.h: Likewise.
10362 * sysdeps/i386/sysdep.h: Likewise.
10363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10364 * sysdeps/mach/sysdep.h: Likewise.
10365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10367 * sysdeps/sh/sysdep.h: Likewise.
10368 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10369 * sysdeps/unix/i386/sysdep.S: Likewise.
10370 * sysdeps/unix/sparc/start.c: Likewise.
10371 * sysdeps/unix/sparc/sysdep.S: Likewise.
10372 * sysdeps/unix/sparc/sysdep.h: Likewise.
10373 * sysdeps/unix/start.c: Likewise.
10374 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10375 * sysdeps/x86_64/sysdep.h: Likewise.
10376
df78418a
UD
103772012-01-07 Ulrich Drepper <drepper@gmail.com>
10378
a784e502
UD
10379 [BZ #13553]
10380 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10381 for non-gcc.
10382 * argp/argp-fmtstream.h: Use const instead __const.
10383 * argp/argp.h: Likewise.
10384 * assert/assert.h: Likewise.
10385 * bits/fenv.h: Likewise.
10386 * bits/sched.h: Likewise.
10387 * bits/sigset.h: Likewise.
10388 * bits/sigthread.h: Likewise.
10389 * catgets/nl_types.h: Likewise.
10390 * conform/data/pthread.h-data: Likewise.
10391 * crypt/crypt-private.h: Likewise.
10392 * crypt/crypt.h: Likewise.
10393 * crypt/crypt_util.c: Likewise.
10394 * ctype/ctype.h: Likewise.
10395 * debug/execinfo.h: Likewise.
10396 * debug/mbsnrtowcs_chk.c: Likewise.
10397 * debug/mbsrtowcs_chk.c: Likewise.
10398 * debug/wcsnrtombs_chk.c: Likewise.
10399 * debug/wcsrtombs_chk.c: Likewise.
10400 * debug/wcstombs_chk.c: Likewise.
10401 * dirent/dirent.h: Likewise.
10402 * dlfcn/dlfcn.h: Likewise.
10403 * elf/neededtest4.c: Likewise.
10404 * grp/grp.h: Likewise.
10405 * gshadow/gshadow.h: Likewise.
10406 * iconv/gconv.h: Likewise.
10407 * iconv/gconv_int.h: Likewise.
10408 * iconv/gconv_simple.c: Likewise.
10409 * iconv/iconv.h: Likewise.
10410 * iconv/loop.c: Likewise.
10411 * iconv/skeleton.c: Likewise.
10412 * include/aio.h: Likewise.
10413 * include/aliases.h: Likewise.
10414 * include/argz.h: Likewise.
10415 * include/arpa/inet.h: Likewise.
10416 * include/assert.h: Likewise.
10417 * include/dirent.h: Likewise.
10418 * include/dlfcn.h: Likewise.
10419 * include/execinfo.h: Likewise.
10420 * include/fcntl.h: Likewise.
10421 * include/fenv.h: Likewise.
10422 * include/glob.h: Likewise.
10423 * include/grp.h: Likewise.
10424 * include/libintl.h: Likewise.
10425 * include/mntent.h: Likewise.
10426 * include/netdb.h: Likewise.
10427 * include/pwd.h: Likewise.
10428 * include/rpc/netdb.h: Likewise.
10429 * include/sched.h: Likewise.
10430 * include/search.h: Likewise.
10431 * include/shadow.h: Likewise.
10432 * include/signal.h: Likewise.
10433 * include/stdio.h: Likewise.
10434 * include/stdlib.h: Likewise.
10435 * include/string.h: Likewise.
10436 * include/sys/socket.h: Likewise.
10437 * include/sys/stat.h: Likewise.
10438 * include/sys/statfs.h: Likewise.
10439 * include/sys/statvfs.h: Likewise.
10440 * include/sys/syslog.h: Likewise.
10441 * include/sys/time.h: Likewise.
10442 * include/sys/uio.h: Likewise.
10443 * include/time.h: Likewise.
10444 * include/unistd.h: Likewise.
10445 * include/utmp.h: Likewise.
10446 * include/wchar.h: Likewise.
10447 * include/wctype.h: Likewise.
10448 * inet/aliases.h: Likewise.
10449 * inet/arpa/inet.h: Likewise.
10450 * inet/netinet/ether.h: Likewise.
10451 * inet/netinet/in.h: Likewise.
10452 * intl/libintl.h: Likewise.
10453 * io/bits/fcntl2.h: Likewise.
10454 * io/fcntl.h: Likewise.
10455 * io/ftw.h: Likewise.
10456 * io/sys/poll.h: Likewise.
10457 * io/sys/stat.h: Likewise.
10458 * io/sys/statfs.h: Likewise.
10459 * io/sys/statvfs.h: Likewise.
10460 * io/utime.h: Likewise.
10461 * libio/bits/stdio.h: Likewise.
10462 * libio/bits/stdio2.h: Likewise.
10463 * libio/libio.h: Likewise.
10464 * libio/libioP.h: Likewise.
10465 * libio/stdio.h: Likewise.
10466 * locale/lc-ctype.c: Likewise.
10467 * locale/locale.h: Likewise.
10468 * login/utmp.h: Likewise.
10469 * malloc/arena.c: Likewise.
10470 * malloc/malloc.c: Likewise.
10471 * malloc/malloc.h: Likewise.
10472 * malloc/mcheck.c: Likewise.
10473 * malloc/mtrace.c: Likewise.
10474 * math/bits/mathcalls.h: Likewise.
10475 * math/fenv.h: Likewise.
10476 * math/math_private.h: Likewise.
10477 * misc/bits/error.h: Likewise.
10478 * misc/bits/syslog.h: Likewise.
10479 * misc/err.h: Likewise.
10480 * misc/error.h: Likewise.
10481 * misc/fstab.h: Likewise.
10482 * misc/mntent.h: Likewise.
10483 * misc/regexp.h: Likewise.
10484 * misc/search.h: Likewise.
10485 * misc/sgtty.h: Likewise.
10486 * misc/sys/mman.h: Likewise.
10487 * misc/sys/syslog.h: Likewise.
10488 * misc/sys/uio.h: Likewise.
10489 * misc/sys/xattr.h: Likewise.
10490 * misc/ttyent.h: Likewise.
10491 * nis/rpcsvc/ypclnt.h: Likewise.
10492 * nss/nss.h: Likewise.
10493 * posix/bits/unistd.h: Likewise.
10494 * posix/fnmatch.h: Likewise.
10495 * posix/glob.h: Likewise.
10496 * posix/sched.h: Likewise.
10497 * posix/spawn.h: Likewise.
10498 * posix/sys/wait.h: Likewise.
10499 * posix/unistd.h: Likewise.
10500 * posix/wordexp.h: Likewise.
10501 * pwd/pwd.h: Likewise.
10502 * resolv/netdb.h: Likewise.
10503 * resource/sys/resource.h: Likewise.
10504 * rt/aio.h: Likewise.
10505 * rt/bits/mqueue2.h: Likewise.
10506 * rt/mqueue.h: Likewise.
10507 * shadow/shadow.h: Likewise.
10508 * signal/signal.h: Likewise.
10509 * socket/send.c: Likewise.
10510 * socket/sendto.c: Likewise.
10511 * socket/sys/socket.h: Likewise.
10512 * stdio-common/printf.h: Likewise.
10513 * stdlib/bits/stdlib.h: Likewise.
10514 * stdlib/fmtmsg.h: Likewise.
10515 * stdlib/monetary.h: Likewise.
10516 * stdlib/stdlib.h: Likewise.
10517 * stdlib/ucontext.h: Likewise.
10518 * streams/stropts.h: Likewise.
10519 * string/argz.h: Likewise.
10520 * string/bits/string2.h: Likewise.
10521 * string/string.h: Likewise.
10522 * string/strings.h: Likewise.
10523 * sunrpc/rpc/auth.h: Likewise.
10524 * sunrpc/rpc/auth_des.h: Likewise.
10525 * sunrpc/rpc/clnt.h: Likewise.
10526 * sunrpc/rpc/netdb.h: Likewise.
10527 * sunrpc/rpc/pmap_clnt.h: Likewise.
10528 * sunrpc/rpc/xdr.h: Likewise.
10529 * sysdeps/generic/inttypes.h: Likewise.
10530 * sysdeps/generic/net/if.h: Likewise.
10531 * sysdeps/generic/sys/swap.h: Likewise.
10532 * sysdeps/gnu/net/if.h: Likewise.
10533 * sysdeps/gnu/utmpx.h: Likewise.
10534 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10535 * sysdeps/i386/i486/bits/string.h: Likewise.
10536 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10537 * sysdeps/s390/bits/string.h: Likewise.
10538 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10539 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10540 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10541 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10542 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10543 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10544 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10545 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10546 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10547 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10548 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10549 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10550 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10551 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10552 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10553 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10554 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10559 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10560 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10561 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10562 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10563 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10564 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10565 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10566 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10567 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10568 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10569 * sysvipc/sys/ipc.h: Likewise.
10570 * sysvipc/sys/msg.h: Likewise.
10571 * sysvipc/sys/sem.h: Likewise.
10572 * sysvipc/sys/shm.h: Likewise.
10573 * termios/termios.h: Likewise.
10574 * time/sys/time.h: Likewise.
10575 * time/time.h: Likewise.
10576 * wcsmbs/bits/wchar2.h: Likewise.
10577 * wcsmbs/uchar.h: Likewise.
10578 * wcsmbs/wchar.h: Likewise.
10579 * wctype/wctype.h: Likewise.
10580
0269750c
UD
10581 [BZ #13551]
10582 * Makeconfig: Remove all but ELF support including AIX support.
10583 * Makerules: Likewise.
10584 * config.h.in: Likewise.
10585 * config.make.in: Likewise.
10586 * configure: Likewise.
10587 * configure.in: Likewise.
10588 * csu/Makefile: Likewise.
10589 * csu/version.c: Likewise.
10590 * debug/Makefile: Likewise.
10591 * dlfcn/Makefile: Likewise.
10592 * elf/Makefile: Likewise.
10593 * extra-lib.mk: Likewise.
10594 * iconv/Makefile: Likewise.
10595 * include/libc-symbols.h: Likewise.
10596 * include/shlib-compat.h: Likewise.
10597 * resolv/Makefile: Likewise.
10598 * resolv/res_libc.c: Likewise.
10599 * rt/Makefile: Likewise.
10600 * sysdeps/i386/asm-syntax.h: Likewise.
10601 * sysdeps/i386/sysdep.h: Likewise.
10602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10603 * sysdeps/mach/sysdep.h: Likewise.
10604 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10605 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10606 * sysdeps/s390/asm-syntax.h: Likewise.
10607 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10609 * sysdeps/sh/sysdep.h: Likewise.
10610 * sysdeps/unix/sparc/sysdep.h: Likewise.
10611 * sysdeps/wordsize-32/divdi3.c: Likewise.
10612 * sysdeps/x86_64/sysdep.h: Likewise.
10613
00bbd29b
UD
10614 * argp/Versions: Remove _argp_unlock_xxx.
10615
10616 [BZ #13559]
10617 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10618 * abilist/libBrokenLocale.abilist: Likewise.
10619 * abilist/libanl.abilist: Likewise.
10620 * abilist/libc.abilist: Likewise.
10621 * abilist/libcrypt.abilist: Likewise.
10622 * abilist/libdl.abilist: Likewise.
10623 * abilist/libm.abilist: Likewise.
10624 * abilist/libnsl.abilist: Likewise.
10625 * abilist/libpthread.abilist: Likewise.
10626 * abilist/libresolv.abilist: Likewise.
10627 * abilist/librt.abilist: Likewise.
10628 * abilist/libthread_db.abilist: Likewise.
10629 * abilist/libutil.abilist: Likewise.
10630 * abilist/libnss_db.abilist: New file.
10631
10632 * scripts/abilist.awk: Add support for indirect functions.
10633
a2693a0e
UD
10634 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10635
3f05895f
UD
10636 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10637
ecb6fb48
UD
10638 * shlib-versions: Remove entries for ports architectures.
10639
664f8cb9
UD
10640 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10641 files in ports.
10642 * elf/stackguard-macros.h: Remove support for IA-64.
10643 * elf/tst-auditmod1.c: Likewise.
10644 * sysdeps/generic/ldsodefs.h: Likewise.
10645
7ae81d88
UD
10646 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10647 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10648 configure files.
10649
bdeba135
UD
10650 [BZ #13552]
10651 * configure.in: Remove --enable-omitfp support.
10652 * FAQ.in: Adjust.
10653 * config.make.in: Likewise.
10654 * Makeconfig: Likewise.
10655 * manual/install.texi: Likewise.
10656
d75a0a62
UD
10657 In case anyone cares, the IA-64 architecture could move to ports.
10658 * sysdeps/ia64/*: Removed.
10659 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10660 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10661
dcc9756b
UD
10662 [BZ #13555]
10663 * configure.in: Remove entries for unsupported architectures.
10664
d3761ebc 10665 [BZ #13533]
9954432e
UD
10666 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10667 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10668 routines.
10669 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10670 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10671 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10672 fall back to using wcrtomb.
10673 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10674 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10675 renaming.
10676 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10677 * wcsmbs/tst-c16c32-1.c: New file.
10678
10679 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10680 local variable.
10681
c3a87236
UD
10682 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10683
28926a1b
UD
10684 * elf/tst-unique3.cc: Add explicit declaration of gets.
10685 * elf/tst-unique3lib.cc: Likewise.
10686 * elf/tst-unique3lib2.cc: Likewise.
10687 * elf/tst-unique4.cc: Likewise.
10688
df78418a
UD
10689 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10690
8ecd6b2a
JM
106912012-01-06 Joseph Myers <joseph@codesourcery.com>
10692
10693 [BZ #13566]
10694 * assert/assert.h (static_assert): Don't define for C++.
10695 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10696 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10697
9f115170
UD
106982012-01-03 Ulrich Drepper <drepper@gmail.com>
10699
5e0d0300
UD
10700 * iconv/loop.c (single loop): Fix assertion in storing of
10701 remaining bytes.
10702
9f115170
UD
10703 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10704
81fb02b0
UD
107052012-01-01 Ulrich Drepper <drepper@gmail.com>
10706
10707 * posix/getconf.c: Update copyright year.
10708 * nss/getent.c: Likewise.
a316c1f6 10709 * nss/makedb.c: Likewise.
81fb02b0
UD
10710 * iconv/iconvconfig.c: Likewise.
10711 * iconv/iconv_prog.c: Likewise.
10712 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10713 * elf/pldd.c: Likewise.
10714 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10715 * catgets/gencat.c: Likewise.
10716 * csu/version.c: Likewise.
10717 * elf/ldd.bash.in: Likewise.
10718 * elf/sprof.c (print_version): Likewise.
10719 * locale/programs/locale.c: Likewise.
10720 * locale/programs/localedef.c: Likewise.
a316c1f6 10721 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10722 * nscd/nscd.c (print_version): Likewise.
10723 * debug/xtrace.sh: Likewise.
10724 * malloc/memusage.sh: Likewise.
10725 * malloc/mtrace.pl: Likewise.
10726 * debug/catchsegv.sh: Likewise.
10727
2ba92745
JJ
107282011-12-30 Jakub Jelinek <jakub@redhat.com>
10729
10730 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10731 pure attribute.
10732
dadebdae
UD
107332011-12-24 Ulrich Drepper <drepper@gmail.com>
10734
d3761ebc 10735 [BZ #13533]
db6af3eb
UD
10736 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10737 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10738 transformations.
10739 * iconv/gconv_int.h: Likewise.
10740 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10741 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10742 from libc for GLIBC_2.16.
10743 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10744 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10745 * wcsmbs/uchar.h: Really define mbstate_t.
10746 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10747 * wcsmbs/c16rtomb.c: New file.
10748 * wcsmbs/mbrtoc16.c: New file.
10749 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10750 for C/POSIX locale.
10751 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10752 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10753
dadebdae
UD
10754 * wcsmbs/wchar.h: Add missing __restrict.
10755
67371b56
UD
107562011-12-23 Ulrich Drepper <drepper@gmail.com>
10757
74033a25
UD
10758 [BZ #13532]
10759 * time/Makefile (routines): Add timespec_get.
10760 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10761 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10762 timespec for ISO C11.
10763 * time/timespec_get.c: New file.
10764 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10765 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10766
380d7e87
UD
10767 [BZ #13531]
10768 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10769 * stdlib/stdlib.h: Declare aligned_alloc.
10770 * Versions.def: Add GLIBC_2.16 for libc.
10771 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10772
4e9e7a35
UD
10773 [BZ 13527]
10774 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10775 ISO C11.
10776
380d7e87 10777 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10778 code.
10779
03a71829
UD
10780 [BZ #13528]
10781 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10782
839e283e
UD
10783 [BZ #13529]
10784 * assert/assert.h (static_assert): Define.
10785
ce5294e2 10786 * version.h: Update for 2.16 development version.
90fa7312 10787
8d44e150 10788 [BZ #13526]
d7809905
UD
10789 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10790 _ISOC11_SOURCE.
10791
c0da14cd
UD
10792 * version.h (RELEASE): Bump for 2.15 release.
10793 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10794
530a3249
MP
10795 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10796 Patch by Marek Polacek <mpolacek@redhat.com>.
10797
67371b56
UD
10798 * bits/byteswap.h: Protect long long constants with __extension__.
10799 * sysdeps/i386/bits/byteswap.h: Likewise.
10800 * sysdeps/ia64/bits/byteswap.h: Likewise.
10801 * sysdeps/s390/bits/byteswap.h: Likewise.
10802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10803
15db4de1
LD
108042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10805
10806 [BZ #13540]
bbe315ea
LD
10807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10808 destination buffer.
15db4de1
LD
10809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10810
2b2596b1
MP
108112011-12-23 Marek Polacek <polacek@redhat.com>
10812
10813 * elf/dl-addr.c (determine_info): Add inline keyword.
10814 * elf/tst-auditmod4b.c (check_avx): Likewise.
10815 * elf/tst-auditmod6b.c (check_avx): Likewise.
10816 * elf/tst-auditmod6c.c (check_avx): Likewise.
10817 * elf/tst-auditmod7b.c (check_avx): Likewise.
10818
70c6c246
UD
108192011-12-23 Ulrich Drepper <drepper@gmail.com>
10820
10821 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10822 !__SSE_MATH__.
10823
c044cf14
LD
108242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10825
15db4de1 10826 [BZ #13540]
c044cf14
LD
10827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10828 processing for last bytes.
10829
6b13d9d9
BH
108302011-08-06 Bruno Haible <bruno@clisp.org>
10831
d455f537
BH
10832 [BZ #13061]
10833 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10834 U+0385, not to U+1FEE.
10835
6b13d9d9
BH
10836 [BZ #13062]
10837 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10838 entry for U+00A5 U+0301.
10839
db910efd
UD
108402011-12-22 Ulrich Drepper <drepper@gmail.com>
10841
27deeafc
UD
10842 [BZ #13166]
10843 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10844 buffer for the output is too small.
10845
aed9d171
UD
10846 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10847 optimization.
10848
db910efd
UD
10849 [BZ #13185]
10850 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10851 SSE flags if possible.
10852
2bd779ae
LD
108532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10854
e7f9dac3 10855 [BZ #13540]
2bd779ae
LD
10856 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10857 processing for last bytes.
10858
154bfc16
JM
108592011-12-22 Joseph Myers <joseph@codesourcery.com>
10860
10861 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10862 (syscall-list-default-options, syscall-list-default-condition)
10863 (syscall-list-includes): Define.
10864 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10865 list of ABIs and options and #if conditions for each ABI. Do not
10866 handle common syscalls between ABIs specially.
10867 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10868 Remove.
10869 (syscall-list-variants, syscall-list-32bit-options)
10870 (syscall-list-32bit-condition, syscall-list-64bit-options)
10871 (syscall-list-64bit-condition): Define.
10872 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10873 (syscall-list-variants, syscall-list-32bit-options)
10874 (syscall-list-32bit-condition, syscall-list-64bit-options)
10875 (syscall-list-64bit-condition): Define.
10876 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10877 Remove.
10878 (syscall-list-variants, syscall-list-32bit-options)
10879 (syscall-list-32bit-condition, syscall-list-64bit-options)
10880 (syscall-list-64bit-condition): Define.
10881 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10882 Remove.
10883 (syscall-list-variants, syscall-list-32bit-options)
10884 (syscall-list-32bit-condition, syscall-list-64bit-options)
10885 (syscall-list-64bit-condition): Define.
10886
21eaf3a5
UD
108872011-12-22 Ulrich Drepper <drepper@gmail.com>
10888
16c6f992
UD
10889 * locale/iso-639.def: Add brx entry.
10890
41043168
UD
10891 [BZ #13328]
10892 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10893 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10894
21eaf3a5
UD
10895 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10896 __feraiseexcept_renamed.
10897
e3a851a2
UD
108982011-12-21 Ulrich Drepper <drepper@gmail.com>
10899
4920765e
UD
10900 [BZ #13538]
10901 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10902 EPOLLET with unsigned values.
10903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10905
e3a851a2
UD
10906 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10907 to large cancellation.
10908 * math/s_cacoshf.c: Likewise.
10909 * math/s_cacoshl.c: Likewise.
10910
b27e24b8
RK
109112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10912
10913 [BZ #13305]
aebefeee 10914 [BZ #12786]
b27e24b8
RK
10915 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10916 * math/s_cacoshf.c: Likewise.
10917 * math/s_cacoshl.c: Likewise.
10918
ee190f67
UD
109192011-12-21 Ulrich Drepper <drepper@gmail.com>
10920
10921 [BZ #13439]
10922 * iconv/gconv.h: Define __GCONV_SWAP.
10923 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10924 * iconvdata/utf-16.c: Likewise.
10925 * iconvdata/utf-32.c: Likewise.
10926
707f25df
AS
109272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10928
10929 [BZ #13524]
10930 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10931 numerator after shifting it by one limb.
10932
d2daaa1e
RÁE
109332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10934
10935 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10936 under [__USE_EXTERN_INLINES].
10937
a4647e72
UD
109382011-12-17 Ulrich Drepper <drepper@gmail.com>
10939
10940 [BZ #13446]
10941 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10942
f0b264f1
AZ
109432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10944
10945 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10946 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10947 optimized code.
10948 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10950 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10951 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10952 for strncasecmp/strncasecmp_l compilation.
10953 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10954 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10955
8ef4f244
MP
109562011-12-08 Marek Polacek <mpolacek@redhat.com>
10957
10958 [BZ #13484]
10959 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10960 of __asm__.
10961
97ac2654
UD
109622011-12-17 Ulrich Drepper <drepper@gmail.com>
10963
10964 [BZ #13506]
10965 * time/tzfile.c (__tzfile_read): Check values from file header.
10966
91d2a845
WS
109672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10968
10969 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10970 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10971 * powerpc/powerpc32/dl-start.S: Likewise.
10972 * powerpc/powerpc32/elf/start.S: Likewise.
10973 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10974 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10975 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10976 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10977 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10978 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10979 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10980 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10981 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10982 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10983 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10984 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10985 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10986 * powerpc/powerpc32/memset.S: Likewise.
10987 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10988 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10989 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10990 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10991 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10992 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10993 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10994 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10995 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10996 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10997 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10998 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10999 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11000
a1267ba1
AZ
110012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11002
11003 * math/libm-test.inc: Added more nearbyint tests.
11004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11008
ad8ac1bd
RL
110092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11010
11011 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11012 FD_CLOEXEC.
11013
1d3e4b61
UD
110142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11015
11016 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11017 Add wcscpy-ssse3 wcscpy-c.
11018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11019 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11020 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11021 * sysdeps/x86_64/wcschr.S: New file.
11022 * sysdeps/x86_64/wcsrchr.S: New file.
11023 * string/test-strcmp.c: Remove checking of wcscmp function for
11024 wrong alignments.
11025 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11026 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11027 wcsrchr-sse2 wcsrchr-c.
11028 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11029 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11030 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11031 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11032 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11033 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11034 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11035 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11037 * wcsmbc/wcschr.c (WCSCHR): New macro.
11038
5b330a2d
UD
110392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11040
11041 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11042 * wcsmbs/test-wcsrchr.c: New file.
11043 * string/test-strrchr.c: Add wcsrchr support.
11044 (WIDE): New macro.
11045 * wcsmbs/test-wcscpy.c: New file.
11046 * string/test-strcpy.c: Add wcscpy support.
11047 (WIDE): New macro.
26428b7c 11048
f039c043
UD
110492011-12-10 Ulrich Drepper <drepper@gmail.com>
11050
11051 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11052 the inner loop.
11053
850fb039
AS
110542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11055
11056 [BZ #13472]
11057 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11058
4efbd5cb
UD
110592011-12-04 Ulrich Drepper <drepper@gmail.com>
11060
52ff5dd0 11061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11062 Minor optimizations.
52ff5dd0 11063
4efbd5cb
UD
11064 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11065 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11066 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11067
8a426e12
UD
110682011-12-03 Ulrich Drepper <drepper@gmail.com>
11069
aff2453d
UD
11070 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11071 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11072 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11073 for gcc to avoid warnings.
11074 * inet/Makefile (tests): Add tst-checks.
11075 * inet/tst-checks.c: New file.
11076
11077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11078 warning.
11079
11080 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11081 __wmemcmp_sse2.
11082
11083 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11084 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11085
8a426e12
UD
11086 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11087
9bea3473
UD
110882011-12-02 Ulrich Drepper <drepper@gmail.com>
11089
3a965496
UD
11090 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11091 problem.
11092
9bea3473
UD
11093 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11094
f101631b
UD
110952011-11-29 Joseph Myers <joseph@codesourcery.com>
11096
11097 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11098 conditional on GCC version.
11099 (__arch_compare_and_exchange_val_8_acq)
11100 (__arch_compare_and_exchange_val_16_acq)
11101 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11102 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11103 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11104
a98275aa
UD
111052011-12-02 Joseph Myers <joseph@codesourcery.com>
11106
11107 * sysdeps/sh/backtrace.c: New file.
11108
d4cc29a2
AS
111092011-12-02 Andreas Schwab <schwab@redhat.com>
11110
11111 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11112 parenthesis.
11113
6257af2d
AS
111142011-12-01 Andreas Schwab <schwab@redhat.com>
11115
11116 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11117 falling back to utime.
11118
b5f44c1a
AS
111192011-11-30 Andreas Schwab <schwab@redhat.com>
11120
11121 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11122 expectations for float.
11123
f3a6cc0a
AS
111242011-11-29 Andreas Schwab <schwab@redhat.com>
11125
11126 * locale/weight.h (findidx): Add parameter len.
11127 * locale/weightwc.h (findidx): Likewise.
11128 * posix/fnmatch_loop.c (FCT): Adjust caller.
11129 * posix/regcomp.c (build_equiv_class): Likewise.
11130 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11131 * posix/regexec.c (check_node_accept_bytes): Likewise.
11132 * string/strcoll_l.c (STRCOLL): Likewise.
11133 * string/strxfrm_l.c (STRXFRM): Likewise.
11134
9d65ea3a
UD
111352011-11-17 Ulrich Drepper <drepper@gmail.com>
11136
11137 * Makefile.in: Remove CVSOPT handling.
11138 * configure.in: Remove use of AC_REVISION.
11139 * iconvdata/Makefile (distribute): No need to filter out CVS.
11140 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11141 handling.
11142
5583a086
AS
111432011-11-16 Andreas Schwab <schwab@redhat.com>
11144
11145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11146 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11147 [USE_AS_STRNCASECMP_L]: Likewise.
11148 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11149 NO_TLS_DIRECT_SEG_REFS.
11150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11151 Fix argument offsets for non-PIC.
11152 [USE_AS_STRNCASECMP_L]: Likewise.
11153 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11154 NO_TLS_DIRECT_SEG_REFS.
11155
d62a8200
UD
111562011-11-15 Ulrich Drepper <drepper@gmail.com>
11157
9d65ea3a 11158 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11159 O_CLOEXEC.
11160 * locale/loadlocale.c (_nl_load_locale): Likewise.
11161
09f93bd3
AS
111622011-11-15 Andreas Schwab <schwab@redhat.com>
11163
446514f9
AS
11164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11165 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11167 (SYSCALL_GETTIME): Set errno on error.
11168
09f93bd3
AS
11169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11170 count references to noai6ai_cached.
11171
312be3f9
UD
111722011-11-15 Ulrich Drepper <drepper@gmail.com>
11173
11174 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11175
11176 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11177 FD_CLOEXEC for /proc/self/maps.
11178
11179 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11180 FD_CLOEXEC for /proc/meminfo.
11181
11182 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11183 gai.conf.
11184
11185 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11186 FD_CLOEXEC for given file.
11187
11188 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11189
11190 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11191 FD_CLOEXEC for /etc/hosts.
11192 (_gethtent): Likewise.
11193
11194 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11195
11196 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11197 cancellation and set FD_CLOEXEC for /etc/netgroup.
11198
11199 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11200 reading /etc/publickey.
11201
11202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11203 allow cancellation when reading /etc/group.
11204
11205 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11206 cancellation.
11207 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11208
11209 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11210 when using data file.
11211
11212 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11213
11214 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11215 (write_nis_obj): Use "c" and "e" in fopen.
11216
11217 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11218
11219 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11220
11221 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11222
11223 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11224
11225 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11226 locale.alias.
11227
11228 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11229
11230 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11231
11232 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11233
11234 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11235 file parsing and set FD_CLOEXEC.
11236
82af0fa8
UD
112372011-11-14 Ulrich Drepper <drepper@gmail.com>
11238
11239 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11240
a5fb313c
AS
112412011-11-14 Andreas Schwab <schwab@redhat.com>
11242
11243 * malloc/arena.c (arena_get2): Don't call reused_arena when
11244 _int_new_arena failed.
11245
6abf3465
UD
112462011-11-14 Ulrich Drepper <drepper@gmail.com>
11247
11248 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11249 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11250 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11252 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11254 to compile strcasecmp and strncasecmp.
11255 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11256 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11257
11258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11259
76e3966e
UD
112602011-11-13 Ulrich Drepper <drepper@gmail.com>
11261
11262 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11263 locale-defines.sym to gen-as-const-headers.
11264 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11265 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11267 to compile strcasecmp and strncasecmp.
11268 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11269 strcasecmp_l and strncasecmp_l.
11270 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11271 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11272 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11273 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11274 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11275 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11276 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11277 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11278 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11279 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11280 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11281
ab26144e
UD
112822011-11-12 Ulrich Drepper <drepper@gmail.com>
11283
7edb22ef
UD
11284 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11285 result of SYSDEP_GETTIME_CPU to retval.
11286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11287 parameter list to macro. Remove trailing semicolon. Adjust users.
11288
9694fc44
UD
11289 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11290 variable.
11291
8ad89ef8
UD
11292 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11293 mantissa words.
11294 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11295
0c822ef9
UD
11296 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11297 from unused variable.
11298
874e0564
UD
11299 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11300 DWARF definitions.
11301 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11302 for assembling.
11303
3a2edc79
UD
11304 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11305 over namespaces.
11306
f3c2577f
UD
11307 * sunrpc/rpc_prot.c (rejected): Fix case value.
11308
294ce126
UD
11309 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11310 unsigned long long int to avoid warnings in shift.
11311
5e2b63c6
UD
11312 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11313 of use of trans.
11314 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11315 variable tmp.
11316
e7f4b08e
UD
11317 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11318 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11319 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11320
ab26144e
UD
11321 * nis/nis_table.c (nis_list): Use variable of correct type for
11322 result of __follow_path call.
11323
8a6d5255
AZ
113242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325
11326 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11327 of math functions ceil, trunc, floor, round, and sqrt, when
11328 avaliable on the platform.
11329 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11330 name clash.
11331 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11332 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11333 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11334
aaddc98c
MP
113352011-10-30 Marek Polacek <mpolacek@redhat.com>
11336
11337 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11339
95b7042b
RM
113402011-11-11 Roland McGrath <roland@hack.frob.com>
11341
11342 * include/unistd.h: Fix __readlink return type.
11343 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11344
57769839
UD
113452011-11-11 Ulrich Drepper <drepper@gmail.com>
11346
11347 * stdlib/ucontext.h: Undo last change for makecontext.
11348
edc5984d
AS
113492011-11-11 Andreas Schwab <schwab@redhat.com>
11350
98591e58
AS
11351 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11352
edc5984d
AS
11353 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11354 * setjmp/setjmp.h: Mark functions as non-leaf.
11355 * setjmp/bits/setjmp2.h: Likewise.
11356 * stdlib/ucontext.h: Likewise.
11357
77cdc054
AS
113582011-11-10 Andreas Schwab <schwab@redhat.com>
11359
11360 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11361 (reused_arena): Don't check arena limit.
11362 (arena_get2): Atomically check arena limit.
11363
fe72eebd
UD
113642011-11-08 Ulrich Drepper <drepper@gmail.com>
11365
5f078c32
UD
11366 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11367 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11368
fe72eebd
UD
11369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11370 instructions.
11371
ae1bc2fa
AS
113722011-11-07 Andreas Schwab <schwab@redhat.com>
11373
7583a88d
AS
11374 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11375 handler when locking.
11376
ae1bc2fa
AS
11377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11378 Fix size of allocated buffer.
11379
10fb0bfa
AS
113802011-11-04 Andreas Schwab <schwab@redhat.com>
11381
998832a4
AS
11382 [BZ #10103]
11383 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11384 declarations for long double functions.
11385 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11386
10fb0bfa
AS
11387 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11388
3d7ba52b
AS
113892011-11-03 Andreas Schwab <schwab@redhat.com>
11390
a9ae54a1
AS
11391 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11392 installed.
11393
3d7ba52b
AS
11394 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11395 is disabled.
11396
bc8db248
ST
113972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11398
11399 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11400
45b96dd6
AS
114012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11402
647776f6
AS
11403 * include/alloca.h (stackinfo_alloca_round): Define.
11404 (extend_alloca): Use it.
11405 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11406 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11407 here.
11408
d91a8b93
AS
11409 * scripts/check-local-headers.sh: Ignore libaudit.h.
11410
45b96dd6
AS
11411 * nscd/Makefile (extra-objs): Make recursively expanded.
11412
432d41ce
UD
114132011-11-01 Ulrich Drepper <drepper@gmail.com>
11414
34372fc6
UD
11415 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11417
fadb59f8
UD
11418 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11419 * posix/tst-rfc3484-2.c: Likewise.
11420 * posix/tst-rfc3484-3.c: Likewise.
11421
78239589
UD
11422 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11423 process_vm_writev.
11424 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11425 process_vm_writev.
11426 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11427 process_vm_writev from libc using GLIBC_2.15 version.
11428
432d41ce
UD
11429 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11430
02f9c6cf
PP
114312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11432
11433 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11434 stack usage.
11435
3a2c0242
UD
114362011-10-31 Ulrich Drepper <drepper@gmail.com>
11437
f4ec4833
UD
11438 [BZ #13367]
11439 * nss/getent.c (initgroups_keys): Show error message in case no group
11440 names are given.
11441
3a2c0242
UD
11442 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11443 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11444 __bump_nl_timestamp.
11445 * nscd/connections (nscd_init): When host database is served open
11446 netlink socket and request notification about configuration changes.
11447 (main_loop_poll): Track netlink file descriptor and bump timestamp
11448 in case data becomes available.
11449 (main_loop_epoll): Likewise.
11450 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11451 (database_pers_head): Add extra_data fileds.
11452 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11453 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11454 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11455 Adjust caller.
11456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11457 in6ai data, call __free_in6ai.
11458 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11459 Add -DHAVE_NETLINK.
11460 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11461 interface information. Reuse previous data if netlink timestamp
11462 is not changed.
11463 (__bump_nl_timestamp): New function.
11464 (__free_in6ai): New function.
11465
636064eb
UD
114662011-10-30 Ulrich Drepper <drepper@gmail.com>
11467
11468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11469 close_not_cancel_no_status here.
11470 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11471
9beb2334
UD
114722011-10-29 Ulrich Drepper <drepper@gmail.com>
11473
6ef76f3b
UD
11474 [BZ #13276]
11475 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11476 return value.
11477
0ffc4f3e 11478 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11479 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11480 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11481
cb95113e
UD
114822011-07-03 Andreas Jaeger <aj@suse.de>
11483
11484 [BZ #10709]
11485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11486 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11487 * math/libm-test.inc (sin_test): Add test case.
11488
a1b560ff
UD
114892011-10-29 Ulrich Drepper <drepper@gmail.com>
11490
c9aaface
UD
11491 [BZ #13337]
11492 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11493 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11494
d272e7f1
UD
11495 * elf/chroot_canon.c (chroot_canon): Cleanups.
11496
1bc33071
UD
11497 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11498
1760874d
TJ
11499 [BZ #13335]
11500 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11501 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11502
51d91b18
UD
11503 * string/test-strchr.c: Make usable for strchrnul testing.
11504 * string/test-strchrnul.c: New file.
11505 * string/Makefile (strop-tests): Add strchrnul.
11506
a1b560ff 11507 * po/it.po: Update from translation team.
b611fb81 11508 * po/es.po: Likewise.
a1b560ff 11509
a5b81e1f
UD
115102011-10-28 Ulrich Drepper <drepper@gmail.com>
11511
fd52bc6d
UD
11512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11513 the three constants needed as parameters. Drop the others.
11514 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11515 __m128i_strloadu_tolower.
52e4b9eb
UD
11516 Create and initialize variable zero and use it in all the places
11517 where _mm_setzero_si128 was used.
fd52bc6d 11518
a5b81e1f
UD
11519 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11520 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11521 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11523 anymore.
11524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11525 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11526 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11527 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11528 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11529 __mpranred, __mptan.
11530 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11531 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11532 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11533 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11534 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11535 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11537 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11538 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11539
b4343346
AS
115402011-10-28 Andreas Schwab <schwab@redhat.com>
11541
0c92d8a8
AS
11542 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11543 redefine if SHARED.
11544 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11545
b4343346
AS
11546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11547 wide char related routines to wcsmbs subdir.
11548
3871f58f
AS
115492011-10-27 Andreas Schwab <schwab@redhat.com>
11550
11551 [BZ #13344]
11552 * misc/sys/cdefs.h (__THROWNL): Define.
11553 * posix/unistd.h: Use __THREADNL instead of __THREAD
11554 for memory synchronization functions.
11555
94d44d9f
RM
115562011-10-26 Roland McGrath <roland@hack.frob.com>
11557
21b64b15 11558 [BZ #13349]
94d44d9f
RM
11559 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11560 doesn't exist.
11561 * manual/stdio.texi (Obstack Streams): Node removed.
11562
f6ce9294
AS
115632011-10-26 Andreas Schwab <schwab@redhat.com>
11564
80479147
AS
11565 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11566 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11568
f6ce9294
AS
11569 * math/math_private.h (math_force_eval): Allow non-addressable
11570 arguments.
11571 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11572
618280a1
UD
115732011-10-25 Ulrich Drepper <drepper@gmail.com>
11574
e0016b11
UD
11575 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11576 file is not needed.
11577
11578 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11581 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11583 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11585 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11586 Add AVX variants.
11587 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11588 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11589 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11590 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11591 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11592 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11593 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11594 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11595 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11596 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11597 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11598 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11600 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11601 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11602 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11603 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11604 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11605 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11606
11607 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11608 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11609
618280a1
UD
11610 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11611 place. Use VEX encoding when compiling for AVX.
11612
37822576
AS
116132011-10-25 Andreas Schwab <schwab@redhat.com>
11614
1f1e1947
AS
11615 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11616 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11617
37822576
AS
11618 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11619
31ea014d
UD
116202011-10-25 Ulrich Drepper <drepper@gmail.com>
11621
d7826aa1 11622 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11623 useless if() expression.
d7826aa1
UD
11624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11625 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11636 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11637 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11638 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11643
31ea014d
UD
11644 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11645
16437fec
AS
116462011-10-25 Andreas Schwab <schwab@redhat.com>
11647
11648 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11649 condition.
11650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11651
31d3cc00
UD
116522011-10-25 Ulrich Drepper <drepper@gmail.com>
11653
11654 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11655 .text section. Avoid duplicate constants.
11656 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11658 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11664 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11665 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11666 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11667 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11668 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11671 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11673 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11683 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11684 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11685 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11687 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11688 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11689 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11690 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11691 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11692 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11693 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11694 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11695 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11696 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11697 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11698 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11699 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11701
58985aa9
UD
117022011-10-24 Ulrich Drepper <drepper@gmail.com>
11703
202c9deb
UD
11704 * sysdeps/x86_64/dla.h: Move to ...
11705 * sysdeps/x86_64/fpu/dla.h: ...here.
11706 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11707 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11708
af968f62
UD
11709 * config.make.in: Add have-mfma4 entry.
11710 * configure.in: Substitute libc_cv_cc_fma4.
11711 * math/Makefile (dbl-only-routines): Add sincostab.
11712 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11713 Use __sincostab not sincos.
11714 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11715 name is a macro.
11716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11720 using __copysign.
11721 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11722 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11723 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11724 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11725 and __inv.
11726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11727 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11728 __copysign.
11729 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11730 define aliases when function name is a macro.
11731 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11732 sysdeps/ieee754/dbl-64/sincos.tbl.
11733 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11734 fma4-enabled routines.
11735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11736 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11737 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11738 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11740 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11742 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11744 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11745 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11746 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11747 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11748 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11750 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11751 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11752 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11753 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11754 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11755 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11756 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11759 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11762 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11763 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11764 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11765
58985aa9
UD
11766 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11767 rename.
11768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11776
a201fbcf
AS
117772011-10-24 Andreas Schwab <schwab@redhat.com>
11778
11779 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11780
fc2ee42a
LD
117812011-10-23 Ulrich Drepper <drepper@gmail.com>
11782
bb3129bd
UD
11783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11784
0275fff8
UD
11785 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11786 prediction.
11787 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11788
2fa2ae85
UD
11789 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11790 Remove unused variable magic_bits.
11791 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11792
fc2ee42a
LD
11793 * string/strnlen.c: Define and use STRNLEN macro.
11794 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11795 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11797 * wcsmbs/wcslen.c: Define and use WCSLEN.
11798 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11799 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11800 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11801 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11802 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11803 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11804 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11805
ce7dd29f
LD
118062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11807
11808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11809 strnlen-sse2-no-bsf.
11810 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11812 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11813 Add strnlen support.
11814 (USE_AS_STRNLEN): New macro.
11815 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11816 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11817 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11818 * sysdeps/x86_64/wcslen.S: New file.
11819
979c70a3
MZ
118202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11821
11822 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11823 XMM-moves are used for copying on small sizes.
11824
2d09f82f
LD
118252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11826
11827 * wcsmbs/Makefile (strop-tests): Add wcschr.
11828 * wcsmbs/test-wcschr.c: New file.
11829 * string/test-strchr.c: Update.
11830 Add wcschr support.
11831 (WIDE): New macro.
11832
619fccca
LD
118332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11834
2d09f82f 11835 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11836 * wcsmbs/test-wcslen.c: New file.
11837 * string/test-strlen.c: Update.
11838 Add wcslen support.
11839 (WIDE): New macro.
11840
09f699ea
UD
118412011-10-23 Ulrich Drepper <drepper@gmail.com>
11842
11843 * po/it.po: Update from translation team.
11844
95584d3b
LD
118452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11846
11847 * sysdeps/x86_64/wcscmp.S: Update.
11848 Fix wrong comparison semantics.
11849 wcscmp shall use signed comparison not unsigned.
11850 Don't use substraction to avoid overflow bug.
11851 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11852 * wcsmbc/wcscmp.c: Likewise.
11853 * string/test-strcmp.c: Likewise.
11854 Add new tests to check cases with negative values.
11855
c8b3296b
UD
118562011-10-23 Ulrich Drepper <drepper@gmail.com>
11857
11858 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11859 * sysdeps/x86_64/dla.h: ...here. New file.
11860 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11869
246ad57a
AS
118702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11871
11872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11873 __ynl_finite aliases.
11874
a1a87169
UD
118752011-10-22 Ulrich Drepper <drepper@gmail.com>
11876
0d355eb7
UD
11877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11878
a1a87169
UD
11879 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11880 define DLA_FMA.
11881 [DLA_FMA] (EMULV): Use DLA_FMA.
11882 [DLA_FMA] (MUL12): Use EMULV.
11883 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11884 that are not needed.
11885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11887 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11892
ee2aafe0
AS
118932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11894
11895 * math/s_nan.c: Undef __nan.
11896 * math/s_nanf.c: Undef __nanf.
11897 * math/s_nanl.c: Undef __nanl.
11898 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11899 "math_private.h".
11900
bc62c2fb
UD
119012011-10-22 Ulrich Drepper <drepper@gmail.com>
11902
77425c63
UD
11903 * math/s_catan.c: Add branch predictions.
11904 * math/s_catanf.c: Likewise.
11905 * math/s_catanh.c: Likewise.
11906 * math/s_catanhf.c: Likewise.
11907 * math/s_catanhl.c: Likewise.
11908 * math/s_catanl.c: Likewise.
11909 * math/s_cexp.c: Likewise.
11910 * math/s_cexpf.c: Likewise.
11911 * math/s_cexpl.c: Likewise.
11912 * math/s_clog.c: Likewise.
11913 * math/s_clog10.c: Likewise.
11914 * math/s_clog10f.c: Likewise.
11915 * math/s_clog10l.c: Likewise.
11916 * math/s_clogf.c: Likewise.
11917 * math/s_clogl.c: Likewise.
11918 * math/s_csqrt.c: Likewise.
11919 * math/s_csqrtf.c: Likewise.
11920 * math/s_csqrtl.c: Likewise.
11921 * math/s_ctanf.c: Likewise.
11922 * math/s_ctanh.c: Likewise.
11923 * math/s_ctanhf.c: Likewise.
11924 * math/s_ctanhl.c: Likewise.
11925 * math/s_ctanl.c: Likewise.
11926
bc62c2fb
UD
11927 * math/math_private.h: Define __nan, __nanf, __nanl.
11928 * math/s_cacosh.c: Include <math_private.h>.
11929 * math/s_cacoshl.c: Likewise.
11930 * math/s_casinh.c: Likewise.
11931 * math/s_casinhf.c: Likewise.
11932 * math/s_casinhl.c: Likewise.
11933 * math/s_ccos.c: Rely entire on ccosh.
11934 * math/s_ccosf.c: Rely entire on ccoshf.
11935 * math/s_ccosl.c: Rely entirely on ccoshl.
11936 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11937 Remove tests for FE_INVALID.
11938 * math/s_ccoshf.c: Likewise.
11939 * math/s_ccoshl.c: Likewise.
11940 * math/s_csin.c: Likewise.
11941 * math/s_csinf.c: Likewise.
11942 * math/s_csinh.c Likewise.
11943 * math/s_csinhf.c: Likewise.
11944 * math/s_csinhl.c: Likewise.
11945 * math/s_csinl.c: Likewise.
11946 * math/s_ctan.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11948 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11949 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11950
8ec250a4
UD
119512011-10-21 Ulrich Drepper <drepper@gmail.com>
11952
c196fed8
UD
11953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11954 compilation problems.
11955
8ec250a4
UD
11956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11957 __builtin_expect.
11958
8d4f46c6
UD
119592011-10-20 Ulrich Drepper <drepper@gmail.com>
11960
ed72b654
UD
11961 * sysdeps/i386/configure.in: Test for -mfma4 option.
11962 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11963 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11964 COMMON_CPUID_INDEX_80000001.
11965 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11966 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11967 use it if FMA3 is not supported.
11968 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11969
8d4f46c6
UD
11970 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11971 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11972
d45c60c2
AS
119732011-10-20 Andreas Schwab <schwab@redhat.com>
11974
11975 [BZ #12892]
11976 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11977 it would create a cycle with a link time dependency.
11978
d9a4d2ab
UD
119792011-10-19 Ulrich Drepper <drepper@gmail.com>
11980
855d1560
UD
11981 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11982 instruction.
11983 * string/Makefile (strop-tests): Add rawmemchr.
11984 * string/test-rawmemchr.c: New file.
11985
d9a4d2ab
UD
11986 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11988 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11989 when compiling str{,n}casecmp and when AVX is available. Hook up
11990 new optimized code in initializers.
11991
8f3b1ffe
AS
119922011-10-19 Andreas Schwab <schwab@redhat.com>
11993
11994 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11995 __feraiseexcept instead of feraiseexcept.
11996
d38f1dba
UD
119972011-10-18 Ulrich Drepper <drepper@gmail.com>
11998
d9a8d0ab
UD
11999 * math/math_private.h: Define defaults for libc_fetestexcept and
12000 libc_feupdateenv.
12001 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12002 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12004 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12005 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12006 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12007 libc_fetestexcept and libc_feupdateenv.
12008
4855e3dd
UD
12009 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12010 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12011 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12012 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12013 libc_feholdexcept_setround.
12014
581d30e3
UD
12015 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12016 Add s_nearbyint-c and s_nearbyintf-c.
12017 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12018 nearbyintf inlines.
12019 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12021 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12022 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12023
d38f1dba
UD
12024 * math/math_private.h: Define defaults for libc_fegetround,
12025 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12026 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12027 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12029 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12030 standard functions.
12031 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12032 Remove comments and hacks for old compiler versions.
12033 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12034 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12035 libc_feholdexceptl.
12036
caa6c9d8
AS
120372011-10-18 Andreas Schwab <schwab@redhat.com>
12038
12039 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12040 (__feraiseexcept_renamed): Add __NTH.
12041 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12042 namespace violations.
12043
97c066e6
UD
120442011-10-17 Ulrich Drepper <drepper@gmail.com>
12045
99ce7b04
UD
12046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12047
1004d182
UD
12048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12049
228a984d
UD
12050 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12051 recently added interfaces.
12052 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12053
c8553a6a
UD
12054 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12055 about macro parameter expansion.
12056
ed22dcf6
UD
12057 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12058 __NO_MATH_INLINES is defined. Cleanups.
12059
12060 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12061 and __floorf is target has SSE4.1.
12062 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12063 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12065 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12066
b171c137
UD
12067 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12068 name.
12069 (floorf): Likewise.
12070
97c066e6
UD
12071 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12072
629f62ef
AS
120732011-10-17 Andreas Schwab <schwab@redhat.com>
12074
49a43d80
AS
12075 * misc/sys/cdefs.h: Fix last change.
12076
629f62ef
AS
12077 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12078 database lookup.
12079
e453f6cd
UD
120802011-10-16 Ulrich Drepper <drepper@gmail.com>
12081
aa78043a
UD
12082 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12083
ad0f5cad
UD
12084 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12085 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12091 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12092 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12093 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12094 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12095 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12096 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12097 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12098 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12099 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12100 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12101 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12102 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12103 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12104 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12105 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12106
12107 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12108 ceil, ceilf, floor, floorf.
12109
12110 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12111 Perform IRELATIVE relocations last.
12112
e453f6cd
UD
12113 * elf/do-rel.h: Add another parameter nrelative, replacing the
12114 local variable with the same name. Change name of the function
12115 to end in Rel or Rela (uppercase).
12116 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12117 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12118 elf_dynamic_do_##reloc function.
12119
fd5bdc09
UD
121202011-10-15 Ulrich Drepper <drepper@gmail.com>
12121
79b195b5
UD
12122 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12123 is sufficient, at least on modern CPUs.
12124
d4a28569
UD
12125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12126
b61099b5
UD
12127 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12128 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12129
bcf01e6d
UD
12130 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12131 __expl_finite.
12132 * math/bits/math-finite.h: Add entries for exp.
12133 * math/e_expl.c: Add __*_finite alias.
12134 * sysdeps/i386/fpu/e_exp.S: Likewise.
12135 * sysdeps/i386/fpu/e_expf.S: Likewise.
12136 * sysdeps/i386/fpu/e_expl.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12142 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12143 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12144
ba1a0d59
UD
12145 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12146 is sufficient, at least on modern CPUs.
12147
fd5bdc09
UD
12148 * ctype/ctype-info.c (__ctype_init): Define.
12149 * include/ctype.h (__ctype_init): Declare.
12150 (__ctype_b_loc): The variable is always initialized.
12151 (__ctype_toupper_loc): Likewise.
12152 (__ctype_tolower_loc): Likewise.
12153 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12154 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12155
7872cfb0
AS
121562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12157
b468825a
AS
12158 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12159
7872cfb0
AS
12160 * configure.in: Also look in $cxxmachine/include for C++ system
12161 headers.
12162
be13f7bf
LD
121632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12164
12165 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12166 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12167 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12168 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12170 (USE_AS_WMEMCMP): New macro.
12171 Fixing indents.
12172 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12173 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12174 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12175 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12177 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12178 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12179 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12180 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12181 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12183 (USE_AS_WMEMCMP): New macro.
12184 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12185 * sysdeps/string/test-memcmp.c: Update.
12186 Fix simple_wmemcmp.
12187 Add new tests.
12188 * wcsmbs/wmemcmp.c: Update.
12189 (WMEMCMP): New macro.
12190 Fix overflow bug.
12191
556a2007
AJ
121922011-10-12 Andreas Jaeger <aj@suse.de>
12193
12194 [BZ #13268]
12195 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12196
538faaa7
UD
121972011-10-15 Ulrich Drepper <drepper@gmail.com>
12198
ab6737ff
UD
12199 * libio/iofwide.c (do_length): Avoid warning.
12200
538faaa7
UD
12201 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12202
396a21b1
UD
122032011-10-14 Ulrich Drepper <drepper@gmail.com>
12204
cdf2901f
UD
12205 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12206
38ad40ce
UD
12207 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12208 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12209 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12210 * sysdeps/i386/i686/fpu/e_log.S: New file.
12211 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12212 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12213
396a21b1
UD
12214 * ctype/ctype.h: Add support for inlined isXXX functions when
12215 compiling C++ code.
12216
6b1f68c9
AS
122172011-10-14 Andreas Schwab <schwab@redhat.com>
12218
349290c0
AS
12219 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12220
6b1f68c9
AS
12221 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12222
f2282d42
RM
122232011-10-13 Roland McGrath <roland@hack.frob.com>
12224
12225 [BZ #13291]
12226 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12227
5298ffa8
AS
122282011-10-13 Andreas Schwab <schwab@redhat.com>
12229
714fad23
AS
12230 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12231 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12232 feraiseexcept.
12233
81dcc7fb
AS
12234 * sysdeps/x86_64/memrchr.S: Check for zero size.
12235
5298ffa8
AS
12236 * string/stratcliff.c: Add memrchr tests.
12237
951fbcec
LD
122382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12239
12240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12241 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12242 rawmemchr-sse2 rawmemchr-sse2-bsf.
12243 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12244 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12245 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12246 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12247 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12248 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12249 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12250 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12251 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12252 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12253 * string/memrchr.c (MEMRCHR): New macro.
12254
0ac5ae23
UD
122552011-10-12 Ulrich Drepper <drepper@gmail.com>
12256
12257 Add integration with gcc's -ffinite-math-only and optimize wrapper
12258 functions in libm.
12259 * Versions.def: Define GLIBC_2.15 version for libm.
12260 * math/Makefile (headers): Add bits/math-finite.h.
12261 * math/bits/math-finite.h: New file.
12262 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12263 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12264 * math/e_acoshl.c: Add __*_finite alias.
12265 * math/e_acosl.c: Likewise.
12266 * math/e_asinl.c: Likewise.
12267 * math/e_atan2l.c: Likewise.
12268 * math/e_atanhl.c: Likewise.
12269 * math/e_coshl.c: Likewise.
12270 * math/e_exp10.c: Likewise.
12271 * math/e_exp10f.c: Likewise.
12272 * math/e_exp10l.c: Likewise.
12273 * math/e_exp2l.c: Likewise.
12274 * math/e_fmodl.c: Likewise.
12275 * math/e_gammal_r.c: Likewise.
12276 * math/e_hypotl.c: Likewise.
12277 * math/e_j0l.c: Likewise.
12278 * math/e_j1l.c: Likewise.
12279 * math/e_jnl.c: Likewise.
12280 * math/e_lgammal_r.c: Likewise.
12281 * math/e_log10l.c: Likewise.
12282 * math/e_log2l.c: Likewise.
12283 * math/e_logl.c: Likewise.
12284 * math/e_powl.c: Likewise.
12285 * math/e_sinhl.c: Likewise.
12286 * math/e_sqrtl.c: Likewise.
12287 * math/e_scalb.c: Completely rewritten and optimized.
12288 * math/e_scalbf.c: Likewise.
12289 * math/e_scalbl.c: Likewise.
12290 * math/w_acos.c: Likewise.
12291 * math/w_acosf.c: Likewise.
12292 * math/w_acosl.c: Likewise.
12293 * math/w_acosh.c: Likewise.
12294 * math/w_acoshf.c: Likewise.
12295 * math/w_acoshl.c: Likewise.
12296 * math/w_asin.c: Likewise.
12297 * math/w_asinf.c: Likewise.
12298 * math/w_asinl.c: Likewise.
12299 * math/w_atan2.c: Likewise.
12300 * math/w_atan2f.c: Likewise.
12301 * math/w_atan2l.c: Likewise.
12302 * math/w_atanh.c: Likewise.
12303 * math/w_atanhf.c: Likewise.
12304 * math/w_atanhl.c: Likewise.
12305 * math/w_exp10.c: Likewise.
12306 * math/w_exp10f.c: Likewise.
12307 * math/w_exp10l.c: Likewise.
12308 * math/w_fmod.c: Likewise.
12309 * math/w_fmodf.c: Likewise.
12310 * math/w_fmodl.c: Likewise.
12311 * math/w_j0.c: Likewise.
12312 * math/w_j0f.c: Likewise.
12313 * math/w_j0l.c: Likewise.
12314 * math/w_j1.c: Likewise.
12315 * math/w_j1f.c: Likewise.
12316 * math/w_j1l.c: Likewise.
12317 * math/w_jn.c: Likewise.
12318 * math/w_jnf.c: Likewise.
12319 * math/w_log.c: Likewise.
12320 * math/w_logf.c: Likewise.
12321 * math/w_logl.c: Likewise.
12322 * math/w_log10.c: Likewise.
12323 * math/w_log10f.c: Likewise.
12324 * math/w_log10l.c: Likewise.
12325 * math/w_log2.c: Likewise.
12326 * math/w_log2f.c: Likewise.
12327 * math/w_log2l.c: Likewise.
12328 * math/w_pow.c: Likewise.
12329 * math/w_powf.c: Likewise.
12330 * math/w_powl.c: Likewise.
12331 * math/w_remainder.c: Likewise.
12332 * math/w_remainderf.c: Likewise.
12333 * math/w_remainderl.c: Likewise.
12334 * math/w_scalb.c: Likewise.
12335 * math/w_scalbf.c: Likewise.
12336 * math/w_scalbl.c: Likewise.
12337 * math/w_sqrt.c: Likewise.
12338 * math/w_sqrtf.c: Likewise.
12339 * math/w_sqrtl.c: Likewise.
12340 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12341 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12342 used.
12343 * math/math_private.h: Declare __kernel_standard_f.
12344 * math/w_cosh.c: Remove cruft and optimize a bit.
12345 * math/w_coshf.c: Likewise.
12346 * math/w_coshl.c: Likewise.
12347 * math/w_exp2.c: Likewise.
12348 * math/w_exp2f.c: Likewise.
12349 * math/w_exp2l.c: Likewise.
12350 * math/w_hypot.c: Likewise.
12351 * math/w_hypotf.c: Likewise.
12352 * math/w_hypotl.c: Likewise.
12353 * math/w_lgamma.c: Likewise.
12354 * math/w_lgamma_r.c: Likewise.
12355 * math/w_lgammaf.c: Likewise.
12356 * math/w_lgammaf_r.c: Likewise.
12357 * math/w_lgammal.c: Likewise.
12358 * math/w_lgammal_r.c: Likewise.
12359 * math/w_sinh.c: Likewise.
12360 * math/w_sinhf.c: Likewise.
12361 * math/w_sinhl.c: Likewise.
12362 * math/w_tgamma.c: Likewise.
12363 * math/w_tgammaf.c: Likewise.
12364 * math/w_tgammal.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12367 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12368 Minor optimizations. Pretty printing. Remove cruft.
12369 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12371 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12372 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12373 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12374 * sysdeps/i386/fpu/e_asin.S: Likewise.
12375 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12376 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12377 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12378 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12379 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12381 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12382 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12383 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12384 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12385 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12386 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12387 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12388 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12389 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12390 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12391 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12392 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12393 * sysdeps/i386/fpu/e_log.S: Likewise.
12394 * sysdeps/i386/fpu/e_log10.S: Likewise.
12395 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12397 * sysdeps/i386/fpu/e_log2.S: Likewise.
12398 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12400 * sysdeps/i386/fpu/e_logf.S: Likewise.
12401 * sysdeps/i386/fpu/e_logl.S: Likewise.
12402 * sysdeps/i386/fpu/e_pow.S: Likewise.
12403 * sysdeps/i386/fpu/e_powf.S: Likewise.
12404 * sysdeps/i386/fpu/e_powl.S: Likewise.
12405 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12406 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12407 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12408 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12409 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12411 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12412 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12413 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12435 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12436 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12437 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12438 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12439 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12440 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12441 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12442 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12443 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12445 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12446 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12448 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12449 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12450 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12451 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12452 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12453 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12454 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12455 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12502 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12505 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12506 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12507 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12511 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12512 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12513 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12514 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12515 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12516 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12517 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12518 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12519 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12520 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12522 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12523 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12524 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12525 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12526 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12527 (__isnanf): Likewise.
12528 (__isinf_ns): Likewise.
12529 (__isinf_nsf): Likewise.
12530 (__finite): Likewise.
12531 (__finitef): Likewise.
12532 (__ieee754_sqrt): Define as macro.
12533 (__ieee754_sqrtf): Define as macro.
12534 (__ieee754_sqrtl): Define as macro.
12535 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12536 inlined copy.
12537 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12538 __FINITE_MATH_ONLY__ consistent.
12539 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12540
12cc2fcd
AS
125412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12542
a843a204
AS
12543 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12544 of rawmemchr.
12545
12cc2fcd
AS
12546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12547
c853acd5
UD
125482011-10-09 Ulrich Drepper <drepper@gmail.com>
12549
12550 * po/ja.po: Update from translation team.
12551
c658d255
RM
125522011-10-08 Roland McGrath <roland@hack.frob.com>
12553
110946e4
RM
12554 * locale/programs/locarchive.c (prepare_address_space): New function.
12555 (create_archive, enlarge_archive, open_archive): Use it.
12556
50604220
RM
12557 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12558 inside [SHARED], where it is used.
12559
c658d255
RM
12560 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12561
12562 * nss/getent.c (netgroup_keys): Remove unused variable.
12563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12564
6a621eb7
UD
125652011-10-08 Ulrich Drepper <drepper@gmail.com>
12566
7edb55ce
UD
12567 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12568 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12570 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12571 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12572 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12573 * math/Makefile (libm-calls): Add s_isinf_ns.
12574 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12575 * math/multc3.c: Likewise.
12576 * math/s_casin.c: Likewise.
12577 * math/s_casinf.c: Likewise.
12578 * math/s_casinl.c: Likewise.
12579 * math/s_ccos.c: Likewise.
12580 * math/s_ccosf.c: Likewise.
12581 * math/s_ccosl.c: Likewise.
12582 * math/s_ctan.c: Likewise.
12583 * math/s_ctanf.c: Likewise.
12584 * math/s_ctanh.c: Likewise.
12585 * math/s_ctanhf.c: Likewise.
12586 * math/s_ctanhl.c: Likewise.
12587 * math/s_ctanl.c: Likewise.
12588 * math/w_fmod.c: Likewise.
12589 * math/w_fmodf.c: Likewise.
12590 * math/w_fmodl.c: Likewise.
12591 * math/w_remainder.c: Likewise.
12592 * math/w_remainderf.c: Likewise.
12593 * math/w_remainderl.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12595 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12598 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12599 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12600 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12601 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12602
187da0ae
UD
12603 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12604 of the number.
12605 * stdio-common/printf_fphex.c: Likewise.
12606 * stdio-common/printf_size.c: Likewise.
12607
9277c064
UD
12608 * math/e_exp10.c: Include math_private.h using <...> not "...".
12609 * math/e_exp10f.c: Likewise.
12610 * math/e_exp10l.c: Likewise.
12611 * math/e_exp2l.c: Likewise.
12612 * math/e_j0l.c: Likewise.
12613 * math/e_j1l.c: Likewise.
12614 * math/e_jnl.c: Likewise.
12615 * math/e_lgammal_r.c: Likewise.
12616 * math/e_rem_pio2l.c: Likewise.
12617 * math/e_scalb.c: Likewise.
12618 * math/e_scalbf.c: Likewise.
12619 * math/e_scalbl.c: Likewise.
12620 * math/k_cosl.c: Likewise.
12621 * math/k_sinl.c: Likewise.
12622 * math/k_tanl.c: Likewise.
12623 * math/s_cacoshf.c: Likewise.
12624 * math/s_catan.c: Likewise.
12625 * math/s_catanf.c: Likewise.
12626 * math/s_catanh.c: Likewise.
12627 * math/s_catanhf.c: Likewise.
12628 * math/s_catanhl.c: Likewise.
12629 * math/s_catanl.c: Likewise.
12630 * math/s_ccosh.c: Likewise.
12631 * math/s_ccoshf.c: Likewise.
12632 * math/s_ccoshl.c: Likewise.
12633 * math/s_cexp.c: Likewise.
12634 * math/s_cexpf.c: Likewise.
12635 * math/s_cexpl.c: Likewise.
12636 * math/s_clog.c: Likewise.
12637 * math/s_clog10.c: Likewise.
12638 * math/s_clog10f.c: Likewise.
12639 * math/s_clog10l.c: Likewise.
12640 * math/s_clogf.c: Likewise.
12641 * math/s_clogl.c: Likewise.
12642 * math/s_csin.c: Likewise.
12643 * math/s_csinf.c: Likewise.
12644 * math/s_csinh.c: Likewise.
12645 * math/s_csinhf.c: Likewise.
12646 * math/s_csinhl.c: Likewise.
12647 * math/s_csinl.c: Likewise.
12648 * math/s_csqrt.c: Likewise.
12649 * math/s_csqrtf.c: Likewise.
12650 * math/s_csqrtl.c: Likewise.
12651 * math/s_ctan.c: Likewise.
12652 * math/s_ctanf.c: Likewise.
12653 * math/s_ctanh.c: Likewise.
12654 * math/s_ctanhf.c: Likewise.
12655 * math/s_ctanhl.c: Likewise.
12656 * math/s_ctanl.c: Likewise.
12657 * math/s_ldexp.c: Likewise.
12658 * math/s_ldexpf.c: Likewise.
12659 * math/s_ldexpl.c: Likewise.
12660 * math/s_significand.c: Likewise.
12661 * math/s_significandf.c: Likewise.
12662 * math/s_significandl.c: Likewise.
12663 * math/w_acos.c: Likewise.
12664 * math/w_acosf.c: Likewise.
12665 * math/w_acosh.c: Likewise.
12666 * math/w_acoshf.c: Likewise.
12667 * math/w_acoshl.c: Likewise.
12668 * math/w_acosl.c: Likewise.
12669 * math/w_asin.c: Likewise.
12670 * math/w_asinf.c: Likewise.
12671 * math/w_asinl.c: Likewise.
12672 * math/w_atan2.c: Likewise.
12673 * math/w_atan2f.c: Likewise.
12674 * math/w_atan2l.c: Likewise.
12675 * math/w_atanh.c: Likewise.
12676 * math/w_atanhf.c: Likewise.
12677 * math/w_atanhl.c: Likewise.
12678 * math/w_cosh.c: Likewise.
12679 * math/w_coshf.c: Likewise.
12680 * math/w_coshl.c: Likewise.
12681 * math/w_dremf.c: Likewise.
12682 * math/w_exp10.c: Likewise.
12683 * math/w_exp10f.c: Likewise.
12684 * math/w_exp10l.c: Likewise.
12685 * math/w_exp2.c: Likewise.
12686 * math/w_exp2f.c: Likewise.
12687 * math/w_fmod.c: Likewise.
12688 * math/w_fmodf.c: Likewise.
12689 * math/w_fmodl.c: Likewise.
12690 * math/w_hypot.c: Likewise.
12691 * math/w_hypotf.c: Likewise.
12692 * math/w_hypotl.c: Likewise.
12693 * math/w_j0.c: Likewise.
12694 * math/w_j0f.c: Likewise.
12695 * math/w_j0l.c: Likewise.
12696 * math/w_j1.c: Likewise.
12697 * math/w_j1f.c: Likewise.
12698 * math/w_j1l.c: Likewise.
12699 * math/w_jn.c: Likewise.
12700 * math/w_jnf.c: Likewise.
12701 * math/w_jnl.c: Likewise.
12702 * math/w_lgamma.c: Likewise.
12703 * math/w_lgamma_r.c: Likewise.
12704 * math/w_lgammaf.c: Likewise.
12705 * math/w_lgammaf_r.c: Likewise.
12706 * math/w_lgammal.c: Likewise.
12707 * math/w_lgammal_r.c: Likewise.
12708 * math/w_log.c: Likewise.
12709 * math/w_log10.c: Likewise.
12710 * math/w_log10f.c: Likewise.
12711 * math/w_log10l.c: Likewise.
12712 * math/w_log2.c: Likewise.
12713 * math/w_log2f.c: Likewise.
12714 * math/w_log2l.c: Likewise.
12715 * math/w_logf.c: Likewise.
12716 * math/w_logl.c: Likewise.
12717 * math/w_pow.c: Likewise.
12718 * math/w_powf.c: Likewise.
12719 * math/w_powl.c: Likewise.
12720 * math/w_remainder.c: Likewise.
12721 * math/w_remainderf.c: Likewise.
12722 * math/w_remainderl.c: Likewise.
12723 * math/w_scalb.c: Likewise.
12724 * math/w_scalbf.c: Likewise.
12725 * math/w_scalbl.c: Likewise.
12726 * math/w_sinh.c: Likewise.
12727 * math/w_sinhf.c: Likewise.
12728 * math/w_sinhl.c: Likewise.
12729 * math/w_sqrt.c: Likewise.
12730 * math/w_sqrtf.c: Likewise.
12731 * math/w_sqrtl.c: Likewise.
12732 * math/w_tgamma.c: Likewise.
12733 * math/w_tgammaf.c: Likewise.
12734 * math/w_tgammal.c: Likewise.
12735
6a621eb7
UD
12736 * po/ja.po: Update from translation team.
12737
bf582445
AJ
127382011-09-29 Andreas Jaeger <aj@suse.de>
12739
f9efbf3a
AJ
12740 [BZ #13179]
12741 * sunrpc/netname.c (netname2host): Fix logic.
12742
bf582445
AJ
12743 [BZ #6779]
12744 [BZ #6783]
12745 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12746 correctly.
12747 * math/w_remainder.c (__remainder): Likewise.
12748 * math/w_remainderf.c (__remainderf): Likewise.
12749 * math/libm-test.inc (remainder_test): Add test cases.
12750
48693bea
AK
127512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12752
12753 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12754 sdiv_qrnnd.
12755
42622229
LD
127562011-10-07 Ulrich Drepper <drepper@gmail.com>
12757
12758 * string/test-memcmp.c: Avoid unncessary #defines.
12759 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12760
093ecf92
LD
127612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12762
12763 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12764 Use new sse2 version for core i3 - i7 as it's faster
12765 than sse42 version.
12766 (bit_Prefer_PMINUB_for_stringop): New.
12767 * sysdeps/x86_64/rawmemchr.S: Update.
12768 Replace with faster SSE2 version.
12769 * sysdeps/x86_64/memrchr.S: New file.
12770 * sysdeps/x86_64/memchr.S: Update.
12771 Replace with faster SSE2 version.
12772
fde56e5c
MP
127732011-09-12 Marek Polacek <mpolacek@redhat.com>
12774
12775 * elf/dl-load.c (lose): Add cast to avoid warning.
12776
21fd49a9
UD
127772011-10-07 Ulrich Drepper <drepper@gmail.com>
12778
5a06e643
UD
12779 * po/ca.po: Update from translation team.
12780
684ae515
UD
12781 * inet/getnetgrent_r.c: Hook up nscd.
12782 * nscd/Makefile (routines): Add nscd_netgroup.
12783 (nscd-modules): Add netgroupcache.
12784 (CFLAGS-netgroupcache.c): Define.
12785 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12786 (cache_search): Add const to second parameter.
12787 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12788 INNETGR.
12789 (dbs): Add netgrdb entry.
12790 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12791 (verify_persistent_db): Handle netgrdb.
12792 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12793 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12794 GETFDNETGR.
12795 (netgroup_response_header): Define.
12796 (innetgroup_response_header): Define.
12797 (datahead): Add netgroup_response_header and innetgroup_response_header
12798 elements.
12799 * nscd/nscd.conf: Add entries for netgroup cache.
12800 * nscd/nscd.h (dbtype): Add netgrdb.
12801 (_PATH_NSCD_NETGROUP_DB): Define.
12802 (netgroup_iov_disabled): Declare.
12803 (xmalloc, xcalloc, xrealloc): Move declarations here.
12804 (cache_search): Adjust prototype.
12805 Add netgroup-related prototypes.
12806 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12807 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12808 (__nscd_innetgr): Declare.
12809 * nscd/selinux.c (perms): Use access_vector_t as element type and
12810 add netgroup-related initializers.
12811 * nscd/netgroupcache.c: New file.
12812 * nscd/nscd_netgroup.c: New file.
12813 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12814 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12815 For four parameters use innetgr.
12816 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12817 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12818 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12819 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12820
21fd49a9
UD
12821 * nscd/connections.c (register_traced_file): Don't register file
12822 for disabled databases.
12823
054c0457
UD
128242011-10-06 Ulrich Drepper <drepper@gmail.com>
12825
32b63198
UD
12826 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12827
054c0457
UD
12828 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12829 from tree and freeing node.
12830
64031225
JO
128312011-09-25 Jiri Olsa <jolsa@redhat.com>
12832
12833 * nss/nsswitch.c (__nss_database_lookup): Handle
12834 nss_parse_service_list out of memory case.
12835
0490345c
JO
128362011-09-15 Jiri Olsa <jolsa@redhat.com>
12837
12838 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12839 out of memory case.
12840
3a62d00d
AS
128412011-10-04 Andreas Schwab <schwab@redhat.com>
12842
12843 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12844 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12845 pass it down.
12846 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12847 elf_machine_rela, elf_machine_lazy_rel.
12848 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12849 (ELF_DYNAMIC_DO_REL): Likewise.
12850 (ELF_DYNAMIC_DO_RELA): Likewise.
12851 (ELF_DYNAMIC_RELOCATE): Likewise.
12852 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12853 to ELF_DYNAMIC_DO_REL.
12854 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12855 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12856 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12857 elf_machine_rela.
12858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12859 skip_ifunc, don't call ifunc function if non-zero.
12860 (elf_machine_rela): Likewise.
12861 (elf_machine_lazy_rel): Likewise.
12862 (elf_machine_lazy_rela): Likewise.
12863 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12864 (elf_machine_lazy_rel): Likewise.
12865 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12866 Likewise.
12867 (elf_machine_lazy_rel): Likewise.
12868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12869 Likewise.
12870 (elf_machine_lazy_rel): Likewise.
12871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12872 (elf_machine_lazy_rel): Likewise.
12873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12874 (elf_machine_lazy_rel): Likewise.
12875 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12876 (elf_machine_lazy_rel): Likewise.
12877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12878 (elf_machine_lazy_rel): Likewise.
12879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12880 (elf_machine_lazy_rel): Likewise.
12881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12882 (elf_machine_lazy_rel): Likewise.
12883
68577918
UD
128842011-09-28 Ulrich Drepper <drepper@gmail.com>
12885
12886 * nss/nss_files/files-init.c (_nss_files_init): Use static
12887 initialization for all the *_traced_file variables.
12888
68822d74
AS
128892011-09-28 Andreas Schwab <schwab@redhat.com>
12890
12891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12892
2056100b
RM
128932011-09-27 Roland McGrath <roland@hack.frob.com>
12894
12895 [BZ #13226]
12896 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12897
32c76b63
AS
128982011-09-27 Andreas Schwab <schwab@redhat.com>
12899
12900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12901 Reread the line before reparsing it.
12902
bf972c9d
AS
129032011-09-26 Andreas Schwab <schwab@redhat.com>
12904
12905 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12906
e057a1b5
JM
129072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12908 Maxim Kuvyrkov <maxim@codesourcery.com>
12909 Joseph Myers <joseph@codesourcery.com>
12910
12911 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12912 if needed for __stack_chk_guard.
12913
bc7e1c36
RM
129142011-09-19 Roland McGrath <roland@hack.frob.com>
12915
ecb1482f
RM
12916 * sysdeps/posix/spawni.c (script_execute): Always define it.
12917 It will be optimized away if unused.
12918 (maybe_script_execute): New function.
12919 (__spawni): Call it.
12920
bc7e1c36
RM
12921 * Makerules: Don't include tls.make.
12922 (config-tls): Always set to thread.
12923 * tls.make.c: File removed.
12924
1c3b002b
MF
129252011-09-19 Mike Frysinger <vapier@gentoo.org>
12926
12927 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12928 * config.make.in (CPPFLAGS-config): New substituted variable.
12929
2840865d
UD
129302011-09-15 Ulrich Drepper <drepper@gmail.com>
12931
88738eb6
UD
12932 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12933
cbf645a6 12934 [BZ #13192]
2840865d
UD
12935 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12936 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12937
b402e91a
RM
129382011-09-15 Roland McGrath <roland@hack.frob.com>
12939
12940 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12941 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12943 (CALL_FAIL): Likewise.
12944 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12945 (CALL_FAIL): Macro removed.
12946 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12947
4c1a1f71
UD
129482011-09-15 Ulrich Drepper <drepper@gmail.com>
12949
12950 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12951 for __FINITE_MATH_ONLY__ == 1.
12952
edc121be
AS
129532011-09-15 Andreas Schwab <schwab@redhat.com>
12954
12955 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12956 __ieee754_sqrt instead of sqrt.
12957 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12958 __ieee754_sqrtf instead of sqrtf.
12959 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12960 __floorf instead of floorf.
12961 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12962 __floorf, __truncf instead of floorf, truncf.
12963
cd205654
UD
129642011-09-14 Ulrich Drepper <drepper@gmail.com>
12965
ee4d0315
UD
12966 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12967
cd205654
UD
12968 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12969 __extern_always_inline.
12970 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12971 32-bit.
12972
48b67d71
AS
129732011-09-14 Andreas Schwab <schwab@redhat.com>
12974
12975 * elf/rtld.c (dl_main): Also relocate in dependency order when
12976 doing symbol dependency testing.
12977
1ae12c75
AS
129782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12979
12980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12981 Always define `refsym'.
12982
995a80df
AS
129832011-09-13 Andreas Schwab <schwab@redhat.com>
12984
e529793b
AS
12985 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12986 (__FD_ELT): Renamed from __FDELT.
12987 * misc/bits/select2.h (__FD_ELT): Likewise.
12988 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12989 __FD_MASK instead of __FDELT, __FDMASK.
12990 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12991 Likewise.
12992 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12993 Likewise.
12994
52d4fef8
AS
12995 * elf/Makefile (gen-ldd): Fix pattern.
12996
995a80df
AS
12997 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12998 (init_tls): Likewise.
12999
8682f8b0
UD
130002011-09-12 Ulrich Drepper <drepper@gmail.com>
13001
13002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13003
de82006d
AS
130042011-09-12 Andreas Schwab <schwab@redhat.com>
13005
a7c8e6a1
AS
13006 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13007 `struct cmsghdr *' instead of `void *'.
13008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13009 Likewise.
13010
0f31fe77
AS
130112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13012
13013 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13014 if non-absolute.
13015 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13016 ldd_rewrite_script.
0f31fe77 13017
32b4c839
UD
130182011-09-11 Ulrich Drepper <drepper@gmail.com>
13019
83cd1420
UD
13020 * configure.in: Remove --with-tls option.
13021 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13022 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13023 out in case it is missing.
13024 * sysdeps/ia64/elf/configure.in: Likewise.
13025 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13026 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13027 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13028 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13029 * sysdeps/sh/elf/configure.in: Likewise.
13030 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13031 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13032 * sysdeps/x86_64/elf/configure.in: Likewise.
13033 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13034 * sysdeps/mach/hurd/tls.h: Likewise.
13035
633f745d
UD
13036 [BZ #13067]
13037 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13038
f318beb8
UD
13039 [BZ #13090]
13040 * configure.in: Fix use of AC_INIT.
13041
32b4c839
UD
13042 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13043
3ce1f295
UD
130442011-09-10 Ulrich Drepper <drepper@gmail.com>
13045
bb016596
UD
13046 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13047 __set_errno.
8e58439c
UD
13048 * malloc/hooks.c: Likewise.
13049
aebae053 13050 [BZ #11929]
02d46fc4
UD
13051 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13052 variables statically.
13053 (narenas): Initialize.
13054 (list_lock): Initialize.
bb016596
UD
13055 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13056 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13057 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13058 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13059 Add initializers to main_arena and mp_.
13060 (malloc_state): Remove pagesize member. Change all users to use
13061 GLRO(dl_pagesize).
13062
13063 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13064 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13065 is always initialized.
13066
22a89187
UD
13067 * malloc/malloc.c: Removed unused configurations and dead code.
13068 * malloc/arena.c: Likewise.
13069 * malloc/hooks.c: Likewise.
02d46fc4 13070 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13071
d063d164
UD
13072 * include/tls.h: Removed. USE___THREAD must always be defined.
13073 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13074 * elf/dl-libc.c: Likewise.
13075 * elf/dl-tsd.c: Likewise.
13076 * include/errno.h: Likewise.
13077 * include/netdb.h: Likewise.
13078 * include/resolv.h: Likewise.
13079 * inet/herrno-loc.c: Likewise.
13080 * inet/herrno.c: Likewise.
13081 * malloc/arena.c: Likewise.
13082 * malloc/hooks.c: Likewise.
13083 * malloc/malloc.c: Likewise.
13084 * resolv/res-state.c: Likewise.
13085 * resolv/res_libc.c: Likewise.
13086 * sysdeps/i386/dl-machine.h: Likewise.
13087 * sysdeps/ia64/dl-machine.h: Likewise.
13088 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13089 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13090 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13091 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13092 * sysdeps/sh/dl-machine.h: Likewise.
13093 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13094 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13095 * sysdeps/unix/i386/sysdep.S: Likewise.
13096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13097 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13102 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13107 * sysdeps/x86_64/dl-machine.h: Likewise.
13108 * tls.make.c: Likewise.
13109
3ce1f295
UD
13110 * configure.in: Remove --with-__thread option. Make tests for
13111 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13112 tls_model attribute fail if no support is available. Remove
13113 USE_IN_LIBIO.
13114 * Makeconfig: Adjust for dropped configure option. All features are
13115 now mandatory.
13116 * Makerules: Likewise.
13117 * Versions.def: Likewise.
13118 * argp/argp-fmtstream.c: Likewise.
13119 * argp/argp-fmtstream.h: Likewise.
13120 * argp/argp-help.c: Likewise.
13121 * assert/assert.c: Likewise.
13122 * config.h.in: Likewise.
13123 * config.make.in: Likewise.
13124 * configure: Likewise.
13125 * configure.in: Likewise.
13126 * csu/Versions: Likewise.
13127 * csu/init.c: Likewise.
13128 * elf/tst-audit2.c: Likewise.
13129 * elf/tst-tls10.c: Likewise.
13130 * elf/tst-tls10.h: Likewise.
13131 * elf/tst-tls11.c: Likewise.
13132 * elf/tst-tls12.c: Likewise.
13133 * elf/tst-tls14.c: Likewise.
13134 * elf/tst-tlsmod11.c: Likewise.
13135 * elf/tst-tlsmod12.c: Likewise.
13136 * elf/tst-tlsmod13.c: Likewise.
13137 * elf/tst-tlsmod13a.c: Likewise.
13138 * elf/tst-tlsmod14a.c: Likewise.
13139 * elf/tst-tlsmod15b.c: Likewise.
13140 * elf/tst-tlsmod16a.c: Likewise.
13141 * elf/tst-tlsmod16b.c: Likewise.
13142 * elf/tst-tlsmod7.c: Likewise.
13143 * elf/tst-tlsmod8.c: Likewise.
13144 * elf/tst-tlsmod9.c: Likewise.
13145 * gmon/gmon.c: Likewise.
13146 * grp/fgetgrent_r.c: Likewise.
13147 * grp/putgrent.c: Likewise.
13148 * hurd/fopenport.c: Likewise.
13149 * include/libc-symbols.h: Likewise.
13150 * include/tls.h: Likewise.
13151 * intl/gettextP.h: Likewise.
13152 * intl/loadinfo.h: Likewise.
13153 * locale/global-locale.c: Likewise.
13154 * locale/localeinfo.h: Likewise.
13155 * mach/devstream.c: Likewise.
13156 * malloc/arena.c: Likewise.
13157 * malloc/set-freeres.c: Likewise.
13158 * misc/err.c: Likewise.
13159 * misc/getttyent.c: Likewise.
13160 * misc/mntent_r.c: Likewise.
13161 * posix/getopt.c: Likewise.
13162 * posix/wordexp.c: Likewise.
13163 * pwd/fgetpwent_r.c: Likewise.
13164 * resolv/Versions: Likewise.
13165 * resolv/res_hconf.c: Likewise.
13166 * shadow/fgetspent_r.c: Likewise.
13167 * shadow/putspent.c: Likewise.
13168 * stdio-common/printf_fphex.c: Likewise.
13169 * stdio-common/tmpfile.c: Likewise.
13170 * stdlib/abort.c: Likewise.
13171 * stdlib/fmtmsg.c: Likewise.
13172 * sunrpc/auth_unix.c: Likewise.
13173 * sunrpc/clnt_perr.c: Likewise.
13174 * sunrpc/clnt_tcp.c: Likewise.
13175 * sunrpc/clnt_udp.c: Likewise.
13176 * sunrpc/clnt_unix.c: Likewise.
13177 * sunrpc/openchild.c: Likewise.
13178 * sunrpc/svc_simple.c: Likewise.
13179 * sunrpc/svc_tcp.c: Likewise.
13180 * sunrpc/svc_udp.c: Likewise.
13181 * sunrpc/svc_unix.c: Likewise.
13182 * sunrpc/xdr.c: Likewise.
13183 * sunrpc/xdr_array.c: Likewise.
13184 * sunrpc/xdr_rec.c: Likewise.
13185 * sunrpc/xdr_ref.c: Likewise.
13186 * sunrpc/xdr_stdio.c: Likewise.
13187
1248c1c4
PB
131882011-09-09 Ulrich Drepper <drepper@gmail.com>
13189
13190 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13191
131922011-07-03 Andreas Jaeger <aj@suse.de>
13193
13194 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13195 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13196 regenerate with gen-libm-tests.pl.
13197
131982010-05-12 Petr Baudis <pasky@suse.cz>
13199
13200 [BZ #11589]
13201 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13202 around j0() zero points by switching to j1().
13203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13207
f22e1074
UD
132082011-09-09 Ulrich Drepper <drepper@gmail.com>
13209
f19009c1
UD
13210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13211 instead of 0.
13212 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13213 instead of 0. .
13214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13215 Patch in part by Pavel Roskin <proski@gnu.org>.
13216
3f8cc204
UD
13217 [BZ #13138]
13218 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13219 realloc.
13220 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13221 Free memory block if necessary.
13222
f22e1074
UD
13223 [BZ #12847]
13224 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13225 be NULL. Don't lock in this case.
13226
0a2349f9
RM
132272011-09-09 Roland McGrath <roland@hack.frob.com>
13228
13229 * elf/elf.h (ELFOSABI_GNU): New macro.
13230 (ELFOSABI_LINUX): Define to that.
13231
f3cdd467
DZ
132322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13233
13234 * string/strncat.c (strncat): Undef the symbol in case it has been
13235 defined in bits/string.h.
13236
74718d13
UD
132372011-09-09 Ulrich Drepper <drepper@gmail.com>
13238
633e9e0f
UD
13239 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13240
0a2349f9 13241 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13242 link map.
13243
f9924780
AJ
132442011-08-17 Andreas Jaeger <aj@suse.de>
13245
13246 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13247
7f5517aa
PP
132482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13249 Ian Lance Taylor <iant@google.com>
13250
13251 * math/libm-test.inc (lround_test): New testcase.
13252 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13253
762011fe
UD
132542011-09-08 Ulrich Drepper <drepper@gmail.com>
13255
92963737
UD
13256 * Makefile: Remove support for automatic cvs check-ins.
13257 * Makerules: Likewise.
13258 * config.make.in: Likewise.
13259 * configure.in: Likewise.
13260 * intl/Makefile: Likewise.
13261 * locale/Makefile: Likewise.
13262 * po/Makefile: Likewise.
13263 * posix/Makefile: Likewise.
13264 * sysdeps/gnu/Makefile: Likewise.
13265 * sysdeps/mach/hurd/Makefile: Likewise.
13266 * sysdeps/sparc/sparc32/Makefile: Likewise.
13267
b0727fd8
JS
13268 [BZ #13118]
13269 * posix/Makefile (bug-regex32-ENV): Define.
13270 Patch by John Stanley <jpsinthemix@verizon.net>.
13271
a0f33f99
UD
13272 * misc/Makefile (headers): Add bits/select2.h.
13273 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13274 * misc/bits/select2.h: New file.
13275 * include/bits/select2.h: New file.
13276 * debug/Makefile (routines): Add fdelt_chk.
13277 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13278 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13279 FD_ISSET.
13280 * debug/fdelt_chk.c: New file.
13281
762011fe
UD
13282 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13283 * wcsmbs/test-wmemcmp.c: Likewise.
13284 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13285 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13286
132872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13288
13289 * string/Makefile (strop-tests): Add memcmp.
13290 * string/test-wmemcmp.c: New file.
13291 * string/test-memcmp.c: Add wmemcmp support.
13292
7f513ec8
RM
132932011-09-08 Roland McGrath <roland@hack.frob.com>
13294
0442afb4
RM
13295 [BZ #13153]
13296 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13297 2011-07-19 change.
13298
7f513ec8
RM
13299 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13300 garbage value in a __mach_port_mod_refs call in the cases of the
13301 task-self and thread-self ports.
13302
a12b2239
ST
133032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13304
13305 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13306
610f9ab4
AS
133072011-09-08 Andreas Schwab <schwab@redhat.com>
13308
7f513ec8 13309 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13310
48882a1a
LD
133112011-09-07 Ulrich Drepper <drepper@gmail.com>
13312
b49865be
UD
13313 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13314
fdc86bc9
UD
13315 * elf/dl-libc.c (dlerror_run): Pass back error code from
13316 dl_catch_error.
13317
c966526a
UD
13318 [BZ #13123]
13319 * elf/dl-load.c (lose): Free l_origin if it is valid.
13320
48882a1a
LD
13321 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13322 names.
13323 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13328 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13329
77a2a8b4
AZ
133302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13331
13332 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13333 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13334 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13335 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13336 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13337 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13338 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13339 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13340 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13341 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13342
24f579d8
AM
133432011-08-15 Alan Modra <amodra@gmail.com>
13344
13345 [BZ #13092]
13346 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13347 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13348 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13349 ppc_mcount to static-only-routines.
13350 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13351 __mcount_internal.
13352 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13353 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13354
3d4837df
UD
133552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13356
13357 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13358 for finite and infinity parameters.
13359
22700377
WS
133602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13361
13362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13363 and add nop instructions for throughput optimization.
13364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13365
5025581e
WS
133662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13367
13368 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13369 aligned copy for power7 with vector-scalar instructions.
13370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13371
08a300c9
L
133722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13373
13374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13375 AVX check.
13376
59178ef9
AS
133772011-09-07 Andreas Schwab <schwab@redhat.com>
13378
13379 [BZ #13144]
13380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13381 last change.
13382
e38ba7ab
UD
133832011-09-07 Ulrich Drepper <drepper@gmail.com>
13384
13385 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13386 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13387 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13388 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13389 clock_gettime.
13390
d53a73ac
UD
133912011-09-06 Ulrich Drepper <drepper@gmail.com>
13392
fc8bffcc
UD
13393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13394 Forgot to demangle the pointer.
13395
ceaa0c5d
UD
13396 * sysdeps/i386/sysdep.h: Define atom_text_section.
13397 * sysdeps/x86_64/sysdep.h: Likewise.
13398 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13399 section with atom_text_section.
13400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13401 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13402 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13404 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13405
a77d3c17
UD
13406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13407 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13408 already be defined. Change to take two parameters and don't assign
13409 result to variable. Adjust all users.
13410 Define INTERNAL_GETTIME if not already defined.
13411 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13412 call.
13413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13414 HAVE_CLOCK_GETTIME_VSYSCALL.
13415 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13416
d53a73ac
UD
13417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13418 gettimeofday vsyscall, just use time.
13419
a8f84144
AS
134202011-09-06 Andreas Schwab <schwab@redhat.com>
13421
13422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13423 <errno.h>.
13424
ef606249
UD
134252011-09-06 Ulrich Drepper <drepper@gmail.com>
13426
13427 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13428 syscall on x86-64.
13429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13430 syscall.
13431 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13432 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13433 syscall if possible.
13434
6585cb60
UD
134352011-09-05 Ulrich Drepper <drepper@gmail.com>
13436
13437 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13438 e_ident. Don't pass to find_mapsXX.
13439 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13440
a5f524e4
LD
134412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13442
13443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13444 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13445 * sysdeps/x86_64/multiarch/strchr.S: Update.
13446 Check bit_slow_BSF bit.
13447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13448 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13449 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13450
554881ef
UD
134512011-09-05 Ulrich Drepper <drepper@gmail.com>
13452
d96de963
UD
13453 [BZ #13134]
13454 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13455 before glibc 2.15.
13456 (tryshell): Define.
13457 (__spawni): Change last parameter to be flag. Test
13458 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13459 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13460 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13461 * posix/spawni.c: Likewise.
13462 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13463 * posix/spawnp.c: Likewise. Change normal version to use
13464 SPAWN_XFLAGS_USE_PATH.
13465 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13466 SPAWN_XFLAGS_TRY_SHELL.
13467
d48e5868
UD
13468 [BZ #13150]
13469 * posix/glob.h: Remove gcc 1.x support.
13470
554881ef
UD
13471 [BZ #13068]
13472 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13473
693fb948
LD
134742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13475
13476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13477 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13478 strrchr-sse2-bsf
13479 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13480 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13481 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13483 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13485
1b48c537
UD
134862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13487
49d42c37
UD
13488 * sysdeps/x86_64/wcscmp.S: New file.
13489
1b48c537
UD
13490 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13491 wcscmp-c wcscmp-sse2
13492 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13493 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13495 * wcsmbs/wcscmp.c: Allow renaming.
13496
15c95c5d
DM
134972011-09-05 David S. Miller <davem@davemloft.net>
13498
13499 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13500 stack slot, rather than the struct return pointer slot.
13501 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13502 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13504 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13505
2f0ad8f3
UD
135062011-09-05 Ulrich Drepper <drepper@gmail.com>
13507
d88ae418
UD
13508 * po/ja.po: Update from translation team.
13509
2f0ad8f3
UD
13510 [BZ #13144]
13511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13512 kernel in 64-bit binaries.
13513
5f4318d1
DM
135142011-09-01 David S. Miller <davem@davemloft.net>
13515
13516 * elf/elf.h (HWCAP_SPARC_*): Move to..
13517 * sysdeps/sparc/sysdep.h: this new file and add new values.
13518 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13519 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13520 _DL_HWCAP_COUNT to 24.
13521 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13522 entries.
13523 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13524 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13525 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13527 instead of magic constants.
13528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13529
3ba57516
DM
135302011-08-31 David S. Miller <davem@davemloft.net>
13531
13532 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13534 Reimplement to do errno handling inline.
13535 (SYSCALL_ERROR_HANDLER): New macro.
13536 (__SYSCALL_STRING): Do not do errno handling in asm.
13537 (__CLONE_SYSCALL_STRING): Delete.
13538 (__INTERNAL_SYSCALL_STRING): Delete.
13539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13540 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13541 (PSEUDO): Reimplement to do errno handling inline.
13542 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13543 (SYSCALL_ERROR_HANDLER): New macro.
13544 (__SYSCALL_STRING): Do not do errno handling in asm.
13545 (__CLONE_SYSCALL_STRING): Delete.
13546 (__INTERNAL_SYSCALL_STRING): Delete.
13547 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13548 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13549 i386.
13550 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13551 (inline_syscall*): Add 'err' argument.
13552 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13553 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13554 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13555 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13556
13557 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13558 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13559
2bc17433
AS
135602011-08-30 Andreas Schwab <schwab@redhat.com>
13561
13562 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13563
fbeb5f4d
JO
135642011-08-29 Jiri Olsa <jolsa@redhat.com>
13565
13566 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13567 directive.
13568
ad69cc26
DM
135692011-08-24 David S. Miller <davem@davemloft.net>
13570
13571 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13572
39dd69df
AS
135732011-08-24 Andreas Schwab <schwab@redhat.com>
13574
13575 * elf/Makefile: Add rules to build and run unload8 test.
13576 * elf/unload8.c: New file.
13577 * elf/unload8mod1.c: New file.
13578 * elf/unload8mod1x.c: New file.
13579 * elf/unload8mod2.c: New file.
13580 * elf/unload8mod3.c: New file.
13581
13582 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13583 it wasn't used.
13584
2c0b250a
DM
135852011-08-23 David S. Miller <davem@davemloft.net>
13586
13587 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13588 subtract stack bias.
13589 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13590 %sp not %fp in calculations.
13591 (_JMPBUF_UNWINDS_ADJ): Likewise.
13592
22044b48
DM
13593 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13594 (aio_suspend): Call it to force an exception region around the
13595 AIO_MISC_WAIT() invocation.
13596
2cae4995
AS
135972011-08-23 Andreas Schwab <schwab@redhat.com>
13598
13599 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13600 backslash.
13601
873a772e
AJ
136022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13603
13604 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13605 protection macro.
13606 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13607 and <dl-machine.h>.
13608 (Elf64_FuncDesc): Remove.
13609
25ad0df1
DM
136102011-08-22 David S. Miller <davem@davemloft.net>
13611
13612 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13613 sigaltstack check, add missing cfi directives.
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13615 missing cfi directives, and sigaltstack handling.
13616
e888bcbe
AS
136172011-08-16 Andreas Schwab <schwab@redhat.com>
13618
13619 [BZ #11724]
13620 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13621 object is seen twice.
13622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13623
13624 * elf/Makefile (distribute): Add tst-initorder2.c.
13625 (tests): Add tst-initorder2.
13626 (modules-names): Add tst-initorder2a tst-initorder2b
13627 tst-initorder2c tst-initorder2d. Add rules to build them.
13628 ($(objpfx)tst-initorder2.out): New rule.
13629 * elf/tst-initorder2.c: New file.
13630 * elf/tst-initorder2.exp: New file.
13631
87162f46
AS
136322011-08-22 Andreas Schwab <schwab@redhat.com>
13633
70538b7f
AS
13634 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13635
f55ffe58
AS
13636 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13637 dependencies back to end of function.
13638
87162f46
AS
13639 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13640 $(elfobjdir)/ld.so.
13641
91b392a4
UD
136422011-08-21 Ulrich Drepper <drepper@gmail.com>
13643
13644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13645 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13647 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13648 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13649 of __vdso_gettimeofday.
13650 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13651 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13652 attribute_hidden.
13653 (_libc_vdso_platform_setup): Remove initialization of
13654 __vdso_gettimeofday and __vdso_time.
13655
5c43483f
UD
136562011-08-20 Ulrich Drepper <drepper@gmail.com>
13657
775a77e7
UD
13658 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13659 and fgetc_unlocked.
13660 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13661 getc_unlocked.
89f447ed 13662
49c74ba9
UD
13663 * elf/dl-open.c (add_to_global): Report additions to the global scope
13664 for LD_DEBUG=scopes.
13665 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13666 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13667
5c43483f
UD
13668 [BZ #13114]
13669 * stdio-common/Makefile (tests): Add bug24.
13670 * stdio-common/bug24.c: New file.
13671
a101b025
AJ
136722011-08-19 Andreas Jaeger <aj@suse.de>
13673
13674 [BZ #13114]
13675 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13676 non-existant file when using close-on-exec mode.
13677
c88f1766
UD
136782011-08-20 Ulrich Drepper <drepper@gmail.com>
13679
0276a718
UD
13680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13681 the very first instruction.
13682
c88f1766
UD
13683 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13684 the CFI state in the end.
13685 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13686 inclusion of dl-trampoline.h.
13687 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13688
51ccffa0
AS
136892011-08-19 Andreas Schwab <schwab@redhat.com>
13690
94d7165f
AS
13691 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13692 expectations for long double.
13693
51ccffa0
AS
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13695 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13696
fd708658 136972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13698
13699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13700 artificual limit depends upon the system page size.
13701
44f0a71e
UD
137022011-08-17 Ulrich Drepper <drepper@gmail.com>
13703
13704 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13705 * resolv/Makefile: Define CFLAGS-libresolv.
13706
8de79a24
AS
137072011-08-17 Andreas Schwab <schwab@redhat.com>
13708
13709 * nss/makedb.c (compute_tables): Make variables used in nested
13710 function static.
13711
27724598
UD
137122011-08-17 Ulrich Drepper <drepper@gmail.com>
13713
c5305d88
UD
13714 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13715 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13716 if buffer was too small.
13717
27724598
UD
13718 * elf/pldd.c (main): Attach to all threads in the process.
13719 Rewrite /proc handling to use *at functions.
13720
076fe015
UD
137212011-08-16 Ulrich Drepper <drepper@gmail.com>
13722
174baab3
UD
13723 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13724 specifies first scope to show.
13725 (dl_open_worker): Update callers. Move printing scope of new
13726 object to before the relocation.
44f0a71e 13727 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13728 * sysdeps/generic/ldsodefs.h: Update declaration.
13729
076fe015
UD
13730 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13731 string for the scope number.
13732
a60df2c3
UD
137332011-08-14 Ulrich Drepper <drepper@gmail.com>
13734
13735 * nscd/servicescache.c (cache_addserv): Make sure written is always
13736 initialized.
13737
5e4287d1
RM
137382011-08-14 Roland McGrath <roland@hack.frob.com>
13739
85ae0589
RM
13740 * sysdeps/i386/i486/bits/atomic.h
13741 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13742 statement expression, so as to suppress "set but not used" warning.
13743 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13744
69f63097
RM
13745 * string/strncat.c (STRNCAT): Use prototype definition.
13746
675456ef
RM
13747 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13748 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13749 -Iprograms here.
13750 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13751 (localedef-modules): Add localedef.
13752 (locale-modules): Add locale.
13753
5e4287d1
RM
13754 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13755 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13756 to avoid a warning.
13757
9c96ff23
DM
137582011-08-14 David S. Miller <davem@davemloft.net>
13759
13760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13761 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13762
f9ddf089
UD
137632011-08-13 Ulrich Drepper <drepper@gmail.com>
13764
44f0a71e 13765 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13766 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13767 * elf/rtld.c (dl_main): Set l_name of vDSO.
13768 Call _dl_show_scope when DL_DEBUG_SCOPES.
13769 (process_dl_debug): Recognize scopes flag and also set it for all.
13770 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13771 Declare _dl_show_scope.
13772
1dc27704
UD
13773 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13774 (do_dlopen): Pass caller_dlopen to dl_open.
13775 (__libc_dlopen_mode): Initialize caller_dlopen.
13776
f9ddf089
UD
13777 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13778 of libc. Make tolower call locale-independent. Optimize a bit by
13779 using isdigit instead of isalnum.
13780 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13781
9ac533d3
UD
137822011-08-12 Ulrich Drepper <drepper@gmail.com>
13783
13784 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13785 was a dependency or dynamically loaded.
13786
89edf2e9
UD
137872011-08-11 Ulrich Drepper <drepper@gmail.com>
13788
8e999d29
UD
13789 * intl/l10nflist.c: Allow architecture-specific pop function.
13790 * sysdeps/x86_64/l10nflist.c: New file.
13791
89edf2e9
UD
13792 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13793 classification.
13794
14d96785
AS
137952011-08-10 Andreas Schwab <schwab@redhat.com>
13796
13797 * include/dirent.h: Add libc_hidden_proto for scandirat and
13798 scandirat64. Don't declare __scandirat64.
13799 * dirent/scandirat.c: Add libc_hidden_def.
13800 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13801 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13802
6761ac04
DM
138032011-08-10 David S. Miller <davem@davemloft.net>
13804
13805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13806 enum.
13807 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13810
c55fbd1e
UD
138112011-08-09 Ulrich Drepper <drepper@gmail.com>
13812
13813 * Versions.def [libc]: Add GLIBC_2.15.
13814 * dirent/Makefile (routines): Add scandirat and scandirat64.
13815 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13816 GLIBC_2.15.
13817 * dirent/dirent.h: Declare scandirat and scandirat64.
13818 * dirent/scandirat.c: New file.
13819 * dirent/scandirat64.c: New file.
13820 * sysdeps/wordsize-64/scandirat.c: New file.
13821 * sysdeps/wordsize-64/scandirat64.c: New file.
13822 * dirent/opendir.c: Define opendirat.
13823 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13824 using scandirat.
13825 * dirent/scandir64.c: Adjust for scandir.c change.
13826 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13827 __scandirat64, and __scandir_cancel_handler.
13828 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13829 additional parameter and use openat instead of open (outside of ld.so).
13830 Add new __opendir as wrapper around __opendirat.
13831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13832 here without requiring old scandirat implementation.
13833
879165f2
UD
138342011-08-08 Ulrich Drepper <drepper@gmail.com>
13835
13836 * dirent/scandir.c (cancel_handler): Renamed to
13837 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13838 defined. Adjust users.
13839 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13841
cb7e923b
UD
138422011-08-04 Ulrich Drepper <drepper@gmail.com>
13843
16292edd
UD
13844 * string/test-string.h (IMPL): Use __STRING to expand name and then
13845 stringify it.
13846
cb7e923b
UD
13847 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13848 of cleanups.
13849
cff82933
LD
138502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13851
13852 * string/Makefile: Update.
13853 (strop-tests): Append strncat.
13854 * string/test-wcscmp.c: New file.
13855 New comprehensive test for wcscmp.
13856 * string/test-strcmp.c: Update.
13857 (WIDE): New define.
13858
9be9bfcc
AS
138592011-07-22 Andreas Schwab <schwab@redhat.com>
13860
13861 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13862 line.
13863
2e96f1c7
AS
138642011-07-26 Andreas Schwab <schwab@redhat.com>
13865
13866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13867 encoding to ACE if AI_IDN.
13868
85188888
JJ
138692011-08-01 Jakub Jelinek <jakub@redhat.com>
13870
13871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13872 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13873
5fa16e9b
LD
138742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13875
13876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13877 Fix overflow bug in strncat.
13878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13879
13880 * string/test-strncat.c: Update.
13881 Add new tests for checking overflow bugs.
13882
138832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13884
13885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13886 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13887 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13888 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13890 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13891 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13892 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13893 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13894
13895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13896 (USE_AS_STRCAT): Define.
13897 Add strcat and strncat support.
13898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13899
8c1a459f
AS
139002011-07-25 Andreas Schwab <schwab@redhat.com>
13901
13902 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13903 __n bigger than INT_MAX+1.
13904 (__strncmp_g): Likewise.
13905
bba33c28
UD
139062011-07-23 Ulrich Drepper <drepper@gmail.com>
13907
798be72d
UD
13908 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13909 * libio/stido.h: Likewise.
13910
8accd4dc
UD
13911 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13912 (AF_NFC): Define.
13913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13914 (AF_NFC): Define.
13915
cbff0d96
UD
13916 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13917 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13919 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13921
9191c04a
UD
13922 [BZ #13021]
13923 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13924 installed.
13925
bba33c28
UD
13926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13927 typo.
13928 (_dl_x86_64_save_sse): Likewise.
13929
90f139dd
UD
139302011-07-22 Ulrich Drepper <drepper@gmail.com>
13931
1aae088a
UD
13932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13933 OSXSAVE.
13934 (_dl_x86_64_save_sse): Likewise.
13935
8e2045f5
UD
13936 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13937
90f139dd
UD
13938 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13939
1d002f25
AS
139402011-07-21 Andreas Schwab <schwab@redhat.com>
13941
13942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13943 change.
13944 (_dl_x86_64_save_sse): Use correct AVX check.
13945
21137f89
UD
139462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13947
13948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13949 bug in strncpy/strncat.
13950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13951
a65c0b7a
UD
139522011-07-21 Ulrich Drepper <drepper@gmail.com>
13953
13954 * string/tester.c (test_strcat): Add tests for different alignments
13955 of source and destination.
13956 (test_strncat): Likewise.
13957
6986b98a
UD
139582011-07-20 Ulrich Drepper <drepper@gmail.com>
13959
90bb2039
UD
13960 [BZ #12852]
13961 * posix/glob.c (glob): Check passed in values before using them in
13962 expressions to avoid some overflows.
13963 (glob_in_dir): Likewise.
13964
5644ef54
UD
13965 [BZ #13007]
13966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13967 check for AVX enablement so that we don't crash with old kernels and
13968 new hardware.
13969 * elf/tst-audit4.c: Add same checks here.
13970 * elf/tst-audit6.c: Likewise.
13971
13972 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13973
bfc9dc9b
AS
139742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13975
13976 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13977
702e64bb
UD
139782011-07-20 Ulrich Drepper <drepper@gmail.com>
13979
13980 * po/cs.po: Update from translation team.
13981 * po/bg.po: Likewise.
13982
295e904f
MP
139832011-07-12 Marek Polacek <mpolacek@redhat.com>
13984
13985 * misc/sys/cdefs.h: Add support for const attribute.
13986 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13987 to gnu_dev_{major,minor,makedev} functions.
13988
3ff94596
MP
139892011-07-20 Marek Polacek <mpolacek@redhat.com>
13990
13991 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13992
28b59fca
AS
139932011-07-20 Andreas Schwab <schwab@redhat.com>
13994
13995 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13996 strlen results.
13997
19df733e
AK
139982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13999
14000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14001 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14002 register in order to avoid conflicts with the soft frame pointer
14003 being held in r11 when necessary.
14004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14005 (INTERNAL_VSYSCALL_NCS): Likewise.
14006
c8835729
MP
140072011-07-14 Marek Polacek <mpolacek@redhat.com>
14008
14009 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14010 * elf/dl-fini.c (_dl_fini): Adjust caller.
14011 * elf/dl-close.c (_dl_close_worker): Likewise.
14012 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14013
b902330c
MP
140142011-07-15 Marek Polacek <mpolacek@redhat.com>
14015
8991e135
MP
14016 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14017 "aux_cache->nlibs < 0".
14018
b902330c
MP
14019 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14020 in the reload-count case.
14021
99710781
LD
140222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14023
14024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14025 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14026 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14027 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14028 * sysdeps/x86_64/multiarch/strcat.S: New file.
14029 * sysdeps/x86_64/multiarch/strncat.S: New file.
14030 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14032 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14033 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14035 (USE_AS_STRCAT): Define.
14036 Add strcat and strncat support.
14037 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14039 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14040 * string/strncat.c: Update.
14041 (USE_AS_STRNCAT): Define.
14042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14043 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14044 and i7.
14045 * sysdeps/x86_64/multiarch/init-arch.h
14046 (bit_Prefer_PMINUB_for_stringop): New.
14047 (index_Prefer_PMINUB_for_stringop): Likewise.
14048 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14049 bit_Prefer_PMINUB_for_stringop.
14050
7dc6bd90
UD
140512011-07-19 Ulrich Drepper <drepper@gmail.com>
14052
14053 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14054 buffer64.
14055 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14056 of casting of buffer.
14057 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14058 buffer32 and buffer64.
14059 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14060 writes instead of casting of buffer.
14061 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14062 buffer32.
14063 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14064 casting of buffer.
14065
e0e72284
AS
140662011-07-19 Andreas Schwab <schwab@redhat.com>
14067
14068 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14069
feb1eb0b
UD
140702011-07-19 Ulrich Drepper <drepper@gmail.com>
14071
14072 * nscd/nscd.c (termination_handler): Don't do anything for a database
14073 if it has not yet been initialized.
14074
298711ff
UD
140752011-07-18 Ulrich Drepper <drepper@gmail.com>
14076
14077 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14078
140792011-07-15 Marek Polacek <mpolacek@redhat.com>
14080
14081 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14082
f9d68389
UD
140832011-07-18 Ulrich Drepper <drepper@gmail.com>
14084
14085 * po/nl.po: Update from translation team.
14086 * po/sv.po: Likewise.
14087
db290cf5
RM
140882011-07-16 Roland McGrath <roland@hack.frob.com>
14089
14090 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14091 now disallowed by GCC.
5c550700 14092
fd5e21c7
RM
14093 * configure.in (use-default-link): Default to yes if a test -shared
14094 link meets our qualifications.
14095 * configure: Regenerated.
14096
5c550700
RM
14097 * config.make.in (output-format): New variable.
14098 * configure.in: Check for ld --print-output-format support.
14099 * configure: Regenerated.
14100 * Makerules ($(common-objpfx)format.lds)
14101 [$(output-format) != unknown]: Just use $(output-format),
14102 instead of the linker-script munging.
14103
9fa2c032
RM
141042011-07-14 Roland McGrath <roland@hack.frob.com>
14105
a6928d51
RM
14106 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14107 of $(common-objpfx)shlib.lds.
14108 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14109
661607b3
RM
14110 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14111 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14112
9fa2c032
RM
14113 * configure.in (-z relro check): Adjust test code to add a large
14114 writable data section after it.
14115 * configure: Regenerated.
14116
defe9061
RM
141172011-07-11 Roland McGrath <roland@hack.frob.com>
14118
14119 * configure.in (-z relro check): Fix test code to make the variable
14120 truly const.
14121 * configure: Regenerated.
14122
319b9ad4
UD
141232011-07-11 Ulrich Drepper <drepper@gmail.com>
14124
14125 * nscd/nscd.h (struct traced_file): Define.
14126 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14127 elements. Add traced_files.
14128 (inotify_fd): Declare.
14129 (register_traced_file): Declare.
14130 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14131 (inotify_fd): Export.
14132 (resolv_conf_descr): Remove.
14133 (nscd_init): Move inotify descriptor creation to main.
14134 Don't register files for notification here.
14135 (register_traced_file): New function.
14136 (invalidate_cache): Don't use reset_res to determine whether to call
14137 res_init, go through the list of registered files.
14138 (main_loop_poll): The inotify descriptors are now stored in the
14139 structures for the traced files.
14140 (main_loop_epoll): Likewise
14141 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14142 to __nss_disable_nscd.
14143 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14144 for a database anymore. Check the records for all the registered
14145 files instead.
14146 * nss/Makefile (libnss_files-routines): Add files-init.
14147 (libnss_db-routines): Add db-init.
14148 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14149 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14150 * nss/nss_db/db-init.c: New file.
14151 * nss/nss_files/files-init.c: New file.
14152 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14153 __nss_lookup_function.
14154 (__nss_lookup_function): Call nss_load_library.
14155 (nss_load_all_libraries): New function.
14156 (__nss_disable_nscd): Take parameter with callback function for files
14157 to register. Set is_nscd. Load all the DSOs for the NSS modules
14158 used for the cached services.
14159 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14160 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14161 options for features to all the files in nscd.
14162
14163 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14164
23bee3e8
RM
141652011-07-10 Roland McGrath <roland@hack.frob.com>
14166
14167 * csu/elf-init.c (__libc_csu_init): Comment typo.
14168
46a5b7f0
UD
141692011-07-09 Ulrich Drepper <drepper@gmail.com>
14170
14171 * po/pl.po: Update from translation team.
14172 * po/ja.po: Likewise.
14173 * po/ru.po: Likewise.
14174 * po/ko.po: Likewise.
14175 * po/fr.po: Likewise.
14176
d30cf5bb
RM
141772011-07-09 Roland McGrath <roland@hack.frob.com>
14178
113ddea4
RM
14179 * configure.in (.ctors/.dtors header and trailer check):
14180 Use an empirical test on a built program.
14181 * configure: Regenerated.
14182
574920b4
RM
14183 * configure.in (-z relro check): Use an empirical test on a built DSO.
14184 Detect, but do not require, on ia64.
14185 * configure: Regenerated.
14186
d30cf5bb
RM
14187 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14188 Update tests that use readelf to use $READELF instead.
14189 * configure: Regenerated.
14190
8538fdb3
UD
141912011-07-08 Ulrich Drepper <drepper@gmail.com>
14192
14193 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14194 if the result is not used.
14195
04d08991
AJ
141962011-07-05 Andreas Jaeger <aj@suse.de>
14197
14198 [BZ#9696]
14199 * stdlib/tst-strtod.c: Add testcase.
14200
de283087
AD
142012011-07-07 Ulrich Drepper <drepper@gmail.com>
14202
4e5f31c8 14203 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14204 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14205 The latter has a higher limit. Take additional parameter to pass to
14206 the new function.
14207 (__pathconf): Pass file to __statfs_link_max.
14208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14209 __statfs_link_max.
14210 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14211 __statfs_link_max.
14212
de283087
AD
14213 [BZ #12868]
14214 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14215 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14216 Handle Lustre.
14217 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14218 (__statfs_filesize_max): Likewise.
14219 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14220
c75fa153
AJ
142212011-07-05 Andreas Jaeger <aj@suse.de>
14222
14223 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14224
1a544854
UD
142252011-07-06 Marek Polacek <mpolacek@redhat.com>
14226
14227 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14228 `status' variable.
14229 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14230 Likewise.
14231
6f0eec67
UD
142322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * Makefile (strop-tests): Add strncat.
14235 * string/test-strncat.c: New file.
14236
aae30307
UD
142372011-06-30 Marek Polacek <mpolacek@redhat.com>
14238
14239 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14240
c0cfb5eb
UD
142412011-06-21 Andreas Jaeger <aj@suse.de>
14242
14243 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14244 Copy rule from iconvdata/Makefile.
14245
01636b21
UD
142462011-07-06 Ulrich Drepper <drepper@gmail.com>
14247
14248 [BZ #12922]
14249 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14250 but no long options are defined, just return 'W'.
14251
9895c8bc
UD
142522011-06-22 Marek Polacek <mpolacek@redhat.com>
14253
14254 [BZ #9696]
14255 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14256
5d4cf042
UD
142572011-07-06 Ulrich Drepper <drepper@gmail.com>
14258
14259 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14260 netgroups to read.
960e5535 14261 (innetgr): Likewise.
5d4cf042 14262
751eb97e
RM
142632011-07-05 Roland McGrath <roland@hack.frob.com>
14264
14265 * config.make.in (install_root): Default to $(DESTDIR).
14266
f15f1e45
UD
142672011-07-05 Ulrich Drepper <drepper@gmail.com>
14268
14269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14270
4e34ac6a
RM
142712011-07-02 Roland McGrath <roland@hack.frob.com>
14272
5e9b6af4
RM
14273 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14274
84f9ea0f
RM
14275 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14276 containing directory rather than embedding absolute directory names.
14277
ea5ee9f7
RM
14278 * scripts/check-local-headers.sh: Rewritten using awk.
14279 Match by word, not by line. Print error messages for matches.
14280 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14281
1b74661a
RM
14282 * Makerules [shlib-lds-flags empty]:
14283 ($(common-objpfx)libc_pic.opts): New target.
14284 ($(common-objpfx)libc_pic.os.clean): New target.
14285 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14286
14287 * config.make.in (OBJCOPY): New variable.
14288 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14289 * configure: Regenerated.
14290
f781ef40
RM
14291 * config.make.in (use-default-link): New variable.
14292 * configure.in (use_default_link): Grok --with-default-link to set it.
14293 * configure: Regenerated.
14294 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14295 (shlib-lds, shlib-lds-flags): Define to empty.
14296
2d4fa81e
RM
14297 * Makerules (shlib-lds): New variable.
14298 (shlib-lds-flags): New variable.
14299 (build-shlib, build-moduile, build-module-asneeded): Use it.
14300 ($(common-objpfx)libc.so): Use $(shlib-lds).
14301 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14302 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14303
31fffa6b
RM
14304 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14305 DT_FLAGS/DT_FLAGS_1 with zero flags.
14306
4e34ac6a
RM
14307 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14308 linker script munging.
14309
fcfc776b
UD
143102011-07-02 Ulrich Drepper <drepper@gmail.com>
14311
14312 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14313 as 128-bit value.
14314 * crypt/sha512.c (sha512_process_block): Perform total addition using
14315 128-bit if possible.
14316 (__sha512_finish_ctx): Likewise.
14317 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14318 as 64-bit value.
14319 * crypt/sha256.c (SWAP64): Define.
14320 (sha256_process_block): Perform total addition using 64-bit if
14321 possible.
14322 (__sha256_finish_ctx): Likewise.
14323
99231d9a
UD
143242011-07-01 Ulrich Drepper <drepper@gmail.com>
14325
14326 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14328 * nscd/hstcache.c (cache_addhst): Likewise.
14329 * nscd/grpcache.c (cache_addgr): Likewise.
14330 * nscd/aicache.c (addhstaiX): Likewise
14331 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14332
445b4a53
TK
143332011-07-01 Thorsten Kukuk <kukuk@suse.de>
14334
14335 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14337 * nscd/hstcache.c (cache_addhst): Likewise.
14338 * nscd/grpcache.c (cache_addgr): Likewise.
14339 * nscd/aicache.c (addhstaiX): Likewise
14340
6d4d8e8e
AS
143412011-07-01 Andreas Schwab <schwab@redhat.com>
14342
14343 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14344 domain only when needed.
14345
89f654c5
AS
143462011-06-30 Andreas Schwab <schwab@redhat.com>
14347
14348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14349 is always restored.
14350
cf3b23ff
UD
143512011-06-29 Ulrich Drepper <drepper@gmail.com>
14352
14353 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14354 are re-adding the entry.
14355 * nscd/servicescache.c (cache_addserv): Likewise.
14356
751626f9
AJ
143572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14358
14359 * sysdeps/generic/dl-irel.h: fix protection against multiple
14360 inclusions.
14361 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14362
9113ea1f
UD
143632011-06-28 Ulrich Drepper <drepper@gmail.com>
14364
5c0b8d90
UD
14365 [BZ #12935]
14366 * malloc/memusage.sh: Fix quoting in message.
14367 * debug/xtrace.sh: Likewise.
14368
9113ea1f
UD
14369 * configure.in: Remove support for --experimental-malloc option, make
14370 it the default.
14371 * config.make.in: Likewise.
14372 * malloc/Makefile: Likewise.
14373
a4172181
AS
143742011-06-27 Andreas Schwab <schwab@redhat.com>
14375
14376 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14377 two-byte characters.
14378
78a7eee7
RM
143792011-06-27 Roland McGrath <roland@hack.frob.com>
14380
62bede13
RM
14381 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14382 AC_CACHE_CHECK invocation.
14383 * configure: Regenerated.
14384
78a7eee7
RM
14385 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14386
5ce33a62
UD
143872011-06-27 Ulrich Drepper <drepper@gmail.com>
14388
034807a9
UD
14389 [BZ #12350]
14390 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14391 bit from old_res_options.
14392
4902da17
UD
14393 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14394
5ce33a62
UD
14395 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14396 value type for setfct.
14397
c2344f56
L
143982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14399
14400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14401 __gettimeofday instead of gettimeofday.
14402
68468076
UD
144032011-06-26 Ulrich Drepper <drepper@gmail.com>
14404
14405 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14406
acb0d739
L
144072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14408
14409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14410
14411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14412 info.
14413
8912479f
L
144142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14415
14416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14417 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14418 strcpy-sse2-unaligned strncpy-sse2-unaligned
14419 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14420 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14421 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14422 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14423 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14426 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14427 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14428 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14429 (STRCPY): Support SSE2 and SSSE3 versions.
14430
d5495a11
UD
144312011-06-24 Ulrich Drepper <drepper@gmail.com>
14432
14433 [BZ #12874]
14434 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14435 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14436 kernels which artificially limit size of requests.
14437
0b1cbaae
L
144382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14439
14440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14441 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14442 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14443 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14444 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14445 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14446 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14447 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14450 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14451 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14452 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14453 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14454 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14456 Enable unaligned load optimization for Intel Core i3, i5 and i7
14457 processors.
14458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14459 Define.
14460 (index_Fast_Unaligned_Load): Define.
14461 (HAS_FAST_UNALIGNED_LOAD): Define.
14462
07f494a0
MP
144632011-06-23 Marek Polacek <mpolacek@redhat.com>
14464
14465 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14466
fa3fc0fe
UD
144672011-06-22 Ulrich Drepper <drepper@gmail.com>
14468
14469 [BZ #12907]
14470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14471 until it is clear that the information is realy needed.
14472 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14473
e12df166
AS
144742011-06-22 Andreas Schwab <schwab@redhat.com>
14475
14476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14477
852eb34d
UD
144782011-06-22 Ulrich Drepper <drepper@gmail.com>
14479
84e2a551
UD
14480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14481 /sys/devices/system/cpu/online if it is usable.
14482
852eb34d
UD
14483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14484 reading the information from the /proc filesystem to once a second.
14485
6e502e19
UD
144862011-06-21 Andreas Jaeger <aj@suse.de>
14487
14488 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14489 NULL after inclusion of kernel headers.
14490
75d39ff2
UD
144912011-06-21 Ulrich Drepper <drepper@gmail.com>
14492
51f9aa6a
UD
14493 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14494 calls to internal_setent.
14495
c0244a9d
UD
14496 [BZ #12885]
14497 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14498 addresses using gethostbyname4_r ignore IPv4 addresses.
14499
c5e3c2ae
UD
14500 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14501 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14502
75d39ff2
UD
14503 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14504
42675c6f
DM
145052011-06-20 David S. Miller <davem@davemloft.net>
14506
14507 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14508 inclusions.
14509 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14510
14511 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14512 (elf_irel): Use it.
14513 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14514 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14515 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14516 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14517 * sysdeps/x86_64/dl-irel.h: Likewise.
14518
14519 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14520 * elf/dl-sym.c: Likewise.
14521
57912a71
UD
145222011-06-15 Ulrich Drepper <drepper@gmail.com>
14523
14524 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14525 need to dereference resplen2.
14526
ee22793d
AS
145272011-06-14 Andreas Schwab <schwab@redhat.com>
14528
14529 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14530
a9e836b0
UD
145312011-06-15 Ulrich Drepper <drepper@gmail.com>
14532
77fb9117
UD
14533 * Makeconfig: Define vardbdir and inst_vardbdir.
14534 * nss/Makefile: Add rules to install db-Makefile.
14535
40c1b22c
UD
14536 * nss/nss_db/db-XXX.c: Cleanup.
14537
9f2da732
UD
14538 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14539 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14540 GLIBC_PRIVATE.
14541 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14542 * nss/makedb.c: Implement -g option to specify that value strings
14543 are generated and should not be added to table iterated over for
14544 get*ent calls.
14545 * nss/nss_db/db-initgroups.c: New file.
14546
82e9a1f7
UD
14547 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14548 interface.
14549
c41af17e
UD
14550 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14551 (internal_getgrouplist): Adjust to name change.
14552 Update use_initgroups_entry if this is not the first call.
14553 * nss/databases.def: Add initgroups entry.
14554
a9e836b0
UD
14555 * nss/makedb.c (compute_tables): Check result of multiple hash table
14556 sizes to minimize maximum chain length.
14557
2666d441
UD
145582011-06-14 Ulrich Drepper <drepper@gmail.com>
14559
14560 * Versions.def: Add entry for libnss_db.
14561 * shlib-versions: Likewise.
14562 * nss/Makefile: Add rules to build libnss_db.
14563 * nss/Versions: Add libnss_db information. Organize libnss_files
14564 entries better.
14565 * nss/db-Makefile: Add gshadow support. Change rules for the new
14566 makedb progra. Some minor improvements to generate smaller files.
14567 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14568 here from...
14569 * nss/makedb.c: ...here.
14570 Improve database format to be smaller and require less memory at
14571 runtime.
14572 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14573 db anymore.
14574 * nss/nss_db/db-netgrp.c: Likewise.
14575 * nss/nss_db/db-open.c: Likewise.
14576 * nss/nss_files/flies-XXX.x: Adjust comments.
14577 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14578 * nss/nss_files/files-grp.c: Likewise.
14579 * nss/nss_files/files-hosts.c: Likewise.
14580 * nss/nss_files/files-network.c: Likewise.
14581 * nss/nss_files/files-proto.c: Likewise.
14582 * nss/nss_files/files-pwd.c: Likewise.
14583 * nss/nss_files/files-rpc.c: Likewise.
14584 * nss/nss_files/files-service.c: Likewise.
14585 * nss/nss_files/files-sgrp.c: Likewise.
14586 * nss/nss_files/files-spwd.c: Likewise.
14587 * nss/nss_db/db-alias.c: Removed.
14588 * nss/nss_db/dummy-db.h: Removed.
14589
9ee76b5a
UD
145902011-06-02 Ulrich Drepper <drepper@gmail.com>
14591
14592 * nss/makedb.c: Rewritten to not use database library.
14593 * nss/Makefile: Update to build new makedb program.
14594
c71ca1f8
AJ
145952011-06-14 Andreas Jaeger <aj@suse.de>
14596
14597 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14598 memset declaration.
14599
3154bfb8
UD
146002011-06-10 Andreas Schwab <schwab@redhat.com>
14601
14602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14603 tmpbuf.
14604
b350afab
RM
146052011-06-10 Roland McGrath <roland@hack.frob.com>
14606
decd4e50
RM
14607 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14608 * elf/Makefile ($(objpfx)ld.so): Likewise.
14609
5615eaf2
RM
14610 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14611 Don't list ld.so twice in dependencies.
14612
14613 * posix/bug-regex31.c: Include <stdlib.h>.
14614
14615 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14616
14617 * nis/nss_compat/compat-spwd.c
14618 (getspent_next_nss_netgr): Remove unused variable.
14619 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14620
14621 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14622 nonmembers" output to use the right array.
14623
14624 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14625
14626 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14627
14628 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14629 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14630 * catgets/gencat.c (read_input_file): Likewise.
14631 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14632
14633 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14634 variable definition inside #if's controlling its use.
14635
14636 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14637
14638 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14639
14640 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14641
14642 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14643 unreachable code.
14644
14645 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14646
b68e08db
RM
14647 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14648 * configure: Regenerated.
14649
b350afab
RM
14650 * Makerules: Revert last change.
14651 * elf/Makefile: Likewise.
14652
28368601
RM
146532011-06-09 Roland McGrath <roland@hack.frob.com>
14654
14655 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14656 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14657 (reloc-link): Likewise.
14658
11988f8f
UD
146592011-06-09 Ulrich Drepper <drepper@gmail.com>
14660
14661 * elf/Makefile: Add rules to build pldd.
14662 * elf/pldd.c: New file.
14663 * elf/pldd-xx.c: New file.
14664
e80fab37
UD
146652011-06-07 Ulrich Drepper <drepper@gmail.com>
14666
14667 * version.h: Update for 2.15 development version.
14668
9b849836
DM
146692011-06-07 David S. Miller <davem@davemloft.net>
14670
14671 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14672 ifuncs.
14673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14674 elf_machine_lazy_rel): Likewise.
14675 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14677 elf_machine_lazy_rel): Likewise.
14678 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14679 dl_hwcap via passed in argument.
14680 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14681 Likewise.
14682
5a31b283
AK
146832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14684
14685 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14686
069e52f8
RM
146872011-06-06 Roland McGrath <roland@hack.frob.com>
14688
14689 [BZ #12849]
14690 * manual/fdl-1.1.texi: New file, verbatim from:
14691 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14692 * manual/lgpl-2.1.texi: New file, verbatim from:
14693 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14694 * manual/Makefile (licenses): New variable, list those new file names.
14695 (texis): Use it.
14696 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14697
14698 * manual/fdl.texi: File removed.
14699 * manual/lesser.texi: File removed.
14700 * manual/libc.texinfo (Copying, Documentation License):
14701 Use new @include file names, put @appendix directive before @include.
14702
f16846a5
JJ
147032011-06-04 Jakub Jelinek <jakub@redhat.com>
14704
14705 [BZ #12841]
14706 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14707 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14708 (mq_open): Add __NTH.
14709
3d29045b
L
147102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14711
14712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14713 Assume Intel Core i3/i5/i7 processor if AVX is available.
14714
8c297311
UD
147152011-05-31 Ulrich Drepper <drepper@gmail.com>
14716
14717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14718 typo.
14719
c8fc0c91
UD
147202011-05-31 Andreas Schwab <schwab@redhat.com>
14721
14722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14723 memory. Use alloca_account. Fix memory leak when retrying.
14724
5b27a807
UD
147252011-05-31 Ulrich Drepper <drepper@gmail.com>
14726
356f8bc6
UD
14727 * version.h (RELEASE): Bump for 2.14 release.
14728 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14729
5b27a807
UD
14730 * config.make.in (RANLIB): Remove entry.
14731
01f16ab0
UD
147322011-05-30 Ulrich Drepper <drepper@gmail.com>
14733
41fce8bd
UD
14734 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14735 (libc.pot): Work around missing support for .ksh extension in xgettext.
14736
4769ae77
UD
14737 [BZ #12684]
14738 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14739 if both request failed.
14740 (send_dg): In case of server errors clear resplen or *resplen2.
14741
6b1e7d19
UD
14742 [BZ #12454]
14743 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14744 when there are multiple maps.
14745 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14746 (_dl_fini): Remove test here.
14747
01f16ab0
UD
14748 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14749
b1ebd700
UD
147502011-05-29 Ulrich Drepper <drepper@gmail.com>
14751
7ae22829
UD
14752 [BZ #12350]
14753 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14754 bit from old_res_options.
14755 (gaih_inet): Likewise.
14756
553149f6 14757 [BZ #11099]
18a84741 14758 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14759 as signed.
14760
652ffab1
UD
14761 * resolv/res_init.c (res_setoptions): Make the code more compact.
14762
16985fd0
UD
14763 [BZ #11558]
14764 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14765 set RES_USEVC.
14766
0464f746
UD
14767 [BZ #11634]
14768 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14769
7d17596c
UD
14770 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14771
cf6bbbd7
UD
14772 [BZ #11781]
14773 * malloc/malloc.h: Declare malloc hook variables as volatile.
14774
13f1ab36
UD
14775 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14776 in last patch.
14777
b1ebd700
UD
14778 [BZ #11799]
14779 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14780 raise in the comment.
80e2212d
UD
14781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14783 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14784
ce67228d
UD
147852011-05-28 Ulrich Drepper <drepper@gmail.com>
14786
8887a920
UD
14787 [BZ #12811]
14788 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14789 grow the buffers more if it already has to be sufficient.
14790 (build_wcs_upper_buffer): Likewise.
14791 * posix/regexec.c (check_matching): Likewise.
14792 (clean_state_log_if_needed): Likewise.
14793 (extend_buffers): Don't enlarge buffers beyond size of the input
14794 buffer.
14795 Patches mostly by Emil Wojak <emil@wojak.eu>.
14796 * posix/bug-regex32.c: New file.
14797 * posix/Makefile (tests): Add bug-regex32.
14798
4f031072
UD
14799 * locale/findlocale.c (_nl_find_locale): Return right away if
14800 _nl_explode_name failed.
14801 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14802
d0478f0c
UD
14803 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14804
de81b246
UD
14805 * debug/xtrace.sh: Unify messages.
14806 * malloc/memusage.sh: Likewise.
14807
c738465a
UD
14808 [BZ #12813]
14809 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14810 time symbol from vDSO. Substitute with vsyscall if not available.
14811 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14812 __vdso_time.
14813
f1f929d7
UD
14814 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14815 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14816 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14817 Add sendmmsg and internal_sendmmsg.
14818 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14819 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14821
ce67228d
UD
14822 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14823 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14825
e57420c6
UD
148262011-05-27 Ulrich Drepper <drepper@gmail.com>
14827
a8509ca5
UD
14828 [BZ #12813]
14829 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14830 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14831 available.
14832 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14833 __vdso_getcpu.
14834
e57420c6
UD
14835 [BZ #12814]
14836 * iconvdata/Makefile (tests): Add bug-iconv9.
14837 * iconvdata/bug-iconv9.c: New file.
14838
4d07db15
AS
148392011-05-27 Andreas Schwab <schwab@redhat.com>
14840
14841 [BZ #12814]
14842 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14843
ea486f69
JJ
148442011-05-25 Jakub Jelinek <jakub@redhat.com>
14845
14846 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14847 (struct user_regs_struct): Change intcs field back to cs.
14848
6f038433
UD
148492011-05-25 Ulrich Drepper <drepper@gmail.com>
14850
14851 * po/ja.po: Update from translation team.
14852
67f86a25
UD
148532011-05-23 Ulrich Drepper <drepper@gmail.com>
14854
14855 [BZ #12795]
14856 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14857 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14858
def7fbd6
AS
148592011-05-20 Andreas Schwab <schwab@redhat.com>
14860
14861 * stdlib/longlong.h: Update from GCC.
14862
f50ef8f1
AS
148632011-05-23 Andreas Schwab <schwab@redhat.com>
14864
14865 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14866 parameter name.
14867 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14868 Add parameter name.
14869 (__sysconf): Pass it down.
14870
de7ce8f1
UD
148712011-05-22 Ulrich Drepper <drepper@gmail.com>
14872
f2962a71
UD
14873 [BZ #12671]
14874 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14875 some situations.
14876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14877 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14878 add in in __libc_use_alloca calls. Adjust callers.
14879 (glob): Use malloc in some situations.
14880
de7ce8f1
UD
14881 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14882 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14883 pltexit.
14884
aec84f53
UD
148852011-05-21 Ulrich Drepper <drepper@gmail.com>
14886
05bb4a68
UD
14887 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14888 and CLOCK_BOOTTIME_ALARM.
14889
7ea72f99
UD
14890 [BZ #12782]
14891 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14892 is returned.
14893
7e4afad5
UD
14894 * string/_strerror.c (__strerror_r): Print negative errors as signed
14895 numbers.
14896
8e211fec
UD
14897 [BZ #12777]
14898 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14899 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14900 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14901
f7d82dc9
UD
14902 * configure.in: Fix typo in redirection and correct removal of test
14903 files in two cases.
14904
cc9e536d
UD
14905 [BZ #12788]
14906 * locale/setlocale.c (new_composite_name): Fix test to check for
14907 identical name of all categories.
14908
aec84f53
UD
14909 [BZ #12792]
14910 * libio/filedoalloc.c (local_isatty): New function.
14911 (_IO_file_doallocate): Use local_isatty.
14912 * stdio-common/perror.c (perror): In case a new stream is used
14913 forward the stream error.
14914 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14915 error flag.
14916
78e64fdc
RT
149172011-05-20 Ulrich Drepper <drepper@gmail.com>
14918
34a9094f
UD
14919 [BZ #11869]
14920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14921 alloca.
14922 * include/alloca.h (extend_alloca_account): Define.
14923
78e64fdc
RT
14924 [BZ #11857]
14925 * posix/regex.h: Fix comments with documentation of user-accessible
14926 fields after compilation and describe correct free'ing of pattern
14927 after re_compile_pattern.
14928 Patch by Reuben Thomas <rrt@sc3d.org>.
14929
457bddfc
RA
149302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14931
14932 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14933 and -mno-altivec to prevent the compiler from using Altivec and/or
14934 VSX instructions when the corresponding registers are not available.
14935
a4527b51
AS
149362011-05-19 Andreas Schwab <schwab@redhat.com>
14937
14938 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14939
ed690b2f
UD
149402011-05-19 Ulrich Drepper <drepper@gmail.com>
14941
14942 * libio/freopen.c (freopen): Use __dup2, not dup2.
14943 * libio/freopen64.c (freopen64): Likewise.
14944
8db73634
L
149452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14946
14947 [BZ #12775]
14948 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14949 * math/Makefile (tests): Add test-powl.
14950 (CFLAGS-test-powl.c): Define.
14951 * math/test-powl.c: New file.
14952
0a197a9d
L
149532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14954
14955 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14956
ee30c380
UD
149572011-05-17 Ulrich Drepper <drepper@gmail.com>
14958
14959 [BZ #11837]
14960 * iconvdata/gb18030.c: Update to GB18020-2005.
14961
6ce75379
UD
149622011-05-16 Ulrich Drepper <drepper@gmail.com>
14963
a4b89fd8
AR
14964 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14965 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14966 Patch by Aharon Robbins <arnold@skeeve.com>.
14967
ea389b12
UD
14968 [BZ #11892]
14969 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14970 on the stack.
14971
68a3f91f
UD
14972 [BZ #11895]
14973 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14974 through underflows.
14975
15cc7dd1
UD
14976 [BZ #12766]
14977 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14978 point to strings before performing equality test for error_one_per_line
14979 mode.
14980
f3799213
UD
14981 [BZ #11697]
14982 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14983
d79a9c94
UD
14984 [BZ #11820]
14985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14986 (struct user_fpregs_struct): Avoid __uint*_t types.
14987
56e5eb46
UD
14988 [BZ #6420]
14989 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14990 symbol info. Use it instead of calling _dl_addr locally.
14991 (lock_and_info): New function.
14992 (tr_freehook): Call lock_and_info and pass symbol info as additional
14993 parameter to tr_where.
14994 (tr_mallochook): Likewise.
14995 (tr_reallochook): Likewise.
14996 (tr_memalignhook): Likewise.
14997
6ce75379
UD
14998 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14999 used and couldn't be at all thread-safe.
15000
f8a3b5bf
UD
150012011-05-15 Ulrich Drepper <drepper@gmail.com>
15002
94b7cc37
UD
15003 * libio/freopen.c (freopen): Don't close old file descriptor
15004 before the new one is opened. Instead dup the new file descriptor
15005 to the old one after the new stream is created.
15006 * libio/freopen64.c (freopen64): Likewise.
15007 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15008 * libio/fileops.c (_IO_new_file_close_it): Handle new
15009 _IO_FLAGS2_NOCLOSE flag.
15010 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15011 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15012 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15013 _IO_FLAGS2_NOCLOSE flag.
15014 * include/unistd.h: Add hidden_proto for dup3.
15015 Define __have_dup3.
15016 * io/dup3.c: Define hidden symbol.
15017 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15018
bd25564e
UD
15019 [BZ #7101]
15020 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15021 when an incomplete long option is used.
15022 * posix/tst-getopt_long1.c: New file.
15023 * posix/Makefile (tests): Add tst-getopt_long1.
15024
c84cfef4
UD
15025 [BZ #10138]
15026 * scripts/config.guess: Update from autoconf-2.68.
15027 * scripts/config.sub: Likewise.
15028
3b85df27
UD
15029 [BZ #10157]
15030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15031 tests into ...
15032 (has_cpuclock): ...this. New function.
15033 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15034 macro here based on has_cpuclock code.
15035
15a856b1
UD
15036 [BZ #10149]
15037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15038 First byte (not low byte) is now always NUL.
15039 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15040
05f399e6
UD
15041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15042 Use non-cancelable interfaces.
15043
10a52685 15044 [BZ #9809]
94ecc67d
UD
15045 * locale/iso-639.def: Add entry for Sorani.
15046
f8a3b5bf
UD
15047 [BZ #11901]
15048 * include/stdlib.h: Move include protection to the right place.
15049 Define abort_msg_s. Declare __abort_msg with it.
15050 * stdlib/abort.c (__abort_msg): Adjust type.
15051 * assert/assert.c (__assert_fail_base): New function. Majority
15052 of code from __assert_fail. Allocate memory for __abort_msg with
15053 mmap.
15054 (__assert_fail): Now call __assert_fail_base.
15055 * assert/assert-perr.c: Remove bulk of implementation. Use
15056 __assert_fail_base.
15057 * include/assert.hL Declare __assert_fail_base.
15058 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15059 mmap.
15060 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15061
1af4e298
UD
150622011-05-14 Ulrich Drepper <drepper@gmail.com>
15063
f8a3b5bf 15064 [BZ #11952]
d26dfc60
MG
15065 [BZ #12453]
15066 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15067 until all modules are registered in the DTV.
15068 * elf/Makefile: Add rules to build and run tst-tls19.
15069 * elf/tst-tls19.c: New file.
15070 * elf/tst-tls19mod1.c: New file.
15071 * elf/tst-tls19mod2.c: New file.
15072 * elf/tst-tls19mod3.c: New file.
15073 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15074
2fc54d6f
UD
15075 [BZ #12083]
15076 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15077 correctly.
15078
98d76b46
UD
15079 [BZ #12601]
15080 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15081 two-byte sequence errors.
15082 * iconvdata/Makefile (tests): Add bug-iconv8.
15083 * iconvdata/bug-iconv8.c: New file.
15084
da3c19ef
UD
15085 [BZ #12626]
15086 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15087 buf2 definition.
15088
ca408c15
UD
15089 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15090
d6f67f7d
UD
15091 [BZ #12432]
15092 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15093 (dummy_getcfa): New function.
15094 (init): Get _Unwind_GetCFA address, use dummy if not found.
15095 (backtrace_helper): In recursion check, also check whether CFA changes.
15096 (__backtrace): Completely initialize arg.
15097
1af4e298 15098 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15099 storing incomplete byte sequence in state object. Avoid testing for
15100 guaranteed too small input if we know there is enough data available.
1af4e298 15101
da62f81b
AS
151022011-05-11 Andreas Schwab <schwab@redhat.com>
15103
15104 * Makeconfig (+link-pie): Indent.
15105 * Rules (binaries-pie): Define if $(have-fpie) and
15106 $(build-shared).
15107 (binaries-shared): Also filter out $(binaries-pie).
15108 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15109 * nscd/Makefile (others-pie): Add nscd.
15110 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15111 ($(objpfx)nscd): Remove command override.
15112 * login/Makefile (others-pie): Add pt_chown.
15113 ($(objpfx)pt_chown): Remove command override.
15114 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15115 remove command overrides.
15116
fcabc0f8
UD
151172011-05-13 Ulrich Drepper <drepper@gmail.com>
15118
20030ae6
UD
15119 * libio/tst_putwc.c: Fix error messages.
15120
fcabc0f8
UD
15121 [BZ #12724]
15122 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15123 currently writing and seek to current position when not.
15124 * libio/Makefile (tests): Add bug-fclose1.
15125 * libio/bug-fclose1.c: New file.
15126
320a5dc0
PB
151272011-05-12 Ulrich Drepper <drepper@gmail.com>
15128
15129 [BZ #12511]
15130 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15131 don't set DF_1_NODELETE here.
15132 (do_lookup_x): When entering new entry test for copy relocation
15133 and if necessary set DF_1_NODELETE flag.
15134 * elf/tst-unique4.cc: New file.
15135 * elf/tst-unique4.h: New file.
15136 * elf/tst-unique4lib.cc: New file.
15137 * elf/Makefile: Add rules to build and run tst-unique4.
15138 Patch by Piotr Bury <pbury@goahead.com>.
15139
22836f52
UD
151402011-05-11 Ulrich Drepper <drepper@gmail.com>
15141
f574184a
UD
15142 [BZ #12052]
15143 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15144
e1fb097f
UD
15145 [BZ #12625]
15146 * misc/mntent_r.c (addmntent): Flush the stream after the output
15147
22836f52
UD
15148 [BZ #12393]
15149 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15150 (is_trusted_path_normalize): Skip initial colon. Append slash
15151 to empty buffer. Duplicate is_trusted_path code but allow
15152 constructed patch to be prefix.
15153 (is_dst): Allow $ORIGIN followed by /.
15154 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15155 Correct testing of result of is_trusted_path_normalize
15156 (decompose_rpath): Fix warning.
15157
7b3b0b2a
UD
151582011-05-10 Ulrich Drepper <drepper@gmail.com>
15159
15160 [BZ #11257]
15161 * grp/initgroups.c (internal_getgrouplist): When we found the service
15162 list through the initgroups entry in nsswitch.conf do not always
15163 continue on a successful lookup. Don't always use the
eac80ce2 15164 __nss_group_database value if it is set.
7b3b0b2a
UD
15165 * nss/nsswitch.conf (initgroups): Change action for successful db
15166 lookup to continue for compatibility.
15167
2a81eaa5
UD
151682011-05-09 Ulrich Drepper <drepper@gmail.com>
15169
be97a69e
UD
15170 [BZ #11532]
15171 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15172 and CP774 modules.
15173 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15174 and CP774 modules.
15175 * iconvdata/tst-tables.sh: Likewise.
15176 * iconvdata/cp770.c: New file.
15177 * iconvdata/cp771.c: New file.
15178 * iconvdata/cp772.c: New file.
15179 * iconvdata/cp773.c: New file.
15180 * iconvdata/cp774.c: New file.
15181 * iconvdata/testdata/CP770: New file.
15182 * iconvdata/testdata/CP770..UTF8: New file.
15183 * iconvdata/testdata/CP771: New file.
15184 * iconvdata/testdata/CP771..UTF8: New file.
15185 * iconvdata/testdata/CP772: New file.
15186 * iconvdata/testdata/CP772..UTF8: New file.
15187 * iconvdata/testdata/CP773: New file.
15188 * iconvdata/testdata/CP773..UTF8: New file.
15189 * iconvdata/testdata/CP774: New file.
15190 * iconvdata/testdata/CP774..UTF8: New file.
15191
15192 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15193 END CHARMAP line.
15194 * iconvdata/gen-8bit-gap.sh: Likewise.
15195 * iconvdata/gen-8bit.sh: Likewise.
15196
c1e9e399
UD
15197 * locale/iso-639.def: Add ary entry.
15198
24c55fb3 15199 [BZ #11258]
96b4b1b0
UD
15200 * locale/C-translit.h.in: Add U20A1 transliteration.
15201
bdc2f971
KB
15202 [BZ #12178]
15203 * locale/iso-639.def: Add wae entry.
15204 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15205
2952b117
UD
15206 [BZ #12545]
15207 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15208 for n.
15209
2a81eaa5
UD
15210 [BZ #12711]
15211 * locale/C-translit.h.in: Add entry for U20B9.
15212 Patch by pravin.d.s@gmail.com.
15213
28377d1b
UD
152142011-05-08 Ulrich Drepper <drepper@gmail.com>
15215
7fb90fb8
UD
15216 [BZ #12713]
15217 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15218 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15219 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15220 in rtld. Use *stat64.
7fb90fb8 15221 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15222 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15223 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15224 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15225 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15226 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15227 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15228 __fstatat64 macros.
7fb90fb8
UD
15229 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15230 * dirent/rewinddir.c: Add libc_hidden_def.
15231 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15232 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15233
28377d1b
UD
15234 * include/dirent.h (__alloc_dir): Add flags parameter.
15235 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15236 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15237 __alloc_dir.
15238 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15239 from fdopendir if O_CLOEXEC is already set.
15240
66bdbaa4
AM
152412011-03-15 Alan Modra <amodra@gmail.com>
15242
15243 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15244 l_tls_firstbyte_offset non-zero. Save padding offset in
15245 l_tls_firstbyte_offset for later use.
15246 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15247 freeing static tls block.
15248
95721191
JN
152492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15250
15251 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15252 where #ifdef was intended. The intent is to prevent ARG_MAX from
15253 being defined by the kernel headers.
15254
f87dfb1f
UD
152552011-05-07 Ulrich Drepper <drepper@gmail.com>
15256
15257 [BZ #12734]
15258 * resolv/resolv.h: Define RES_NOTLDQUERY.
15259 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15260 no-tld-query and set RES_NOTLDQUERY.
15261 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15262 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15263 modern BIND to search name as TLD unless forbidden.
15264
47c3cd7a
UD
152652011-05-07 Petr Baudis <pasky@suse.cz>
15266 Ulrich Drepper <drepper@gmail.com>
15267
15268 [BZ #12393]
15269 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15270 (is_trusted_path): ...to here.
c1e9ea35 15271 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15272 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15273 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15274
8a35c912
PP
152752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15276
15277 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15278 __BEGIN/__END_DECLS.
15279
acd41f47
UD
152802011-05-06 Ulrich Drepper <drepper@gmail.com>
15281
15282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15283 NSS_STATUS_NOTFOUND if no record was found.
15284
597df647
AS
152852011-05-05 Andreas Schwab <schwab@redhat.com>
15286
15287 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15288 (headers-not-in-tirpc): Remove rpc/netdb.h
15289 * resolv/netdb.h: Revert last change.
15290
b9af1301
PP
152912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15292
15293 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15294 circular dependency between libgcc.a and libc.a.
15295
4e34d5f5
AS
152962011-05-05 Andreas Schwab <schwab@redhat.com>
15297
15298 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15299 * nis/Makefile: Don't install rpcsvc/*.
15300 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15301 instead of <rpc/types.h>.
15302 (MAXHOSTNAMELEN): Define.
15303
00ee369c
AS
153042011-05-03 Andreas Schwab <schwab@redhat.com>
15305
15306 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15307
0b592a30
MB
153082011-04-28 Maciej Babinski <mbabinski@google.com>
15309
15310 [BZ #12714]
15311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15312 gethostbyname4_r when IPv6 results are possible.
15313
6e04cbbe
UD
153142011-05-02 Ulrich Drepper <drepper@gmail.com>
15315
15316 [BZ #12723]
15317 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15318 _PC_PIPE_BUF handling.
15319
e4ecafe0
BH
153202011-04-30 Bruno Haible <bruno@clisp.org>
15321
15322 [BZ #12717]
15323 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15324 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15325 to 'int'.
15326 * inet/getnameinfo.c (getnameinfo): Likewise.
15327
125ee683
UD
153282011-04-29 Ulrich Drepper <drepper@gmail.com>
15329
15330 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15331 to groups setting in database lookup.
15332 * nss/nsswitch.conf: Add initgroups entry.
15333
b722481a
EB
153342011-04-22 Ulrich Drepper <drepper@gmail.com>
15335
15336 [BZ #12685]
15337 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15338 mode string.
15339 Patch by Eric Blake <eblake@redhat.com>.
15340
4df46dbd
L
153412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15342
15343 * sunrpc/Makefile (need-export-routines): Add svc_run.
15344 (routines): Remove svc_run.
15345 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15346 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15347 * sunrpc/svc_run.c (svc_run): Likewise.
15348 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15349
e84142d2
UD
153502011-04-21 Ulrich Drepper <drepper@gmail.com>
15351
15352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15353 problem in reallocation in last patch.
15354
877175d8
UD
153552011-04-20 Ulrich Drepper <drepper@gmail.com>
15356
15357 * sunrpc/Makefile: Move inclusion of Rules.
15358
ab8eed78
UD
153592011-04-19 Ulrich Drepper <drepper@gmail.com>
15360
15361 * nss/nss_files/files-initgroups.c: New file.
15362 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15363 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15364 _nss_files_initgroups_dyn.
15365
e3d8f584
RS
153662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15367
15368 * elf/elf.h (R_ARM_IRELATIVE): Define.
15369
af190f45
UD
153702011-04-19 Ulrich Drepper <drepper@gmail.com>
15371
15372 * po/ru.po: Update from translation team.
15373
53cf59ef
UD
153742011-04-17 Ulrich Drepper <drepper@gmail.com>
15375
15376 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15377 dependencies.
15378
4c559bcd
MF
153792011-02-06 Mike Frysinger <vapier@gentoo.org>
15380
15381 [BZ #12653]
15382 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15383 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15387
4420675c
AS
153882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15389
15390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15391 differing bytes.
15392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15395
75ea32ab
UD
153962011-04-17 Ulrich Drepper <drepper@gmail.com>
15397
15398 [BZ #12420]
15399 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15400 storing it.
15401 * stdlib/bug-getcontext.c: New file.
15402 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15403
27390476
AK
154042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15405
15406 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15407 instructions into .machine "z9-109".
15408 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15409 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15410
10442705
AK
154112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15412
15413 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15414 between environment variables and auxiliary vector.
15415
7b57bfe5
UD
154162011-04-16 Ulrich Drepper <drepper@gmail.com>
15417
15418 * Makefile: Add rules to build linkobj/libc.so.
15419 * include/libc-symbols.h: Define libc_hidden_nolink.
15420 * include/rpc/auth.h: Mark functions which are to be hidden.
15421 * include/rpc/auth_des.h: Likewise.
15422 * include/rpc/auth_unix.h: Likewise.
15423 * include/rpc/clnt.h: Likewise.
15424 * include/rpc/des_crypt.h: Likewise.
15425 * include/rpc/key_prot.h: Likewise.
15426 * include/rpc/pmap_clnt.h: Likewise.
15427 * include/rpc/pmap_prot.h: Likewise.
15428 * include/rpc/pmap_rmt.h: Likewise.
15429 * include/rpc/rpc_msg.h: Likewise.
15430 * include/rpc/svc.h: Likewise.
15431 * include/rpc/svc_auth.h: Likewise.
15432 * include/rpc/xdr.h: Likewise.
15433 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15434 * nss/Makefile: Likewise.
15435 * sunrpc/Makefile: Don't install headers. Build library with normal
15436 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15437 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15438 for the compat linking library. Remove use of INTDEF/INTUSE.
15439 * sunrpc/auth_none.c: Likewise.
15440 * sunrpc/auth_unix.c: Likewise.
15441 * sunrpc/authdes_prot.c: Likewise.
15442 * sunrpc/authuxprot.c: Likewise.
15443 * sunrpc/clnt_gen.c: Likewise.
15444 * sunrpc/clnt_perr.c: Likewise.
15445 * sunrpc/clnt_raw.c: Likewise.
15446 * sunrpc/clnt_simp.c: Likewise.
15447 * sunrpc/clnt_tcp.c: Likewise.
15448 * sunrpc/clnt_udp.c: Likewise.
15449 * sunrpc/clnt_unix.c: Likewise.
15450 * sunrpc/des_crypt.c: Likewise.
15451 * sunrpc/des_soft.c: Likewise.
15452 * sunrpc/get_myaddr.c: Likewise.
15453 * sunrpc/key_call.c: Likewise.
15454 * sunrpc/key_prot.c: Likewise.
15455 * sunrpc/netname.c: Likewise.
15456 * sunrpc/pm_getmaps.c: Likewise.
15457 * sunrpc/pm_getport.c: Likewise.
15458 * sunrpc/pmap_clnt.c: Likewise.
15459 * sunrpc/pmap_prot.c: Likewise.
15460 * sunrpc/pmap_prot2.c: Likewise.
15461 * sunrpc/pmap_rmt.c: Likewise.
15462 * sunrpc/publickey.c: Likewise.
15463 * sunrpc/rpc_cmsg.c: Likewise.
15464 * sunrpc/rpc_common.c: Likewise.
15465 * sunrpc/rpc_dtable.c: Likewise.
15466 * sunrpc/rpc_prot.c: Likewise.
15467 * sunrpc/rpc_thread.c: Likewise.
15468 * sunrpc/rtime.c: Likewise.
15469 * sunrpc/svc.c: Likewise.
15470 * sunrpc/svc_auth.c: Likewise.
15471 * sunrpc/svc_authux.c: Likewise.
15472 * sunrpc/svc_raw.c: Likewise.
15473 * sunrpc/svc_run.c: Likewise.
15474 * sunrpc/svc_simple.c: Likewise.
15475 * sunrpc/svc_tcp.c: Likewise.
15476 * sunrpc/svc_udp.c: Likewise.
15477 * sunrpc/svc_unix.c: Likewise.
15478 * sunrpc/svcauth_des.c: Likewise.
15479 * sunrpc/xcrypt.c: Likewise.
15480 * sunrpc/xdr.c: Likewise.
15481 * sunrpc/xdr_array.c: Likewise.
15482 * sunrpc/xdr_float.c: Likewise.
15483 * sunrpc/xdr_intXX_t.c: Likewise.
15484 * sunrpc/xdr_mem.c: Likewise.
15485 * sunrpc/xdr_rec.c: Likewise.
15486 * sunrpc/xdr_ref.c: Likewise.
15487 * sunrpc/xdr_sizeof.c: Likewise.
15488 * sunrpc/xdr_stdio.c: Likewise.
15489
e6c61494
UD
154902011-04-10 Ulrich Drepper <drepper@gmail.com>
15491
15492 [BZ #12650]
15493 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15494 * sysdeps/ia64/dl-tls.h: Likewise.
15495 * sysdeps/powerpc/dl-tls.h: Likewise.
15496 * sysdeps/s390/dl-tls.h: Likewise.
15497 * sysdeps/sh/dl-tls.h: Likewise.
15498 * sysdeps/sparc/dl-tls.h: Likewise.
15499 * sysdeps/x86_64/dl-tls.h: Likewise.
15500 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15501
34fe483e
AS
155022011-03-14 Andreas Schwab <schwab@redhat.com>
15503
15504 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15505 rpath element also skip the following colon.
15506 (expand_dynamic_string_token): Add is_path parameter and pass
15507 down to DL_DST_REQUIRED and _dl_dst_substitute.
15508 (decompose_rpath): Call expand_dynamic_string_token with
15509 non-zero is_path. Ignore empty rpaths.
15510 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15511 with zero is_path.
15512
f12a32e6
AS
155132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15514
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15516 Make cancelable.
15517
38a7d692
UD
155182011-04-09 Ulrich Drepper <drepper@gmail.com>
15519
15520 [BZ #12655]
15521 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15522 Patch by Filipe David Manana <fdmanana@apache.org>.
15523
e451d22b
AS
155242011-04-07 Andreas Schwab <schwab@redhat.com>
15525
15526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15527 Maintain aligned stack.
15528 (CHECK_RSP): Remove unused macro.
15529
dedc7c7b
UD
155302011-04-03 Ulrich Drepper <drepper@gmail.com>
15531
15532 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15533 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15534
94521213
UD
155352011-04-02 Ulrich Drepper <drepper@gmail.com>
15536
15537 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15538
8cb700c0 15539 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15540
0354e355
L
155412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15542
15543 [BZ #12518]
15544 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15545 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15546 * sysdeps/x86_64/memmove.c: New file.
15547 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15548 (memcpy): Renamed to ...
15549 (__new_memcpy): This.
15550 (memcpy): Provide GLIBC_2_14 memcpy.
15551 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15552 (memcpy): Provide GLIBC_2_2_5 memcpy.
15553
8593482f
UD
155542011-04-01 Ulrich Drepper <drepper@gmail.com>
15555
15556 [BZ #12631]
15557 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15558
81a5726b
AS
155592011-03-30 Andreas Schwab <schwab@redhat.com>
15560
15561 * misc/syncfs.c: New file.
15562 * misc/Makefile (routines): Add syncfs.
15563 * posix/unistd.h: Declare syncfs.
15564 * sysdeps/unix/syscalls.list: Add syncfs.
15565
00e5419f
AS
155662011-04-01 Andreas Schwab <schwab@redhat.com>
15567
15568 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15569 open_by_handle_at.
15570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15575 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15577
748876bf
UD
155782011-04-01 Ulrich Drepper <drepper@gmail.com>
15579
658e451d
UD
15580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15582 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15587
748876bf
UD
15588 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15589 sync_file_range.c with -fexceptions.
15590 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15591 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15592 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15593 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15594 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15595 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15597 sync_file_range as cancellation point
15598 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15599 now a wrapper around __call_sync_file_range with cancellation handling.
15600 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15601 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15602 function name to __call_sync_file_range.
15603 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15604 Add call_sync_file_range.
748876bf 15605
6e63d5e1
AS
156062011-04-01 Andreas Schwab <schwab@redhat.com>
15607
15608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15609 bits/timex.h.
6e63d5e1 15610
46998f74
UD
156112011-04-01 Ulrich Drepper <drepper@gmail.com>
15612
4c1423ed
UD
15613 * iconv/iconv.h: Fix typo in comment.
15614 * io/fcntl.h: Likewise.
15615 * libio/stdio.h: Likewise.
15616 * posix/spawn.h: Likewise.
15617 * posix/unistd.h: Likewise.
15618 * stdlib/stdlib.h: Likewise.
15619 * time/time.h: Likewise.
15620 * wcsmbs/wchar.h: Likewise.
15621
158648c0
UD
15622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15623 open_by_handle): Add.
15624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15625 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15626 Augment a few comments.
15627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15632 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15633 open_by_handle.
15634
46998f74
UD
15635 * io/fcntl.h (AT_EMPTY_PATH): Define.
15636
83fe108b
UD
156372011-03-30 Ulrich Drepper <drepper@gmail.com>
15638
15639 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15640 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15641 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15642 to...
15643 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15644 * Versions.def: Add GLIBC_2.14.
15645 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15646 Export.
83fe108b 15647
bb242059
UD
156482011-03-22 Ulrich Drepper <drepper@gmail.com>
15649
15650 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15651 round counter.
15652 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15653
c97a1282
L
156542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15655
15656 [BZ #12597]
15657 * string/test-strncmp.c (do_page_test): New function.
15658 (check2): Likewise.
15659 (test_main): Call check2.
15660 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15661
2a115601
UD
156622011-03-20 Ulrich Drepper <drepper@gmail.com>
15663
15664 [BZ #12587]
15665 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15666 Handle cache information in CPU leaf 4.
15667 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15668
8126d904
UD
156692011-03-18 Ulrich Drepper <drepper@gmail.com>
15670
042c49c6 15671 [BZ #12583]
8126d904
UD
15672 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15673 character representation.
15674 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15675
ccfe366e
RA
156762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15677
15678 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15679 END(__isnan) to END(__isnanf) to match function entry point/label
15680 EALIGN(__isnanf,...).
15681
c6e13027
JJ
156822011-03-10 Jakub Jelinek <jakub@redhat.com>
15683
15684 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15685
33f85a3f
UD
156862011-03-10 Ulrich Drepper <drepper@gmail.com>
15687
028478fa
UD
15688 [BZ #12510]
15689 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15690 copy from the symbol referenced in the relocation to initialize the
15691 used variable.
15692 Patch by Piotr Bury <pbury@goahead.com>.
15693 * elf/Makefile: Add rules to build and tst-unique3.
15694 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15695 * elf/tst-unique3.cc: New file.
15696 * elf/tst-unique3.h: New file.
15697 * elf/tst-unique3lib.cc: New file.
15698 * elf/tst-unique3lib2.cc: New file.
15699
33f85a3f
UD
15700 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15701
03592fc7
MF
157022011-03-10 Mike Frysinger <vapier@gentoo.org>
15703
15704 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15705 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15706 to _start.
03592fc7 15707
6a5ee102
UD
157082011-03-06 Ulrich Drepper <drepper@gmail.com>
15709
15710 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15711 to-be-loaded object along a path to loader is ld.so.
15712
7e4ba49c
HJ
157132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15714 Ulrich Drepper <drepper@gmail.com>
15715
15716 * sysdeps/x86_64/memset.S: After aligning destination, code
15717 branches to different locations depending on the value of
15718 misalignment, when multiarch is enabled. Fix this.
15719
157202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15721
15722 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15723 Set _x86_64_preferred_memory_instruction for AMD processsors.
15724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15725 Set bit_Prefer_SSE_for_memop for AMD processors.
15726
13a804de
UD
157272011-03-04 Ulrich Drepper <drepper@gmail.com>
15728
15729 * libio/fmemopen.c (fmemopen): Optimize a bit.
15730
9d25c392
AS
157312011-03-03 Andreas Schwab <schwab@redhat.com>
15732
15733 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15734
a5543c6a
RM
157352011-03-03 Roland McGrath <roland@redhat.com>
15736
15737 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15738
012d35f7
DM
157392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15740
7e4ba49c 15741 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15742 __bzero_ultra1 instead of __memset_ultra1.
15743
4bff6e01
AS
157442011-02-23 Andreas Schwab <schwab@redhat.com>
15745 Ulrich Drepper <drepper@gmail.com>
15746
15747 [BZ #12509]
15748 * include/link.h (struct link_map): Add l_orig_initfini.
15749 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15750 returning unsuccessfully.
15751 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15752 close of a file loaded at startup, restore the original l_initfini
15753 list.
15754 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15755 list, store the pointer.
15756 * elf/Makefile ($(objpfx)noload-mem): New rule.
15757 (noload-ENV): Define.
15758 (tests): Add $(objpfx)noload-mem.
15759 * elf/noload.c: Include <memcheck.h>.
15760 (main): Call mtrace. Close all opened handles.
15761
f2092faf
AS
157622011-02-17 Andreas Schwab <schwab@redhat.com>
15763
15764 [BZ #12454]
15765 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15766 dependencies are missing.
15767
6c8a2e88
ST
157682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15769
f2092faf 15770 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15771 Hurd needs munmap.
15772 * sysdeps/mach/hurd/ifreq.h: New file.
15773
84a42118
PB
157742011-01-27 Petr Baudis <pasky@suse.cz>
15775 Ulrich Drepper <drepper@gmail.com>
15776
071f805e 15777 [BZ 12445]#
84a42118
PB
15778 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15779 to extend_alloca().
15780 * stdio-common/bug23.c: New file.
15781 * stdio-common/Makefile (tests): Add bug23.
15782
e23fe25b
AS
157832010-09-28 Andreas Schwab <schwab@redhat.com>
15784 Ulrich Drepper <drepper@gmail.com>
15785
15786 [BZ #12489]
15787 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15788 before performing relro protection. At old place add assertion
15789 to make sure nothing changed.
15790
d3f02e10
NS
157912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15792 Glauber de Oliveira Costa <glommer@gmail.com>
15793
15794 * elf/elf.h: Add new ARM TLS relocs.
15795
d55fd7a5
RA
157962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15797
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15799 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15800 cast from r3.
15801 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15802 'tests' variable.
15803 * sysdeps/wordsize-64/tst-writev.c: New file.
15804
2206397e
RA
158052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15806
15807 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15808 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15809 insns in _dl_start to prevent a TOC reference before relocs are
15810 resolved.
15811
e9433893
UD
158122011-02-15 Ulrich Drepper <drepper@gmail.com>
15813
15814 [BZ #12469]
15815 * Makeconfig: Remove RANLIB definition.
15816 * Makerules: Don't use RANLIB.
15817 * aclocal.m4: Remove ranlib test.
15818 * configure.in: No need to check for ranlib.
15819 * elf/rtld-Rules: Don't use RANLIB.
15820
f75286c6
ST
158212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15822
8e31c82d
ST
15823 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15824 protection macro.
15825 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15826 inclusion protection macro.
15827
f75286c6
ST
15828 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15829 SIGRTMIN and SIGRTMAX and print information in that case only when
15830 SIGRTMIN is defined.
15831
c1d0e639
JJ
158322011-02-11 Jakub Jelinek <jakub@redhat.com>
15833
15834 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15835 arginfo fn returning -1.
15836
15837 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15838 and thousands string is zero terminated.
15839
edf9294e
AS
158402011-02-03 Andreas Schwab <schwab@redhat.com>
15841
15842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15843 sysdeps/unix/sysv/linux/bits/socket.h.
15844
2b7e92df
ST
158452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15846
edf9294e
AS
15847 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15848 (__CPU_COUNT): Remove old macros.
15849 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15850 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15851 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15852 (__sched_cpualloc, __sched_cpufree): Add declarations.
15853
a4c7ea7b
UD
158542011-02-05 Ulrich Drepper <drepper@gmail.com>
15855
15856 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15857 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15858 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15859 (readdhstai): Return value of addhstaiX call.
15860 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15861 (addgrbyX): Return value returned by cache_addgr.
15862 (readdgrbyname): Return value returned by addgrbyX.
15863 (readdgrbygid): Likewise.
15864 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15865 (addpwbyX): Return value returned by cache_addpw.
15866 (readdpwbyname): Return value returned by addhstbyX.
15867 (readdpwbyuid): Likewise.
15868 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15869 (addservbyX): Return value returned by cache_addserv.
15870 (readdservbyname): Return value returned by addservbyX:
15871 (readdservbyport): Likewise.
15872 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15873 (addhstbyX): Return value returned by cache_addhst.
15874 (readdhstbyname): Return value returned by addhstbyX.
15875 (readdhstbyaddr): Likewise.
15876 (readdhstbynamev6): Likewise.
15877 (readdhstbyaddrv6): Likewise.
15878 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15879 (readdinitgroups): Return value returned by addinitgroupsX.
15880 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15881 (prune_cache): Keep track of timeout value of re-added entries.
15882 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15883 * nscd/nscd.h: Adjust prototypes of readd* functions.
15884
a0bf67cc
RM
158852011-02-04 Roland McGrath <roland@redhat.com>
15886
15887 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15888 (nis_stats): Likewise.
15889 * nis/nis_modify.c (nis_modify): Likewise.
15890 * nis/nis_remove.c (nis_remove): Likewise.
15891 * nis/nis_add.c (nis_add): Likewise.
15892
15893 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15894
15895 * posix/fnmatch_loop.c: Add some consts.
15896
15897 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15898
435b95eb
L
158992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 [BZ #12460]
15902 * config.make.in (config-cflags-novzeroupper): Define.
15903 * configure.in: Substitute libc_cv_cc_novzeroupper.
15904 * elf/Makefile (AVX-CFLAGS): Define.
15905 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15906 (CFLAGS-tst-auditmod4a.c): Likewise.
15907 (CFLAGS-tst-auditmod4b.c): Likewise.
15908 (CFLAGS-tst-auditmod6b.c): Likewise.
15909 (CFLAGS-tst-auditmod6c.c): Likewise.
15910 (CFLAGS-tst-auditmod7b.c): Likewise.
15911 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15912
8517b15e
UD
159132011-02-02 Ulrich Drepper <drepper@gmail.com>
15914
15915 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15916 function to the callback.
15917 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15918
10a656fe
AS
159192011-02-02 Andreas Schwab <schwab@redhat.com>
15920
15921 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15922 of errno.
15923
968dad0a
UD
159242011-01-19 Ulrich Drepper <drepper@gmail.com>
15925
9f94d2ea 15926 [BZ #11724]
968dad0a
UD
15927 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15928 of constructors.
15929 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15930 of destructors.
15931 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15932
15933 [BZ #11724]
15934 * elf/Makefile: Add rules to build and run new test.
15935 * elf/tst-initorder.c: New file.
15936 * elf/tst-initorder.exp: New file.
15937 * elf/tst-initordera1.c: New file.
15938 * elf/tst-initordera2.c: New file.
15939 * elf/tst-initordera3.c: New file.
15940 * elf/tst-initordera4.c: New file.
15941 * elf/tst-initorderb1.c: New file.
15942 * elf/tst-initorderb2.c: New file.
15943 * elf/tst-order-a1.c: New file.
15944 * elf/tst-order-a2.c: New file.
15945 * elf/tst-order-a3.c: New file.
15946 * elf/tst-order-a4.c: New file.
15947 * elf/tst-order-b1.c: New file.
15948 * elf/tst-order-b2.c: New file.
15949 * elf/tst-order-main.c: New file.
15950 New test case by George Gensure <werkt0@gmail.com>.
15951
86e92359
UD
159522010-10-01 Andreas Schwab <schwab@redhat.com>
15953
15954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15955 decoding ACE if AI_CANONIDN.
15956
5d5732b0
UD
159572011-01-18 Ulrich Drepper <drepper@gmail.com>
15958
15959 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15960
a77e8cbc
UD
159612011-01-17 Ulrich Drepper <drepper@gmail.com>
15962
6392473f
UD
15963 * version.h (RELEASE): Bump for 2.13 release.
15964 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15965
620a0529
UD
15966 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15967
18ba70a5
UD
15968 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15969 MADV_NOHUGEPAGE.
32465c3e
UD
15970 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15972 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15973 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15976
c0dafcf1
UD
15977 * posix/getconf.c: Update copyright year.
15978 * catgets/gencat.c: Likewise.
15979 * csu/version.c: Likewise.
15980 * debug/catchsegv.sh: Likewise.
15981 * debug/xtrace.sh: Likewise.
15982 * elf/ldconfig.c: Likewise.
15983 * elf/ldd.bash.in: Likewise.
15984 * elf/sprof.c (print_version): Likewise.
15985 * iconv/iconv_prog.c: Likewise.
15986 * iconv/iconvconfig.c: Likewise.
15987 * locale/programs/locale.c: Likewise.
15988 * locale/programs/localedef.c: Likewise.
15989 * malloc/memusage.sh: Likewise.
15990 * malloc/mtrace.pl: Likewise.
15991 * nscd/nscd.c (print_version): Likewise.
15992 * nss/getent.c: Likewise.
15993
a77e8cbc
UD
15994 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15995 PF_CAIF, and PF_ALG.
15996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15997
77e8bddf
AS
159982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15999
1f20b93a
AS
16000 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16001 (modules-names): Use them.
16002 (ifunc-test-modules, ifunc-pie-tests): Define.
16003 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16004 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16005 (test-extras): Likewise.
16006 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16007 $(compile-command.c).
16008 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16009 (all-built-dso): Define.
16010 (check-textrel.out, check-execstack.out): Depend on it.
16011
77e8bddf
AS
16012 * configure.in: Don't override --enable-multi-arch.
16013
bc425b33
UD
160142011-01-15 Ulrich Drepper <drepper@gmail.com>
16015
16016 [BZ #6812]
16017 * nscd/hstcache.c (tryagain): Define.
16018 (cache_addhst): Return tryagain not notfound for temporary errors.
16019 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16020 failed.
16021
794c3ad3
UD
160222011-01-14 Ulrich Drepper <drepper@gmail.com>
16023
70181fdd
UD
16024 [BZ #10563]
16025 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16026 to make the syscall.
16027 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16028
794c3ad3
UD
16029 [BZ #12378]
16030 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16031 and fall back to matching as normal character if the string ends before
16032 the matching ']' is found. This is what POSIX requires.
16033 * posix/testfnm.c: Adjust test result.
16034 * posix/globtest.sh: Adjust test result. Add new test.
16035 * posix/tst-fnmatch.input: Likewise.
16036 * posix/tst-fnmatch2.c: Add new test.
16037
68dc9497
AS
160382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16039
16040 * elf/Makefile (check-execstack): Revert last change. Depend on
16041 check-execstack.h.
16042 (check-execstack.h): New target.
16043 (generated): Add check-execstack.h.
16044 * elf/check-execstack.c: Include "check-execstack.h".
16045 (main): Revert last change.
16046 (handle_file): Return zero if GNU_STACK is absent and
16047 DEFAULT_STACK_PERMS doesn't include PF_X.
16048
451f001b
UD
160492011-01-13 Ulrich Drepper <drepper@gmail.com>
16050
cfa28e56
UD
16051 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16052 in child fails because the descriptor is already closed.
8cf8ce17
UD
16053 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16054 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16055 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16056
1086d70d
UD
16057 [BZ #12397]
16058 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16059 syscall.
16060
451f001b
UD
16061 [BZ #10484]
16062 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16063 temporary buffer used to handle multi lookups locally.
a85b5cb4 16064 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16065
08769175
UD
160662011-01-12 Ulrich Drepper <drepper@gmail.com>
16067
16068 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16069 loader is ld.so.
16070
5e49c52e
UD
160712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16072
16073 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16074 alignment for SSE2.
16075
60522a5f
UD
160762011-01-12 Ulrich Drepper <drepper@gmail.com>
16077
16078 [BZ #12394]
16079 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16080 characters. When rounding increased number of integer digits recompute
16081 number of groups.
16082 * stdio-common/tst-grouping.c: New file.
16083 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16084
f257bbd7
UD
160852011-01-09 Ulrich Drepper <drepper@gmail.com>
16086
16087 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16088 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16089
16090 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16091 void.
16092 * bits/select.h: Likewise.
16093
fa9c15cb
UD
160942011-01-08 Ulrich Drepper <drepper@gmail.com>
16095
16096 * po/ja.po: Update from translation team.
16097
16c2895f
DM
160982011-01-04 David S. Miller <davem@sunset.davemloft.net>
16099
16100 [BZ #11155]
16101 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16102 implementation just like for lxstat, fxstatat, et al.
16103
2543fef2
JM
161042010-12-27 Jim Meyering <meyering@redhat.com>
16105
16106 [BZ #12348]
16107 * posix/regexec.c (build_trtable): Return failure indication upon
16108 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16109
98727dbe
UD
161102010-12-25 Ulrich Drepper <drepper@gmail.com>
16111
5bd6dc5c
UD
16112 [BZ #12201]
16113 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16114 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16115 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16117
97983464
UD
16118 [BZ #12207]
16119 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16120
98727dbe
UD
16121 [BZ #12204]
16122 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16123 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16124
4a531bb0
L
161252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16126
16127 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16128 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16129 script has SORT_BY_INIT_PRIORITY.
16130 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16131 NO_CTORS_DTORS_SECTIONS is defined.
16132 * elf/soinit.c: Likewise.
16133 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16134 NO_CTORS_DTORS_SECTIONS is defined.
16135 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16136 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16137 * sysdeps/sh/init-first.c: Likewise.
16138 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16139
07eb4b71
UD
161402010-12-24 Ulrich Drepper <drepper@gmail.com>
16141
16142 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16143 always use the slow path.
16144
30950a5f
RA
161452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16146
16147 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16148 similar rule which adds the sysdep directories to the header search in
16149 order to pick up the correct platform stackinfo.h.
16150 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16151 perform test if it is, otherwise return successfully without testing.
16152 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16153 DEFAULT_STACK_PERMS define in stackinfo.h.
16154 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16155 defined in stackinfo.h.
16156 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16157 DEFAULT_STACK_PERMS defined in stackinfo.h.
16158 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16159 * sysdeps/ia64/stackinfo.h: Likewise.
16160 * sysdeps/s390/stackinfo.h: Likewise.
16161 * sysdeps/sh/stackinfo.h: Likewise.
16162 * sysdeps/sparc/stackinfo.h: Likewise.
16163 * sysdeps/x86_64/stackinfo.h: Likewise.
16164 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16165 PF_X for powerpc64. Retain PF_X for powerpc32.
16166
db753e2c
UD
161672010-12-19 Ulrich Drepper <drepper@gmail.com>
16168
14b697f7
UD
16169 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16170 accurately.
db753e2c
UD
16171 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16172 GETDENTS_64BIT_ALIGNED.
16173
28300719
UD
161742010-12-14 Ulrich Drepper <dreper@gmail.com>
16175
14b697f7 16176 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16177
4f197237
AS
161782010-12-10 Andreas Schwab <schwab@redhat.com>
16179
dbb0472f
AS
16180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16181 _GNU_SOURCE.
16182
4f197237
AS
16183 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16184 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16185 Remove __restrict.
16186 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16187 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16188
fb88ac72
UD
161892010-12-09 Ulrich Drepper <drepper@gmail.com>
16190
16191 [BZ #11655]
16192 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16193 are initialized.
16194
42acbb92
JJ
161952010-12-09 Jakub Jelinek <jakub@redhat.com>
16196
16197 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16198
c038d98d
UD
161992010-12-03 Ulrich Drepper <drepper@gmail.com>
16200
16201 * po/it.po: Update from translation team.
16202
3a4a2499
L
162032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16204
16205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16206 unused codes.
16207
1e24cf6e
UD
162082010-11-30 Ulrich Drepper <drepper@gmail.com>
16209
16210 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16211
a7690819
AS
162122010-11-24 Andreas Schwab <schwab@redhat.com>
16213
16214 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16215 specially.
16216 (gaih_getanswer_slice): Likewise.
16217
3bf8d1b1
JJ
162182010-10-20 Jakub Jelinek <jakub@redhat.com>
16219
16220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16221
6db52fbb
PB
162222010-05-31 Petr Baudis <pasky@suse.cz>
16223
16224 [BZ #11149]
16225 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16226 silently even in the chroot mode.
16227
eaca7569
UD
162282010-11-22 Ulrich Drepper <drepper@gmail.com>
16229
16230 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16231 last patch a bit. Pretty printing
16232
3056dcdb
UD
162332010-05-31 Petr Baudis <pasky@suse.cz>
16234
16235 [BZ #10085]
16236 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16237 initialization of skip_initgroups_dyn.
16238
cf7c9078
UD
162392010-11-19 Ulrich Drepper <drepper@gmail.com>
16240
16241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16243
a1fb5e3e
UD
162442010-11-16 Ulrich Drepper <drepper@gmail.com>
16245
16246 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16247
3540d66b
AS
162482010-11-11 Andreas Schwab <schwab@redhat.com>
16249
16250 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16251 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16252 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16253 ($(objpfx)tst-fnmatch-mem): New rule.
16254 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16255 * posix/tst-fnmatch.c (main): Call mtrace.
16256
13b69574
L
162572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16258
16259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16260 Support Intel processor model 6 and model 0x2c.
16261
da93d214
LM
162622010-11-10 Luis Machado <luisgpm@br.ibm.com>
16263
16264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16265 signed comparison.
16266
8ca52c6e
L
162672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16268
16269 [BZ #12205]
16270 * string/test-strncasecmp.c (check_result): New function.
16271 (do_one_test): Use it.
16272 (check1): New function.
16273 (test_main): Use it.
16274 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16275 Support strcasecmp and strncasecmp.
16276
69da074d
UD
162772010-11-08 Ulrich Drepper <drepper@gmail.com>
16278
16279 [BZ #12194]
16280 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16282
ff02d528
L
162832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16284
16285 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16286 IFUNC support.
16287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16288 memset-x86-64.
16289 * sysdeps/x86_64/multiarch/bzero.S: New file.
16290 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16291 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16292 * sysdeps/x86_64/multiarch/memset.S: New file.
16293 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16295 Set bit_Prefer_SSE_for_memop for Intel processors.
16296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16297 Define.
16298 (index_Prefer_SSE_for_memop): Define.
16299 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16300
344d0b54
LM
163012010-11-04 Luis Machado <luisgpm@br.ibm.com>
16302
16303 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16304 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16305
c0dde15b
UD
163062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16307
16308 [BZ #12191]
16309 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16310 (__x86_64_raw_data_cache_size_half): Likewise.
16311 (__x86_64_raw_shared_cache_size): Likewise.
16312 (__x86_64_raw_shared_cache_size_half): Likewise.
16313
16314 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16315 (__x86_64_raw_data_cache_size_half): Likewise.
16316 (__x86_64_raw_shared_cache_size): Likewise.
16317 (__x86_64_raw_shared_cache_size_half): Likewise.
16318 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16319 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16320 and __x86_64_raw_shared_cache_size_half. Round
16321 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16322 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16323 to multiple of 256 bytes.
16324
0e516e0e
MS
163252010-11-03 Ulrich Drepper <drepper@gmail.com>
16326
16327 [BZ #12167]
16328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16329 of inacessible symlinks. Verify result of symlink before returning it.
16330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16331 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16332
0e012e87
ER
163332010-10-28 Erich Ritz <erichritz@gmail.com>
16334
16335 * math/math.h (isinf): Fix typo in comment.
16336
de0ff7bc
UD
163372010-11-01 Ulrich Drepper <drepper@gmail.com>
16338
16339 * po/da.po: Update from translation team.
16340
fa41c84d
UD
163412010-10-26 Ulrich Drepper <drepper@gmail.com>
16342
16343 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16344 is added to the list.
16345
f0967738
AK
163462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16347 Ulrich Drepper <drepper@gmail.com>
16348
16349 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16350 the global list here. Move code to...
16351 (_dl_add_to_namespace_list): ...here. New function.
16352 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16353 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16354 * elf/dl-load.c (lose): Don't remove the element from the list.
16355 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16356 (_dl_map_object): Likewise.
16357
163582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16359
16360 [BZ #12159]
16361 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16362 into all bytes of SSE register.
16363 Patch by Richard Li <richardpku@gmail.com>.
16364
f0967738 163652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16366
16367 [BZ #12140]
16368 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16369 perturbing.
16370
d0b9e94f
MB
163712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16372
16373 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16374 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16375 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16376 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16378 submachine.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16380
8e9f92e9
AS
163812010-10-22 Andreas Schwab <schwab@redhat.com>
16382
16383 * include/dlfcn.h (__RTLD_SECURE): Define.
16384 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16385 mode & __RTLD_SECURE instead.
16386 (open_path): Rename preloaded parameter to secure.
16387 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16388 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16389 * elf/dl-deps.c (openaux): Likewise.
16390 * elf/rtld.c (struct map_args): Remove is_preloaded.
16391 (map_doit): Don't use it.
16392 (dl_main): Likewise.
16393 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16394 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16395
bc96fbda
AS
163962010-09-09 Andreas Schwab <schwab@redhat.com>
16397
16398 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16399 (sysd-rules-targets): Remove duplicates.
16400 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16401 rtld-%.$o dependency.
16402
22cd1c9b
AS
164032010-10-18 Andreas Schwab <schwab@redhat.com>
16404
16405 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16406 _dl_map_object do it.
16407
18edac48
UD
164082010-10-19 Ulrich Drepper <drepper@gmail.com>
16409
16410 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16411 fast fma builtins, define the macros in the C99 standard.
16412 (FP_FAST_FMAF): Likewise.
16413 (FP_FAST_FMAL): Likewise.
16414 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16415
16416 * bits/mathdef.h: Update copyright year.
16417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16418
d2050124
MM
164192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16420
16421 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16422 builtins, define the macros in the C99 standard.
16423 (FP_FAST_FMAF): Likewise.
16424 (FP_FAST_FMAL): Likewise.
16425 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16426 multiply/add.
16427 (FP_FAST_FMAF): Likewise.
16428
475facd1
JJ
164292010-10-15 Jakub Jelinek <jakub@redhat.com>
16430
16431 [BZ #3268]
16432 * math/libm-test.inc (fma_test): Some new testcases.
16433 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16434 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16435 y and infinite z. Do multiplication by C already in long double.
16436 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16438 y and infinite z. Do bitwise or of inexact bit into u.d.
16439 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16440 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16441 * sysdeps/i386/fpu/s_fma.S: Removed.
16442 * sysdeps/i386/fpu/s_fmal.S: Removed.
16443
7c08a05c
JJ
164442010-10-16 Jakub Jelinek <jakub@redhat.com>
16445
16446 [BZ #3268]
16447 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16449 computation is not scheduled after fetestexcept. Fix value
16450 of minimum denormal long double.
16451
f3f7372d
JJ
164522010-10-14 Jakub Jelinek <jakub@redhat.com>
16453
16454 [BZ #3268]
16455 * math/libm-test.inc (fma_test): Add some more tests.
16456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16457 correctly.
16458
14d43591
AS
164592010-10-15 Andreas Schwab <schwab@redhat.com>
16460
16461 * scripts/data/localplt-s390-linux-gnu.data: New file.
16462 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16463
5e908464
JJ
164642010-10-13 Jakub Jelinek <jakub@redhat.com>
16465
16466 [BZ #3268]
16467 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16468 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16469 instead of dbl-64.
16470 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16471 inlines.
16472 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16474 if one of x and y is very large and the other is subnormal.
16475 * sysdeps/s390/fpu/s_fmaf.c: New file.
16476 * sysdeps/s390/fpu/s_fma.c: New file.
16477 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16478 * sysdeps/powerpc/fpu/s_fma.S: New file.
16479 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16480 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16481 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16482
164832010-10-12 Jakub Jelinek <jakub@redhat.com>
16484
16485 [BZ #3268]
16486 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16487 fma tests.
16488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16489 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16490 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16491 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16492 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16493 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16495
b833d51f
UD
164962010-10-12 Ulrich Drepper <drepper@redhat.com>
16497
16498 [BZ #12078]
16499 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16500 * posix/bug-regex31.input: Add test case.
16501
1751705d
UD
165022010-10-11 Ulrich Drepper <drepper@gmail.com>
16503
e9b9cbf5
UD
16504 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16505 * posix/bug-regex31.input: New file.
16506
16507 [BZ #12078]
16508 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16509 (parse_sub_exp): Fix last change, use postorder.
16510
ef06edbe
UD
16511 * posix/bug-regex31.c: New file.
16512 * posix/Makefile: Add rules to build and run bug-regex31.
16513
a129c80d
UD
16514 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16515
16516 [BZ #12078]
16517 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16518
b76b818e
UD
16519 [BZ #12108]
16520 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16521 to have entries in sys_siglist.
16522
1751705d
UD
16523 [BZ #12093]
16524 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16525 be NULL.
16526
9ff8d36f
JJ
165272010-10-07 Jakub Jelinek <jakub@redhat.com>
16528
16529 [BZ #3268]
16530 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16531 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16532 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16533 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16535 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16536 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16537 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16538 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16539 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16540 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16541 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16542 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16543 * math/ftestexcept.c (fetestexcept): Likewise.
16544 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16545 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16546 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16547 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16548 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16549 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16550 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16551
af325969
UD
165522010-10-11 Ulrich Drepper <drepper@gmail.com>
16553
c579b202 16554 [BZ #12107]
af325969
UD
16555 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16556 newline.
16557
67a67b95
UD
165582010-10-06 Ulrich Drepper <drepper@gmail.com>
16559
16560 * string/bug-strstr1.c: New file.
16561 * string/Makefile: Add rules to build and run bug-strstr1.
16562
5fb308bc
EB
165632010-10-05 Eric Blake <eblake@redhat.com>
16564
16565 [BZ #12092]
16566 * string/str-two-way.h (two_way_long_needle): Always clear memory
16567 when skipping input due to the shift table.
16568
45db99c7
UD
165692010-10-03 Ulrich Drepper <drepper@gmail.com>
16570
3b111893
UD
16571 [BZ #12005]
16572 * malloc/mcheck.c: Handle large requests.
16573
45db99c7
UD
16574 [BZ #12077]
16575 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16576 for strncmp and strncasecmp.
16577 * string/stratcliff.c: Add tests for strcmp and strncmp.
16578 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16579
cf7a1eb8
NI
165802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16581
16582 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16583 __set_fpscr.
16584
6484ba5e
AJ
165852010-09-30 Andreas Jaeger <aj@suse.de>
16586
16587 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16588 (CGROUP_SUPER_MAGIC): Define.
16589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16590 Handle btrfs and cgroup file systems.
16591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16592 Likewise.
16593
91c42559
LM
165942010-09-27 Luis Machado <luisgpm@br.ibm.com>
16595
16596 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16597 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16598
87a97932
AK
165992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16600
16601 [BZ #12067]
16602 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16603 trying to locate the ELF header.
16604
c21cc9bc
AS
166052010-09-27 Andreas Schwab <schwab@redhat.com>
16606
16607 [BZ #11611]
16608 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16609 Mask out sign-bit copies when constructing f_fsid.
16610
315970f6
PB
166112010-09-24 Petr Baudis <pasky@suse.cz>
16612
16613 * debug/stack_chk_fail_local.c: Add missing licence exception.
16614 * debug/warning-nop.c: Likewise.
16615
1ac7a2c7
JM
166162010-09-15 Joseph Myers <joseph@codesourcery.com>
16617
16618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16619 implementing getdents64 using getdents syscall, set d_type if
16620 __ASSUME_GETDENTS32_D_TYPE.
16621
56801c50
AS
166222010-09-16 Andreas Schwab <schwab@redhat.com>
16623
16624 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16625 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16626
dda51327
UD
166272010-09-21 Ulrich Drepper <drepper@redhat.com>
16628
16629 [BZ #12037]
16630 * posix/unistd.h: Undo change of feature selection for ftruncate from
16631 2010-01-11.
16632
8ffcee4a
UD
166332010-09-20 Ulrich Drepper <drepper@redhat.com>
16634
a545ecd9 16635 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16636 detection.
16637
e24f0a8b
AS
166382010-09-20 Andreas Schwab <schwab@redhat.com>
16639
16640 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16641 fanotify_mark.
16642 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16643
7291c56f
AS
166442010-09-14 Andreas Schwab <schwab@redhat.com>
16645
16646 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16647 variables after CHECK_SP call.
16648 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16649
bc5fb037
AS
166502010-09-13 Andreas Schwab <schwab@redhat.com>
16651 Ulrich Drepper <drepper@redhat.com>
16652
16653 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16654 re-relocationg ld.so.
16655 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16656 _dl_init_paths call.
16657 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16658 here anymore.
16659
e66e7419
UD
166602010-09-14 Ulrich Drepper <drepper@redhat.com>
16661
16662 * resolv/res_init.c (__res_vinit): Count the default server we added.
16663
c044aa75
CLT
166642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16665 Ulrich Drepper <drepper@redhat.com>
16666
16667 [BZ #11968]
16668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16669 (____longjmp_chk): Use %ebx for saving value across system call.
16670 Add unwind info.
16671
32cf4069
AS
166722010-09-06 Andreas Schwab <schwab@redhat.com>
16673
16674 * manual/Makefile: Don't mix pattern rules with normal rules.
16675
817328ee
AS
166762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16677
16678 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16679 operation.
16680 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16681 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16682 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16683 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16685 Likewise.
16686
29fddf61
UD
166872010-09-04 Ulrich Drepper <drepper@redhat.com>
16688
16689 [BZ #11979]
16690 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16691 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16692
0959ffc9
UD
166932010-09-02 Ulrich Drepper <drepper@redhat.com>
16694
16695 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16696 * sysdeps/x86_64/addmul_1.S: Likewise.
16697 * sysdeps/x86_64/lshift.S: Likewise.
16698 * sysdeps/x86_64/mul_1.S: Likewise.
16699 * sysdeps/x86_64/rshift.S: Likewise.
16700 * sysdeps/x86_64/sub_n.S: Likewise.
16701 * sysdeps/x86_64/submul_1.S: Likewise.
16702
ece29840
ST
167032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16704
0959ffc9
UD
16705 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16706 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16707 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16708 * bits/sched.h [__need_schedparam]
ece29840 16709 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16710 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16711 (__defined_schedparam): Define to 1.
ece29840
ST
16712 (__sched_param): New structure, identical to sched_param.
16713 (__need_schedparam): Undefine.
16714
e53a31fe
MF
167152010-08-31 Mike Frysinger <vapier@gentoo.org>
16716
fdc0c10d
MF
16717 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16718 (epoll_create1): Declare.
16719
e53a31fe
MF
16720 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16721
a726d796
AS
167222010-08-31 Andreas Schwab <schwab@redhat.com>
16723
16724 [BZ #7066]
16725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16726 shifting retval into place.
16727
2f3e3dc7
UD
167282010-09-01 Ulrich Drepper <drepper@redhat.com>
16729
f2933da9
UD
16730 * nis/rpcsvc/nis.h: Update copyright notice.
16731 * nis/rpcsvc/nis.x: Likewise.
16732 * nis/rpcsvc/nis_callback.h: Likewise.
16733 * nis/rpcsvc/nis_callback.x: Likewise.
16734 * nis/rpcsvc/nis_object.x: Likewise.
16735 * nis/rpcsvc/nis_tags.h: Likewise.
16736 * nis/rpcsvc/yp.h: Likewise.
16737 * nis/rpcsvc/yp.x: Likewise.
16738 * nis/rpcsvc/ypupd.h: Likewise.
16739 * nis/yp_xdr.c: Likewise.
16740 * nis/ypupdate_xdr.c: Likewise.
16741
2f3e3dc7
UD
16742 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16743 mainly the body of pmap_getport. Add parameters to specify timeouts.
16744 (pmap_getport): Use __libc_rpc_getport.
16745 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16746 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16747 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16748
f3dcc2f9
AS
167492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16750
16751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16752 fanotify_mark.
16753
6d34eb5b
RM
167542010-08-27 Roland McGrath <roland@redhat.com>
16755
16756 * sysdeps/i386/i686/multiarch/Makefile
16757 (CFLAGS-varshift.c): New variable.
16758
9ea3de11
UD
167592010-08-27 Ulrich Drepper <drepper@redhat.com>
16760
c96d23fc
UD
16761 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16762 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16763
9ea3de11
UD
16764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16765
16766 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16767
623aac7f
L
167682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16769
16770 * sysdeps/x86_64/strlen.S: Unroll the loop.
16771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16772 strlen-sse2 strlen-sse2-bsf.
16773 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16774 __strlen_no_bsf if bit_Slow_BSF is set.
16775 (__strlen_sse42): Removed.
16776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16777 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16778
8b2b7715
RM
167792010-08-25 Roland McGrath <roland@redhat.com>
16780
16781 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16782 * sysdeps/x86_64/multiarch/varshift.c: New file.
16783 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16784 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16785 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16786 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16787
e73015f2
L
167882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16789
16790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16791 strlen-sse2 strlen-sse2-bsf.
16792 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16793 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16794 (__strlen_sse2): Removed.
16795 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16798 bit_Slow_BSF for Atom.
16799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16800 (index_Slow_BSF): Define.
16801 (HAS_SLOW_BSF): Define.
16802
df24a73e
UD
168032010-08-25 Ulrich Drepper <drepper@redhat.com>
16804
16805 [BZ #10851]
16806 * resolv/res_init.c (__res_vinit): When no server address at all
16807 is given default to loopback.
16808
f2ac4868
RM
168092010-08-24 Roland McGrath <roland@redhat.com>
16810
09055553
RM
16811 * configure.in: Remove config-name.h generation.
16812 * configure: Regenerated.
16813 * config-name.in: File removed.
16814 * scripts/config-uname.sh: New file.
16815 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16816 ($(objdir)config-name.h): New target.
16817
f2ac4868
RM
16818 * sunrpc/rpc_parse.h: Avoid nested comment.
16819
73f27d5e
RH
168202010-08-24 Richard Henderson <rth@redhat.com>
16821 Ulrich Drepper <drepper@redhat.com>
16822 H.J. Lu <hongjiu.lu@intel.com>
16823
16824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16826 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16827 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16828 _mm_alignr_epi8 with _mm_loadu_si128.
16829 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16830 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16831 (__m128i_shift_right): Removed.
16832 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16833 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16834 * sysdeps/x86_64/multiarch/varshift.h: New file.
16835 * sysdeps/x86_64/multiarch/varshift.S: New file.
16836
84b9230c
MF
168372010-08-21 Mike Frysinger <vapier@gentoo.org>
16838
16839 * configure.in: Move assembler checks to before sysdep dir checking.
16840
9bbd0ddc
PB
168412010-08-20 Petr Baudis <pasky@suse.cz>
16842
16843 * LICENSES: Sync the sunrpc license.
16844
9da4bb31
UD
168452010-08-19 Ulrich Drepper <drepper@redhat.com>
16846
a7ab6ec8
UD
16847 * sunrpc/auth_des.c: Update copyright notice once again.
16848 * sunrpc/auth_none.c: Likewise.
16849 * sunrpc/auth_unix.c: Likewise.
16850 * sunrpc/authdes_prot.c: Likewise.
16851 * sunrpc/authuxprot.c: Likewise.
16852 * sunrpc/bindrsvprt.c: Likewise.
16853 * sunrpc/clnt_gen.c: Likewise.
16854 * sunrpc/clnt_perr.c: Likewise.
16855 * sunrpc/clnt_raw.c: Likewise.
16856 * sunrpc/clnt_simp.c: Likewise.
16857 * sunrpc/clnt_tcp.c: Likewise.
16858 * sunrpc/clnt_udp.c: Likewise.
16859 * sunrpc/clnt_unix.c: Likewise.
16860 * sunrpc/des_crypt.c: Likewise.
16861 * sunrpc/des_soft.c: Likewise.
16862 * sunrpc/get_myaddr.c: Likewise.
16863 * sunrpc/getrpcport.c: Likewise.
16864 * sunrpc/key_call.c: Likewise.
16865 * sunrpc/key_prot.c: Likewise.
16866 * sunrpc/openchild.c: Likewise.
16867 * sunrpc/pm_getmaps.c: Likewise.
16868 * sunrpc/pm_getport.c: Likewise.
16869 * sunrpc/pmap_clnt.c: Likewise.
16870 * sunrpc/pmap_prot.c: Likewise.
16871 * sunrpc/pmap_prot2.c: Likewise.
16872 * sunrpc/pmap_rmt.c: Likewise.
16873 * sunrpc/rpc/auth.h: Likewise.
16874 * sunrpc/rpc/auth_unix.h: Likewise.
16875 * sunrpc/rpc/clnt.h: Likewise.
16876 * sunrpc/rpc/des_crypt.h: Likewise.
16877 * sunrpc/rpc/key_prot.h: Likewise.
16878 * sunrpc/rpc/netdb.h: Likewise.
16879 * sunrpc/rpc/pmap_clnt.h: Likewise.
16880 * sunrpc/rpc/pmap_prot.h: Likewise.
16881 * sunrpc/rpc/pmap_rmt.h: Likewise.
16882 * sunrpc/rpc/rpc.h: Likewise.
16883 * sunrpc/rpc/rpc_des.h: Likewise.
16884 * sunrpc/rpc/rpc_msg.h: Likewise.
16885 * sunrpc/rpc/svc.h: Likewise.
16886 * sunrpc/rpc/svc_auth.h: Likewise.
16887 * sunrpc/rpc/types.h: Likewise.
16888 * sunrpc/rpc/xdr.h: Likewise.
16889 * sunrpc/rpc_clntout.c: Likewise.
16890 * sunrpc/rpc_cmsg.c: Likewise.
16891 * sunrpc/rpc_common.c: Likewise.
16892 * sunrpc/rpc_cout.c: Likewise.
16893 * sunrpc/rpc_dtable.c: Likewise.
16894 * sunrpc/rpc_hout.c: Likewise.
16895 * sunrpc/rpc_main.c: Likewise.
16896 * sunrpc/rpc_parse.c: Likewise.
16897 * sunrpc/rpc_parse.h: Likewise.
16898 * sunrpc/rpc_prot.c: Likewise.
16899 * sunrpc/rpc_sample.c: Likewise.
16900 * sunrpc/rpc_scan.c: Likewise.
16901 * sunrpc/rpc_scan.h: Likewise.
16902 * sunrpc/rpc_svcout.c: Likewise.
16903 * sunrpc/rpc_tblout.c: Likewise.
16904 * sunrpc/rpc_util.c: Likewise.
16905 * sunrpc/rpc_util.h: Likewise.
16906 * sunrpc/rpcinfo.c: Likewise.
16907 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16908 * sunrpc/rpcsvc/key_prot.x: Likewise.
16909 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16910 * sunrpc/rpcsvc/mount.x: Likewise.
16911 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16912 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16913 * sunrpc/rpcsvc/rex.x: Likewise.
16914 * sunrpc/rpcsvc/rstat.x: Likewise.
16915 * sunrpc/rpcsvc/rusers.x: Likewise.
16916 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16917 * sunrpc/rpcsvc/spray.x: Likewise.
16918 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16919 * sunrpc/rtime.c: Likewise.
16920 * sunrpc/svc.c: Likewise.
16921 * sunrpc/svc_auth.c: Likewise.
16922 * sunrpc/svc_authux.c: Likewise.
16923 * sunrpc/svc_raw.c: Likewise.
16924 * sunrpc/svc_run.c: Likewise.
16925 * sunrpc/svc_simple.c: Likewise.
16926 * sunrpc/svc_tcp.c: Likewise.
16927 * sunrpc/svc_udp.c: Likewise.
16928 * sunrpc/svc_unix.c: Likewise.
16929 * sunrpc/svcauth_des.c: Likewise.
16930 * sunrpc/xcrypt.c: Likewise.
16931 * sunrpc/xdr.c: Likewise.
16932 * sunrpc/xdr_array.c: Likewise.
16933 * sunrpc/xdr_float.c: Likewise.
16934 * sunrpc/xdr_mem.c: Likewise.
16935 * sunrpc/xdr_rec.c: Likewise.
16936 * sunrpc/xdr_ref.c: Likewise.
16937 * sunrpc/xdr_sizeof.c: Likewise.
16938 * sunrpc/xdr_stdio.c: Likewise.
16939
9da4bb31
UD
16940 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16941 handling.
16942
bdaa77bc
AS
169432010-08-19 Andreas Schwab <schwab@redhat.com>
16944
16945 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16946
fe2f79db
LM
169472010-08-19 Luis Machado <luisgpm@br.ibm.com>
16948
16949 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16950 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16951 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16952 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16953 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16954 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16955 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16956 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16958 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16959 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16960 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16961 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16962 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16963
b9b42ee0
AB
169642010-07-26 Anton Blanchard <anton@samba.org>
16965
16966 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16967 * malloc/arena.c (heap_trim): Likewise.
16968
1c06ba31
UD
169692010-08-16 Ulrich Drepper <drepper@redhat.com>
16970
16971 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16972 here. Not...
16973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16974 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16975
f8392f40
L
169762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16977
16978 * sysdeps/i386/elf/Makefile: New file.
16979
3162f12e
AS
169802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16981
16982 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16983 from fanotify_init.
16984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16986
28c90b2c
UD
169872010-08-15 Ulrich Drepper <drepper@redhat.com>
16988
16989 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16990 of strncasecmp_l.
1feccb6c 16991 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16992
ca6bb004
UD
169932010-08-14 Ulrich Drepper <drepper@redhat.com>
16994
e9f82e0d
UD
16995 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16996 strncase_l-nonascii.
16997 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16998 Add strncase_l-ssse3.
16999 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17000 * sysdeps/x86_64/strcmp.S: Likewise.
17001 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17002 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17003 * sysdeps/x86_64/strncase.S: New file.
17004 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17005 * sysdeps/x86_64/strncase_l.S: New file.
17006 * string/Makefile (strop-tests): Add strncasecmp.
17007 * string/test-strncasecmp.c: New file.
17008
17009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17010 warning.
17011
ca6bb004
UD
17012 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17013 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17014
052fa7b3
AS
170152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17016
17017 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17018
962dba78
UD
170192010-08-12 Ulrich Drepper <drepper@redhat.com>
17020
17021 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17022 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17023 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17024
bebff237
AM
170252010-05-01 Alan Modra <amodra@gmail.com>
17026
17027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17028 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17029 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17030 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17031 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17032 tidying. Don't tail-call __sigjmp_save for static lib.
17033 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17034 save location.
17035 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17036 (CALL_MCOUNT): Add eh info, and nop after bl.
17037 (TAIL_CALL_SYSCALL_ERROR): New macro.
17038 (PSEUDO_RET): Use it.
17039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17040 Correct save location of integer regs and cr.
17041 (_dl_profile_resolve): Correct cr save location. Delete nops
17042 after bl when SHARED. Reduce cfi size a little by better
17043 placement of cfi directives.
17044 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17045 make a stack frame. Instead use parm save area as a temp.
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17047 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17049 Don't make a stack frame for parent, use parm save area.
17050 Increase child stack frame to 112 bytes. Don't save unused reg,
17051 and adjust reg usage. Set up cfi on error recovery and
17052 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17054 (__makecontext): Add dummy nop after jump to exit.
17055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17056 Use correct parm save area and cr save, reduce stack frame.
17057 Correct cfi for possible PSEUDO_RET frame setup.
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17059 Branch to local label emitted by PSEUDO_RET rather than
17060 __syscall_error.
17061
02637374
AS
170622010-08-12 Andreas Schwab <schwab@redhat.com>
17063
17064 [BZ #11904]
17065 * locale/programs/locale.c (print_assignment): New function.
17066 (show_locale_vars): Use it.
17067
c3e2f19b
UD
170682010-08-11 Ulrich Drepper <drepper@redhat.com>
17069
3cdaa6ad
UD
17070 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17071 field.
17072 (struct statfs64): Likewise.
17073 (_STATFS_F_FLAGS): Define.
17074 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17076 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17077 (ST_VALID): Define locally.
17078 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17079 __statvfs_getflags, use the provided value.
17080 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17081 __ASSUME_STATFS_F_FLAGS.
17082
754f7da3
UD
17083 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17084
10b3bedc
UD
17085 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17086 Add sys/fanotify.h.
17087 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17088 fanotify_mask for GLIBC_2.13.
17089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17090 fanotify_init and fanotify_mark.
17091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17092 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17093
c08fb0d7
UD
17094 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17095 Add prlimit.
17096 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17097 prlimit64 for GLIBC_2.13.
17098 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17099 prlimit64.
17100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17101 syscall.
17102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17103 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17104 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17105 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17107 add prlimit alias.
17108 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17109
15bac72b
UD
17110 [BZ #11903]
17111 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17112 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17113
c3e2f19b
UD
17114 * nss/Makefile: Add rules to build and run tst-nss-test1.
17115 * shlib-versions: Add entry for libnss_test1.
17116 * nss/nss_test1.c: New file.
17117 * nss/tst-nss-test1.c: New file.
17118
17119 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17120 (__nss_configure_lookup): Set appropriate entry in
17121 __nss_configure_lookup to true.
17122 * nss/nsswitch.h: Define enum with indeces of databases in
17123 databases and __nss_database_custom arrays. Declare
17124 __nss_database_custom.
17125 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17126 to avoid using nscd when custom rules are installed.
17127 * nss/getXXbyYY_r.c: Likewise.
17128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17129
17130 * nss/nss_files/files-parse.c: Whitespace fixes.
17131
f15ce4d8
UD
171322010-08-09 Ulrich Drepper <drepper@redhat.com>
17133
17134 [BZ #11883]
17135 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17136 * posix/fnmatch_loop.c: Likewise.
17137
d22e4cc9
AK
171382010-07-17 Andi Kleen <ak@linux.intel.com>
17139
17140 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17141 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17142 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17143 * Versions.def [GLIBC_2.13]: Add.
17144
805bc17d
UD
171452010-08-06 Ulrich Drepper <drepper@redhat.com>
17146
17147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17148 Also fail if tpwd after pwuid call is NULL.
17149
5a42321d
ST
171502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17151
17152 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17153 when converting to ms.
17154
fd3ebeda
ST
171552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17156
17157 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17158 EOPNOTSUPP errors with ENOTTY.
17159 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17160 EOPNOTSUPP errors with ENOTTY.
17161
73507d3a
UD
171622010-07-31 Ulrich Drepper <drepper@redhat.com>
17163
17164 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17165 Add strcasecmp_l-ssse3.
17166 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17167 strcasecmp.
17168 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17169 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17170 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17171
fe36dd02
UD
171722010-07-30 Ulrich Drepper <drepper@redhat.com>
17173
66f6765a
UD
17174 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17175
42e08a54
UD
17176 * string/Makefile (strop-tests): Add strcasecmp.
17177 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17178 strcasecmp_l-nonascii.
17179 (gen-as-const-headers): Add locale-defines.sym.
17180 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17181 * sysdeps/x86_64/strcasecmp.S: New file.
17182 * sysdeps/x86_64/strcasecmp_l.S: New file.
17183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17184 * sysdeps/x86_64/locale-defines.sym: New file.
17185 * string/test-strcasecmp.c: New file.
17186
fe36dd02
UD
17187 * string/test-strcasestr.c: Test both ends of the range of characters.
17188 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17189
48cbc0d6
RM
171902010-07-29 Roland McGrath <roland@redhat.com>
17191
76e6d6bc 17192 [BZ #11856]
48cbc0d6
RM
17193 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17194
880113d9
UD
171952010-07-27 Ulrich Drepper <drepper@redhat.com>
17196
17197 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17198 for ld.so.
17199
deb9cabb
AS
172002010-07-27 Andreas Schwab <schwab@redhat.com>
17201
17202 * manual/memory.texi (Malloc Tunable Parameters): Document
17203 M_PERTURB.
17204
1c7570ff
RM
172052010-07-26 Roland McGrath <roland@redhat.com>
17206
17207 [BZ #11840]
17208 * configure.in (-fgnu89-inline check): Set and substitute
17209 gnu89_inline, not libc_cv_gnu89_inline.
17210 * configure: Regenerated.
17211 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17212
24fb0f88
UD
172132010-07-26 Ulrich Drepper <drepper@redhat.com>
17214
17215 * string/test-strnlen.c: New file.
17216 * string/Makefile (strop-tests): Add strnlen.
17217 * string/tester.c (test_strnlen): Add a few more test cases.
17218 * string/tst-strlen.c: Better error reporting.
17219
17220 * sysdeps/x86_64/strnlen.S: New file.
17221
8e96b93a
UD
172222010-07-24 Ulrich Drepper <drepper@redhat.com>
17223
17224 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17225 lower-latency instructions.
17226
dbc676d4
UD
172272010-07-23 Ulrich Drepper <drepper@redhat.com>
17228
17229 * string/test-strcasestr.c: New file.
17230 * string/test-strstr.c: New file.
17231 * string/Makefile (strop-tests): Add strstr and strcasestr.
17232 * string/str-two-way.h: Don't undefine MAX.
17233 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17234
f6a31e0e
AS
172352010-07-21 Andreas Schwab <schwab@redhat.com>
17236
17237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17238 strcasestr-nonascii.
17239 (CFLAGS-strcasestr-nonascii.c): Define.
17240 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17241 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17242 Remove unused attribute.
17243
5dbc3b6c
RM
172442010-07-20 Roland McGrath <roland@redhat.com>
17245
17246 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17247 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17248 ld.so.cache was broken. With it, there is no way to disable dsocaps
17249 like LD_HWCAP_MASK can disable hwcaps.
17250
23d101d8
EPM
172512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17252
17253 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17254
cc9f2e47
UD
172552010-07-16 Ulrich Drepper <drepper@redhat.com>
17256
17257 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17258 call in strcasestr.
17259 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17260 __strcasestr_sse42_nonascii.
17261 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17262 strcasestr-nonascii.c.
17263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17264
77c1b069
LM
172652010-06-15 Luis Machado <luisgpm@br.ibm.com>
17266
17267 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17269 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17271
440566c3
UD
172722010-07-09 Ulrich Drepper <drepper@redhat.com>
17273
17274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17275 fcntl.
17276
5be9d05d
AS
172772010-07-06 Andreas Schwab <schwab@redhat.com>
17278
c30b7ee2 17279 [BZ #11577]
5be9d05d
AS
17280 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17281 dl_signal_cerror.
17282
8a492a67
UD
172832010-07-06 Ulrich Drepper <drepper@redhat.com>
17284
17285 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17286 _PC_PIPE_BUF using F_GETPIPE_SZ.
17287
713df3d5
RM
172882010-07-05 Roland McGrath <roland@redhat.com>
17289
17290 * manual/arith.texi (Rounding Functions): Fix rint description
17291 implicit in round description.
17292
702e8f14
UD
172932010-07-02 Ulrich Drepper <drepper@redhat.com>
17294
17295 * elf/Makefile: Fix linking for a few tests to make recent linker
17296 happy.
17297
52ed8be9
AS
172982010-06-30 Andreas Schwab <schwab@redhat.com>
17299
17300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17301 $(common-objpfx)libc_nonshared.a.
17302
f47c9a11
LM
173032010-06-21 Luis Machado <luisgpm@br.ibm.com>
17304
17305 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17306 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17307 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17308 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17309 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17310 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17312 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17327 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17328 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17329 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17330 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17331 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17332 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17333 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17334 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17335 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17336 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17337 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17338 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17353
6fb8cbcb
L
173542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17355
17356 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17357 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17358 * string/memmove.c (memmove): Renamed to ...
17359 (MEMMOVE): ...this. Default to memmove.
17360 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17361 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17362 (END_CHK): Define.
17363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17364 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17365 mempcpy-ssse3-back memmove-ssse3-back.
17366 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17369 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17370 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17371 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17372 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17373 * sysdeps/x86_64/multiarch/memmove.c: New file.
17374 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17375 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17376 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17377 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17378 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17380 Define.
17381 (index_Fast_Copy_Backward): Define.
17382 (HAS_ARCH_FEATURE): Define.
17383 (HAS_FAST_REP_STRING): Define.
17384 (HAS_FAST_COPY_BACKWARD): Define.
17385
4e733bac 173862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17387
17388 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17389 Restore proper fallback handling.
17390
63c4ed22
UD
173912010-06-19 Ulrich Drepper <drepper@redhat.com>
17392
ac2b484c
UD
17393 [BZ #11701]
17394 * posix/group_member.c (__group_member): Correct checking loop.
17395
63c4ed22
UD
17396 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17397 OOM in getpwuid_r correctly. Return error number when the caller
17398 should return, otherwise -1.
17399 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17400 call returning > 0 value.
17401 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17402
765ade4b
AS
174032010-06-07 Andreas Schwab <schwab@redhat.com>
17404
17405 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17406 libc_nonshared.a from targets in modules-names.
17407
80da2e09
KS
174082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17409
17410 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17411 requires it.
17412
158db122
LM
174132010-06-10 Luis Machado <luisgpm@br.ibm.com>
17414
17415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17419
caa78cf8
AS
174202010-06-02 Andreas Schwab <schwab@redhat.com>
17421
17422 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17423
b2ef2c01
UD
174242010-06-14 Ulrich Drepper <drepper@redhat.com>
17425
17426 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17427 and F_GETPIPE_SZ.
17428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17434
fbd643b6
RM
174352010-06-14 Roland McGrath <roland@redhat.com>
17436
17437 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17438
f32f2869
JJ
174392010-06-07 Jakub Jelinek <jakub@redhat.com>
17440
17441 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17442 __REDIRECT followed by __THROW.
17443 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17444 * posix/getopt.h (getopt): Likewise.
17445
2a50c078
EPM
174462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17447
17448 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17449 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17450 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17451 in AT_FLAGS.
17452 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17453 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17454
eb5ad2eb
LM
174552010-05-28 Luis Machado <luisgpm@br.ibm.com>
17456
17457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17458
3c88fe1e
L
174592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17460
17461 [BZ #11640]
17462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17463 Properly check family and model.
17464
d2f73151
TY
174652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17466
17467 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17468
ebd2e13d
LM
174692010-05-24 Luis Machado <luisgpm@br.ibm.com>
17470
17471 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17472
b32b8b45
UD
174732010-05-21 Ulrich Drepper <drepper@redhat.com>
17474
17475 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17476 symbol reference.
17477
9acbe24d
AS
174782010-05-19 Andreas Schwab <schwab@redhat.com>
17479
17480 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17481 symbol reference.
17482
f0ccf6ea
AS
174832010-05-21 Andreas Schwab <schwab@redhat.com>
17484
3d04ff3a
AS
17485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17486 and internal_recvmmsg.
17487 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17488 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17489 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17490 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17491
f0ccf6ea
AS
17492 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17493 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17494 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17495
5b08ac57
AS
174962010-05-20 Andreas Schwab <schwab@redhat.com>
17497
17498 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17499
4828935d
LM
175002010-05-17 Luis Machado <luisgpm@br.ibm.com>
17501
17502 POWER7 optimizations.
17503 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17504 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17505
373d545e
UD
175062010-05-19 Ulrich Drepper <drepper@redhat.com>
17507
17508 * version.h: Update for 2.13 development version.
17509
21a2b1ae
AS
175102010-05-12 Andrew Stubbs <ams@codesourcery.com>
17511
17512 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17513 exceptions. Return 0.
17514
3f7dcb2b
RM
175152010-05-07 Roland McGrath <roland@redhat.com>
17516
17517 * elf/ldconfig.c (main): Add a const.
17518
5f24d53a 175192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17520
a160f8d8
UD
17521 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17522 (args_options): Add no-idn option.
17523 (ahosts_keys_int): Add idn_flags to ai_flags.
17524 (parse_option): Handle 'i' option to clear idn_flags.
17525
5f24d53a
UD
17526 * malloc/malloc.c (_int_free): Possible race in the most recently
17527 added check. Only act on the data if no current modification
17528 happened.
265bb1ce
UD
17529
17530See ChangeLog.17 for earlier changes.