]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
BZ#14138: Move getrlimit (ugetrlimit) syscall to syscalls.list.
[thirdparty/glibc.git] / ChangeLog
1 2012-08-01 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #14138]
4 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8
9 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10 compat_symbol macros from <shlib-compat.h> rather than the underlying
11 default_symbol_version and symbol_version macros, so that DEFAULT
12 lines in shlib-versions are respected.
13 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14
15 2012-08-01 Florian Weimer <fweimer@redhat.com>
16
17 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18 Declare with warn_unused_result.
19 (setgid, setregid, setegid, setresgid): Likewise.
20 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21 Likewise.
22 * WUR-REPORT: Remove set*id functions.
23
24 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25
26 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27
28 2012-07-31 Roland McGrath <roland@hack.frob.com>
29
30 * include/sys/socket.h (__libc_accept, __libc_accept4):
31 Add attribute_hidden.
32 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33
34 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35 use of PTR_MANGLE.
36 * inet/getnetgrent_r.c (setup): Likewise.
37
38 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39
40 2012-07-31 David S. Miller <davem@davemloft.net>
41
42 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43
44 2012-07-31 Joseph Myers <joseph@codesourcery.com>
45
46 [BZ #13629]
47 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48 value between 1.0 and 2.0 and smaller part has absolute value less
49 than 1.0.
50 * math/s_clog10.c (__clog10): Likewise.
51 * math/s_clog10f.c (__clog10f): Likewise.
52 * math/s_clog10l.c (__clog10l): Likewise.
53 * math/s_clogf.c (__clogf): Likewise.
54 * math/s_clogl.c (__clogl): Likewise.
55 * math/libm-test.inc (clog_test): Add more tests.
56 (clog10_test): Likewise.
57 * sysdeps/i386/fpu/libm-test-ulps: Update.
58 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59
60 2012-07-31 Florian Weimer <fweimer@redhat.com>
61
62 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63 Exit with zero in case no suitable GID is found, and write a
64 message to standard error.
65
66 2012-07-30 Roland McGrath <roland@hack.frob.com>
67
68 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
69 rather than to 1.
70 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71 (MAXPATHLEN): Removed.
72 (NOGROUP, NODEV): New macros.
73 (setbit, clrbit, isset, isclr): New macros.
74 (howmany, roundup, powerof2): New macros.
75 (DEV_BSIZE): New macro.
76
77 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
79
80 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
81 definition on [!__NO_LONG_DOUBLE_MATH].
82
83 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
84 PTR_MANGLE and PTR_DEMANGLE.
85
86 * socket/accept4.c (accept4): Rename to __libc_accept4.
87 Define accept4 as a weak alias.
88
89 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
90 on [_DIRENT_HAVE_D_TYPE].
91 * io/ftw.c (ftw_dir): Likewise.
92
93 * io/xmknod.c (__xmknod): Don't check PATH for being null.
94
95 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
96
97 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
98 Use the BSD numbers rather than the arbitrary ones we had.
99 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
100 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
101 (SIGXCPU, SIGXFSZ): New macros.
102 (_NSIG): Now 32.
103
104 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
105 initializer on [_LIBC_REENTRANT].
106
107 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
108 definitions inside [_POSIX_MAPPED_FILES].
109
110 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
111
112 * dirent/opendir.c: Include <fcntl.h>.
113
114 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
115 (__libc_getspecific): Likewise.
116 (__libc_key_create): Likewise.
117
118 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
119 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
120 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
121 (tmpfile64): Define as alias.
122 * sysdeps/wordsize-64/tmpfile.c: File removed.
123 * sysdeps/wordsize-64/tmpfile64.c: File removed.
124 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
125 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
126
127 * stdio-common/vfscanf.c: Include <stdbool.h>.
128 * nss/makedb.c: Likewise.
129 * stdio-common/_i18n_number.h: Likewise.
130 * argp/argp-help.c: Likewise.
131 * posix/wordexp.c: Likewise.
132 * sysdeps/posix/spawni.c: Likewise.
133 * nss/nss_files/files-initgroups.c: Likewise.
134 * stdio-common/reg-modifier.c: Include <stdlib.h>.
135 * nss/nss_files/files-initgroups.c: Likewise.
136 * nss/nss_db/db-netgrp.c: Likewise.
137 * nss/nss_db/db-initgroups.c: Likewise.
138 * io/fchmodat.c: Include <sys/stat.h>.
139
140 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
141 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
142
143 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
144 [HAVE_MMAP].
145
146 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
147 Add multiple inclusion protection.
148
149 2012-07-27 David S. Miller <davem@davemloft.net>
150
151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
152
153 2012-07-27 Gary Benson <gbenson@redhat.com>
154
155 [BZ #14298]
156 * elf/rtld.c: Include <stap-probe.h>.
157 (dl_main): Added static probes "init_start" and "init_complete".
158 * elf/dl-load.c: Include <stap-probe.h>.
159 (lose): Take new parameter "nsid".
160 Added static probe "map_failed".
161 (_dl_map_object_from_fd): Pass namespace id to lose.
162 Added static probe "map_start".
163 (open_verify): Pass namespace id to lose.
164 * elf/dl-open.c: Include <stap-probe.h>.
165 (dl_open_worker) Added static probes "map_complete", "reloc_start"
166 and "reloc_complete".
167 * elf/dl-close.c: Include <stap-probe.h>.
168 (_dl_close_worker): Added static probes "unmap_start" and
169 "unmap_complete".
170 * elf/rtld-debugger-interface.txt: New file documenting the above.
171
172 2012-07-26 Roland McGrath <roland@hack.frob.com>
173
174 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
175 rather than a string variable.
176 * sunrpc/rpc_main.c (h_output): Likewise.
177 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
178
179 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
180
181 * inet/check_native.c: New file.
182
183 2012-07-26 Joseph Myers <joseph@codesourcery.com>
184
185 [BZ #13629]
186 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
187 if larger part has absolute value 1.0.
188 * math/s_clog10.c (__clog10): Likewise.
189 * math/s_clog10f.c (__clog10f): Likewise.
190 * math/s_clog10l.c (__clog10l): Likewise.
191 * math/s_clogf.c (__clogf): Likewise.
192 * math/s_clogl.c (__clogl): Likewise.
193 * math/libm-test.inc (clog_test): Add more tests.
194 (clog10_test): Likewise.
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
197
198 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
199 (pltexit): Likewise.
200 (La_regs): Likewise.
201 (La_retval): Likewise.
202 (int_retval): Likewise.
203 Update #error for removed macros to refer only to definitions in
204 tst-audit.h.
205 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
206 macro.
207 (pltexit): Likewise.
208 (La_regs): Likewise.
209 (La_retval): Likewise.
210 (int_retval): Likewise.
211 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
212 macro.
213 (pltexit): Likewise.
214 (La_regs): Likewise.
215 (La_retval): Likewise.
216 (int_retval): Likewise.
217 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
218 macro.
219 (pltexit): Likewise.
220 (La_regs): Likewise.
221 (La_retval): Likewise.
222 (int_retval): Likewise.
223 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
224 macro.
225 (pltexit): Likewise.
226 (La_regs): Likewise.
227 (La_retval): Likewise.
228 (int_retval): Likewise.
229 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
230 macro.
231 (pltexit): Likewise.
232 (La_regs): Likewise.
233 (La_retval): Likewise.
234 (int_retval): Likewise.
235 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
236 macro.
237 (pltexit): Likewise.
238 (La_regs): Likewise.
239 (La_retval): Likewise.
240 (int_retval): Likewise.
241 * sysdeps/generic/tst-audit.h: Update comment to refer only to
242 macro definitions in tst-audit.h.
243 * sysdeps/i386/tst-audit.h: New file.
244 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
245 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
246 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
247 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
248 * sysdeps/sh/tst-audit.h: Likewise.
249 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
250 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
251 * sysdeps/x86_64/tst-audit.h: Likewise.
252
253 2012-07-26 Andreas Jaeger <aj@suse.de>
254
255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
256 ptrace.
257
258 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
259 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
260 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
261 PTRACE_O_MASK.
262 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
263 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
265
266 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
267 value.
268
269 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
270 _sigsys.
271 (si_call_addr, si_syscall, si_arch): Define new macro.
272 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
273 _sigsys.
274 (si_call_addr, si_syscall, si_arch): Define new marcro.
275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
276 _sigsys.
277 (si_call_addr, si_syscall, si_arch): Define new macro.
278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
279 _sigsys.
280 (si_call_addr, si_syscall, si_arch): Define new macro.
281
282 2012-07-25 Joseph Myers <joseph@codesourcery.com>
283
284 [BZ #13717]
285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
286 Change to 2.4.21 where previously 2.4.1.
287 * sysdeps/unix/sysv/linux/configure: Regenerated.
288 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
289 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
290 Linux kernel version.
291 (__ASSUME_STD_AUXV): Remove.
292 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
293 kernel version.
294 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
295 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
296 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
297 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
298 (__ASSUME_NETLINK_SUPPORT): Likewise.
299 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
300 (__no_netlink_support): Remove conditional definition.
301 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
302 Remove.
303 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
304 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
305 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
306 (if_nameindex_ioctl): Remove.
307 (if_nameindex_netlink): Do not handle __no_netlink_support.
308 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
309 code.
310 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
311 Remove conditional code.
312 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
313 code.
314 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
315 unconditional.
316 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
317 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
318 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
319 Remove.
320 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
321 [!__ASSUME_STD_AUXV]: Remove conditional code.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
323 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
324 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
326 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
327 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
328 code.
329 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
331 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
332 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
333 conditional code.
334 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
336 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
337 code.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
339 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
340 conditional code.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
342 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
343 code unconditional.
344 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
345 conditional code.
346 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
347 unconditional.
348 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
349 conditional code.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
351 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
352 unconditional.
353 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
354 conditional code.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
356 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
357 code unconditional.
358 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
359 conditional code.
360 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
361 unconditional.
362 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
363 conditional code.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
365 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
366 code unconditional.
367 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
368 conditional code.
369 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
370 unconditional.
371 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
372 conditional code.
373
374 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
375
376 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
377 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
378 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
379 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
380 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
381 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
382 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
383 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
384 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
385 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
386 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
387 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
388 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
389 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
390 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
392 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
394 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
396 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
398 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
399
400 2012-07-25 Florian Weimer <fweimer@redhat.com>
401
402 * Versions.def: Add GLIBC_2.17.
403 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
404 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
405 Introduce __libc_secure_getenv.
406 * stdlib/Versions (2.17): Add secure_getenv
407 (GLIBC_PRIVATE): Add __libc_secure_getenv.
408 * stdlib/secure-getenv.c: Rename __secure_getenv to
409 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
410 symbol __secure_getenv for GLIBC_2.0.
411 * stdlib/tst-secure-getenv.c: New.
412 * stdlib/Makefile (tests): Add testcase.
413 * manual/startup.texi (Environment Access): Document
414 secure_getenv.
415 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
416 __libc_secure_getenv.
417 * inet/ruserpass.c (ruserpass): Likewise.
418 * malloc/mtrace.c (mtrace): Likewise.
419 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
420 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
421 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
422 * sysdeps/posix/tempname.c: Likewise. Evaluate
423 HAVE_SECURE_GETENV.
424 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
425 __secure_getenv to __libc_secure_getenv.
426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
428 Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
430 Likewise.
431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
438
439 2012-07-25 Joseph Myers <joseph@codesourcery.com>
440
441 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
442 (struct La_i86_retval): Likewise.
443 (struct La_x86_64_regs): Likewise.
444 (struct La_x86_64_retval): Likewise.
445 (struct La_x32_regs): Likewise.
446 (struct La_x32_retval): Likewise.
447 (struct La_ppc32_regs): Likewise.
448 (struct La_ppc32_retval): Likewise.
449 (struct La_ppc64_regs): Likewise.
450 (struct La_ppc64_retval): Likewise.
451 (struct La_sh_regs): Likewise.
452 (struct La_sh_retval): Likewise.
453 (struct La_s390_32_regs): Likewise.
454 (struct La_s390_32_retval): Likewise.
455 (struct La_s390_64_regs): Likewise.
456 (struct La_s390_64_retval): Likewise.
457 (struct La_sparc32_regs): Likewise.
458 (struct La_sparc32_retval): Likewise.
459 (struct La_sparc64_regs): Likewise.
460 (struct La_sparc64_retval): Likewise.
461 (struct audit_ifaces): Remove architecture-specific pltenter and
462 pltexit members.
463 * sysdeps/i386/ldsodefs.h: New file.
464 * sysdeps/powerpc/ldsodefs.h: Likewise.
465 * sysdeps/s390/ldsodefs.h: Likewise.
466 * sysdeps/sh/ldsodefs.h: Likewise.
467 * sysdeps/sparc/ldsodefs.h: Likewise.
468 * sysdeps/x86_64/ldsodefs.h: Likewise.
469
470 2012-07-25 Marek Polacek <polacek@redhat.com>
471
472 [BZ #6808]
473 * math/libm-test.inc (yn_test): Add another test.
474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
475 to ERANGE when the result is +-Inf.
476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
477 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
478 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
479 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
480
481 2012-07-24 Joseph Myers <joseph@codesourcery.com>
482
483 * conform/data/time.h-data (NULL): Use macro-constant. Require
484 equal to 0.
485 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
486 clock_t.
487 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
488
489 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
490
491 * configure.in <sysdeps resolving>: Correct printing
492 Implies_before.
493 * configure: Regenerate.
494
495 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
496
497 * math/w_ilogb.c: Include <limits.h>.
498 * math/w_ilogbl.c: Likewise.
499
500 2012-07-20 Joseph Myers <joseph@codesourcery.com>
501
502 * manual/lang.texi (__va_copy): Document primarily as ISO C99
503 va_copy. Document allowing for unavailable va_copy only as
504 pre-C99 compatibility.
505 * manual/string.texi (Copying and Concatenation): Use va_copy
506 instead of __va_copy in concat example.
507
508 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
509
510 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
511 (__sendto): Use create_address_port. Initialize APORT and deallocate
512 it if not null.
513
514 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
515 with O_NOLINK passed to __file_name_lookup.
516
517 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
518 with O_NOLINK passed to __file_name_lookup.
519
520 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
521 negative N or less than NGIDS.
522
523 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
524 type to string_t. Set ERANGE as errno and return it if NAME is not big
525 enough. Use memcpy instead of strncpy.
526
527 2012-07-20 Joseph Myers <joseph@codesourcery.com>
528
529 * elf/Makefile (check-data): Remove.
530 (localplt.data): New vpath directive.
531 ($(objpfx)check-localplt.out): Use localplt.data from vpath
532 instead of $(check-data).
533 * scripts/data/localplt-generic.data: Move to ...
534 * sysdeps/generic/localplt.data: ... here.
535 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
536 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
537 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
539 ... here.
540 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
542 ... here.
543 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
545 ... here.
546 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
548 ... here.
549 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
551 ... here.
552 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
554 ... here.
555
556 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
557
558 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
559 PPC32 and PPC64 files.
560 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
561 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
562
563 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
564
565 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
566 __makecontext_ret to ...
567 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
568 ... here and call exit if uc_link is NULL. New file.
569 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
570 __makecontext_ret.S.
571 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
572 __makecontext_ret to ...
573 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
574 ... here and call exit if uc_link is NULL. New file.
575 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
576 __makecontext_ret.S.
577
578 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
579
580 * elf/elf.h (R_390_IRELATIVE): New definition.
581 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
582 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
583 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
584 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
585 (elf_machine_lazy_rel): Likewise.
586 * sysdeps/s390/dl-irel.h: New file.
587 * sysdeps/s390/s390-64/memcpy.S: New asm code.
588 * sysdeps/s390/s390-64/memset.S: New asm code.
589 * sysdeps/s390/s390-64/memcmp.S: New asm code.
590 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
592 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
593 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
594 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
596 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
597 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
598 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
599 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
600 * sysdeps/s390/s390-32/memcpy.S: New asm code.
601 * sysdeps/s390/s390-32/memset.S: New asm code.
602 * sysdeps/s390/s390-32/memcmp.S: New asm code.
603
604 2012-07-17 Marek Polacek <polacek@redhat.com>
605
606 [BZ #14349]
607 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
608 * sysdeps/s390/s390-64/configure.in: Likewise.
609 * sysdeps/sparc/configure.in: Likewise.
610 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
611 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
612 * sysdeps/i386/configure.in: Likewise.
613 * sysdeps/x86_64/configure.in: Likewise.
614 * sysdeps/sh/configure.in: Likewise.
615 * sysdeps/s390/s390-32/configure: Regenerated.
616 * sysdeps/s390/s390-64/configure: Likewise.
617 * sysdeps/x86_64/configure: Likewise.
618 * sysdeps/sh/configure: Likewise.
619 * sysdeps/powerpc/powerpc64/configure: Likewise.
620 * sysdeps/powerpc/powerpc32/configure: Likewise.
621 * sysdeps/sparc/configure: Likwise.
622 * sysdeps/i386/configure: Likewise.
623
624 * elf/dl-open.c: Comment fixes.
625
626 2012-07-17 Joseph Myers <joseph@codesourcery.com>
627
628 * Makefile [CXX] (check-data): Remove.
629 [CXX] (c++-types.data): New vpath directive.
630 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
631 vpath. Do not allow for C++ type data being missing.
632 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
633 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
634 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
635 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
636 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
637 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
638 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
640 ... here.
641 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
643 ... here.
644 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
646 ... here.
647 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
649 ... here.
650 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
652 ... here.
653 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
655 ... here.
656 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
658 ... here.
659 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
661
662 * elf/tls-macros.h (TLS_LE): Move architecture-specific
663 definitions to architecture-specific files.
664 (TLS_IE): Likewise.
665 (TLS_LD): Likewise.
666 (TLS_GD): Likewise.
667 * sysdeps/i386/tls-macros.h: New file.
668 * sysdeps/powerpc/tls-macros.h: Likewise.
669 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
670 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
671 * sysdeps/sh/tls-macros.h: Likewise.
672 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
673 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
674 * sysdeps/x86_64/tls-macros.h: Likewise.
675
676 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
677
678 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
679 zero value for regular exit case.
680
681 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
682 (__start_context): Preserve zero value for regular exit case.
683
684 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
685 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
686
687 * manual/setjmp.texi (setcontext): Clarify normal process
688 termination when uc_link is the null pointer.
689 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
690 exit call.
691
692 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
693
694 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
695 preprocessor. Test for each exception mask separately.
696
697 2012-07-16 Andreas Jaeger <aj@suse.de>
698
699 * po/ru.po: Update from translation team.
700
701 2012-07-15 Joseph Myers <joseph@codesourcery.com>
702
703 * conform/data/string.h-data (NULL): Use macro-constant. Require
704 equal to 0.
705 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
707 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
708 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
710
711 2012-07-13 Andreas Jaeger <aj@suse.de>
712
713 * po/fr.po: Update from translation team.
714
715 2012-07-12 Marek Polacek <polacek@redhat.com>
716
717 [BZ #14173]
718 * math/libm-test.inc (yn_test): Add test for BZ #14173.
719 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
720 loop condition.
721
722 2012-07-12 Joseph Myers <joseph@codesourcery.com>
723
724 [BZ #13717]
725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
726 Change to 2.4.1 where previously 2.4.0.
727 * sysdeps/unix/sysv/linux/configure: Regenerated.
728 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
729 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
730 version.
731 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
732 (__ASSUME_AT_CLKTCK): Remove.
733 (__ASSUME_AT_PAGESIZE): Likewise.
734 (__ASSUME_AT_XID): Likewise.
735 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
736 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
737 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
738 unconditionally.
739 (HAVE_AUX_PAGESIZE): Likewise.
740 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
741 [__ASSUME_AT_CLKTCK]: Make code unconditional.
742 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
743
744 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
745
746 [BZ #14307]
747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
748 the temporary buffer used to invoke __gethostbyname2_r,
749 __gethostbyaddr_r and gethostbyname4_r to make room for struct
750 host_data / struct gaih_addrtuple.
751 * resolv/nss_dns/dns-host.c (global scope): Move definition of
752 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
753 header file nss/nsswitch.h.
754 * nss/nsswitch.h (global scope): Add definition of implementation
755 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
756 resolv/nss_dns/dns-host.c).
757
758 2012-07-11 Andreas Jaeger <aj@suse.de>
759
760 * po/fr.po: Update from translation team.
761
762 * po/sv.po: Update from translation team
763 * po/fr.po: Another update from translation team.
764
765 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766
767 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
768 for subnormals or multiply small sinh result by itself.
769 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
771
772 2012-07-11 David S. Miller <davem@davemloft.net>
773
774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
775
776 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
777
778 [BZ #14347]
779 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
780 (INTERNAL_MARK): Shift it here.
781
782 2012-07-10 Marek Polacek <polacek@redhat.com>
783
784 [BZ #14151]
785 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
786 libc_cv_asm_global_directive with .globl.
787 * configure: Regenerated.
788 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
789 with .globl.
790 * sysdeps/i386/configure: Regenerated.
791 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
792 with .globl.
793 * sysdeps/x86_64/configure: Regenerated.
794 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
795 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
796 * elf/tst-unique2mod2.c: Likewise.
797 * elf/tst-unique2mod1.c: Likewise.
798 * elf/tst-unique1mod2.c: Likewise.
799 * elf/tst-unique1mod1.c: Likewise.
800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
801 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
803 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
804 * sysdeps/mach/sysdep.h: Likewise.
805 * sysdeps/i386/sysdep.h: Likewise.
806 * sysdeps/i386/i386-mcount.S: Likewise.
807 * sysdeps/x86_64/_mcount.S: Likewise.
808 * sysdeps/x86_64/sysdep.h: Likewise.
809 * sysdeps/sh/_mcount.S: Likewise.
810 * sysdeps/sh/sysdep.h: Likewise.
811 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
812 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
813 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
815 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
816 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
817 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
818 * locale/localeinfo.h: Likewise.
819 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
820 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
821
822 2012-07-09 Roland McGrath <roland@hack.frob.com>
823
824 [BZ #14336]
825 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
826 system".
827 * manual/message.texi (The Uniforum approach): Likewise.
828 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
829 (glibc iconv Implementation): Likewise.
830
831 2012-07-09 Joseph Myers <joseph@codesourcery.com>
832
833 [BZ #14337]
834 * math/s_clog.c (__clog): Avoid scaling a value down where that
835 could result in underflow.
836 * math/s_clog10.c (__clog10): Likewise.
837 * math/s_clog10f.c (__clog10f): Likewise.
838 * math/s_clog10l.c (__clog10l): Likewise.
839 * math/s_clogf.c (__clogf): Likewise.
840 * math/s_clogl.c (__clogl): Likewise.
841 * math/libm-test.inc (clog_test): Add more tests.
842 (clog10_test): Likewise.
843 * sysdeps/i386/fpu/libm-test-ulps: Update.
844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
845
846 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
847
848 [BZ #14283]
849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
850 by 7 not 8 to examine high bit of fractional part.
851
852 [BZ #14042]
853 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
854 for call to __mcount_internal.
855 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
856 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
857 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
858
859 2012-07-06 Joseph Myers <joseph@codesourcery.com>
860
861 [BZ #14154]
862 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
863 approximation for values within 0x1p-13f of an odd multiple of
864 pi/4.
865 * math/libm-test.inc (tan_test): Do not allow spurious underflow
866 exception. Add more tests.
867 * sysdeps/i386/fpu/libm-test-ulps: Update.
868
869 [BZ #6778]
870 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
871 inputs and return -1 for them. Do not check for +Inf in case not
872 reachable for +Inf.
873 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
874 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
876 and return -1 for them. Do not check for +Inf in case not
877 reachable for +Inf.
878 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
879 define.
880 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
881 and return -1 for them. Do not check for +Inf in case not
882 reachable for +Inf.
883 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
884 spurious underflow.
885 * sysdeps/i386/fpu/libm-test-ulps: Update.
886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
887
888 2012-07-06 Mike Frysinger <vapier@gentoo.org>
889
890 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
891
892 2012-07-05 Joseph Myers <joseph@codesourcery.com>
893
894 [BZ #14157]
895 [BZ #14331]
896 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
897 could result in spurious underflow. Scale down values above
898 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
899 * math/s_csqrtf.c (__csqrtf): Likewise.
900 * math/s_csqrtl.c (__csqrtl): Likewise.
901 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
902 spurious underflow.
903 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
905
906 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
907
908 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
909 xopen-msg.sed.
910 * catgets/xopen-msg.awk: New file.
911 * catgets/xopen-msg.sed: Removed.
912
913 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
914 po2text.sed.
915 * intl/po2test.awk: New file.
916 * intl/po2test.sed: Removed.
917
918 2012-07-04 Joseph Myers <joseph@codesourcery.com>
919
920 [BZ #14328]
921 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
922 or multiply small sinh result by itself.
923 * math/s_ctanf.c (__ctanf): Likewise.
924 * math/s_ctanh.c (__ctanh): Likewise.
925 * math/s_ctanhf.c (__ctanhf): Likewise.
926 * math/s_ctanhl.c (__ctanhl): Likewise.
927 * math/s_ctanl.c (__ctanl): Likewise.
928 * math/libm-test.inc (ctan_test_tonearest): New function.
929 (ctan_test_towardzero): Likewise.
930 (ctan_test_downward): Likewise.
931 (ctan_test_upward): Likewise.
932 (ctanh_test_tonearest): Likewise.
933 (ctanh_test_towardzero): Likewise.
934 (ctanh_test_downward): Likewise.
935 (ctanh_test_upward): Likewise.
936 (main): Call these new functions.
937 * sysdeps/i386/fpu/libm-test-ulps: Update.
938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
939
940 2012-07-03 Mike Frysinger <vapier@gentoo.org>
941
942 * .gitignore: Delete /ports entry.
943
944 2012-07-03 Andreas Jaeger <aj@suse.de>
945
946 * po/bg.po: Update from translation team.
947 * po/cs.po: Likewise.
948 * po/de.po: Likewise.
949 * po/hr.po: Likewise.
950 * po/nl.pl: Likewise.
951 * po/pl.po: Likewise.
952 * po/vi.po: Likewise.
953
954 2012-07-03 Joseph Myers <joseph@codesourcery.com>
955
956 * Makeconfig [!+link] (+link-before-libc): New variable.
957 [!+link] (+link-after-libc): Likewise.
958 [!+link] (+link-tests): Likewise.
959 [!+link] (+link): Define in terms of $(+link-before-libc) and
960 $(+link-after-libc).
961 [!+link-static] (+link-static-before-libc): New variable.
962 [!+link-static] (+link-static-after-libc): Likewise.
963 [!+link-static] (+link-static-tests): Likewise.
964 [!+link-static] (+link-static): Define in terms of
965 $(+link-static-before-libc) and $(+link-static-after-libc).
966 [build-shared] (link-libc-before-gnulib): New variable.
967 [build-shared] (link-libc-tests): Likewise.
968 [build-shared] (link-libc): Define in terms of
969 $(link-libc-before-gnulib).
970 [!build-shared] (link-libc-tests): New variable.
971 (link-libc-static-tests): New variable.
972 [!gnulib] (gnulib-arch): New variable.
973 [!gnulib] (gnulib-tests): Likewise.
974 [!gnulib] (static-gnulib-arch): Likewise.
975 [!gnulib] (static-gnulib-tests): Likewise.
976 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
977 Define with "=" instead of ":=".
978 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
979 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
980 * Rules (binaries-all-notests): New variable.
981 (binaries-all-tests): Likewise.
982 (binaries-static-notests): Likewise.
983 (binaries-static-tests): Likewise.
984 (binaries-all): Define using $(binaries-all-notests) and
985 $(binaries-all-tests).
986 (binaries-static): Define using $(binaries-static-notests) and
987 $(binaries-static-tests).
988 (binaries-shared-tests): New variable.
989 (binaries-shared-notests): Likewise.
990 (binaries-shared): Remove variable.
991 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
992 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
993 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
994 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
995 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
996 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
997 * elf/Makefile (sln-modules): New variable.
998 (extra-objs): Add $(sln-modules:=.o).
999 (ldconfig-modules): Add static-stubs.
1000 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1001 * elf/static-stubs.c: New file.
1002
1003 [BZ #14283]
1004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1005 by 7 not 8 to examine high bit of fractional part. Use volatile
1006 variables when splitting into final array of floats if
1007 __FLT_EVAL_METHOD__ != 0.
1008 * math/libm-test.inc (cos_test): Add another test.
1009 (sin_test): Likewise.
1010 * sysdeps/i386/fpu/libm-test-ulps: Update.
1011
1012 [BZ #14273]
1013 * math/libm-test.inc (cosh_test): Add more tests.
1014
1015 * version.h (RELEASE): Set to "development".
1016 (VERSION): Set to "2.16.90".
1017
1018 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1019
1020 * NEWS: Update copyright. Remove last-updated date.
1021 Mention math library bug fixes and timezone data changes.
1022 * README: Mention GNU/Hurd, x32, and HPPA support status.
1023
1024 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1025
1026 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1027
1028 2012-06-27 Andreas Jaeger <aj@suse.de>
1029
1030 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1031
1032 2012-06-25 Andreas Jaeger <aj@suse.de>
1033
1034 * sysdeps/s390/fpu/libm-test-ulps: Update.
1035
1036 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1037 Thomas Schwinge <thomas@codesourcery.com>
1038
1039 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1040 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1042 fanotify_mark.
1043
1044 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1045
1046 * sysdeps/mach/start.c: Remove file.
1047 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1048 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1049 * sysdeps/sh/init-first.c: Likewise.
1050
1051 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1052 registers for frame unwinding purposes, add CFI directives.
1053 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1055 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1056 Likewise.
1057
1058 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1059 __fortify_fail returning.
1060 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1061
1062 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1063 sysdeps/sh/____longjmp_chk.S.
1064 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1065 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1066 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1067 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1068
1069 * sysdeps/sh/abort-instr.h: New file.
1070 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1071 process in case exit returns.
1072
1073 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1074 initialize the GOT register before use.
1075
1076 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1077 calculation of ARGC > 4.
1078
1079 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1080 meaningful names to some local labels.
1081
1082 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1083 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1084
1085 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1086 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1087 (__arch_compare_and_exchange_val_16_acq): Likewise.
1088 (__arch_compare_and_exchange_val_32_acq): Likewise.
1089 (atomic_exchange_and_add): Fix gUSA sequence.
1090 (atomic_add): Likewise.
1091 (atomic_add_negative): Likewise.
1092 (atomic_add_zero): Likewise.
1093 (atomic_bit_test_set): Likewise.
1094
1095 2012-06-22 Andreas Schwab <schwab@redhat.com>
1096
1097 [BZ #13579]
1098 * include/link.h (struct link_map): Add l_free_initfini.
1099 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1100 l_initfini.
1101 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1102 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1103 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1104 set.
1105
1106 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1107
1108 * configure.in: Use AC_LANG_SOURCE.
1109 * configure: Regenerate.
1110
1111 2012-06-22 Roland McGrath <roland@hack.frob.com>
1112
1113 * configure.in (libc_cv_localstatedir): New substituted variable.
1114 * configure: Regenerated.
1115 * config.make.in (localstatedir): New variable, substituted from
1116 libc_cv_localstatedir.
1117 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1118 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1119 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1120 * sysdeps/gnu/configure: Regenerated.
1121
1122 2012-06-21 Jeff Law <law@redhat.com>
1123
1124 [BZ #14277]
1125 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1126 free. Simplify list management for _LIBC case.
1127
1128 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1129
1130 [BZ #14273]
1131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1132 Clear sign bit of 64-bit integer value before comparing against
1133 overflow value.
1134
1135 * sysdeps/mach/configure: Regenerated.
1136
1137 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 [BZ #14278]
1140 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1141
1142 2012-06-21 Jeff Law <law@redhat.com>
1143
1144 [BZ #13882]
1145 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1146 uint16_t for elements in the "seen" array to avoid char overflows.
1147 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1148 * elf/dl-open.c (dl_open_worker): Likewise.
1149
1150 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1151
1152 * scripts/list-sources.sh: Scan PORTS for translations.
1153 * po/libc.pot: Regenerated.
1154
1155 2012-06-21 Andreas Jaeger <aj@suse.de>
1156
1157 [BZ #12194]
1158 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1159 warning.
1160 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1161 * bits/byteswap-16.h (__bswap_16): Likewise.
1162 * bits/byteswap.h (__bswap_constant_16): Likewise.
1163
1164 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 [BZ #14117]
1167 * sysdeps/i386/fpu_control.h: Removed.
1168 * sysdeps/x86_64/fpu_control.h: Moved to ...
1169 * sysdeps/x86/fpu_control.h: Here.
1170
1171 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1172 (_FPU_SETCW): Likewise.
1173
1174 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1175
1176 [BZ #14117]
1177 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1178 * sysdeps/x86/fpu/bits/mathinline.h: This.
1179 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1180
1181 [BZ #14050]
1182 [BZ #14117]
1183 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1184 functions if __x86_64__ is defined.
1185
1186 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1187
1188 * string/endian.h: Add !__ASSEMBLER__ condition for including
1189 conversion interfaces.
1190
1191 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1192
1193 [BZ #14241]
1194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1195 of ABS(x) in calculating zero to negative powers other than odd
1196 integers.
1197 * math/libm-test.inc (pow_test): Add more tests.
1198
1199 2012-06-15 Andreas Jaeger <aj@suse.de>
1200
1201 * manual/contrib.texi (Contributors): Update entry of Liubov
1202 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1203 Machado Filho.
1204
1205 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1206
1207 * string/string.h: Add __wur to GNU version of strerror_r.
1208
1209 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1210
1211 [BZ #14229]
1212 * string/Makefile (tests): Add tst-strtok_r.
1213 * string/tst-strtok_r.c: New file.
1214 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1215 RAX_LP/RDX_LP on SAVE_PTR.
1216
1217 2012-06-14 Roland McGrath <roland@hack.frob.com>
1218
1219 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1220
1221 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1222
1223 * libm_test.inc (csqrt_test): Allow more spurious underflow
1224 exceptions.
1225 (j0_test): Likewise.
1226 (j1_test): Likewise.
1227 (y0_test): Likewise.
1228 (y1_test): Likewise.
1229
1230 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1231
1232 * po/Makefile (libc.pot): Use UTF-8 charset.
1233
1234 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1235
1236 [BZ #14210]
1237 Suppress sign-conversion warning from FD_SET.
1238 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1239 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1240 not unsigned long int.
1241 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1242
1243 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 [BZ #14050]
1246 [BZ #14117]
1247 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1248 __extern_always_inline instead of __extern_inline.
1249 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1250 (__signbit): Likewise.
1251 (__signbitl): Support C++ namespace.
1252 (lrintf): New inline function.
1253 (lrint): Likewise.
1254 (llrintf): Likewise.
1255 (llrint): Likewise.
1256 (fmaxf): Likewise.
1257 (fmax): Likewise.
1258 (fminf): Likewise.
1259 (fmin): Likewise.
1260 (rint): Likewise.
1261 (rintf): Likewise.
1262 (ceil): Likewise.
1263 (ceilf): Likewise.
1264 (floor): Likewise.
1265 (floorf): Likewise.
1266 (nearbyint): Likewise.
1267 (nearbyintf): Likewise.
1268
1269 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1270
1271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1272 non-default versions.
1273
1274 2012-06-11 Roland McGrath <roland@hack.frob.com>
1275
1276 [BZ #14218]
1277 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1278
1279 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1280
1281 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1282 (FE_UPWARD, FE_DOWNWARD): Don't define.
1283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1284 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1285
1286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1287 reading it.
1288 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1290
1291 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1292
1293 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1295 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1296 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1297
1298 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 [BZ #14117]
1301 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1302 * sysdeps/i386/fpu/Implies: New file.
1303 * sysdeps/x86_64/fpu/Implies: Likewise.
1304 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1305 * sysdeps/x86/fpu/bits/fenv.h: This.
1306
1307 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1308 __SSE_MATH__.
1309
1310 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1311
1312 [BZ #14134]
1313 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1314 character 0xffff that matches the last element of the
1315 conversion table.
1316
1317 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318
1319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1320 fmodl commit.
1321
1322 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1325 values higher than 25.6283.
1326
1327 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328
1329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1330 subnormal exponent extraction and add some __builtin_expect.
1331 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1332 Fix for subnormal mantissa calculation.
1333
1334 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1335
1336 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1337 cpu2 is -1 and errno is not ENOSYS.
1338
1339 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1340
1341 [BZ #14117]
1342 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1343 * sysdeps/x86/bits/string.h: This.
1344 * sysdeps/x86_64/bits/string.h: Removed.
1345
1346 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1347 if not compiling for x86-64, but compiling for >= i486.
1348
1349 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1350 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1351
1352 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1353 New macro from Linux kernel 3.4.0.
1354 (FP_XSTATE_MAGIC2): Likewise.
1355 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1356 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1357 (struct _fpx_sw_bytes): New struct.
1358 (struct _xsave_hdr): Likewise.
1359 (struct _ymmh_state): Likewise.
1360 (struct _xstate): Likewise.
1361
1362 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1363 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1365 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1366 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1367 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1368
1369 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1371 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1372 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1373 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1374 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1375
1376 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1377
1378 [BZ #13743]
1379 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1380 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1381 (sysdep_headers): Include sys/platform/ppc.h.
1382 * sysdeps/powerpc/test-gettimebase.c: Test for
1383 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1384 * manual/Makefile (appendices): Include platform.texi.
1385 * manual/contrib.texi (Contributors): Update @node pointers.
1386 * manual/maint.texi (Maintenance): Likewise.
1387 (Platform): New node.
1388 * manual/platform.texi: New file. Document the new features.
1389
1390 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1391 Jakub Jelinek <jakub@redhat.com>
1392
1393 [BZ #14188]
1394 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1395 where __builtin_expect is unavailable.
1396
1397 2012-06-03 David S. Miller <davem@davemloft.net>
1398
1399 * stdlib/longlong.h: Updated from GCC.
1400
1401 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1402
1403 [BZ #14042]
1404 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1405 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1406 __mcount_internal.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1408 (GLIBC_2.16): Likewise.
1409
1410 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1411
1412 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1413
1414 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1415
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1417 (default-abi): New variable.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1420 variable.
1421 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1422 Likewise.
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1424 Likewise.
1425 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1426 Likewise.
1427
1428 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1429 definition. Document in comment.
1430
1431 2012-06-01 David S. Miller <davem@davemloft.net>
1432
1433 * stdlib/longlong.h: Updated from GCC.
1434
1435 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 [BZ #14117]
1438 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1439 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1440 sys/debugreg.h sys/io.h here.
1441 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1442 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1443 sys/io.h.
1444 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1445 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1446 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1447 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1448 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1449 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1450
1451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1452 Define only if __x86_64__ is defined.
1453
1454 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1455
1456 [BZ #14048]
1457 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1458 Use int64_t for variable i.
1459 * math/libm-test.inc (fmod_test): Add more tests.
1460
1461 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1462 z computation is not scheduled after fetestexcept.
1463 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1464 Use math_force_eval instead of asm to ensure calculation scheduled
1465 before exception test.
1466 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1467 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1468
1469 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1470
1471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1472 computation is not scheduled after fetestexcept.
1473
1474 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1475
1476 [BZ #14117]
1477 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1478 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1479
1480 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1483 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1484
1485 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1486
1487 [BZ #14117]
1488 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1489 <bits/wordsize.h>.
1490 (__WCHAR_MIN): Support __WORDSIZE == 64.
1491 (__WCHAR_MAX): Likewise.
1492
1493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1495
1496 [BZ #14183]
1497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1498 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1499
1500 [BZ #14117]
1501 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1502 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1503
1504 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1505 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1506
1507 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1508 Defined to 1 if __x86_64__ isn't defined.
1509 (_STAT_VER_LINUX_OLD): New.
1510 (st_atime): Remove duplicate.
1511 (st_mtime): Likewise.
1512 (st_ctime): Likewise.
1513
1514 2012-05-31 David S. Miller <davem@davemloft.net>
1515
1516 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1517 entries.
1518
1519 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1520
1521 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1522 gen-libm-test.pl.
1523
1524 [BZ #14132]
1525 * elf/dl-reloc.c: Include <_itoa.h>.
1526 (_dl_reloc_bad_type): Remove use of INTUSE.
1527 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1528 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1529 * stdio-common/psiginfo.c (psiginfo): Likewise.
1530 * stdio-common/psignal.c (psignal): Likewise.
1531 * string/strsignal.c (strsignal): Likewise.
1532 * include/signal.h (_sys_siglist): Declare hidden proto.
1533 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1534 INTVARDEF with libc_hidden_data_def.
1535 * stdio-common/itoa-udigits.c: Likewise.
1536 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1537 (_itoa_lower_digits_internal): Remove declaration.
1538 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1539 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1540 (_sys_sigabbrev_internal): Remove aliases.
1541 (_sys_siglist): Define hidden alias.
1542
1543 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1544
1545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1546 bits/sysctl.h.
1547
1548 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 [BZ #14117]
1551 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1552 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1553
1554 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1555 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1556 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1557 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1559 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1560
1561 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1563 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1564
1565 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1566 with __addr.
1567 (insw): Likewise.
1568 (insl): Likewise.
1569 (outsb): Likewise.
1570 (outsw): Likewise.
1571 (outsl): Likewise.
1572
1573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1575 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1576
1577 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1578 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1580 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1581 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1582 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1583
1584 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1585 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1586
1587 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1588 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1589
1590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1593
1594 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1595 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1596 to ...
1597 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1598
1599 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1600 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1601 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1602
1603 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1604 for x86-64.
1605 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1606
1607 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1608
1609 * math/math.h (M_El): Use two more decimal places.
1610 (M_LOG2El): Likewise.
1611 (M_LOG10El): Likewise.
1612 (M_LN2l): Likewise.
1613 (M_LN10l): Likewise.
1614 (M_PIl): Likewise.
1615 (M_PI_2l): Likewise.
1616 (M_PI_4l): Likewise.
1617 (M_1_PIl): Likewise.
1618 (M_2_PIl): Likewise.
1619 (M_2_SQRTPIl): Likewise.
1620 (M_SQRT2l): Likewise.
1621 (M_SQRT1_2l): Likewise.
1622
1623 2012-05-31 David S. Miller <davem@davemloft.net>
1624
1625 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1626 values between float registers.
1627 * sysdeps/sparc/sparc64/memset.S: Likewise.
1628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1629
1630 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1631
1632 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1633 -D_FORTIFY_SOURCE=1.
1634 (CPPFLAGS-tst-longjmp_chk.c): Define.
1635 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1636 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1637 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1638 CFLAGS-tst-wchar-h.c.
1639
1640 2012-05-31 Marek Polacek <polacek@redhat.com>
1641
1642 [BZ #14132]
1643 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1644 __endmntent_internal): Remove declaration.
1645 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1646 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1647 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1648
1649 2012-05-30 David S. Miller <davem@davemloft.net>
1650
1651 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1652 (___Q_simulate_exceptions): Use real FP ops rather than writing
1653 into the %fsr.
1654 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1655 Likewise.
1656
1657 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1658
1659 [BZ #14117]
1660 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1661 * sysdeps/x86/bits/xtitypes.h: This.
1662
1663 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1664 * sysdeps/x86/bits/wordsize.h: This.
1665
1666 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1667 * sysdeps/x86/bits/huge_vall.h: This.
1668
1669 * sysdeps/i386/bits/select.h: Removed.
1670 * sysdeps/x86_64/bits/select.h: Renamed to ...
1671 * sysdeps/x86/bits/select.h: This.
1672
1673 * sysdeps/i386/bits/setjmp.h: Removed.
1674 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1675 * sysdeps/x86/bits/setjmp.h: This.
1676
1677 * sysdeps/i386/bits/mathdef.h: Removed.
1678 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1679 * sysdeps/x86/bits/mathdef.h: This.
1680
1681 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1682
1683 [BZ #14132]
1684 * include/sys/socket.h (__connect_internal)
1685 (__libc_sa_len_internal): Remove declaration.
1686 (__connect, __libc_sa_len): Declare hidden_proto.
1687 (SA_LEN): Remove use of INTUSE.
1688 * socket/connect.c: Add libc_hidden_def.
1689 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1690 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1691 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1692 alias.
1693 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1695 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1696 of adding _internal alias.
1697
1698 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 [BZ #14117]
1701 * sysdeps/i386/bits/link.h: Removed.
1702 * sysdeps/i386/bits/linkmap.h: Likewise.
1703 * sysdeps/x86_64/bits/link.h: Renamed to ...
1704 * sysdeps/x86/bits/link.h: This.
1705 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1706 * sysdeps/x86/bits/linkmap.h: This.
1707
1708 * sysdeps/i386/bits/endian.h: Removed.
1709 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1710 * sysdeps/x86/bits/endian.h: This.
1711
1712 * sysdeps/i386/bits/byteswap.h: Removed.
1713 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1714 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1715 * sysdeps/x86/bits/byteswap.h: This.
1716 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1717 * sysdeps/x86/bits/byteswap-16.h: This.
1718 * sysdeps/i386/Implies: Add x86.
1719 * sysdeps/x86_64/Implies: Likewise.
1720
1721 2012-05-30 David S. Miller <davem@davemloft.net>
1722
1723 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1724 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1726 (FP_TRAPPING_EXCEPTIONS): Define.
1727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1728 (FP_TRAPPING_EXCEPTIONS): Define.
1729 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1730 subnormals only when inexact has been signalled or underflow
1731 exceptions are enabled.
1732 (_FP_PACK_CANONICAL): Likewise.
1733
1734 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 [BZ #14183]
1737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1738 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1739
1740 2012-05-30 Richard Henderson <rth@twiddle.net>
1741
1742 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1743 with #ifndef NOT_IN_libc.
1744
1745 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1746 marked to avoid plt entry.
1747
1748 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1749
1750 [BZ #14112]
1751 * Makeconfig (default-abi): New macro.
1752 (abi-includes): Likewise.
1753 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1754 $(abi-$(default-abi)-lib-soname) for soname if defined.
1755 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1756 abi-variants.
1757 * Makefile (installed-stubs): Likewise.
1758 * include/stubs-biarch.h: Removed.
1759 * scripts/lib-names.awk: Only handle one library at a time.
1760 * scripts/soversions.awk: Remove WORDSIZE support.
1761 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1762 entries.
1763 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1764 Removed.
1765 (syscall-list-default-condition): Likewise.
1766 (syscall-list-default-condition): Likewise.
1767 (syscall-list-includes): Likewise.
1768 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1769 syscall-list-* with abi-*. Handle undefined abi-variants.
1770 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1771 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1772 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1774 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1775 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1776 Removed.
1777 (syscall-list-32-options): Likewise.
1778 (syscall-list-32-condition): Likewise.
1779 (syscall-list-64-options): Likewise.
1780 (syscall-list-64-condition): Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1782 macro.
1783 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1784 Renamed to ...
1785 (abi-*): This.
1786 (abi-64-ld-soname): New macro.
1787 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1789 Renamed to ...
1790 (abi-*): This.
1791 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1792 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1793
1794 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1795
1796 * sysdeps/unix/sysv/linux/kernel-features.h
1797 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1798 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1799 include <kernel-features.h>.
1800 [!__NR_ftruncate64]: Remove conditional code.
1801 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1802 [__NR_ftruncate64]: Make code unconditional.
1803 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1804 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1805 include <kernel-features.h>.
1806 [!__NR_ftruncate64]: Remove conditional code.
1807 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1808 [__NR_ftruncate64]: Make code unconditional.
1809 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1811 include <kernel-features.h>.
1812 [!__NR_ftruncate64]: Remove conditional code.
1813 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1814 [__NR_ftruncate64]: Make code unconditional.
1815 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1817 include <kernel-features.h>.
1818 [!__NR_ftruncate64]: Remove conditional code.
1819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1820 [__NR_ftruncate64]: Make code unconditional.
1821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1822
1823 * configure.in (libc_cv_fpie): Weaken to a compile test using
1824 LIBC_TRY_CC_OPTION.
1825 * configure: Regenerated.
1826
1827 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1828
1829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1833 Refreshed.
1834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1840 Refreshed.
1841
1842 2012-05-27 David S. Miller <davem@davemloft.net>
1843
1844 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1845 (___Q_zero): New.
1846 (__Q_simulate_exceptions): Return void. Change to simulate
1847 exceptions by writing into the %fsr.
1848 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1849 (__Qp_handle_exceptions): Likewise.
1850 (numbers): Delete.
1851 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1852 __Qp_handle_exceptions.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1854 __Qp_handle_exceptions.
1855 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1856 as unused and give dummy FP_RND_NEAREST initializer.
1857 (FP_INHIBIT_RESULTS): Define.
1858 (___Q_simulate_exceptions): Update declaration.
1859 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1860 formatting.
1861 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1862 as unused and give dummy FP_RND_NEAREST initializer.
1863 (__Qp_handle_exceptions): Update declaration.
1864 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1865 formatting.
1866
1867 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1868
1869 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1870 the temporary FPU control word.
1871 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1872 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1873 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1874 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1875 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1876 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1877 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1879 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1880 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1881 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1882
1883 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1884
1885 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1886 fields.
1887
1888 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1889
1890 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1891 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1892 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1893 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1894 Likewise.
1895 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1896 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1897 Likewise.
1898
1899 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1900
1901 * po/h.po: Update from translation team.
1902
1903 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1904
1905 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1906
1907 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1908 handling of denormals.
1909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1910 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1911 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1912 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1916 Likewise.
1917
1918 2012-05-26 Marek Polacek <polacek@redhat.com>
1919
1920 [BZ #14152]
1921 * math/libm-test.inc (fma_test): Don't always expect underflow
1922 exception.
1923
1924 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1925
1926 [BZ #12416]
1927 * elf/tst-execstack.c: Include stackinfo.h.
1928 (do_test): Adjust test case to ensure that pthread_getattr_np
1929 behaviour remains the same after marking stack executable.
1930
1931 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1932
1933 * sysdeps/unix/sysv/linux/kernel-features.h
1934 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1935 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1936 kernel-features.h.
1937 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1938 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1939 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1940 kernel-features.h.
1941 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1942 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1943
1944 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1945
1946 * configure.in: Define the default includes to being none.
1947 * configure: Regenerated.
1948
1949 2012-05-25 Roland McGrath <roland@hack.frob.com>
1950
1951 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1952 * sysdeps/x86_64/setjmp.S: Likewise.
1953 * sysdeps/i386/bsd-setjmp.S: Likewise.
1954 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1955 * sysdeps/i386/setjmp.S: Likewise.
1956 * sysdeps/i386/__longjmp.S: Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1958 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1959
1960 * include/stap-probe.h: New file.
1961 * configure.in: Handle --enable-systemtap.
1962 * configure: Regenerated.
1963 * config.h.in (USE_STAP_PROBE): New #undef.
1964 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1965 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1966 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1967
1968 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1969
1970 [BZ #13717]
1971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1972 to 2.4.0 where earlier.
1973 * sysdeps/unix/sysv/linux/configure: Regenerated.
1974 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1975 <kernel-features.h>.
1976 [__ASSUME_32BITUIDS]: Make code unconditional.
1977 [!__ASSUME_32BITUIDS]: Remove conditional code.
1978 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1979 <kernel-features.h>.
1980 [__ASSUME_32BITUIDS]: Make code unconditional.
1981 [!__ASSUME_32BITUIDS]: Remove conditional code.
1982 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1983 [__ASSUME_32BITUIDS]: Make code unconditional.
1984 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1986 <kernel-features.h>.
1987 [__ASSUME_32BITUIDS]: Make code unconditional.
1988 [!__ASSUME_32BITUIDS]: Remove conditional code.
1989 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1990 <kernel-features.h>.
1991 [__ASSUME_32BITUIDS]: Make code unconditional.
1992 [!__ASSUME_32BITUIDS]: Remove conditional code.
1993 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1994 <kernel-features.h>.
1995 [__ASSUME_32BITUIDS]: Make code unconditional.
1996 [!__ASSUME_32BITUIDS]: Remove conditional code.
1997 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1998 <kernel-features.h>.
1999 [__ASSUME_32BITUIDS]: Make code unconditional.
2000 [!__ASSUME_32BITUIDS]: Remove conditional code.
2001 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2002 <kernel-features.h>.
2003 [__ASSUME_32BITUIDS]: Make code unconditional.
2004 [!__ASSUME_32BITUIDS]: Remove conditional code.
2005 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2006 <kernel-features.h>.
2007 [__ASSUME_32BITUIDS]: Make code unconditional.
2008 [!__ASSUME_32BITUIDS]: Remove conditional code.
2009 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2010 <kernel-features.h>.
2011 [__ASSUME_32BITUIDS]: Make code unconditional.
2012 [!__ASSUME_32BITUIDS]: Remove conditional code.
2013 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2014 <kernel-features.h>.
2015 [__ASSUME_32BITUIDS]: Make code unconditional.
2016 [!__ASSUME_32BITUIDS]: Remove conditional code.
2017 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2018 <kernel-features.h>.
2019 [__ASSUME_32BITUIDS]: Make code unconditional.
2020 [!__ASSUME_32BITUIDS]: Remove conditional code.
2021 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2022 <kernel-features.h>.
2023 [__ASSUME_32BITUIDS]: Make code unconditional.
2024 [!__ASSUME_32BITUIDS]: Remove conditional code.
2025 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2026 <kernel-features.h>.
2027 [__NR_setresgid] (__setresgid): Do not declare.
2028 [__ASSUME_32BITUIDS]: Make code unconditional.
2029 [!__ASSUME_32BITUIDS]: Remove conditional code.
2030 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2031 <kernel-features.h>.
2032 [__NR_setresuid] (__setresuid): Do not declare.
2033 [__ASSUME_32BITUIDS]: Make code unconditional.
2034 [!__ASSUME_32BITUIDS]: Remove conditional code.
2035 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2036 <kernel-features.h>.
2037 [__ASSUME_32BITUIDS]: Make code unconditional.
2038 [!__ASSUME_32BITUIDS]: Remove conditional code.
2039 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2040 <kernel-features.h>.
2041 [__ASSUME_32BITUIDS]: Make code unconditional.
2042 [!__ASSUME_32BITUIDS]: Remove conditional code.
2043 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2044 <kernel-features.h>.
2045 [__ASSUME_32BITUIDS]: Make code unconditional.
2046 [!__ASSUME_32BITUIDS]: Remove conditional code.
2047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2048 <kernel-features.h>.
2049 [__ASSUME_32BITUIDS]: Make code unconditional.
2050 [!__ASSUME_32BITUIDS]: Remove conditional code.
2051 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2052 <kernel-features.h>.
2053 [__ASSUME_32BITUIDS]: Make code unconditional.
2054 [!__ASSUME_32BITUIDS]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2056 <kernel-features.h>.
2057 [__ASSUME_32BITUIDS]: Make code unconditional.
2058 [!__ASSUME_32BITUIDS]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2060 <kernel-features.h>.
2061 [__ASSUME_32BITUIDS]: Make code unconditional.
2062 [!__ASSUME_32BITUIDS]: Remove conditional code.
2063 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2064 <kernel-features.h>.
2065 [__ASSUME_32BITUIDS]: Make code unconditional.
2066 [!__ASSUME_32BITUIDS]: Remove conditional code.
2067 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2068 <kernel-features.h>.
2069 [__ASSUME_32BITUIDS]: Make code unconditional.
2070 [!__ASSUME_32BITUIDS]: Remove conditional code.
2071 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2072 <kernel-features.h>.
2073 [__ASSUME_32BITUIDS]: Make code unconditional.
2074 [!__ASSUME_32BITUIDS]: Remove conditional code.
2075 * sysdeps/unix/sysv/linux/kernel-features.h
2076 (__ASSUME_SETRESUID_SYSCALL): Remove.
2077 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2078 (__ASSUME_32BITUIDS): Likewise.
2079 (__ASSUME_LDT_WORKS): Likewise.
2080 (__ASSUME_O_DIRECTORY): Likewise.
2081 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2082 architecture but not kernel version.
2083 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2084 (__ASSUME_MMAP2_SYSCALL): Likewise.
2085 (__ASSUME_STAT64_SYSCALL): Likewise.
2086 (__ASSUME_IPC64): Likewise.
2087 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2088 <kernel-features.h>.
2089 [__ASSUME_32BITUIDS]: Make code unconditional.
2090 [!__ASSUME_32BITUIDS]: Remove conditional code.
2091 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2092 <kernel-features.h>.
2093 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2094 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2095 132096]: Remove conditional code.
2096 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2097 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2098 <kernel-features.h>.
2099 [__ASSUME_32BITUIDS]: Make code unconditional.
2100 [!__ASSUME_32BITUIDS]: Remove conditional code.
2101 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2102 <kernel-features.h>.
2103 [__ASSUME_32BITUIDS]: Make code unconditional.
2104 [!__ASSUME_32BITUIDS]: Remove conditional code.
2105 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2106 <kernel-features.h>.
2107 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2108 unconditional.
2109 (__setresgid): Do not declare.
2110 [__ASSUME_32BITUIDS]: Make code unconditional.
2111 [!__ASSUME_32BITUIDS]: Remove conditional code.
2112 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2113 <kernel-features.h>.
2114 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2115 unconditional.
2116 (__setresuid): Do not declare.
2117 [__ASSUME_32BITUIDS]: Make code unconditional.
2118 [!__ASSUME_32BITUIDS]: Remove conditional code.
2119 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2120 <kernel-features.h>.
2121 [__ASSUME_32BITUIDS]: Make code unconditional.
2122 [!__ASSUME_32BITUIDS]: Remove conditional code.
2123 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2124 <kernel-features.h>.
2125 [__ASSUME_32BITUIDS]: Make code unconditional.
2126 [!__ASSUME_32BITUIDS]: Remove conditional code.
2127
2128 2012-05-25 Richard Henderson <rth@twiddle.net>
2129
2130 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2131 dl_hwcap to ifunc resolver.
2132 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2133 elf_ifunc_invoke.
2134 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2135 dl_hwcap to ifunc resolver.
2136 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2137
2138 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2139
2140 [BZ #14153]
2141 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2142 for |x| <= 2**-26, not 2**-57.
2143 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2144 exception.
2145
2146 2012-05-24 Jeff Law <law@redhat.com>
2147
2148 * stdio-common/Makefile (tests): Add bug25.
2149 * stdio-common/bug25.c: New test.
2150
2151 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 [BZ #13576]
2154 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2155 multiple of MALLOC_ALIGNMENT in size.
2156 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2157
2158 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2159
2160 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2161 Require >= 256.
2162 (FILENAME_MAX): Use macro-int-constant.
2163 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2164 (_IOFBF): Use macro-int-constant.
2165 (_IOLBF): Likewise.
2166 (_IONBF): Likewise.
2167 (SEEK_CUR): Likewise.
2168 (SEEK_END): Likewise.
2169 (SEEK_SET): Likewise.
2170 (TMP_MAX): Likewise.
2171 (EOF): Use macro-int-constant. Require < 0.
2172 (NULL): Use macro-constant. Require == 0.
2173 (stdin): Require type to be FILE *.
2174 (stdout): Likewise.
2175 (stderr): Likewise.
2176 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2177 macro-int-constant.
2178 (EXIT_SUCCESS): Likewise.
2179 (NULL): Use macro-constant. Require == 0.
2180 (RAND_MAX): Use macro-int-constant.
2181 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2182 [C99-based standards] (strtof): Require function.
2183 [C99-based standards] (strtold): Likewise.
2184 [C99-based standards] (strtoll): Likewise.
2185 [C99-based standards] (strtoull): Likewise.
2186 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2187 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2188 [ISO || ISO99 || ISO11] (math.h): Likewise.
2189 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2190 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2192
2193 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2194
2195 [BZ #14132]
2196 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2197 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2198 * intl/dgettext.c (DCGETTEXT): Likewise.
2199 * intl/gettext.c (DCGETTEXT): Likewise.
2200 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2201 * posix/regex_internal.h (gettext): Likewise.
2202 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2203 Remove declaration.
2204 * include/argz.h (__argz_count_internal)
2205 (__argz_stringify_internal): Remove declaration.
2206 (__argz_count, __argz_stringify): Declare hidden proto.
2207 * intl/dcgettext.c: Remove use of INTDEF.
2208 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2209 * string/argz-stringify.c: Likewise.
2210 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2211 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2212 Declare hidden proto.
2213 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2214 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2215 Declare hidden proto.
2216 * include/stdio.h (__asprintf_internal): Don't declare.
2217 (__asprintf): Don't define as macro. Declare hidden proto.
2218 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2219 (__fsetlocking): Declare hidden proto.
2220 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2221 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2222 hidden proto.
2223 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2224 (_IO_setlinebuf): Remove use of INTUSE.
2225 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2226 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2227 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2228 Remove declaration.
2229 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2230 (_IO_do_flush): Remove use of INTUSE.
2231 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2232 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2233 (_IO_adjust_column, _IO_least_wmarker)
2234 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2235 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2236 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2237 (_IO_default_doallocate, _IO_wdefault_doallocate)
2238 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2239 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2240 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2241 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2242 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2243 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2244 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2245 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2246 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2247 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2248 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2249 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2250 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2251 proto.
2252 (_IO_flush_all_internal, _IO_adjust_column_internal)
2253 (_IO_default_uflow_internal, _IO_default_finish_internal)
2254 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2255 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2256 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2257 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2258 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2259 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2260 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2261 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2262 (_IO_file_close_internal, _IO_file_close_it_internal)
2263 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2264 (_IO_file_init_internal, _IO_file_attach_internal)
2265 (_IO_file_fopen_internal, _IO_file_read_internal)
2266 (_IO_file_sync_internal, _IO_file_seek_internal)
2267 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2268 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2269 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2270 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2271 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2272 (_IO_list_all_internal, _IO_link_in_internal)
2273 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2274 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2275 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2276 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2277 (_IO_do_write_internal, _IO_padn_internal)
2278 (_IO_getline_info_internal, _IO_getline_internal)
2279 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2280 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2281 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2282 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2283 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2284 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2285 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2286 with libc_hidden_ver, remove use of INTUSE.
2287 * libio/genops.c: Likewise.
2288 * libio/freopen.c: Likewise.
2289 * libio/freopen64.c: Likewise.
2290 * libio/iofclose.c: Likewise.
2291 * libio/iofdopen.c: Likewise.
2292 * libio/iofflush.c: Likewise.
2293 * libio/iofflush_u.c: Likewise.
2294 * libio/iofgets.c: Likewise.
2295 * libio/iofgets_u.c: Likewise.
2296 * libio/iofopen.c: Likewise.
2297 * libio/iofopncook.c: Likewise.
2298 * libio/iofread.c: Likewise.
2299 * libio/iofread_u.c: Likewise.
2300 * libio/ioftell.c: Likewise.
2301 * libio/iofwrite.c: Likewise.
2302 * libio/iogetline.c: Likewise.
2303 * libio/iogets.c: Likewise.
2304 * libio/iogetwline.c: Likewise.
2305 * libio/iopadn.c: Likewise.
2306 * libio/iopopen.c: Likewise.
2307 * libio/ioseekoff.c: Likewise.
2308 * libio/ioseekpos.c: Likewise.
2309 * libio/iosetbuffer.c: Likewise.
2310 * libio/iosetvbuf.c: Likewise.
2311 * libio/ioungetc.c: Likewise.
2312 * libio/ioungetwc.c: Likewise.
2313 * libio/iovdprintf.c: Likewise.
2314 * libio/iovsprintf.c: Likewise.
2315 * libio/iovsscanf.c: Likewise.
2316 * libio/memstream.c: Likewise.
2317 * libio/obprintf.c: Likewise.
2318 * libio/oldfileops.c: Likewise.
2319 * libio/oldiofclose.c: Likewise.
2320 * libio/oldiofdopen.c: Likewise.
2321 * libio/oldiofopen.c: Likewise.
2322 * libio/oldiopopen.c: Likewise.
2323 * libio/oldstdfiles.c: Likewise.
2324 * libio/putc.c: Likewise.
2325 * libio/setbuf.c: Likewise.
2326 * libio/setlinebuf.c: Likewise.
2327 * libio/stdfiles.c: Likewise.
2328 * libio/strops.c: Likewise.
2329 * libio/vasprintf.c: Likewise.
2330 * libio/vscanf.c: Likewise.
2331 * libio/vsnprintf.c: Likewise.
2332 * libio/vswprintf.c: Likewise.
2333 * libio/wfiledoalloc.c: Likewise.
2334 * libio/wfileops.c: Likewise.
2335 * libio/wgenops.c: Likewise.
2336 * libio/wmemstream.c: Likewise.
2337 * libio/wstrops.c: Likewise.
2338 * libio/__fpurge.c: Likewise.
2339 * libio/__fsetlocking.c: Likewise.
2340 * assert/assert.c: Likewise.
2341 * debug/fgets_chk.c: Likewise.
2342 * debug/fgets_u_chk.c: Likewise.
2343 * debug/fread_chk.c: Likewise.
2344 * debug/fread_u_chk.c: Likewise.
2345 * debug/gets_chk.c: Likewise.
2346 * debug/obprintf_chk.c: Likewise.
2347 * debug/vasprintf_chk.c: Likewise.
2348 * debug/vdprintf_chk.c: Likewise.
2349 * debug/vsnprintf_chk.c: Likewise.
2350 * debug/vsprintf_chk.c: Likewise.
2351 * malloc/mtrace.c: Likewise.
2352 * misc/error.c: Likewise.
2353 * misc/syslog.c: Likewise.
2354 * stdio-common/asprintf.c: Likewise.
2355 * stdio-common/fxprintf.c: Likewise.
2356 * stdio-common/getw.c: Likewise.
2357 * stdio-common/isoc99_fscanf.c: Likewise.
2358 * stdio-common/isoc99_scanf.c: Likewise.
2359 * stdio-common/isoc99_vfscanf.c: Likewise.
2360 * stdio-common/isoc99_vscanf.c: Likewise.
2361 * stdio-common/isoc99_vsscanf.c: Likewise.
2362 * stdio-common/printf-prs.c: Likewise.
2363 * stdio-common/printf_fp.c: Likewise.
2364 * stdio-common/printf_fphex.c: Likewise.
2365 * stdio-common/printf_size.c: Likewise.
2366 * stdio-common/putw.c: Likewise.
2367 * stdio-common/scanf.c: Likewise.
2368 * stdio-common/sprintf.c: Likewise.
2369 * stdio-common/tmpfile.c: Likewise.
2370 * stdio-common/vfprintf.c: Likewise.
2371 * stdio-common/vfscanf.c: Likewise.
2372 * stdlib/strfmon_l.c: Likewise.
2373 * sunrpc/openchild.c: Likewise.
2374 * sunrpc/xdr_stdio.c: Likewise.
2375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2376 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2377
2378 2012-05-24 Roland McGrath <roland@hack.frob.com>
2379
2380 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2381
2382 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2383 in the third column, to generate for the shared library an IFUNC
2384 that uses _dl_vdso_vsym.
2385 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2386 * Makeconfig (object-suffixes-noshared): New variable.
2387
2388 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2389 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2390 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2391 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2392
2393 [BZ #14132]
2394 * include/sys/time.h (__gettimeofday): Remove macro.
2395 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2396 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2397 Remove INTDEF.
2398 (__gettimeofday): Add libc_hidden_def.
2399 (gettimeofday): Add libc_hidden_weak.
2400 * sysdeps/mach/gettimeofday.c: Likewise.
2401 * sysdeps/posix/gettimeofday.c: Likewise.
2402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2403 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2405 (__gettimeofday_internal): Remove strong_alias.
2406 (__gettimeofday): Add libc_hidden_def.
2407 (gettimeofday): Add libc_hidden_weak.
2408 * sysdeps/unix/syscalls.list (gettimeofday):
2409 Remove __gettimeofday_internal alias.
2410
2411 2012-05-24 Daniel Jacobowitz <drow@false.org>
2412 H.J. Lu <hongjiu.lu@intel.com>
2413
2414 [BZ #12495]
2415 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2416 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2417 (largebin_index_32_big): New.
2418 (largebin_index): Use it for 16-byte alignment.
2419 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2420 correction with front_misalign.
2421
2422 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2426 Likewise.
2427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2428 Likewise.
2429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2430 Likewise.
2431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2432 Likewise.
2433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2434 Likewise.
2435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2436 Likewise.
2437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2438 Likewise.
2439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2440 Likewise.
2441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2442 Likewise.
2443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2444 Likewise.
2445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2446 Likewise.
2447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2448 Likewise.
2449
2450 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2451 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2452
2453 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2454
2455 [BZ #10846]
2456 [BZ #14036]
2457 * math/libm-test.inc (exp_test): Add test from bug 14036.
2458 (pow_test): Add test from bug 10846.
2459
2460 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2461 and other flags.
2462 (special_function): Do not include flags in test name.
2463 (parse_args): Likewise.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2466 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2467 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2469
2470 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2471 exceptions.
2472 * math/libm-test.inc ("Philosophy"): Update comment about
2473 exception testing.
2474 (UNDERFLOW_EXCEPTION): New macro.
2475 (UNDERFLOW_EXCEPTION_OK): Likewise.
2476 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2477 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2478 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2479 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2480 (INVALID_EXCEPTION_OK): Update value.
2481 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2482 (OVERFLOW_EXCEPTION_OK): Likewise.
2483 (IGNORE_ZERO_INF_SIGN): Likewise.
2484 (test_exceptions): Handle underflow exceptions.
2485 (acos_test): Update for underflow exception expectations.
2486 (cexp_test): Likewise.
2487 (clog_test): Likewise.
2488 (clog10_test): Likewise.
2489 (csqrt_test): Likewise.
2490 (ctan_test): Likewise.
2491 (ctanh_test): Likewise.
2492 (exp_test): Likewise.
2493 (exp10_test): Likewise.
2494 (exp2_test): Likewise.
2495 (expm1_test): Likewise.
2496 (fma_test): Likewise.
2497 (j0_test): Likewise.
2498 (jn_test): Likewise.
2499 (nexttoward_test): Likewise.
2500 (pow_test): Likewise.
2501 (scalbn_test): Likewise.
2502 (scalbln_test): Likewise.
2503 (tan_test): Likewise.
2504 (y1_test): Likewise.
2505 * sysdeps/i386/fpu/libm-test-ulps: Update.
2506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2507
2508 2012-05-23 David S. Miller <davem@davemloft.net>
2509
2510 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2511 (__libc_sigaction): Remove unused local variables.
2512
2513 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2516
2517 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2518
2519 mktime: avoid signed integer overflow
2520 * time/mktime.c (__mktime_internal): Do not mishandle the case
2521 where diff == INT_MIN.
2522
2523 mktime: simplify computation of average
2524 * time/mktime.c (ranged_convert): Use new time_t_avg function
2525 instead of rolling our own (probably-slower) code.
2526
2527 mktime: do not assume signed right shift propagates sign bit
2528 * time/mktime.c (isdst_differ): New static function.
2529 (__mktime_internal): No need to normalize tm_isdst now.
2530 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2531 tm_isdst values.
2532
2533 mktime: merge another wrapv change from gnulib
2534 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2535 from some compilers.
2536
2537 mktime: remove incorrect attempt at unusual arithmetics
2538 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2539 The code didn't really work on such machines anyway.
2540 (TYPE_MINIMUM): Assume two's complement.
2541 (twos_complement_arithmetic): Verify that long_int and time_t
2542 are two's complement (or unsigned, in the latter case).
2543
2544 mktime: check signed shifts on long_int and time_t, too
2545 * time/mktime.c (SHR): Check that shifts work as desired
2546 on the types long_int and time_t too, as SHR is used on
2547 such types.
2548
2549 mktime: do not assume 'long' is wide enough
2550 * time/mktime.c (verify): Move decl up.
2551 (long_int): New type.
2552 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2553 to remove assumption in the code that 'long' is wide enough to
2554 store year values. This assumption is not true on x32 and on
2555 some non-glibc platforms.
2556
2557 mktime: merge wrapv change from gnulib
2558 * time/mktime.c (WRAPV): New macro.
2559 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2560 (guess_time_tm, __mktime_internal): Do not assume that signed
2561 integer overflow wraps around; modern compilers generate code
2562 where this assumption is no longer valid.
2563
2564 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2567 Replace "jmp L(pseudo_end)" with "ret".
2568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2569 Likewise.
2570
2571 2012-05-23 Andreas Jaeger <aj@suse.de>
2572
2573 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2574 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2575
2576 2012-05-23 Andreas Jaeger <aj@suse.de>
2577 Maximilian Attems <max@stro.at>
2578
2579 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2580 New macros.
2581
2582 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2583
2584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2585 code so that pseudo_end is just ret and the stack pointer is
2586 correct also for static library in error case.
2587
2588 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2589
2590 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2591 move to syscalls.list.
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2596
2597 * manual/install.texi (Running make install): Do not mention Linux
2598 kernel version for which pt_chown is not needed.
2599 (Linux): Do not mention problems with nscd with 2.0 kernels.
2600 * INSTALL: Regenerated.
2601
2602 2012-05-23 Andreas Jaeger <aj@suse.de>
2603
2604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2605 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2606 macro.
2607 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2609 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2611 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2614 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2617 * sysdeps/unix/sysv/linux/bits/in.h
2618 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2619
2620 2012-05-22 Roland McGrath <roland@hack.frob.com>
2621
2622 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2623 (PREPARE_VERSION): Just use assert instead, it will be elided
2624 under [NDEBUG] anyway.
2625
2626 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2627
2628 * sysdeps/unix/sysv/linux/Makefile: Include
2629 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2630 (sysdep_routines): Remove sysctl.
2631 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2632 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2633 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2634 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2635 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2636
2637 2012-05-22 Andreas Jaeger <aj@suse.de>
2638
2639 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2640 that pseudo_end is just ret and the stack pointer is correct also
2641 for static library in error case.
2642
2643 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2644
2645 [BZ #14122]
2646 * nss/nsswitch.c (defconfig_entries): New variable.
2647 (__nss_database_lookup): Don't leak defconfig entries.
2648 (nss_parse_service_list): Don't leak on error paths.
2649 (free_database_entries): New function.
2650 (free_defconfig): New function.
2651 (free_mem): Move common code to free_database_entries.
2652
2653 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2654
2655 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2656 Add arch_prctl.
2657 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2658
2659 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2660 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2662 New macro.
2663 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2664 (INTERNAL_SYSCALL_TYPES): Likewise.
2665 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2666 (LOAD_REGS_TYPES_[1-6]): Likewise.
2667 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2668 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2669
2670 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2671
2672 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2673 copysignl for GLIBC_2_0.
2674 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2675 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2677 logbl for GLIBC_2_0.
2678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2680
2681 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2682
2683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2685
2686 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2687 Use "neg %eax".
2688
2689 * time/mktime.c: Update copyright years.
2690
2691 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2692
2693 mktime: merge comment-quoting-style change from gnulib
2694 * time/mktime.c: Quote 'like this' in comments.
2695 The GNU coding standards suggest that we no longer quote `like this',
2696 as "`" and "'" are typically rendered asymmetrically nowadays.
2697 The typical gnulib style is to quote 'like this' when quoting
2698 code, and "like this" when quoting English.
2699
2700 * time/mktime.c (compile-command): Add "-I.".
2701
2702 mktime: merge mktime-internal.h change from gnulib
2703 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2704
2705 mktime: merge time_r change from gnulib
2706 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2707
2708 mktime: merge DEBUG change from gnulib
2709 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2710 case system <time.h> has a #define.
2711
2712 mktime: merge <sys/types.h> change from gnulib
2713 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2714 since <time.t> is now guaranteed to define time_t.
2715
2716 mktime: merge HAVE_CONFIG_H change from gnulib
2717 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2718
2719 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2720
2721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2722 Use "neg %eax".
2723
2724 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2725 __rlim_t cast.
2726 (struct rusage): Use anonymous union to pad each field to
2727 __syscall_slong_t.
2728
2729 2012-05-21 David S. Miller <davem@davemloft.net>
2730
2731 * Makefules (o-iterator): Remove .s cases.
2732 (compile-command.s): Delete.
2733 (COMPILE.s): Delete.
2734 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2735
2736 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2737
2738 * configure.in (libc_cv_predef_stack_protector): Only consider
2739 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2740 * configure: Regenerated.
2741
2742 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2743
2744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2745 New macro. Use R*LP on int and pointer.
2746 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2747 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2748 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2749 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2750
2751 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2752 [__WORDSIZE_TIME64_COMPAT32] instead of
2753 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2754 (struct utmp): Likewise.
2755 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2756 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2757 Renamed to ...
2758 (__WORDSIZE_TIME64_COMPAT32): This.
2759 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2760 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2761 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2762 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2763 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2764 (__WORDSIZE_TIME64_COMPAT32): New macro.
2765
2766 2012-05-21 Andreas Jaeger <aj@suse.de>
2767
2768 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2769 only if [SHARED]. Add prototype for __wcschr_ia32.
2770
2771 2012-05-21 Roland McGrath <roland@hack.frob.com>
2772
2773 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2774 of %rbp unmolested in the jmp_buf while mangling the low bits.
2775 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2776 unmolested high bits of %rbp while demangling the low bits.
2777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2778
2779 2012-05-21 Andreas Jaeger <aj@suse.de>
2780
2781 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2782 * sunrpc/svc_simple.c: Use it for registerrpc.
2783 * sunrpc/xcrypt.c: Use it for passwd2des.
2784
2785 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2786
2787 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2790 Don't define if [__SYSCALL_WORDSIZE != 32].
2791 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2792 New macro.
2793
2794 2012-05-21 Bruno Haible <bruno@clisp.org>
2795 Andreas Jaeger <aj@suse.de>
2796
2797 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2798 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2799 inptr and inend for must_buffer_ch.
2800 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2801 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2802 * stdio-common/Makefile (tests): Remove bug15.
2803 (bug15-ENV): Remove macro.
2804 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2805 anymore.
2806
2807 2012-05-19 Andreas Jaeger <aj@suse.de>
2808 Roland McGrath <roland@hack.frob.com>
2809
2810 * manual/contrib.texi: Completely rewritten. It contains now an
2811 alphabetical list of contributors and their contributions.
2812
2813 2012-05-21 Richard Henderson <rth@twiddle.net>
2814
2815 * misc/getauxval.c (__getauxval): Use unsigned long int.
2816 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2817 (getauxval): Use unsigned long int.
2818
2819 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2822
2823 2012-05-21 Roland McGrath <roland@hack.frob.com>
2824
2825 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2826 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2827 __alignof__ (long double).
2828
2829 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2830
2831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2832
2833 2012-05-20 Richard Henderson <rth@twiddle.net>
2834
2835 * misc/getauxval.c: New file.
2836 * misc/sys/auxv.h: New file.
2837 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2838 (routines): Add getauxval.
2839 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2841 * elf/dl-sysdep.c (_dl_auxv): Remove.
2842 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2843 * elf/dl-support.c (_dl_auxv): New variable.
2844 (_dl_aux_init): Initialize it.
2845 * manual/startup.texi (Auxiliary Vector): New node.
2846 * sysdeps/generic/bits/hwcap.h: New file.
2847 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2848 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2849 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2850 * sysdeps/sparc/sysdep.h: ... here. Include it.
2851 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2852 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2854 Update.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2863
2864 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2865
2866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2867
2868 2012-05-19 David S. Miller <davem@davemloft.net>
2869
2870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2871
2872 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2873
2874 [BZ #14123]
2875 * math/s_ccosh.c: Include <float.h>
2876 (__ccosh): Avoid internal overflow calculating sinh and cosh
2877 values before multiplying by sin and cos values.
2878 * math/s_ccoshf.c: Likewise.
2879 * math/s_ccoshl.c: Likewise.
2880 * math/s_csin.c: Likewise.
2881 * math/s_csinf.c: Likewise.
2882 * math/s_csinl.c: Likewise.
2883 * math/s_csinh.c: Likewise.
2884 * math/s_csinhf.c: Likewise.
2885 * math/s_csinhl.c: Likewise.
2886 * math/libm-test.inc (ccos_test): Add more tests.
2887 (ccosh_test): Likewise.
2888 (csin_test): Likewise.
2889 (csinh_test): Likewise.
2890 * sysdeps/i386/fpu/libm-test-ulps: Update.
2891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2892
2893 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2894
2895 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2896 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2897
2898 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2899
2900 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2901
2902 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2903 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2904 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2905 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2906 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2907 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2908 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2909 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2910 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2911 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2912 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2913 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2914 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2915 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2916 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2917 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2918 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2919 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2920 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2921 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2922 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2923 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2924 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2925 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2926 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2927 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2928 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2929 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2930 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2931 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2932 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2933
2934 2012-05-18 Andreas Jaeger <aj@suse.de>
2935
2936 * csu/.gitignore: Delete.
2937
2938 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2939
2940 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2941 (timex): Use __syscall_slong_t.
2942
2943 2012-05-18 Andreas Jaeger <aj@suse.de>
2944 Carlos O'Donell <carlos_odonell@mentor.com>
2945
2946 * manual/install.texi (Configuring and compiling): Update
2947 description about files modified in the source directory.
2948 * INSTALL: Regenerated.
2949
2950 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2953 value. Use "or" to set return value to -1.
2954 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2955 negate return value.
2956
2957 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2958
2959 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2960 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2961 failure if the compiler has Graphite support disabled.
2962 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2963 Likewise.
2964 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2965 CFLAGS-memmove.c): Likewise.
2966 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2967 Likewise.
2968
2969 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 * sysdeps/x86_64/x32/_itoa.h: New file.
2972
2973 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2974 getdents system call only if kernel and user dirents have the
2975 same d_ino and d_off.
2976
2977 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2978 LLONG_MAX != LONG_MAX.
2979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2980 (_fitoa_word): Likewise.
2981
2982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2983 years.
2984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2985 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2986 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2987
2988 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2989 include <bits/wordsize.h>. Check __x86_64__ instead of
2990 __WORDSIZE.
2991 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2992 if __x86_64__ is defined. Use anonymous union on fpstate.
2993
2994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2995 anonymous union.
2996
2997 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2998
2999 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3000 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3001 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3002 Refer to _rtld_local_ro instead of _rtld_global_ro.
3003 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3004 Likewise.
3005 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3006 Likewise.
3007 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3008 Likewise.
3009 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3010 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3011 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3012
3013 * sysdeps/powerpc/powerpc32/dl-machine.c
3014 (__elf_machine_runtime_setup) [PROF]: Don't reference
3015 _dl_prof_resolve.
3016
3017 2012-05-18 Andreas Jaeger <aj@suse.de>
3018
3019 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3020 function only available for GCCs before 3.4 since GCC 3.4
3021 introduced a builtin.
3022 (lrint): Likewise.
3023 (llrintf): Likewise.
3024 (llrint): Likewise.
3025 (fmaxf): Likewise.
3026 (fmax): Likewise.
3027 (fminf): Likewise.
3028 (fmin): Likewise.
3029 (rint): Likewise.
3030 (rintf): Likewise.
3031 (nearbyint): Likewise.
3032 (nearbyintf): Likewise.
3033 (ceil): Likewise.
3034 (ceilf): Likewise.
3035 (floor): Likewise.
3036 (floorf): Likewise.
3037
3038 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3039
3040 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3041 on both fields and cast pointer to __syscall_ulong_t.
3042
3043 * bits/types.h (__fsword_t): New type.
3044 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3045 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3047 (__FSWORD_T_TYPE): Likewise.
3048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3049 (__FSWORD_T_TYPE): Likewise.
3050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3051 (__FSWORD_T_TYPE): Likewise.
3052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3053 (__FSWORD_T_TYPE): Likewise.
3054 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3055 __SWORD_TYPE with __fsword_t.
3056 (statfs64): Likewise.
3057
3058 2012-05-17 David S. Miller <davem@davemloft.net>
3059
3060 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3061
3062 2012-05-17 Andreas Jaeger <aj@suse.de>
3063
3064 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3065 warning.
3066
3067 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3068
3069 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3070
3071 2012-05-17 Andreas Jaeger <aj@suse.de>
3072
3073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3074 when it is used.
3075
3076 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3077
3078 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3079
3080 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3081
3082 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3083 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3084
3085 2012-05-17 Andreas Jaeger <aj@suse.de>
3086 Carlos O'Donell <carlos_odonell@mentor.com>
3087
3088 [BZ #14059]
3089 * sysdeps/x86_64/multiarch/init-arch.h
3090 (bit_YMM_Usable): Rename to...
3091 (bit_AVX_Usable): ... this.
3092 (bit_FMA4_Usable): New macro.
3093 (bit_XMM_state): New macro.
3094 (bit_YMM_state): New macro.
3095 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3096 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3097 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3098 (CPUID_OSXSAVE): New macro.
3099 (CPUID_AVX): New macro.
3100 (CPUID_FMA4): New macro.
3101 (index_YMM_Usable): Rename to...
3102 (index_AVX_Usable): ... this.
3103 (HAS_AVX): Use HAS_ARCH_FEATURE.
3104 (HAS_FMA4): Likewise.
3105 (HAS_YMM_USABLE): Remove.
3106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3107 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3108 are present.
3109 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3110 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3111 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3112 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3113 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3114
3115 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3116
3117 * math/libm-test.c: Support platforms without multiple rounding modes.
3118 * math/bug-nextafter.c: Support platforms without FP exceptions.
3119 * math/bug-nexttoward.c: Likewise.
3120 * math/test-fenv.c: Likewise.
3121 * math/test-misc.c: Likewise.
3122 * stdlib/bug-getcontext.c: Likewise.
3123
3124 2012-05-17 Andreas Jaeger <aj@suse.de>
3125
3126 * manual/examples/search.c (critter_cmp): Change signature to
3127 avoid warnings.
3128 * manual/string.texi (Collation Functions): Likewise.
3129
3130 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 * bits/types.h: Fold copyright years.
3133 * bits/typesizes.h: Likewise.
3134 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3138 * time/time.h: Likewise.
3139
3140 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3141
3142 [BZ #208]
3143 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3144 in instead of returning them. Return void.
3145 (__libc_mallinfo): Accumulate over all arenas.
3146 (__malloc_stats): Adjust for change in int_mallinfo interface.
3147
3148 2012-05-16 Roland McGrath <roland@hack.frob.com>
3149
3150 [BZ #10375]
3151 * configure.in (NM): Add AC_CHECK_TOOL for it.
3152 (libc_extra_cflags): New substituted variable.
3153 Check for -fstack-protector being used implicitly.
3154 * configure: Regenerated.
3155 * config.make.in (config-extra-cflags): New variable,
3156 gets @libc_extra_cflags@.
3157 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3158
3159 [BZ #10375]
3160 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3161 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3162 * configure: Regenerated.
3163 * config.make.in (CPPUNDEFS): New substituted variable.
3164 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3165 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3166 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3167
3168 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3169
3170 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3171 (mq_attr): Use __syscall_slong_t.
3172
3173 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3176 Check __x86_64__ instead of __WORDSIZE.
3177 (_STAT_VER_LINUX): Likewise.
3178 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3179 __syscall_ulong_t and __syscall_slong_t.
3180 (stat64): Likewise.
3181
3182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3183
3184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3185
3186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3187
3188 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3189
3190 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3193 __syscall_ulong_t.
3194
3195 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3196 include <bits/wordsize.h>. Check __x86_64__ instead of
3197 __WORDSIZE.
3198 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3199 defined.
3200 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3201
3202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3203 include <bits/wordsize.h>. Check __x86_64__ instead of
3204 __WORDSIZE.
3205 (user_regs_struct): Use "__extension__ unsigned long long"
3206 instead of "unsigned long" if __x86_64__ is defined.
3207 (user): Likewise. Pad after pointer field if __ILP32__ is
3208 defined.
3209
3210 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3211
3212 * configure.in (makeinfo): Require version 4.5 or later. Allow
3213 versions 5 to 9.
3214 * configure: Regenerated.
3215 * manual/install.texi (texinfo): Increase version requirement to
3216 4.5 or later.
3217 * INSTALL: Regenerated.
3218
3219 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3220
3221 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3222
3223 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3224
3225 * sysdeps/x86_64/x32/ffs.c: New file.
3226
3227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3228 __syscall_ulong_t.
3229 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3230 defined. Use __syscall_ulong_t.
3231 (shminfo): Use __syscall_ulong_t.
3232 (shm_info): Likewise.
3233
3234 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3235 __syscall_ulong_t.
3236
3237 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3238 <bits/wordsize.h>.
3239 (msgqnum_t): Use __syscall_ulong_t.
3240 (msglen_t): Likewise.
3241 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3242 __syscall_ulong_t.
3243
3244 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3245 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3246
3247 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3248
3249 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3250 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3251
3252 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3253 __syscall_slong_t.
3254
3255 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3256 include <bits/wordsize.h>. Check __x86_64__ instead of
3257 __WORDSIZE.
3258
3259 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3260 "unsigned long long int" if __x86_64__ is defined.
3261 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3262
3263 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3264 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3265 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3266
3267 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3268 <stdint.h>.
3269 (GET_PC): Cast to uintptr_t first.
3270 (GET_FRAME): Likewise.
3271 (GET_STACK): Likewise.
3272
3273 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3279 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3280 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3281 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3282 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3284 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3290 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3292 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3296 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3298 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3302
3303 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3304
3305 * Makerules (+depfiles): Also collect depfiles from .oS in
3306 $(extra-objs).
3307 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3308 .oS, $(libnldbl-routines)).
3309
3310 * Makerules (native-compile-mkdep-flags): Define.
3311 * sunrpc/Makefile (extra-objs): Add $(addprefix
3312 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3313 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3314 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3315 calling $(make-target-directory).
3316
3317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3318
3319 * bits/types.h (__snseconds_t): Removed.
3320 * time/time.h (struct timespec): Replace __snseconds_t with
3321 __syscall_slong_t.
3322 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3323 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3324 Likewise.
3325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3326 (__SNSECONDS_T_TYPE): Likewise.
3327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3328 (__SNSECONDS_T_TYPE): Likewise.
3329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3330 (__SNSECONDS_T_TYPE): Likewise.
3331
3332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3333
3334 * sysdeps/mach/hurd/bits/typesizes.h
3335 (__SYSCALL_SLONG_TYPE): New macro.
3336 (__SYSCALL_ULONG_TYPE): Likewise.
3337
3338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3339
3340 * bits/types.h (__syscall_slong_t): New type.
3341 (__syscall_ulong_t): Likewise.
3342
3343 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3344 (__SYSCALL_ULONG_TYPE): Likewise.
3345 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3346 (__SYSCALL_SLONG_TYPE): Likewise.
3347 (__SYSCALL_ULONG_TYPE): Likewise.
3348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3349 (__SYSCALL_SLONG_TYPE): Likewise.
3350 (__SYSCALL_ULONG_TYPE): Likewise.
3351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3352 (__SYSCALL_SLONG_TYPE): Likewise.
3353 (__SYSCALL_ULONG_TYPE): Likewise.
3354
3355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3358 Add sigaltstack-offsets.sym.
3359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3360 <sigaltstack-offsets.h>.
3361 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3362 longjmp_msg pointer.
3363 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3364 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3365 signal stack.
3366 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3367
3368 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3369
3370 * elf/stackguard-macros.h: Remove file.
3371 * sysdeps/generic/stackguard-macros.h: New file.
3372 * sysdeps/i386/stackguard-macros.h: Likewise.
3373 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3374 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3375 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3376 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3377 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3378 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3379 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3380 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3381 <elf/stackguard-macros.h>.
3382
3383 [BZ #14109]
3384 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3385 __aligned__ in attribute.
3386 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3387 (gregset_t): Likewise.
3388
3389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3392 * sysdeps/x86_64/64/Implies-after: Here. New file.
3393 * sysdeps/x86_64/x32/Implies-after: New file.
3394
3395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3398 and access return value for _dl_profile_fixup. Use R10_LP to
3399 load frame size.
3400
3401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3404
3405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3408 * sysdeps/x86_64/x32/sysdep.h: New file.
3409
3410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3411
3412 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3413 * sysdeps/x86_64/setjmp.S: Likewise.
3414
3415 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3416
3417 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3419 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3421 remove unused global constant.
3422
3423 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3424
3425 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3426 include of <not-cancel.h>.
3427
3428 2012-05-15 Roland McGrath <roland@hack.frob.com>
3429
3430 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3431
3432 2012-05-15 Jeff Law <law@redhat.com>
3433 Andreas Jaeger <aj@suse.de>
3434
3435 [BZ #13594]
3436 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3437 out from...
3438 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3439 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3441 code changing __hst_map_handle.map.
3442
3443 2012-05-15 Roland McGrath <roland@hack.frob.com>
3444
3445 * configure.in (sysnames): Look for Implies-before and Implies-after
3446 files.
3447 * configure: Regenerated.
3448
3449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3452 8-byte data alignment with LP_SIZE alignment.
3453
3454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3457 into R10_LP.
3458
3459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3460
3461 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3462
3463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3466 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3467 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3468 Likewise.
3469 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3470
3471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3474 (stackinfo_sub_sp): Likewise.
3475
3476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3477
3478 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3479 RAX_LP.
3480
3481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3484 into R*_LP.
3485
3486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3487
3488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3489 sizes into R*_LP.
3490
3491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3492
3493 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3494
3495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3496
3497 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3498 into R11_LP and load __x86_64_shared_cache_size_half into
3499 R8_LP.
3500
3501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3504 R8_LP.
3505
3506 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3507
3508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3509 logb for POWER7.
3510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3511 logbf for POWER7.
3512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3513 logbl for POWER7.
3514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3515 powerpc32/power7/fpu/s_logb.c via #include.
3516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3517 powerpc32/power7/fpu/s_logbf.c via #include.
3518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3519 powerpc32/power7/fpu/s_logbl.c via #include.
3520
3521 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3522
3523 * README.libm: Remove file.
3524
3525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3528 count for x32. Use R*_LP and omit operand-size suffix.
3529
3530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3531
3532 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3533 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3534 * sysdeps/x86_64/x32/shlib-versions: New file.
3535
3536 2012-05-14 Roland McGrath <roland@hack.frob.com>
3537
3538 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3539 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3540 Use _dl_fatal_printf instead.
3541
3542 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3543
3544 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3545 set if not set by the user. Do not allow for being unset.
3546 * sysdeps/unix/sysv/linux/configure: Regenerated.
3547
3548 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3549
3550 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3551 the `q' suffix from lea and replace .quad with ASM_ADDR.
3552
3553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3556 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3557 instead of $17.
3558 (PTR_DEMANGLE): Likewise.
3559
3560 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3563 (LP_OP): Likewise.
3564 (ASM_ADDR): Likewise.
3565 (RAX_LP): Likewise.
3566 (RBP_LP): Likewise.
3567 (RBX_LP): Likewise.
3568 (RCX_LP): Likewise.
3569 (RDI_LP): Likewise.
3570 (RSI_LP): Likewise.
3571 (RSP_LP): Likewise.
3572 (R8_LP): Likewise.
3573 (R9_LP): Likewise.
3574 (R10_LP): Likewise.
3575 (R10_LP): Likewise.
3576 (R11_LP): Likewise.
3577 (R12_LP): Likewise.
3578 (R13_LP): Likewise.
3579 (R14_LP): Likewise.
3580 (R15_LP): Likewise.
3581
3582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3583
3584 * sysdeps/x86_64/x32/dl-machine.h: New file.
3585
3586 2012-05-14 Andreas Jaeger <aj@suse.de>
3587
3588 * manual/Makefile (subdir): Remove export of subdir.
3589 (all): Remove target.
3590 (.PHONY): Remove all from list.
3591 (mkinstalldirs): Remove.
3592 (.PHONY): Remove installdirs from list.
3593 ($(inst_infodir)/libc.info): Use make-target-directory.
3594 (installdirs): Remove.
3595 (subdir_%): Remove.
3596 (glibc-targets): Remove.
3597 (lib): Remove.
3598 (stubs): Remove.
3599 ($(objpfx)stubs ../po/manual.pot): Remove.
3600 ($(objpfx)stamp%): Remove.
3601 (make-target-directory): Remove.
3602 (subdir_install): Remove.
3603 (routines): Remove.
3604 (aux): Remove.
3605 (sources): Remove.
3606 (objects): Remove.
3607 (headers): Remove.
3608
3609 [BZ #13750]
3610 * manual/.gitignore: Remove, it's not needed anymore.
3611 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3612 all files in it.
3613 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3614 directory.
3615 (texis): Renamed to $(objpfx)texis.
3616 (texis-path): New, contains path to generated files.
3617 (chapters.%): Use texis-path for complete path, add extra argument
3618 libc-texinfo.sh.
3619 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3620 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3621 (summary,texi, stamp-summary): Use complete path of
3622 files. Generate files in build dir.
3623 (dir-add.texi): Build in build dir.
3624 (libm-err.texi,stamp-libm-err): Likewise.
3625 (version.texi, stamp-version): Likewise.
3626 (.%c.texi): Likewise.
3627 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3628 (mostlyclean): Remove target.
3629 (realclean): Remove target.
3630 (generated): Add new variable with contents from mostlyclean and
3631 realclean, remove entries duplicated in common-mostlyclean, add
3632 stamp-libm-err and stamp-version.
3633 (generated-dirs): Add libc directory.
3634 ($(inst_infodir)/libc.info): Install files from build dir.
3635
3636 * manual/install.texi (Configuring and compiling): Adjust since
3637 the info files are not part of the tar ball anymore.
3638
3639 2012-05-14 Andreas Jaeger <aj@suse.de>
3640
3641 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3642 variable.
3643
3644 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3645
3646 [BZ #13717]
3647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3648 to 2.2.0 where earlier.
3649 * sysdeps/unix/sysv/linux/configure: Regenerated.
3650 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3651 Remove conditional code.
3652 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3653 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3654 Remove conditional code.
3655 [!__NR_lchown]: Likewise.
3656 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3657 [__NR_lchown]: Likewise.
3658 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3659 comment referencing __ASSUME_LCHOWN_SYSCALL.
3660 * sysdeps/unix/sysv/linux/i386/sigaction.c
3661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3663 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3664 Remove conditional code.
3665 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3666 (__protocol_available): Remove #if 0 code.
3667 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3668 conditional code.
3669 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3670 * sysdeps/unix/sysv/linux/kernel-features.h
3671 (__ASSUME_GETCWD_SYSCALL): Don't define.
3672 (__ASSUME_REALTIME_SIGNALS): Likewise.
3673 (__ASSUME_PREAD_SYSCALL): Likewise.
3674 (__ASSUME_PWRITE_SYSCALL): Likewise.
3675 (__ASSUME_POLL_SYSCALL): Likewise.
3676 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3677 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3678 non-SPARC.
3679 (__ASSUME_SIOCGIFNAME): Don't define.
3680 (__ASSUME_MSG_NOSIGNAL): Likewise.
3681 (__ASSUME_SENDFILE): Define unconditionally.
3682 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3683 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3684 conditional code.
3685 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3686 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3687 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3688 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3689 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3690 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3691 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3705 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3708 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3714 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3716 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3717 Remove conditional code.
3718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3719 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3720 Remove conditional code.
3721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3722 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3723 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3724 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3725 Remove conditional code.
3726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3727 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3728 Remove conditional code.
3729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3730 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3731 Remove conditional code.
3732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3733 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3734 Remove conditional code.
3735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3736 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3737 Remove conditional code.
3738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3739 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3742 * sysdeps/unix/sysv/linux/sigaction.c
3743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3745 * sysdeps/unix/sysv/linux/sigpending.c
3746 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3747 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3748 * sysdeps/unix/sysv/linux/sigprocmask.c
3749 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3750 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3751 * sysdeps/unix/sysv/linux/sigsuspend.c
3752 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3753 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3755 (__libc_missing_rt_sigs): Remove.
3756 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3757 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3758 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3759 Remove conditional code.
3760 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3761 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3762 return 1.
3763 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3764 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3766 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3767
3768 2012-05-14 Andreas Jaeger <aj@suse.de>
3769
3770 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3771 it's not used in glibc.
3772 (__coshm1): Likewise.
3773 (__acosh1p): Likewise.
3774 (__sgn): Likewise.
3775
3776 * manual/string.texi (Copying and Concatenation): Add missing
3777 variable in concat example.
3778 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3779
3780 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3781
3782 [BZ #14103]
3783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3784 __builtin_clzl with __builtin_clzll.
3785
3786 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3787
3788 [BZ #14104]
3789 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3790 libc_freeres_ptr.
3791
3792 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3793
3794 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3795 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3796 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3797 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3798
3799 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3800
3801 * NEWS: Update ia64 info.
3802
3803 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3804
3805 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3806 used as bcopy.
3807
3808 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3809
3810 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3811 * sysdeps/unix/syscalls.list (dup3): Likewise.
3812 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3813 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3814
3815 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3816
3817 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3818 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3819
3820 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3821
3822 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3823 thread pointer.
3824 (TLS_IE): Use mov/add instead of movq/addq to load thread
3825 pointer.
3826 (TLS_GD_PREFIX): New.
3827 (TLS_GD): Use it.
3828
3829 2012-05-11 David S. Miller <davem@davemloft.net>
3830
3831 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3832 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3833 (_FPU_SETCW): Likewise.
3834
3835 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3838 is 32-byte aligned.
3839
3840 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3841
3842 [BZ #11837]
3843 * iconvdata/gb18030.c: Update tables.
3844 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3845 characters specially.
3846 (BODY for TO_LOOP): Add encoding of missing ranges.
3847
3848 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3849
3850 [BZ #13673]
3851 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3852 * sysdeps/mach/hurd/dup3.c: Likewise.
3853 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3854 * sysdeps/powerpc/memmove.c:: Likewise.
3855
3856 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3859 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3860
3861 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3862
3863 * elf/elf.h (R_X86_64_RELATIVE64): New.
3864 (R_X86_64_NUM): Updated.
3865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3866 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3867 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3868 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3869 tst-quad1pie tst-quad2pie
3870 (modules-names): Add tst-quadmod1 tst-quadmod2.
3871 ($(objpfx)tst-quad1): New dependency.
3872 ($(objpfx)tst-quad2): Likewise.
3873 ($(objpfx)tst-quad1pie): Likewise.
3874 ($(objpfx)tst-quad2pie): Likewise.
3875 * sysdeps/x86_64/tst-quad1.c: New file.
3876 * sysdeps/x86_64/tst-quad1pie.c: New file.
3877 * sysdeps/x86_64/tst-quad2.c: Likewise.
3878 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3879 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3880 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3881 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3882 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3883
3884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3885
3886 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3887 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3888 * streams/stropts.h (t_scalar_t): Define type.
3889
3890 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3891 (_PATH_PRESERVE): Set to "/var/lib".
3892 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3893
3894 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3895 instead of int.
3896
3897 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3898 if __dir_mkfile succeeded.
3899
3900 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3901 checking for _hurd_dtablesize. Unlock it right after having
3902 finished _hurd_dtable allocation.
3903
3904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3905
3906 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3907 * sysdeps/mach/hurd/configure: Regenerated.
3908 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3909 special-casing to...
3910 * sysdeps/gnu/configure.in: ... this new file.
3911 * sysdeps/unix/sysv/linux/configure: Regenerated.
3912 * sysdeps/gnu/configure: New generated file.
3913
3914 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3915 for Linux: use nsec instead of usec, as well as:
3916 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3917 members of type struct timespec.
3918 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3919 New macros.
3920 (struct stat64): Likewise.
3921 (_STATBUF_ST_NSEC): New macro.
3922 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3923
3924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3925 __strtoul_internal rather than strtoul.
3926
3927 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3928
3929 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3930 and reject them.
3931
3932 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3933
3934 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3935 which preserves existing values.
3936 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3937
3938 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3939
3940 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3941 TIMEOUT values. Return EINVAL for NFDS values either negative or
3942 greater than FD_SETSIZE.
3943
3944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3945
3946 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3947 allocated, call __vm_protect to finish enabling the existing space, and
3948 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3949 allocate the remainder.
3950
3951 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3952
3953 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3954 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3955
3956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3957
3958 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3959 sysdeps/mach/hurd/readlink.c.
3960
3961 * posix/tst-sysconf.c (posix_options): Only use
3962 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3963 _POSIX_SYNCHRONIZED_IO when they are defined
3964 * sysdeps/mach/hurd/bits/posix_opt.h:
3965 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3966 (_XOPEN_REALTIME): Undefine macro.
3967 (_XOPEN_REALTIME_THREADS): Undefine macro.
3968 (_XOPEN_SHM): Undefine macro.
3969 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3970 macro to -1.
3971 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3972 macro to -1.
3973 (_POSIX_ASYNC_IO): Undefine macro.
3974 (_POSIX_PRIORITIZED_IO): Undefine macro.
3975 (_POSIX_SPIN_LOCKS): Define macro to -1.
3976
3977 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3978 SA_NODEFER, SA_RESETHAND.
3979 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3980 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3981 F_DUPFD_CLOEXEC.
3982
3983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3984
3985 * elf/Makefile (pldd-modules): Define unconditionally.
3986
3987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3988
3989 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3990
3991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3992
3993 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3994 Return ENOENT when name is empty.
3995 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3996
3997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3998
3999 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4000
4001 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4002
4003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4004
4005 Fix mlock in all cases except non-readable pages.
4006 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4007 instead of VM_PROT_ALL as parameter to __vm_wire function.
4008
4009 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4010 (__mkdir): When path is `/', just fail with EEXIST.
4011 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4012
4013 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4014
4015 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4016 <sys/uio.h> (for writev).
4017 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4018 and <sys/param.h> (for MIN).
4019
4020 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4021
4022 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4023 REQUESTED_TIME. Properly set the remaining time and return EINTR
4024 if interrupted.
4025
4026 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4027
4028 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4029 Depend on against $(link-rpcuserlibs).
4030
4031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4032
4033 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4034 (__libc_stack_end): Do not use attribute_relro.
4035 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4036 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4037 to libthread-provided value.
4038 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4039 attribute_relro.
4040
4041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4042
4043 [BZ #3748]
4044 * bits/libc-lock.h (__libc_once_get): New macro.
4045 * sysdeps/mach/bits/libc-lock.h: Likewise.
4046 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4047 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4048 instead of using implementation details.
4049
4050 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4051 * libio/freopen.c: Likewise.
4052 * libio/freopen64.c: Likewise.
4053 * misc/syslog.c: Likewise.
4054 * nscd/connections.c: Likewise.
4055 * nscd/netgroupcache.c: Likewise.
4056 * sysdeps/posix/getcwd.c: Likewise.
4057
4058 2012-05-10 Roland McGrath <roland@hack.frob.com>
4059
4060 * math/w_ilogbf.c: Add #include <limits.h>.
4061
4062 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4063
4064 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4065 path instead of returning without unlocking.
4066
4067 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4068 immediate-write ioctls.
4069 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4070
4071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4072
4073 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4074 __builtin_frame_address instead of making assumptions about the
4075 location of the return address relative to DATA. Force early load of
4076 the return address.
4077 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4078 __builtin_frame_address.
4079
4080 dup3 for GNU Hurd.
4081 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4082 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4083 implement dup3 and do some further code clean-ups.
4084 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4085 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4086
4087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4088
4089 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4090
4091 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4092 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4093 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4094 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4095 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4096 d->port.lock.
4097
4098 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4099 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4100 when handler == SIG_ERR, not when handler != SIG_ERR.
4101
4102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4103
4104 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4105 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4106 definitions.
4107
4108 accept4 for GNU Hurd.
4109 * include/sys/socket.h (__libc_accept4): New prototype.
4110 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4111 to implement __libc_accept4.
4112 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4113 __libc_accept4.
4114 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4115
4116 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4117 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4118 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4119 signal-defines.sym.
4120
4121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4122
4123 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4124
4125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4126
4127 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4128 assertion on O_CLOEXEC flag.
4129 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4130 * hurd/intern-fd.c: Likewise.
4131 * hurd/port2fd.c: Likewise.
4132
4133 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4134
4135 [BZ #3906]
4136 * bits/in.h (IPV6_PKTINFO): Define new macro.
4137 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4138
4139 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4140
4141 [BZ #13954]
4142 [BZ #13955]
4143 [BZ #13956]
4144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4146 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4147 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4150 * math/libm-test.inc (logb_test) : Additional logb tests.
4151
4152 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4153 Andreas Jaeger <aj@suse.de>
4154
4155 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4156 * configure: Regenerated.
4157 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4158 * config.make.in (link-obsolete-rpc): New substituted variable.
4159 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4160 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4161 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4162 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4163 so that libc.a contains the symbols.
4164 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4165 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4166 * sunrpc/auth_none.c: Likewise.
4167 * sunrpc/auth_unix.c: Likewise.
4168 * sunrpc/authdes_prot.c: Likewise.
4169 * sunrpc/authuxprot.c: Likewise.
4170 * sunrpc/clnt_gen.c: Likewise.
4171 * sunrpc/clnt_perr.c: Likewise.
4172 * sunrpc/clnt_raw.c: Likewise.
4173 * sunrpc/clnt_simp.c: Likewise.
4174 * sunrpc/clnt_tcp.c: Likewise.
4175 * sunrpc/clnt_udp.c: Likewise.
4176 * sunrpc/clnt_unix.c: Likewise.
4177 * sunrpc/des_crypt.c: Likewise.
4178 * sunrpc/des_soft.c: Likewise.
4179 * sunrpc/get_myaddr.c: Likewise.
4180 * sunrpc/key_call.c: Likewise.
4181 * sunrpc/key_prot.c: Likewise.
4182 * sunrpc/netname.c: Likewise.
4183 * sunrpc/pm_getmaps.c: Likewise.
4184 * sunrpc/pm_getport.c: Likewise.
4185 * sunrpc/pmap_clnt.c: Likewise.
4186 * sunrpc/pmap_prot.c: Likewise.
4187 * sunrpc/pmap_prot2.c: Likewise.
4188 * sunrpc/pmap_rmt.c: Likewise.
4189 * sunrpc/publickey.c: Likewise.
4190 * sunrpc/rpc_cmsg.c: Likewise.
4191 * sunrpc/rpc_common.c: Likewise.
4192 * sunrpc/rpc_dtable.c: Likewise.
4193 * sunrpc/rpc_prot.c: Likewise.
4194 * sunrpc/rpc_thread.c: Likewise.
4195 * sunrpc/rtime.c: Likewise.
4196 * sunrpc/svc.c: Likewise.
4197 * sunrpc/svc_auth.c: Likewise.
4198 * sunrpc/svc_raw.c: Likewise.
4199 * sunrpc/svc_run.c: Likewise.
4200 * sunrpc/svc_tcp.c: Likewise.
4201 * sunrpc/svc_udp.c: Likewise.
4202 * sunrpc/svc_unix.c: Likewise.
4203 * sunrpc/svcauth_des.c: Likewise.
4204 * sunrpc/xcrypt.c: Likewise.
4205 * sunrpc/xdr.c: Likewise.
4206 * sunrpc/xdr_array.c: Likewise.
4207 * sunrpc/xdr_float.c: Likewise.
4208 * sunrpc/xdr_intXX_t.c: Likewise.
4209 * sunrpc/xdr_mem.c: Likewise.
4210 * sunrpc/xdr_rec.c: Likewise.
4211 * sunrpc/xdr_ref.c: Likewise.
4212 * sunrpc/xdr_sizeof.c: Likewise.
4213 * sunrpc/xdr_stdio.c: Likewise.
4214
4215 2012-05-10 Roland McGrath <roland@hack.frob.com>
4216
4217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4218 change. Update copyright years.
4219
4220 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4221
4222 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4223
4224 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4225 Joseph Myers <joseph@codesourcery.com>
4226 Paul Pluzhnikov <ppluzhnikov@google.com>
4227
4228 [BZ #14012]
4229 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4230 requiring rpcgen.
4231 [cross-compiling] (extra-libs): Likewise.
4232 [cross-compiling] (extra-libs-others): Likewise.
4233 [cross-compiling] (librpcsvc-routines): Likewise.
4234 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4235 [cross-compiling] (omit-deps): Likewise.
4236 (sunrpc-CPPFLAGS): New variable.
4237 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4238 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4239 (cross-rpcgen-objs): New variable.
4240 (extra-objs): Append $(cross-rpcgen-objs).
4241 ($(cross-rpcgen-objs)): New rule.
4242 ($(objpfx)cross-rpcgen): Likewise.
4243 (rpcgen-cmd): Define to use $(built-program-file). Expand
4244 comment.
4245 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4246 ($(objpfx)x%.stmp): Likewise.
4247 * sunrpc/proto.h [IS_IN_build] (_): Define.
4248 [IS_IN_build] (_libc_intl_domainname): Likewise.
4249
4250 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4251
4252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4253 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4254 and R_X86_64_TPOFF64.
4255
4256 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4257
4258 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4259 sysdeps/unix/sysv/syscalls.list.
4260 (stime): Likewise.
4261 (utime): Likewise.
4262 * sysdeps/unix/sysv/syscalls.list: Remove file.
4263
4264 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4265
4266 [BZ #3440]
4267 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4268 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4269 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4270 (__LC_IDENTIFICATION): Make these macros useful in #if
4271 expressions, as required by C99.
4272
4273 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4274
4275 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4276 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4277 after this.
4278
4279 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4280
4281 * stdlib/longlong.h: Updated from GCC.
4282
4283 2012-05-09 Andreas Jaeger <aj@suse.de>
4284
4285 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4286 default is first entry.
4287 (run_mode): Set type.
4288 (main): Remove informal message about syslog.
4289 (options): Fix typo.
4290
4291 [BZ #14053]
4292 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4293 to asm.
4294 (lrint): Likewise.
4295 (llrintf): Likewise.
4296 (llrint): Likewise.
4297 (rint): Likewise.
4298 (rintf): Likewise.
4299 (nearbyint): Likewise.
4300 (nearbyintf): Likewise.
4301
4302 2012-05-09 Andreas Jaeger <aj@suse.de>
4303 Pedro Alves <palves@redhat.com>
4304
4305 * nscd/nscd.c (run_mode): Use enum.
4306 (main): Cleanup coding style issue.
4307
4308 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4309 Andreas Jaeger <aj@suse.de>
4310
4311 * nscd/nscd.c (go_background): Replaced with...
4312 (run_mode): ... this.
4313 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4314 (options): Add -F --foreground.
4315 (main): Implement it.
4316 (parse_opt): Parse it.
4317
4318 2012-05-09 Andreas Jaeger <aj@suse.de>
4319
4320 [BZ #14083]
4321 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4322 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4323 -Wconversion warning.
4324 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4325 Likewise.
4326
4327 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4328
4329 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4330 == 0.
4331 (LC_ALL): Use macro-int-constant.
4332 (LC_COLLATE): Likewise.
4333 (LC_CTYPE): Likewise.
4334 (LC_MESSAGES): Likewise.
4335 (LC_MONETARY): Likewise.
4336 (LC_NUMERIC): Likewise.
4337 (LC_TIME): Likewise.
4338 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4339 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4341 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4342 Specify type.
4343 [C99-based standards] (float_t): Expect type.
4344 [C99-based standards] (double_t): Expect type.
4345 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4346 type.
4347 [C99-based standards] (HUGE_VALL): Likewise.
4348 [C99-based standards] (INFINITY): Likewise.
4349 [C99-based standards] (NAN): Likewise.
4350 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4351 [C99-based standards] (FP_NAN): Likewise.
4352 [C99-based standards] (FP_NORMAL): Likewise.
4353 [C99-based standards] (FP_SUBNORMAL): Likewise.
4354 [C99-based standards] (FP_ZERO): Likewise.
4355 [C99-based standards] (FP_FAST_FMA): Use
4356 optional-macro-int-constant. Specify type. Require == 1.
4357 [C99-based standards] (FP_FAST_FMAF): Likewise.
4358 [C99-based standards] (FP_FAST_FMAL): Likewise.
4359 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4360 [C99-based standards] (FP_ILOGBNAN): Likewise.
4361 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4362 Specify type.
4363 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4364 [C99-based standards] (math_errhandling): Specify type.
4365 [ISO99 || ISO11] (signgam): Do not allow.
4366 [non-C99-based standards] (copysignf): Do not allow.
4367 [non-C99-based standards] (exp2f): Likewise.
4368 [non-C99-based standards] (log2f): Likewise.
4369 [non-C99-based standards] (modff): Allow.
4370 [non-C99-based standards] (erff): Do not allow.
4371 [non-C99-based standards] (erfcf): Likewise.
4372 [non-C99-based standards] (gammaf): Likewise.
4373 [non-C99-based standards] (hypotf): Likewise.
4374 [non-C99-based standards] (j0f): Likewise.
4375 [non-C99-based standards] (j1f): Likewise.
4376 [non-C99-based standards] (jnf): Likewise.
4377 [non-C99-based standards] (lgammaf): Likewise.
4378 [non-C99-based standards] (tgammaf): Likewise.
4379 [non-C99-based standards] (y0f): Likewise.
4380 [non-C99-based standards] (y1f): Likewise.
4381 [non-C99-based standards] (ynf): Likewise.
4382 [non-C99-based standards] (isnanf): Likewise.
4383 [non-C99-based standards] (acoshf): Likewise.
4384 [non-C99-based standards] (asinhf): Likewise.
4385 [non-C99-based standards] (atanhf): Likewise.
4386 [non-C99-based standards] (cbrtf): Likewise.
4387 [non-C99-based standards] (expm1f): Likewise.
4388 [non-C99-based standards] (ilogbf): Likewise.
4389 [non-C99-based standards] (log1pf): Likewise.
4390 [non-C99-based standards] (logbf): Likewise.
4391 [non-C99-based standards] (nextafterf): Likewise.
4392 [non-C99-based standards] (remainderf): Likewise.
4393 [non-C99-based standards] (rintf): Likewise.
4394 [non-C99-based standards] (scalbf): Likewise.
4395 [non-C99-based standards] (copysignl): Likewise.
4396 [non-C99-based standards] (exp2l): Likewise.
4397 [non-C99-based standards] (log2l): Likewise.
4398 [non-C99-based standards] (modfl): Allow.
4399 [non-C99-based standards] (erfl): Do not allow.
4400 [non-C99-based standards] (erfcl): Likewise.
4401 [non-C99-based standards] (gammal): Likewise.
4402 [non-C99-based standards] (hypotl): Likewise.
4403 [non-C99-based standards] (j0l): Likewise.
4404 [non-C99-based standards] (j1l): Likewise.
4405 [non-C99-based standards] (jnl): Likewise.
4406 [non-C99-based standards] (lgammal): Likewise.
4407 [non-C99-based standards] (tgammal): Likewise.
4408 [non-C99-based standards] (y0l): Likewise.
4409 [non-C99-based standards] (y1l): Likewise.
4410 [non-C99-based standards] (ynl): Likewise.
4411 [non-C99-based standards] (isnanl): Likewise.
4412 [non-C99-based standards] (acoshl): Likewise.
4413 [non-C99-based standards] (asinhl): Likewise.
4414 [non-C99-based standards] (atanhl): Likewise.
4415 [non-C99-based standards] (cbrtl): Likewise.
4416 [non-C99-based standards] (expm1l): Likewise.
4417 [non-C99-based standards] (ilogbl): Likewise.
4418 [non-C99-based standards] (log1pl): Likewise.
4419 [non-C99-based standards] (logbl): Likewise.
4420 [non-C99-based standards] (nextafterl): Likewise.
4421 [non-C99-based standards] (remainderl): Likewise.
4422 [non-C99-based standards] (rintl): Likewise.
4423 [non-C99-based standards] (scalbl): Likewise.
4424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4425 [non-C99-based standards] (FP_*): Do not allow.
4426 [C99-based standards] (FP_*): Change to
4427 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4428 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4429 allow.
4430 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4431 (SIG_ERR): Likewise.
4432 [X/Open-based standards] (SIG_HOLD): Likewise.
4433 (SIG_IGN): Likewise.
4434 (SIGABRT): Use macro-int-constant. Specify type. Require
4435 positive value.
4436 (SIGFPE): Likewise.
4437 (SIGILL): Likewise.
4438 (SIGINT): Likewise.
4439 (SIGSEGV): Likewise.
4440 (SIGTER): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4444 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4445 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4446 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4447 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4450 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4451 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4452 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4453 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4454 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4455 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4456 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4458 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4459 [X/Open-based standards] (SIGTRAP): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4464 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4465 allow.
4466
4467 2012-05-08 Ian Wienand <ianw@vmware.com>
4468
4469 [BZ #14080]
4470 * time/tzset.c (__tzset_parse_tz): Update default rules for
4471 daylight time changes in the Energy Policy Act of 2005.
4472
4473 2012-05-09 Andreas Jaeger <aj@suse.de>
4474
4475 [BZ #13983]
4476 * elf/ldconfig.c (parse_conf): Change string to make clear that
4477 ldconfig only issued a warning if ld.so.conf does not exist.
4478
4479 2012-05-08 David S. Miller <davem@davemloft.net>
4480
4481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4482 movxtod instead of popping the value on the stack.
4483
4484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4485
4486 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4487
4488 * config.h.in: Add HAVE_ARM_PCS_VFP.
4489
4490 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4491
4492 [BZ #13979]
4493 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4494 checking but the checks are disabled for any reason.
4495
4496 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4497
4498 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4499 and ELF64_R_TYPE with ELFW(R_TYPE).
4500
4501 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4502
4503 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4504 (ulimit): Likewise.
4505
4506 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4507 (settimeofday): Likewise.
4508
4509 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4510
4511 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4512 a struct th_u2 inside the union, and move tu_block/tu_code into
4513 a new th_u3 union of tu_block/tu_code inside of that. Move
4514 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4515 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4516 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4517 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4518 (th_stuff): Change to th_u1.tu_stuff.
4519 (th_data): Define.
4520 (th_msg): Change to th_u1.th_u2.tu_data.
4521
4522 2012-05-07 David S. Miller <davem@davemloft.net>
4523
4524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4525
4526 [BZ #14074]
4527 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4528 (SETUP_PIC_REG): Use it.
4529 (SETUP_PIC_REG_LEAF): Use it.
4530
4531 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4532
4533 [BZ #13885]
4534 [BZ #13923]
4535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4536 USE_AS_EXPM1L.
4537 (EXPL_FINITE): Likewise.
4538 (FLDLOG): Likewise.
4539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4540 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4541 e_expl.S.
4542 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4543 USE_AS_EXPM1L.
4544 (EXPL_FINITE): Likewise.
4545 (FLDLOG): Likewise.
4546 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4547 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4548 e_expl.S.
4549 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4550 test of -max_value argument for long double.
4551 * sysdeps/i386/fpu/libm-test-ulps: Update.
4552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4553
4554 2012-05-06 David S. Miller <davem@davemloft.net>
4555
4556 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4557 quad soft-float symbols whose references which are compiler
4558 generated.
4559 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4560
4561 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4562
4563 [BZ #13884]
4564 [BZ #13914]
4565 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4566 USE_AS_EXP10L.
4567 (EXPL_FINITE): Likewise.
4568 (FLDLOG): Likewise.
4569 (c0): Likewise.
4570 (c1): Likewise.
4571 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4572 Adjust comments for base varying.
4573 (__expl_finite): Change alias to EXPL_FINITE.
4574 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4575 e_expl.S.
4576 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4577 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4578 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4579 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4580 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4581 USE_AS_EXP10L.
4582 (EXPL_FINITE): Likewise.
4583 (FLDLOG): Likewise.
4584 (c0): Likewise.
4585 (c1): Likewise.
4586 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4587 Adjust comments for base varying.
4588 (__expl_finite): Change alias to EXPL_FINITE.
4589 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4590 tests for bugs.
4591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4592
4593 [BZ #14064]
4594 * math/libm-test.inc (check_float_internal): Correct ulp
4595 calculation for subnormal expected results.
4596
4597 2012-05-06 Andreas Jaeger <aj@suse.de>
4598
4599 * Makeconfig (+math-flags): New, set to -frounding-math.
4600 (+cflags): Add +math-flags so that all of glibc gets compiled with
4601 it.
4602
4603 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4604
4605 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4606
4607 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4608 Disable one test.
4609
4610 [BZ #13787]
4611 [BZ #13922]
4612 [BZ #14036]
4613 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4614 (__ieee754_expl): Allow for and saturate large arguments.
4615 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4616 (u_threshold): Likewise.
4617 (__exp): Call __ieee754_exp before checking for overflow and
4618 underflow.
4619 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4620 (u_threshold): Likewise.
4621 (__expf): Call __ieee754_expf before checking for overflow and
4622 underflow.
4623 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4624 (u_threshold): Likewise.
4625 (__expl): Call __ieee754_expl before checking for overflow and
4626 underflow.
4627 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4628 (__ieee754_expl): Allow for and saturate large arguments.
4629 * math/libm-test.inc (exp_test): Add another test. Do not allow
4630 missing overflow exception on overflow.
4631 (expm1_test): Do not allow missing overflow exception on overflow.
4632
4633 * sysdeps/i386/fpu/e_expl.c: Move to ...
4634 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4635 rather than using inline asm.
4636 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4637 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4638 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4639
4640 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4641 (nice): Likewise.
4642 (poll): Likewise.
4643 (signal): Likewise.
4644 (time): Likewise.
4645 (times): Likewise.
4646
4647 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4648
4649 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4650 sysdeps/unix/common/syscalls.list.
4651 (fchmod): Likewise.
4652 (fchown): Likewise.
4653 (ftruncate): Likewise.
4654 (getrusage): Likewise.
4655 (gettimeofday): Likewise.
4656 (setpgid): Likewise.
4657 (setregid): Likewise.
4658 (setreuid): Likewise.
4659 (sigaction): Likewise.
4660 (truncate): Likewise.
4661 (vhangup): Likewise.
4662 * sysdeps/unix/common/syscalls.list: Remove file.
4663 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4664 * sysdeps/unix/sysv/linux/Implies: Likewise.
4665
4666 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4667
4668 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4670 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4671 Moved to ...
4672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4673 Here.
4674 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4675 to ...
4676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4677 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4678 to ...
4679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4680 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4681 to ...
4682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4683 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4684 to ...
4685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4686 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4687 to ...
4688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4689 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4690 to ...
4691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4692 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4693 to ...
4694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4695 Here.
4696 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4697 to ...
4698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4699 Here.
4700 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4701 to ...
4702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4703 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4704 Moved to ...
4705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4706 Here.
4707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4708 to ...
4709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4710
4711 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4712
4713 * sysdeps/unix/common/bits/dirent.h: Remove file.
4714 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4715
4716 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4717 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4718 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4719 * sysdeps/unix/bsd/isatty.c: Likewise.
4720 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4721 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4722 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4723
4724 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4725
4726 [BZ #13563]
4727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4728 long double comparison inaccuracies.
4729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4731
4732 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4733
4734 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4736
4737 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4738
4739 [BZ #14049]
4740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4741 nonzero digits before rounding a hex value.
4742 * stdlib/tst-strtod.c (tests): Add another test.
4743
4744 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4745
4746 * sysdeps/s390/fpu/libm-test-ulps: Update.
4747
4748 2012-05-03 Andreas Jaeger <aj@suse.de>
4749
4750 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4751 does not get optimized out.
4752 (malloc_opt_barrier): New.
4753
4754 2012-05-03 Andreas Jaeger <aj@suse.de>
4755 Roland McGrath <roland@hack.frob.com>
4756
4757 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4758 intermediate file deletion.
4759 (generated): Add .symlist files.
4760
4761 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4762
4763 [BZ #13775]
4764 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4765 Redirect under this condition.
4766 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4767 [__USE_GNU] (__dprintf_chk): Not under this condition.
4768 [__USE_GNU] (__vdprintf_chk): Likewise.
4769 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4770 under this condition.
4771 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4772 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4773 [__USE_XOPEN2K8] (vdprintf): Likewise.
4774 [__USE_GNU] (__dprintf_chk): Not under this condition.
4775 [__USE_GNU] (__vdprintf_chk): Likewise.
4776 [__USE_GNU] (dprintf): Likewise.
4777 [__USE_GNU] (vdprintf): Likewise.
4778
4779 2012-05-03 Roland McGrath <roland@hack.frob.com>
4780
4781 * elf/Makefile (common-generated): Set this instead of generated for
4782 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4783 $(all-built-dso)-derived lists.
4784
4785 2012-05-03 Andreas Jaeger <aj@suse.de>
4786
4787 * sysdeps/i386/fpu/libm-test-ulps: Update.
4788
4789 * FAQ: Removed.
4790 * FAQ.in: Likewise.
4791 * scripts/gen-FAQ.pl: Likewise.
4792 * manual/install.texi (Installation): Point to online location of
4793 FAQ.
4794 * Makefile (files-for-dist): Remove FAQ.
4795 (FAQ): Remove.
4796
4797 2012-05-02 Allan McRae <allan@archlinux.org>
4798
4799 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4800 (LDFLAGS-reldepmod5.so): Likewise.
4801 (LDFLAGS-reldep6mod1.so): Likewise.
4802 (LDFLAGS-reldep6mod4.so): Likewise.
4803 (LDFLAGS-reldep8mod3.so): Likewise.
4804 (LDFLAGS-unload4mod1.so): Likewise.
4805 (LDFLAGS-unload4mod2.so): Likewise.
4806 (LDFLAGS-tst-initorder): Likewise.
4807 (LDFLAGS-tst-initordera2.so): Likewise.
4808 (LDFLAGS-tst-initordera3.so): Likewise.
4809 (LDFLAGS-tst-initordera4.so): Likewise.
4810 (LDFLAGS-tst-initorderb2.so): Likewise.
4811 (LDFLAGS-noload): Likewise.
4812 (LDFLAGS-next): Likewise.
4813 (LDFLAGS-order2mod1.so): Likewise.
4814 (LDFLAGS-order2mod2.so): Likewise.
4815 (LDFLAGS-tst-initorder2): Likewise.
4816 (LDFLAGS-tst-initorder2a.so): Likewise.
4817 (LDFLAGS-tst-initorder2b.so): Likewise.
4818 (LDFLAGS-tst-initorder2c.so): Likewise.
4819 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4820
4821 2012-05-02 David S. Miller <davem@davemloft.net>
4822
4823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4824
4825 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4826
4827 [BZ #14055]
4828 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4829
4830 2012-05-02 Andreas Jaeger <aj@suse.de>
4831
4832 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4833 since we manipulate rounding mode.
4834 (CPPFLAGS-test-idouble.c): Likewise.
4835 (CPPFLAGS-test-ifloat.c): Likewise.
4836 (CFLAGS-test-ldouble.c): Likewise.
4837 (CFLAGS-test-double.c): Likewise.
4838 (CFLAGS-test-float.c): Likewise.
4839 (CFLAGS-test-misc.c): Likewise.
4840 (CFLAGS-test-test-fenv.c): Likewise.
4841
4842 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4843
4844 [BZ #2550]
4845 [BZ #2570]
4846 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4847 comparisons to determine direction to adjust input.
4848
4849 2012-05-01 Roland McGrath <roland@hack.frob.com>
4850
4851 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4852 output to the target.
4853
4854 * scripts/localplt.awk: New file.
4855 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4856 (check-localplt-CFLAGS): Variable removed.
4857 ($(all-built-dso:=.jmprel)): New static pattern rule.
4858 (generated): Add those targets.
4859 (localplt-built-dso): New variable.
4860 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4861
4862 * elf/check-localplt.c: File removed.
4863
4864 * scripts/check-execstack.awk: New file.
4865 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4866 (check-execstack-CFLAGS): Variable removed.
4867 ($(objpfx)check-execstack.h): Target removed.
4868 ($(objpfx)execstack-default): New target.
4869 (generated): Add that instead of check-execstack.h.
4870 ($(all-built-dso:=.phdr)): New static pattern rule.
4871 (generated): Add those targets.
4872 * elf/check-execstack.c: File removed.
4873
4874 * scripts/check-textrel.awk: New file.
4875 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4876 (check-textrel-CFLAGS): Variable removed.
4877 (all-built-dso): Use := to define.o
4878 ($(all-built-dso:=.dyn)): New static pattern rule.
4879 (generated): Add those targets.
4880 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4881 * config.make.in (READELF): New substituted variable.
4882 * elf/check-textrel.c: File removed.
4883
4884 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4885
4886 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4887 allow.
4888 * conform/data/ctype.h-data [C99-based standards] (isblank):
4889 Expect function.
4890 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4891 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4893 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4894 Specify type. Require positive value.
4895 (EILSEQ): Likewise.
4896 (ERANGE): Likewise.
4897 [ISO || POSIX] (EILSEQ): Do not expect.
4898 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4899 Specify type. Require positive value.
4900 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4909 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4910 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4911 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4914 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4915 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4916 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4917 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4918 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4919 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4925 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4926 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4931 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4932 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4933 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4934 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4939 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4945 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4958 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4959 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4974 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4975 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4976 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4977 Require >= 2.
4978 (FLT_ROUNDS): Expect as macro, not constant.
4979 (FLT_MANT_DIG): Use macro-int-constant.
4980 (DBL_MANT_DIG): Likewise.
4981 (LDBL_MANT_DIG): Likewise.
4982 (FLT_DIG): Likewise.
4983 (DBL_DIG): Likewise.
4984 (LDBL_DIG): Likewise.
4985 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4986 (DBL_MIN_EXP): Likewise.
4987 (LDBL_MIN_EXP): Likewise.
4988 (FLT_MAX_EXP): Use macro-int-constant.
4989 (DBL_MAX_EXP): Likewise.
4990 (LDBL_MAX_EXP): Likewise.
4991 (FLT_MAX_10_EXP): Likewise.
4992 (DBL_MAX_10_EXP): Likewise.
4993 (LDBL_MAX_10_EXP): Likewise.
4994 (FLT_MAX): Use macro-constant.
4995 (DBL_MAX): Likewise.
4996 (LDBL_MAX): Likewise.
4997 (FLT_EPSILON): Use macro-constant. Give upper bound.
4998 (DBL_EPSILON): Likewise.
4999 (LDBL_EPSILON): Likewise.
5000 (FLT_MIN): Likewise.
5001 (DBL_MIN): Likewise.
5002 (LDBL_MIN): Likewise.
5003 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5004 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5005 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5006 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5007 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5008 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5009 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5010 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5011 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5012 [ISO11] (FLT_TRUE_MIN): Likewise.
5013 [ISO11] (LDBL_TRUE_MIN): Likewise.
5014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5015 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5016 (SCHAR_MIN): Use macro-int-constant. Specify type.
5017 (SCHAR_MAX): Likewise.
5018 (UCHAR_MAX): Likewise.
5019 (CHAR_MIN): Likewise.
5020 (CHAR_MAX): Likewise.
5021 (MB_LEN_MAX): Use macro-int-constant.
5022 (SHRT_MIN): Use macro-int-constant. Specify type.
5023 (SHRT_MAX): Likewise.
5024 (USHRT_MAX): Likewise.
5025 (INT_MAX): Likewise.
5026 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5027 bound negative.
5028 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5029 bound with "U".
5030 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5031 bound with "L".
5032 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5033 bound negative. Suffix upper bound with "L".
5034 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5035 bound with "UL".
5036 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5037 Specify type.
5038 [C99-based standards] (LLONG_MAX): Likewise.
5039 [C99-based standards] (ULLONG_MAX): Likewise.
5040 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5041 == 0.
5042 [ISO11] (max_align_t): Require type.
5043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5044
5045 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5046 from $CFLAGS, without defining away __attribute__ calls.
5047 (checknamespace): Use $CFLAGS_namespace.
5048
5049 * conform/conformtest.pl (@keywords): Only include C99 keywords
5050 for standards based on C99 or C11.
5051
5052 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5053 Disable tests.
5054 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5055 UNIX98]: Likewise.
5056
5057 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5058 usability of symbols in #if.
5059
5060 * conform/conformtest.pl: If macro or constant types start
5061 "promoted:", expect the symbol to be of the following type
5062 promoted by the integer promotions.
5063
5064 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5065 in one place. Also handle "macro-constant".
5066
5067 * conform/conformtest.pl: Only accept expected macro values with
5068 "==". Parse all "macro" lines in one place.
5069 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5070
5071 * conform/conformtest.pl: Handle braced types on "constant" lines
5072 instead of handling "typed-constant".
5073 * conform/data/signal.h-data: Use "constant" instead of
5074 "typed-constant".
5075
5076 * conform/conformtest.pl: Handle "optional-" at start of lines in
5077 one place rather than duplicating several cases. Handle each
5078 format of "macro" line with initial "optional-".
5079
5080 * conform/conformtest.pl: Only accept expected constant or
5081 optional-constant values with "==". Parse all "constant" lines in
5082 one place. Parse all "optional-constant" lines in one place.
5083 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5084 * conform/data/fmtmsg.h-data: Likewise.
5085 * conform/data/netinet/in.h-data: Likewise.
5086 * conform/data/tar.h-data: Likewise.
5087 * conform/data/limits.h-data: Use "==" form on "constant" and
5088 "optional-constant" lines.
5089
5090 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5091 Use -std=c99 for XOPEN2K.
5092 (@knownproblems): Remove.
5093 (newtoken): Don't check %isknown.
5094
5095 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5096 Do not expect macro.
5097 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5098 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5099 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5100 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5101 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5102 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5103 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5104 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5105 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5106 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5107 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5108 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5109 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5110 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5111 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5112 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5113 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5114 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5115 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5116 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5117 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5118 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5119 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5120 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5121 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5122 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5123 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5124 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5125 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5126 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5127 [XPG3] (acosh): Likewise.
5128 [XPG3] (asinh): Likewise.
5129 [XPG3] (atanh): Likewise.
5130 [XPG3] (cbrt): Likewise.
5131 [XPG3] (expm1): Likewise.
5132 [XPG3] (ilogb): Likewise.
5133 [XPG3] (log1p): Likewise.
5134 [XPG3] (logb): Likewise.
5135 [XPG3] (nextafter): Likewise.
5136 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5137 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5138 [XPG3] (remainder): Likewise.
5139 [XPG3] (rint): Likewise.
5140 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5141 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5142 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5143 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5144 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5145 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5146 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5147 [UNIX98 || XOPEN2K] (scalb): Expect.
5148 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5149 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5150 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5151 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5152 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5153 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5154 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5155 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5156 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5168 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5169 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5186 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5187 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5206 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5207 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5208 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5285
5286 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5287 _XOPEN_SOURCE_EXTENDED for XPG4.
5288
5289 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5290
5291 * Makeconfig (localtime): Remove variable.
5292 (inst_localtime-file): Likewise.
5293
5294 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5295
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5297 Update.
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5299 Update.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5301 Update.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5303 Update.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5305 Update.
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5307 Update.
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5309 Update.
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5311 Update.
5312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5313 Update.
5314
5315 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5316
5317 [BZ #2550]
5318 [BZ #2570]
5319 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5320 comparisons to determine direction to adjust input.
5321 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5322 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5324 Likewise.
5325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5326 Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5328 Likewise.
5329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5331 Likewise.
5332 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5333 Likewise.
5334 * math/libm-test.inc (nexttoward_test): Add more tests.
5335
5336 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5337
5338 [BZ #14040]
5339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5340 in version GLIBC_2.1, not GLIBC_2.0.
5341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5342 Likewise.
5343
5344 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5345
5346 [BZ #13942]
5347 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5348 (1 - x) * (1 + x).
5349 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5350 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5351 * math/libm-test.inc (acos_test): Add more tests.
5352 (asin_test): Likewise.
5353 * sysdeps/i386/fpu/libm-test-ulps: Update.
5354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5355
5356 [BZ #14034]
5357 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5358 of square root.
5359 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5360 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5361 * math/libm-test.inc (acos_test_tonearest): New function.
5362 (acos_test_towardzero): Likewise.
5363 (acos_test_downward): Likewise.
5364 (acos_test_upward): Likewise.
5365 (asin_test_tonearest): Likewise.
5366 (asin_test_towardzero): Likewise.
5367 (asin_test_downward): Likewise.
5368 (asin_test_upward): Likewise.
5369 (main): Call the new functions.
5370 * sysdeps/i386/fpu/libm-test-ulps: Update.
5371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5372
5373 [BZ #13884]
5374 [BZ #13924]
5375 * math/e_exp10.c: Include <float.h>.
5376 (__ieee754_exp10): Handle underflow here rather than multiplying
5377 large negative argument by M_LN10.
5378 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5379 of __ieee754_expf.
5380 * math/e_exp10l.c: Include <float.h>.
5381 (__ieee754_exp10l): Handle underflow here rather than multiplying
5382 large negative argument by M_LN10l.
5383 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5384 spurious overflow exception on underflow.
5385
5386 2012-04-29 Marek Polacek <polacek@redhat.com>
5387
5388 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5389 (__fortify_function): New macro.
5390 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5391 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5392 __extern_always_inline.
5393 * libio/bits/stdio2.h: Likewise.
5394 * libio/bits/stdio.h: Likewise.
5395 * string/string.h: Likewise.
5396 * string/bits/string3.h: Likewise.
5397 * include/stdio.h: Likewise.
5398 * stdlib/bits/stdlib.h: Likewise.
5399 * stdlib/stdlib.h: Likewise.
5400 * rt/bits/mqueue2.h: Likewise.
5401 * rt/mqueue.h: Likewise.
5402 * posix/bits/unistd.h: Likewise.
5403 * posix/unistd.h: Likewise.
5404 * io/bits/poll2.h: Likewise.
5405 * io/bits/fcntl2.h: Likewise.
5406 * io/fcntl.h: Likewise.
5407 * io/sys/poll.h: Likewise.
5408 * misc/bits/syslog.h: Likewise.
5409 * misc/bits/syslog-ldbl.h: Likewise.
5410 * misc/sys/syslog.h: Likewise.
5411 * socket/bits/socket2.h: Likewise.
5412 * socket/sys/socket.h: Likewise.
5413 * debug/tst-chk1.c: Likewise.
5414 * wcsmbs/bits/wchar2.h: Likewise.
5415 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5416 * wcsmbs/wchar.h: Likewise.
5417
5418 2012-04-29 Andreas Jaeger <aj@suse.de>
5419
5420 * Makerules (tests): Remove enable-check-abi protection.
5421 (check-abi-warn): Remove.
5422 (check-abi-%): Remove check-abi-warn usage.
5423
5424 * configure.in: Remove check-abi configure option.
5425 * configure: Regenerated.
5426 * config.make.in (enable-check-abi): Remove.
5427
5428 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5429
5430 [BZ #14033]
5431 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5432 double functions to double *_finite functions.
5433
5434 [BZ #13941]
5435 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5436 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5437 LDBL_MIN_EXP.
5438 * stdio-common/Makefile (tests): Add tst-sprintf3.
5439 * stdio-common/tst-sprintf3.c: New file.
5440
5441 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5442 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5443
5444 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5445
5446 * conform/conformtest.pl: Remove duplicate typed-constant
5447 handling.
5448
5449 2012-04-28 David S. Miller <davem@davemloft.net>
5450
5451 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5452 (check-abi-%): Remove AWK script prerequisite and explicit
5453 abilist directory.
5454 (check-abi): Rewrite to just diff the symlist with the abilist.
5455 (config-tls, config-abi-config): Delete, no longer used.
5456 (update-abi-%): Remove AWK script and explicit abilist directory.
5457 (update-abi): Rewrite to simply compare and conditionally copy the
5458 symlist and the sysdep abilist file. Remove update-abi-config
5459 checks.
5460 * abilist/ld.abilist: Remove.
5461 * abilist/libBrokenLocale.abilist: Remove.
5462 * abilist/libanl.abilist: Remove.
5463 * abilist/libcrypt.abilist: Remove.
5464 * abilist/libdl.abilist: Remove.
5465 * abilist/librt.abilist: Remove.
5466 * abilist/libthread_db.abilist: Remove.
5467 * abilist/libutil.abilist: Remove.
5468 * scripts/extract-abilist.awk: Remove.
5469 * scripts/merge-abilist.awk: Remove.
5470 * sysdeps/generic/libcidn.abilist: New file.
5471 * sysdeps/generic/libnss_compat.abilist: New file.
5472 * sysdeps/generic/libnss_db.abilist: New file.
5473 * sysdeps/generic/libnss_dns.abilist: New file.
5474 * sysdeps/generic/libnss_files.abilist: New file.
5475 * sysdeps/generic/libnss_hesiod.abilist: New file.
5476 * sysdeps/generic/libnss_nis.abilist: New file.
5477 * sysdeps/generic/libnss_nisplus.abilist: New file.
5478 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5479 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5480 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5481 file.
5482 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5483 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5484 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5485 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5486 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5487 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5488 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5489 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5490 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5491 file.
5492 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5493 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5494 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5495 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5496 file.
5497 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5498 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5499 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5500 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5501 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5502 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5503 file.
5504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5506 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5507 file.
5508 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5510 New file.
5511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5512 New file.
5513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5514 New file.
5515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5516 New file.
5517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5518 New file.
5519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5520 New file.
5521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5522 New file.
5523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5524 New file.
5525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5526 New file.
5527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5528 New file.
5529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5530 New file.
5531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5532 New file.
5533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5534 New file.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5536 file.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5538 New file.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5540 New file.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5542 file.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5544 New file.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5546 New file.
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5548 file.
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5550 New file.
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5552 New file.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5554 New file.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5556 New file.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5558 New file.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5560 New file.
5561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5563 file.
5564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5565 New file.
5566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5567 file.
5568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5569 file.
5570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5571 file.
5572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5573 file.
5574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5575 file.
5576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5577 New file.
5578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5579 file.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5581 file.
5582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5583 New file.
5584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5585 file.
5586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5588 file.
5589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5590 New file.
5591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5592 file.
5593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5594 file.
5595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5596 file.
5597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5598 file.
5599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5600 file.
5601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5602 New file.
5603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5604 file.
5605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5606 file.
5607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5608 New file.
5609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5610 file.
5611 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5612 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5613 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5614 file.
5615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5616 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5617 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5618 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5619 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5620 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5621 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5622 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5623 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5624 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5627 file.
5628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5629 New file.
5630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5631 file.
5632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5633 file.
5634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5635 file.
5636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5637 file.
5638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5639 file.
5640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5641 New file.
5642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5643 New file.
5644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5645 file.
5646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5647 New file.
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5649 file.
5650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5652 file.
5653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5654 New file.
5655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5656 file.
5657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5658 file.
5659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5660 file.
5661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5662 file.
5663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5664 file.
5665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5666 New file.
5667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5668 New file.
5669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5670 file.
5671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5672 New file.
5673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5674 file.
5675
5676 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5677
5678 * conform/conformtest.pl: Fix typo in handling typed-constant from
5679 allow-header.
5680
5681 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5682
5683 * README: Cut down references to pre-2.6 Linux kernels and
5684 Linuxthreads. Update lists of configurations in libc and ports
5685 and sort alphabetically. Say "or newer" with Linux kernel version
5686 requirements.
5687
5688 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5689
5690 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5691
5692 [BZ #887]
5693 * math/libm-test.inc (logb_test_downward): New test to expose
5694 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5695 rounding mode.
5696
5697 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5698
5699 [BZ #14027]
5700 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5701 to be done.
5702 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5703 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5704
5705 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5706
5707 * sysdeps/unix/i386/brk.S: Remove file.
5708 * sysdeps/unix/i386/dl-brk.S: Likewise.
5709 * sysdeps/unix/i386/pipe.S: Likewise.
5710 * sysdeps/unix/i386/sigreturn.S: Likewise.
5711 * sysdeps/unix/i386/syscall.S: Likewise.
5712 * sysdeps/unix/i386/vfork.S: Likewise.
5713 * sysdeps/unix/i386/wait.S: Likewise.
5714
5715 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5716 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5717
5718 * configure.in (arm*-none*): Do not allow without
5719 --enable-hacker-mode.
5720 (netbsd*): Remove case setting base_os.
5721 (386bsd*): Likewise.
5722 (freebsd*): Likewise.
5723 (bsdi*): Likewise.
5724 (osf*): Likewise.
5725 (sunos*): Likewise.
5726 (ultrix*): Likewise.
5727 (newsos*): Likewise.
5728 (dynix*): Likewise.
5729 (*bsd*): Likewise.
5730 (sysv*): Likewise.
5731 (isc*): Likewise.
5732 (esix*): Likewise.
5733 (sco*): Likewise.
5734 (minix*): Likewise.
5735 (irix4*): Likewise.
5736 (irix6*): Likewise.
5737 (solaris[2-9]*): Likewise.
5738 (none): Likewise.
5739 * configure: Regenerated.
5740
5741 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5742
5743 [BZ #11521]
5744 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5745 overflow or cancellation in calculating denominator.
5746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5748 down expression to avoid unexpected rounding in newer GCCs.
5749 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5750
5751 2012-04-26 David S. Miller <davem@davemloft.net>
5752
5753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5754 long-double compat symbols.
5755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5768
5769 2012-04-25 David S. Miller <davem@davemloft.net>
5770
5771 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5772 HWCAP_* values only after the memory barriers have been defined.
5773 (atomic_full_barrier): Define.
5774 (atomic_read_barrier): Define.
5775 (atomic_write_barrier): Define.
5776
5777 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5778
5779 * shlib-versions: Add libgcc_s version information.
5780 * sysdeps/generic/libgcc_s.h: Remove.
5781 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5782 libgcc_s.h.
5783 * sysdeps/gnu/unwind-resume.c: Likewise.
5784 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5785
5786 2012-04-25 David S. Miller <davem@davemloft.net>
5787
5788 * sysdeps/unix/sparc/brk.S: Delete.
5789 * sysdeps/unix/sparc/dl-brk.S: Delete.
5790 * sysdeps/unix/sparc/pipe.S: Delete.
5791 * sysdeps/unix/sparc/sysdep.S: Delete.
5792 * sysdeps/unix/sparc/sysdep.h: Delete.
5793 * sysdeps/unix/sparc/vfork.S: Delete.
5794 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5795 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5797 ret_ERRVAL, r0, r1, MOVE): Define.
5798 (JUMPTARGET): Remove.
5799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5800 sysdeps/unix/sparc/sysdep.h
5801 (ENTRY, END): Remove.
5802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5803
5804 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5805
5806 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5807 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5808 -DIS_IN_build.
5809
5810 * timezone/README: Update upstream location and email address for
5811 tzcode and tzdata.
5812 * timezone/zdump.c: Update from tzcode 2012b.
5813 * timezone/zic.c: Likewise.
5814
5815 * configure.in (libc_cv_as_needed): Remove test.
5816 * configure: Regenerated.
5817 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5818 conditional definition.
5819 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5820 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5821 * config.make.in (have-as-needed): Remove variable.
5822
5823 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5824 Paul Pluzhnikov <ppluzhnikov@google.com>
5825
5826 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5827 strings correctly.
5828
5829 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5830
5831 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5832 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5833 * sysdeps/sh/strlen.S: Likewise.
5834
5835 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5836
5837 * sysdeps/unix/fork.S: Remove file.
5838 * sysdeps/unix/i386/fork.S: Likewise.
5839 * sysdeps/unix/sparc/fork.S: Likewise.
5840
5841 * sysdeps/unix/system.c: Remove file.
5842 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5843
5844 * sysdeps/unix/getegid.S: Remove file.
5845 * sysdeps/unix/geteuid.S: Likewise.
5846
5847 2012-04-24 Roland McGrath <roland@hack.frob.com>
5848
5849 * scripts/check-localplt.awk: New file.
5850 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5851 of diff.
5852 * scripts/data/localplt-generic.data: Add a comment.
5853
5854 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5855 NODE when __dir_mkfile failed.
5856 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5857 Reported by Ludovic Courtès <ludo@gnu.org>.
5858
5859 2012-04-24 Andreas Jaeger <aj@suse.de>
5860
5861 * Makerules (common-clean): Also remove gen-as-const-headers
5862 files.
5863
5864 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5865
5866 * Makerules (native-compile): Do not change working directory for
5867 build. Use $(OUTPUT_OPTION) in command.
5868 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5869
5870 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5871
5872 [BZ #13886]
5873 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5874 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5875 * math/libm-test.inc (floor_test): Add more tests.
5876 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5877
5878 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5879
5880 * sysdeps/unix/getdents.c: Remove file.
5881 * sysdeps/unix/sysv/getdents.c: Likewise.
5882 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5883
5884 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5885 sysdeps/unix/mman/syscalls.list.
5886 (mmap): Likewise.
5887 (mprotect): Likewise.
5888 (msync): Likewise.
5889 (munmap): Likewise.
5890 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5891 * sysdeps/unix/mman/syscalls.list: Remove.
5892 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5893
5894 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5895 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5896 * configure: Regenerated.
5897 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5898 $(libgcc_s_suffix).
5899 * config.make.in (libgcc_s_suffix): Remove variable.
5900
5901 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5902
5903 * sysdeps/unix/sysv/gethostname.c: Move to ...
5904 * sysdeps/posix/gethostname.c: ... here.
5905
5906 * sysdeps/unix/execve.S: Remove file.
5907
5908 * sysdeps/unix/_exit.S: Remove file.
5909
5910 2012-04-23 Andreas Jaeger <aj@suse.de>
5911
5912 [BZ #13739]
5913 * manual/Makefile: Remove make dist support, there's no
5914 need for a stand-alone documentation tar ball.
5915 (TEXI2DVI): Define always, it's not in Makeconfig.
5916 (dist): Removed.
5917 (tar-it): Removed.
5918 (edition): Removed.
5919 (glibc-doc-$(edition).tar): Removed
5920 (%.Z): Removed.
5921 (%.gz): Removed.
5922 (%.uu): Removed.
5923 (ETAGS): Remove, it's in Makeconfig.
5924 (move-if-change): Remove, it's in Makeconfig.
5925
5926 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5927
5928 [BZ #13970]
5929 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5930 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5931 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5932 (strtod_l, strtof_l, strtold_l): Remove __wur.
5933 It is not necessarily an error to ignore strtol's return value.
5934 One can reliably look at the stored endptr to decide whether
5935 the number had valid syntax.
5936
5937 2012-04-21 Andreas Jaeger <aj@suse.de>
5938
5939 [BZ #13739]
5940 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5941
5942 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5943
5944 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5945 * sysdeps/unix/sysv/Versions: Remove file.
5946
5947 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5948
5949 [BZ #13927]
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5951
5952 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5953
5954 [BZ #7064]
5955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5956 version from __vm86.
5957
5958 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5959
5960 * sysdeps/unix/common/lxstat.c: Remove file.
5961 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5962
5963 * sysdeps/unix/sysv/Makefile: Remove file.
5964
5965 * sysdeps/unix/sysv/direct.h: Remove file.
5966
5967 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5968 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5969 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5970 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5971 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5972 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5973 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5974
5975 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5976
5977 * sysdeps/unix/xmknod.c: Remove file.
5978 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5979
5980 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5981
5982 * sysdeps/unix/sysv/i386/time.S: Remove file.
5983
5984 * sysdeps/unix/fxstat.c: Remove file.
5985 * sysdeps/unix/xstat.c: Likewise.
5986 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5987
5988 * sysdeps/unix/sysv/sigaction.c: Remove file.
5989
5990 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5991 (sysdep_headers): Remove variable.
5992 [termio.h not in sysdep_headers] (generated): Likewise.
5993 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5994 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5995 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5996 * sysdeps/unix/sysv/tcflow.c: Likewise.
5997 * sysdeps/unix/sysv/tcflush.c: Likewise.
5998 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5999 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6000 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6001 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6002 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6003
6004 * sysdeps/unix/siglist.c: Remove file.
6005
6006 * sysdeps/unix/getppid.S: Remove file.
6007
6008 * sysdeps/unix/mkdir.c: Remove file.
6009 * sysdeps/unix/rmdir.c: Likewise.
6010
6011 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6012
6013 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6014 ERR_MAX value.
6015 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6016 errlist-compat value.
6017
6018 2012-04-18 David S. Miller <davem@davemloft.net>
6019
6020 * sysdeps/generic/memcopy.h (reg_char): Delete.
6021 * debug/strcat_chk.c: Use char, not reg_char.
6022 * debug/strcpy_chk.c: Likewise.
6023 * debug/strncat_chk.c: Likewise.
6024 * debug/strncpy_chk.c: Likewise.
6025 * string/memchr.c: Likewise.
6026 * string/memrchr.c: Likewise.
6027 * string/rawmemchr.c: Likewise.
6028 * string/strcat.c: Likewise.
6029 * string/strchr.c: Likewise.
6030 * string/strchrnul.c: Likewise.
6031 * string/strcmp.c: Likewise.
6032 * string/strcpy.c: Likewise.
6033 * string/strncat.c: Likewise.
6034 * string/strncmp.c: Likewise.
6035 * string/strncpy.c: Likewise.
6036
6037 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6038
6039 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6040 __builtin_memcopy is called when src and dest ranges are known to not
6041 overlap.
6042
6043 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6044
6045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6046 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6047 fwd_align_merge macro call.
6048 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6049 bwd_align_merge macro call.
6050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6051
6052 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6053
6054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6055 bwd_align_merge macros.
6056 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6057 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6059
6060 2012-04-18 David S. Miller <davem@davemloft.net>
6061
6062 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6063
6064 2012-04-18 Andreas Jaeger <aj@suse.de>
6065
6066 [BZ# 6794]
6067 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6068 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6070
6071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6072 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6074
6075 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6076 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6077 Adjust for changed ldbl-128 files.
6078
6079 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6080 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6081 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6082
6083 2012-04-17 David S. Miller <davem@davemloft.net>
6084
6085 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6086
6087 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6088
6089 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6090 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6091 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6092 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6093 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6094 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6095
6096 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6097
6098 [BZ #6794]
6099 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6100 * math/libm-test.inc: Add ilogb errno and exception tests.
6101 * math/w_ilogb.c: New file: ilogb wrapper.
6102 * math/w_ilogbf.c: New file: ilogbf wrapper.
6103 * math/w_ilogbl.c: New file: ilogbl wrapper.
6104 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6105 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6106 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6107 exception being thrown with 0.0 as argument.
6108 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6109 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6110 exception being thrown with 0.0 as argument.
6111 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6112 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6113 exception being thrown with 0.0 as argument.
6114 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6115 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6116 exception being thrown with 0.0 as argument.
6117 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6118 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6119 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6120 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6122 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6123 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6124 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6125 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6126
6127 2012-04-17 Petr Baudis <pasky@ucw.cz>
6128
6129 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6130 with altivec.
6131
6132 2012-04-16 Marek Polacek <polacek@redhat.com>
6133
6134 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6135
6136 2012-04-16 Marek Polacek <polacek@redhat.com>
6137
6138 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6139 operands of fdivp instruction.
6140
6141 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6142
6143 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6144 * elf/tst-auditmod3b.c: Likewise.
6145 * elf/tst-auditmod4b.c: Likewise.
6146 * elf/tst-auditmod5b.c: Likewise.
6147 * elf/tst-auditmod6b.c: Likewise.
6148 * elf/tst-auditmod6c.c: Likewise.
6149 * elf/tst-auditmod7b.c: Likewise.
6150 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6151 * sysdeps/x86_64/preconfigure.in: Likewise.
6152 * sysdeps/x86_64/preconfigure: Regenerated.
6153
6154 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6155
6156 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6157 __ILP32__.
6158
6159 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6160
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6162 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6163
6164 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6165
6166 [BZ #13973]
6167 * locale/iso-639.def: Fix gl language name. Spotted by
6168 Yaron Shahrabani.
6169
6170 2012-04-12 Roland McGrath <roland@hack.frob.com>
6171
6172 [BZ #2074]
6173 * libio/libio.h (__io_write_fn): Update comment.
6174
6175 2012-04-12 Petr Baudis <pasky@ucw.cz>
6176
6177 [BZ #2074]
6178 * stdio.texi (Hook Functions): The user provided writer function
6179 is not allowed to return -1.
6180
6181 2012-04-11 David S. Miller <davem@davemloft.net>
6182
6183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6184
6185 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6186
6187 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6188 Add a leading slash to rtkaio.
6189
6190 2012-04-11 Jim Meyering <meyering@redhat.com>
6191
6192 [BZ #11959]
6193 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6194 It is not necessarily an error to ignore fwrite's return
6195 value. One can reliably use ferror to test for errors after
6196 the fact.
6197
6198 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6199
6200 * bits/types.h (__snseconds_t): New type.
6201 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6202
6203 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6205 (__SNSECONDS_T_TYPE): Likewise.
6206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6207 (__SNSECONDS_T_TYPE): Likewise.
6208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6209 (__SNSECONDS_T_TYPE): Likewise.
6210
6211 2012-04-10 Andreas Jaeger <aj@suse.de>
6212
6213 [BZ #2636]
6214 * manual/time.texi (Processor Time): Return type of times is
6215 elapsed real time since an arbitrary point in the past.
6216 (CPU Time): Move CLK_TCK from here...
6217 (Processor Time): ...to here. Correct description.
6218 * manual/conf.texi (Constants for Sysconf): Correct description of
6219 _SC_CLK_TCK.
6220
6221 2012-04-10 David S. Miller <davem@davemloft.net>
6222
6223 [BZ #13967]
6224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6225 where the is a gap between DT_REL(A) and DT_JMPREL.
6226
6227 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6228
6229 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6230 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6231 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6232
6233 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6234
6235 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6236 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6237 (dl_main): Handle --inhibit-cache.
6238 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6239 _dl_inhibit_cache.
6240 * elf/dl-load.c (_dl_map_object): Use it.
6241 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6242
6243 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6244
6245 [BZ #13872]
6246 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6247 (__ieee754_powl): Saturate large exponents rather than testing for
6248 overflow of y*log2(x).
6249 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6250 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6251 exceptions.
6252
6253 [BZ #11521]
6254 * math/s_ctan.c: Include <float.h>.
6255 (__ctan): Avoid internal overflow or cancellation in calculating
6256 denominator.
6257 * math/s_ctanf.c: Likewise.
6258 * math/s_ctanl.c: Likewise.
6259 * math/s_ctanh.c: Likewise.
6260 * math/s_ctanhf.c: Likewise.
6261 * math/s_ctanhl.c: Likewise.
6262 * math/libm-test.inc (ctan_test): Add more tests.
6263 (ctanh_test): Likewise.
6264 * sysdeps/i386/fpu/libm-test-ulps: Update.
6265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266
6267 2012-04-09 Andreas Jaeger <aj@suse.de>
6268
6269 [BZ #6894]
6270 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6271 is an optional BSD extension.
6272
6273 [BZ #10254]
6274 * manual/stdio.texi (Opening Streams): Document additional fopen
6275 parameters.
6276
6277 2012-04-09 Roland McGrath <roland@hack.frob.com>
6278
6279 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6280 %eax without telling the compiler.
6281
6282 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6283
6284 [BZ # 13963]
6285 * manual/install.texi: Use sourceware.org.
6286
6287 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6288
6289 [BZ #13873]
6290 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6291 (__ieee754_pow): Generate overflow and underflow using huge*huge
6292 and tiny*tiny rather than just returning constant infinity or zero
6293 for large exponents.
6294 * math/libm-test.inc (pow_test): Require overflow exceptions for
6295 applicable cases of large exponents.
6296
6297 [BZ #706]
6298 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6299 (__ieee754_pow): Use iterative multiplication algorithm only for
6300 integer exponents with absolute value below 1024. Check for odd
6301 integer exponents when using algorithm for real exponents.
6302 * math/libm-test.inc (pow_test): Add more tests.
6303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6304
6305 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6306
6307 [BZ #13705]
6308 * math/libm-test.inc (exp_test): Do not allow overflow exception
6309 on underflow test.
6310
6311 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6312
6313 [BZ #13705]
6314 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6315 instead of __kernel_standard_f.
6316
6317 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6318
6319 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6320 * sysdeps/x86_64/memset_chk.S: Likewise.
6321
6322 2012-04-08 Andreas Jaeger <aj@suse.de>
6323
6324 [BZ #10153]
6325 * manual/startup.texi (Environment Access): Describe return value
6326 for putenv and setenv.
6327
6328 [BZ #6895]
6329 * manual/filesys.texi (Directory Entries): Add description for
6330 DT_LNK.
6331
6332 [BZ #6890]
6333 * manual/filesys.texi (Directory Entries): Clarify that it's file
6334 system not operating system in the description of DT_UNKNOWN.
6335
6336 [BZ #6578]
6337 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6338
6339 2012-04-08 Stephen Compall <s11@member.fsf.org>
6340
6341 [BZ #6649]
6342 * manual/llio.texi (Opening and Closing Files): Add cross
6343 reference to explain mode argument.
6344
6345 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6346
6347 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6348 * sysdeps/x86_64/memset_chk.S: Likewise.
6349
6350 2012-04-07 David S. Miller <davem@davemloft.net>
6351
6352 * elf/elf.h (R_SPARC_WDISP10): Define.
6353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6354 R_SPARC_SIZE32.
6355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6356 R_SPARC_SIZE64 and R_SPARC_H34.
6357
6358 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6359
6360 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6361 conditions and remove no longer applicable assertion.
6362
6363 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6364
6365 * bits/byteswap.h: Include <features.h>.
6366 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6367 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6368
6369 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6370
6371 * bits/byteswap.h (__bswap_16): Removed.
6372 Include <bits/byteswap-16.h> to get __bswap_16.
6373 * sysdeps/i386/bits/byteswap.h: Likewise.
6374 * sysdeps/s390/bits/byteswap.h: Likewise.
6375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6376 * bits/byteswap-16.h: New file.
6377 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6378 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6379 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6380 * string/Makefile (headers): Add bits/byteswap-16.h.
6381
6382 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6383
6384 [BZ #13895]
6385 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6386 extra indirection.
6387 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6388 * nss/tst-nss-static.c: New.
6389
6390 2012-04-06 Robert Millan <rmh@gnu.org>
6391
6392 [BZ #6486]
6393 * manual/llio.texi (File Position Primitive): lseek
6394 refers to WHENCE when it really means OFFSET.
6395
6396 2012-04-06 Andreas Jaeger <aj@suse.de>
6397
6398 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6399 strncmp declarations.
6400
6401 * abilist/libc.abilist: Add __poll and __ppoll.
6402
6403 2012-04-05 David S. Miller <davem@davemloft.net>
6404
6405 * scripts/check-local-headers.sh: Accept a host triplet in the
6406 path matched by the exclude regexp.
6407
6408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6409 definition.
6410 * sysdeps/powerpc/powerpc32/dl-machine.h
6411 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6412 * sysdeps/s390/s390-32/dl-machine.h
6413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6414 * sysdeps/sparc/sparc32/dl-machine.h
6415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6416 * sysdeps/sparc/sparc64/dl-machine.h
6417 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6418
6419 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6420 lazy binding.
6421 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6422 undefined symbol errors.
6423
6424 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6425 DT_NEEDED entries.
6426
6427 2012-04-05 Michael Matz <matz@suse.de>
6428
6429 [BZ #13592]
6430 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6431
6432 2012-04-05 Andreas Jaeger <aj@suse.de>
6433
6434 [BZ #13908]
6435 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6436 comment.
6437
6438 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6439
6440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6441 which ROUND is no valid rounding mode.
6442
6443 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6444
6445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6446 read again.
6447 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6448
6449 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6450
6451 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6452 an exception using FPU order intentionally.
6453
6454 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6455
6456 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6457 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6458 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6459 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6460
6461 2012-04-05 Simon Josefsson <simon@josefsson.org>
6462
6463 [BZ #12340]
6464 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6465 EINVAL when BUFLEN is too smal.
6466
6467 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6468
6469 [BZ #13553]
6470 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6471 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6472
6473 2012-04-03 Andreas Jaeger <aj@suse.de>
6474
6475 [BZ #13938]
6476 * manual/setjmp.texi (System V contexts): Fix sentence.
6477
6478 [BZ #13926]
6479 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6480 New macro for this case.
6481 [!__GNUC__] (__bswap_64): New inline function for this case.
6482 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6483 * bits/byteswap.h: Likewise.
6484 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6485 ull, guard with __GLIBC_HAVE_LONG_LONG.
6486
6487 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6488 __GLIBC_HAVE_LONG_LONG.
6489
6490 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6491 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6492
6493 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6494
6495 [BZ #13691]
6496 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6497 inptr and inend, rather than using last_ch.
6498
6499 2012-04-02 David S. Miller <davem@davemloft.net>
6500
6501 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6502 * stdio-common/printf-parse.h (read_int): Change return type to
6503 'int', return -1 on INT_MAX overflow.
6504 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6505 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6506 overflows INT_MAX. Check for overflow of in-format-string precision
6507 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6508 SIZE_MAX not INT_MAX for integer overflow test.
6509 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6510 skip the construct in the format string but do not record anything.
6511 * stdio-common/bug22.c: Adjust to test both width/prevision
6512 INT_MAX overflow as well as total length INT_MAX overflow. Check
6513 explicitly for proper errno values.
6514
6515 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6516
6517 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6518 CHAR_MAX.
6519 * string/test-strcmp.c [! WIDE]: Likewise.
6520 * time/tst-mktime2.c: Likewise for INT_MAX.
6521 * string/test-string.h: #include <sys/param.h> for MIN.
6522
6523 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6524 * sysdeps/i386/init-first.c (init): Likewise.
6525 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6526 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6527 * sysdeps/sh/init-first.c (init): Likewise.
6528
6529 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6530
6531 * po/ru.po: Update from translation team.
6532 * po/vi.po: Likewise.
6533
6534 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6535
6536 * resolv/nss_dns/dns-host.c: Merge copyright years.
6537
6538 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6539
6540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6541 Optimize memcpy with prefetch if
6542 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6543 src, dst pointers have unequal 16 byte alignments.
6544
6545 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6546
6547 [BZ #13928]
6548 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6549 from a CNAME entry and return the minimum ttl for the query.
6550 (gaih_getanswer_slice): Likewise.
6551
6552 2012-03-30 Jeff Law <law@redhat.com>
6553
6554 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6555 due to long keys.
6556 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6557 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6558
6559 * resolv/nss_dns/dns-host.c: Update copyright year.
6560
6561 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6562
6563 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6564 requests to save a system call. Fix check that all bytes are sent.
6565
6566 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6567 comments for sendmmsg.
6568
6569 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6570
6571 [BZ #13691]
6572 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6573 with only 1 character between 0x0041 and 0x01b0.
6574 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6575 * wcsmbs/tst-mbsnrtowcs.c: New file.
6576
6577 2012-03-29 David S. Miller <davem@davemloft.net>
6578
6579 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6580 small copies by hand.
6581
6582 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6583
6584 [BZ #13761]
6585 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6586 _nss_compat_initgroups_dyn): Fall back to malloc/free
6587 for large group memberships.
6588
6589 2012-03-28 David S. Miller <davem@davemloft.net>
6590
6591 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6592 that branches into memcpy.
6593 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6594 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6595 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6596 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6598 bits.
6599 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6600 implementation too.
6601 * sysdeps/sparc/mempcpy.S: New file.
6602
6603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6604 the IFUNC routine in the libc case.
6605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6606
6607 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6608 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6609 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6610 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6611 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6612 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6613 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6614 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6615
6616 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6617 loop to 256 bytes instead of 64 bytes and fix test signedness.
6618
6619 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6620 * sysdeps/sparc/sparc32/Makefile: rather than here...
6621 * sysdeps/sparc/sparc64/Makefile: and here.
6622
6623 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6624
6625 * malloc/mallocbug.c: Avoid warnings about unused variables.
6626
6627 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6628
6629 [BZ #13760]
6630 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6631 in the right place. Discard and retry query if response is
6632 larger than input buffer size.
6633
6634 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6635
6636 [BZ #369]
6637 [BZ #2678]
6638 [BZ #3866]
6639 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6640 x for large integer exponent.
6641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6642 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6643 sign of result as needed afterwards.
6644 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6645 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6646 result for underflowing pow the same as for overflow.
6647 (__kernel_standard_l): Handle powl overflow and underflow here
6648 rather than calling __kernel_standard.
6649 * math/libm-test.inc (pow_test): Add more tests.
6650
6651 [BZ #3868]
6652 [BZ #13879]
6653 [BZ #13910]
6654 [BZ #13911]
6655 [BZ #13912]
6656 [BZ #13913]
6657 [BZ #13915]
6658 [BZ #13916]
6659 [BZ #13917]
6660 [BZ #13918]
6661 [BZ #13919]
6662 [BZ #13920]
6663 [BZ #13921]
6664 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6665 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6666 (__kernel_standard_l): New function.
6667 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6668 __kernel_standard.
6669 * math/w_acosl.c (__acosl): Likewise.
6670 * math/w_asinl.c (__asinl): Likewise.
6671 * math/w_atan2l.c (__atan2l): Likewise.
6672 * math/w_atanhl.c (__atanhl): Likewise.
6673 * math/w_coshl.c (__coshl): Likewise.
6674 * math/w_exp10l.c (__exp10l): Likewise.
6675 * math/w_exp2l.c (__exp2l): Likewise.
6676 * math/w_fmodl.c (__fmodl): Likewise.
6677 * math/w_hypotl.c (__hypotl): Likewise.
6678 * math/w_j0l.c (__j0l, __y0l): Likewise.
6679 * math/w_j1l.c (__j1l, __y1l): Likewise.
6680 * math/w_jnl.c (__jnl, __ynl): Likewise.
6681 * math/w_lgammal.c (__lgammal): Likewise.
6682 * math/w_log10l.c (__log10l): Likewise.
6683 * math/w_log2l.c (__log2l): Likewise.
6684 * math/w_logl.c (__logl): Likewise.
6685 * math/w_powl.c (__powl): Likewise.
6686 * math/w_remainderl.c (__remainderl): Likewise.
6687 * math/w_scalbl.c (sysv_scalbl): Likewise.
6688 * math/w_sinhl.c (__sinhl): Likewise.
6689 * math/w_sqrtl.c (__sqrtl): Likewise.
6690 * math/w_tgammal.c (__tgammal): Likewise.
6691 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6692 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6693 * math/libm-test.inc (acos_test): Add more tests.
6694 (acosh_test): Likewise.
6695 (asin_test): Likewise.
6696 (atanh_test): Likewise.
6697 (exp_test): Likewise.
6698 (exp10_test): Likewise.
6699 (exp2_test): Likewise.
6700 (expm1_test): Likewise.
6701 (lgamma_test): Likewise.
6702 (log_test): Likewise.
6703 (log10_test): Likewise.
6704 (log1p_test): Likewise.
6705 (log2_test): Likewise.
6706 (pow_test): Do not allow some spurious overflow exceptions.
6707 (sqrt_test): Add more tests.
6708 (tgamma_test): Likewise.
6709 (y0_test): Likewise.
6710 (y1_test): Likewise.
6711 (yn_test): Likewise.
6712
6713 2012-03-27 Anton Blanchard <anton@samba.org>
6714
6715 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6716 MAP_HUGETLB.
6717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6720
6721 2012-03-27 David S. Miller <davem@davemloft.net>
6722
6723 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6724
6725 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6726 have-as-vis3 check.
6727
6728 2012-03-27 Andreas Jaeger <aj@suse.de>
6729
6730 * sysdeps/x86_64/elf/configure.in: Moved to ...
6731 * sysdeps/x86_64/configure.in: ... here.
6732 * sysdeps/x86_64/elf/start.S: Moved to ...
6733 * sysdeps/x86_64/start.S: ... here.
6734 * sysdeps/x86_64/elf/configure: Delete.
6735
6736 * sysdeps/x86_64/configure.in: Merge contents from
6737 sysdeps/i386/configure.in (without i686 check).
6738
6739 * sysdeps/i386/elf/Versions: Merge into ...
6740 * sysdeps/i386/Versions: ... this.
6741 * sysdeps/i386/elf/Versions: Delete file.
6742 * sysdeps/i386/elf/start.S: Moved to ...
6743 * sysdeps/i386/start.S: ...here.
6744 * sysdeps/i386/elf/configure.in: Merge into...
6745 * sysdeps/i386/configure.in: ...here.
6746 * sysdeps/i386/elf/configure.in: Delete file.
6747 * sysdeps/i386/elf/configure: Delete file.
6748
6749 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6750 * debug/backtracesyms.c: ... here.
6751 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6752 * debug/backtracesymsfd.c: ... here.
6753 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6754 * sysdeps/generic/ifunc-sel.h: ... here.
6755
6756 * sysdeps/unix/i386/start.c: Delete file.
6757 * sysdeps/unix/sparc/start.c: Delete file.
6758 * sysdeps/unix/start.c: Delete file.
6759
6760 * sysdeps/sh/elf/configure.in: Moved to ...
6761 * sysdeps/sh/configure.in: ... here.
6762 * sysdeps/sh/elf/start.S: Moved to ...
6763 * sysdeps/sh/start.S: ... here.
6764 * sysdeps/sh/elf/configure: Delete file.
6765
6766 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6767 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6768 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6769 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6770 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6771 * sysdeps/powerpc/powerpc64/start.S: here.
6772 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6773 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6774 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6775 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6776 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6777
6778 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6779 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6780 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6781 * sysdeps/powerpc/powerpc32/start.S: ... here.
6782 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6783 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6784 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6785
6786 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6787 * sysdeps/powerpc/ifunc-sel.h: ... here.
6788 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6789 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6790
6791 * sysdeps/sparc/elf/configure.in: Moved to ...
6792 * sysdeps/sparc/configure.in: ... here.
6793 * sysdeps/sparc/elf/configure: Delete file.
6794 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6795 * sysdeps/sparc/sparc32/start.S: ... here.
6796 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6797 * sysdeps/sparc/sparc64/start.S: ... here.
6798 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6799 * sysdeps/sparc/sparc32/Makefile: ... this.
6800 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6801 * sysdeps/sparc/sparc64/Makefile: ... this.
6802
6803 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6804 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6805 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6806 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6807 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6808 * sysdeps/s390/s390-32/setjmp.S: ... here.
6809 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6810 * sysdeps/s390/s390-32/configure.in: ... here.
6811 * sysdeps/s390/s390-32/elf/configure: Delete file.
6812 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6813 * sysdeps/s390/s390-32/start.S: ... here.
6814
6815 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6816 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6817 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6818 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6819 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6820 * sysdeps/s390/s390-64/setjmp.S: ... here.
6821 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6822 * sysdeps/s390/s390-64/configure.in: ... here
6823 * sysdeps/s390/s390-64/elf/configure: Delete file.
6824 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6825 * sysdeps/s390/s390-64/start.S: ... here.
6826 * sysdeps/s390/s390-64/elf/configure: Delete.
6827
6828 * configure.in: Remove support for elf directories in sysdeps.
6829
6830 * configure: Regenerated.
6831 * sysdeps/i386/configure: Regenerated.
6832 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6833 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6834 * sysdeps/s390/s390-32/configure: Regenerated.
6835 * sysdeps/s390/s390-64/configure: Regenerated.
6836 * sysdeps/sh/configure: Regenerated.
6837 * sysdeps/sparc/configure: Regenerated.
6838 * sysdeps/x86_64/configure: Regenerated.
6839
6840 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6841
6842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6843
6844 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6845 denormal result into account.
6846
6847 2012-03-25 Roland McGrath <roland@hack.frob.com>
6848
6849 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6850 Reported by Allan McRae <allan@archlinux.org>.
6851
6852 2012-03-23 Jeff Law <law@redhat.com>
6853
6854 * nss/getnssent.c (__nss_getent): Fix typo.
6855
6856 2012-03-23 David S. Miller <davem@davemloft.net>
6857
6858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6859
6860 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6861
6862 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6863 to pad to uint64_t for each field.
6864 (dl_tls_index): Replace unsigned long with uint64_t.
6865
6866 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6867 Paul Pluzhnikov <ppluzhnikov@google.com>
6868
6869 [BZ #6528]
6870 * grp/Makefile (otherlibs): Don't set it.
6871 * inet/Makefile (otherlibs): Likewise.
6872 * login/Makefile (otherlibs): Likewise.
6873 * nscd/Makefile (otherlibs): Likewise.
6874 * posix/Makefile (otherlibs): Likewise.
6875 * pwd/Makefile (otherlibs): Likewise.
6876 * rt/Makefile (otherlibs): Likewise.
6877 * sunrpc/Makefile (otherlibs): Likewise.
6878 * nss/Makefile (otherlibs): Likewise.
6879 Add libnss_files to routines and static-only-routines.
6880 ($(objpfx)getent): Remove rule.
6881 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6882 static-only-routines.
6883
6884 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6885
6886 [BZ #13892]
6887 * math/s_cexp.c: Include <float.h>.
6888 (__cexp): Handle exp result overflowing not necessarily
6889 overflowing both real and imaginary parts of result.
6890 * math/s_cexpf.c: Likewise.
6891 * math/s_cexpl.c: Likewise.
6892 * math/libm-test.inc (cexp_test): Add more tests.
6893 * sysdeps/i386/fpu/libm-test-ulps: Update.
6894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6895
6896 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6897
6898 * include/link.h (ELFW): New macro.
6899 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6900 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6901
6902 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6903
6904 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6905 with uint64_t.
6906
6907 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6908
6909 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6910 declaration.
6911 (struct La_x32_retval): Likewise.
6912
6913 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6914
6915 * sysdeps/x86_64/preconfigure.in: New file.
6916 * sysdeps/x86_64/preconfigure: New generated file.
6917
6918 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6919
6920 [BZ #13824]
6921 * math/e_exp2l.c: Include <float.h>.
6922 (__ieee754_exp2l): Handle overflow and underflow cases
6923 separately. Only pass fractional part of argument to
6924 __ieee754_expl.
6925 * math/libm-test.inc (exp2_test): Add more tests.
6926
6927 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6928 negating x to take absolute value.
6929 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6930 Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6933 Likewise.
6934 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6935 computing low part if x was negated.
6936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6937
6938 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6939
6940 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6941 la_x32_gnu_pltexit.
6942 (pltexit): Cast int_retval to ptrdiff_t.
6943 * elf/tst-auditmod3b.c: Likewise.
6944 * elf/tst-auditmod4b.c: Likewise.
6945 * elf/tst-auditmod5b.c: Likewise.
6946 * elf/tst-auditmod6b.c: Likewise.
6947 * elf/tst-auditmod6c.c: Likewise.
6948 * elf/tst-auditmod7b.c: Likewise.
6949
6950 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6951 and x32_gnu_pltexit.
6952
6953 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6954 __ELF_NATIVE_CLASS.
6955 (La_x32_regs): New macro.
6956 (La_x32_retval): Likewise.
6957 (la_x32_gnu_pltenter): New function prototype.
6958 (la_x32_gnu_pltexit): Likewise.
6959
6960 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6961
6962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6963 exponent.
6964
6965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6966
6967 * configure.in (libc_cv_cc_nofma): Check for option to disable
6968 generation of FMA instructions.
6969 * configure: Regenerate.
6970 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6971 * sysdeps/ieee754/dbl-64/Makefile: New file.
6972 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6973 Remove brandred-fma4.
6974 (CFLAGS-brandred-fma4.c): Remove.
6975 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6976 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6977 define.
6978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6979 define.
6980
6981 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6982
6983 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6984 LLONG_MAX != LONG_MAX.
6985 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6986 (_fitoa_word): Likewise.
6987 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6988 LLONG_MAX != LONG_MAX.
6989 * stdio-common/_itowa.h: Include <_itoa.h>.
6990 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6991 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6992 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6993 only if not defined.
6994 (_ITOA_WORD_TYPE): Likewise.
6995 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6996 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6997
6998 2012-03-21 David S. Miller <davem@davemloft.net>
6999
7000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7001
7002 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7003
7004 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7005 of x86_64 when setting libc_cv_slibdir, libdir and
7006 libc_cv_localedir.
7007 * sysdeps/unix/sysv/linux/configure: Regenerated.
7008
7009 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7010
7011 * manual/lang.texi (Old Varargs): Remove section.
7012 (How Variadic): Update menu.
7013 (va_start): Do not mention varargs.h.
7014
7015 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7016 Joseph Myers <joseph@codesourcery.com>
7017
7018 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7019 link test.
7020 * configure: Regenerated.
7021
7022 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7023
7024 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7025 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7026 conformtest.pl
7027
7028 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7029
7030 * NOTES: Remove.
7031 * Makefile (files-for-dist): Remove NOTES.
7032 (NOTES): Remove rule.
7033 * README: Don't refer to NOTES.
7034 * manual/creature.texi: Don't include macros.texi.
7035 * manual/intro.texi (creature.texi): Remove comment referring to
7036 NOTES.
7037
7038 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7039 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7040 * configure: Regenerated.
7041 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7042 LIBC_TRY_CC_OPTION.
7043 (libc_cv_as_i686): Likewise.
7044 (libc_cv_cc_avx): Likewise.
7045 (libc_cv_cc_sse2avx): Likewise.
7046 (libc_cv_cc_fma4): Likewise.
7047 (libc_cv_cc_novzeroupper): Likewise.
7048 * sysdeps/i386/configure: Regenerated.
7049
7050 [BZ #13883]
7051 * sysdeps/i386/fpu/s_cexp.S: Remove.
7052 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7053 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7054 * math/libm-test.inc (cexp_test): Add more tests.
7055 * sysdeps/i386/fpu/libm-test-ulps: Update.
7056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7057
7058 2012-03-21 Allan McRae <allan@archlinux.org>
7059
7060 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7061
7062 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7063
7064 [BZ #13871]
7065 * math/w_exp2.c: Do not include <float.h>.
7066 (o_threshold, u_threshold): Remove.
7067 (__exp2): Calculate result before checking finiteness and calling
7068 __kernel_standard.
7069 * math/w_exp2f.c: Likewise.
7070 * math/w_exp2l.c: Likewise.
7071 * math/libm-test.inc (exp2_test): Require overflow exception for
7072 1e6 input.
7073
7074 [BZ #3866]
7075 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7076 range of signed 64-bit integers before using fistpll. Remove
7077 checks for whether integers fit in mantissa bits.
7078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7079 the range of signed 32-bit integers before using fistpl. Remove
7080 checks for whether integers fit in mantissa bits.
7081 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7082 (__ieee754_powl): Test for y outside the range of signed 64-bit
7083 integers before using fistpll. Reduce 64-bit values to 63-bit
7084 ones as needed.
7085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7086 divide-by-zero is raised for zero to large negative powers.
7087 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7088 (__ieee754_powl): Test for y outside the range of signed 64-bit
7089 integers before using fistpll. Reduce 64-bit values to 63-bit
7090 ones as needed.
7091 * math/libm-test.inc (pow_test): Add more tests.
7092
7093 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7094
7095 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7096 <stdio-common/_itoa.h>.
7097 * debug/segfault.c: Likewise.
7098 * elf/dl-cache.c: Likewise.
7099 * elf/dl-minimal.c: Likewise.
7100 * elf/dl-misc.c: Likewise.
7101 * elf/dl-sysdep.c: Likewise.
7102 * elf/dl-version.c: Likewise.
7103 * elf/rtld.c: Likewise.
7104 * hurd/hurdsock.c: Likewise.
7105 * hurd/lookup-retry.c: Likewise.
7106 * malloc/malloc.c: Likewise.
7107 * malloc/mtrace.c: Likewise.
7108 * nscd/nscd_getgr_r.c: Likewise.
7109 * nscd/nscd_getpw_r.c: Likewise.
7110 * nscd/nscd_getserv_r.c: Likewise.
7111 * posix/getopt_init.c: Likewise.
7112 * posix/wordexp.c: Likewise.
7113 * stdio-common/_itoa.c: Likewise.
7114 * stdio-common/printf_fphex.c: Likewise.
7115 * stdio-common/vfprintf.c: Likewise.
7116 * string/_strerror.c: Likewise.
7117 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7118 * sysdeps/i386/i686/hp-timing.h: Likewise.
7119 * sysdeps/mach/_strerror.c: Likewise.
7120 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7121 * sysdeps/mach/hurd/sethostid.c: Likewise.
7122 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7123 * sysdeps/mach/xpg-strerror.c: Likewise.
7124 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7125 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7126 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7127 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7128 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7129 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7131 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7132 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7133 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7134 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7135 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7136 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7137 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7138 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7140 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7142 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7143 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7144 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7145
7146 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7147
7148 * stdio-common/_itoa.h: Moved to ...
7149 * sysdeps/generic/_itoa.h: Here.
7150
7151 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7152
7153 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7154 instead of "_itoa.h" and "_itowa.h".
7155 * stdio-common/vfprintf.: Likewise.
7156
7157 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7158
7159 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7160 <bits/wordsize.h>.
7161 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7162 (__signbit): Likwise.
7163 (llrintf): Likwise.
7164 (llrint): Likwise.
7165
7166 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7167
7168 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7169 __WORDSIZE != 64.
7170
7171 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7172
7173 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7174 OVERFLOW_EXCEPTION_OK.
7175 * math/libm-test.inc ("Philosophy"): Update comment about
7176 exception testing.
7177 (OVERFLOW_EXCEPTION): Define.
7178 (OVERFLOW_EXCEPTION_OK): Likewise.
7179 (INVALID_EXCEPTION_OK): Renumber.
7180 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7181 (IGNORE_ZERO_INF_SIGN): Likewise.
7182 (test_exceptions): Handle FE_OVERFLOW.
7183 (exp10_test): Expect overflow exceptions.
7184 (exp2_test): Likewise.
7185 (expm1_test): Likewise.
7186 (nextafter_test): Likewise.
7187 (pow_test): Likewise.
7188 (scalbn_test): Likewise.
7189 (scalbln_test): Likewise.
7190
7191 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7192
7193 * sysdeps/x86_64/bits/atomic.h
7194 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7195 64bit integer.
7196 (atomic_exchange_acq): Likewise.
7197 (__arch_exchange_and_add_body): Likewise.
7198 (__arch_add_body): Likewise.
7199 (atomic_add_negative): Likewise.
7200 (atomic_add_zero): Likewise.
7201
7202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7203
7204 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7205 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7206
7207 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7208
7209 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7210 Check __x86_64__ instead of __WORDSIZE.
7211
7212 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7213
7214 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7215
7216 2012-03-19 David S. Miller <davem@davemloft.net>
7217
7218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7219
7220 * sysdeps/sparc/fpu/fenv_private.h: New file.
7221 * sysdeps/sparc/fpu/math_private.h: Use it.
7222 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7223 Remove.
7224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7225 (libc_feholdexcept_setroundl): Remove.
7226 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7227 Remove.
7228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7230
7231 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7232
7233 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7234 int64_t instead of long int.
7235 (INSERT_WORDS64): Likwise.
7236
7237 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7238
7239 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7240 _Unwind_GetCFA return to _Unwind_Ptr first.
7241
7242 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7243
7244 [BZ #13629]
7245 * math/s_clog.c: Include <float.h>.
7246 (__clog): Scale large or subnormal inputs.
7247 * math/s_clogf.c: Likewise.
7248 * math/s_clogl.c: Likewise.
7249 * math/s_clog10.c: Include <float.h>.
7250 (M_LOG10_2): Define.
7251 (__clog10): Scale large or subnormal inputs.
7252 * math/s_clog10f.c: Likewise.
7253 * math/s_clog10l.c: Likewise.
7254 * math/libm-test.inc (clog_test): Add more tests.
7255 (clog10_test): Likewise.
7256 * sysdeps/i386/fpu/libm-test-ulps: Update.
7257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7258
7259 [BZ #11451]
7260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7261 x and y.
7262 * math/libm-test.inc (atan2_test): Add another test.
7263
7264 * Makerules (common-objdir-compile): Remove.
7265 * sysdeps/unix/Makefile (config-generated): Do not add
7266 $(unix-generated) to variable.
7267 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7268 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7269 Remove rule.
7270 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7271 Likewise.
7272 [generic bits/local_lim.h] (before-compile): Do not append to
7273 variable.
7274 [generic bits/local_lim.h] (common-generated): Likewise.
7275 [generic sys/param.h] (before-compile): Do not append to variable.
7276 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7277 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7278 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7279 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7280 include.
7281 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7282 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7283 [generic sys/param.h] ($(addprefix
7284 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7285 [generic sys/param.h] (common-generated): Do not append to
7286 variable.
7287 [generic sys/param.h] (sysdep_headers): Likewise.
7288 [generic bits/errno.h] (before-compile): Do not append to
7289 variable.
7290 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7291 rule.
7292 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7293 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7294 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7295 [generic bits/errno.h] (common-generated): Do not append to
7296 variable.
7297 [generic bits/ioctls.h] (before-compile): Do not append to
7298 variable.
7299 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7300 rule.
7301 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7302 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7303 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7304 rule.
7305 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7306 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7307 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7308 [generic bits/ioctls.h] (common-generated): Do not append to
7309 variable.
7310 [generic sys/syscall.h] (syscall.h): Remove variable.
7311 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7312 rule.
7313 [generic sys/syscall.h] (before-compile): Do not append to
7314 variable.
7315 [generic sys/syscall.h] (common-generated): Likewise.
7316 * sysdeps/unix/errnos-tmpl.c: Remove file.
7317 * sysdeps/unix/errnos.awk: Likewise.
7318 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7319 * sysdeps/unix/ioctls.awk: Likewise.
7320 * sysdeps/unix/mk-local_lim.c: Likewise.
7321 * sysdeps/unix/snarf-ioctls: Likewise.
7322
7323 2012-03-19 Richard Henderson <rth@twiddle.net>
7324
7325 * sysdeps/i386/fpu/fenv_private.h: New file.
7326 * sysdeps/i386/fpu/math_private.h: Use it.
7327 (math_opt_barrier, math_force_eval): Remove.
7328 (libc_feholdexcept_setround_53bit): Remove.
7329 (libc_feupdateenv_53bit): Remove.
7330 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7331 (math_opt_barrier, math_force_eval): Remove.
7332 (libc_feholdexcept): Remove.
7333 (libc_feholdexcept_setround): Remove.
7334 (libc_fetestexcept, libc_fesetenv): Remove.
7335 (libc_feupdateenv_test): Remove.
7336 (libc_feupdateenv, libc_feholdsetround): Remove.
7337 (libc_feresetround): Remove.
7338
7339 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7340 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7341
7342 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7343 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7344 (libc_feupdateenv_testl): New.
7345 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7346 (libc_feupdateenv_testf): New.
7347 (libc_feupdateenv): Use libc_feupdateenv_test.
7348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7349 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7350
7351 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7352 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7353 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7354 (libc_feresetround_noex): New.
7355 (libc_feresetround_noexf): New.
7356 (libc_feresetround_noexl): New.
7357 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7358 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7359 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7360 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7361 SET_RESTORE_ROUND.
7362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7364 (__cos): Likewise.
7365 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7366 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7367 SET_RESTORE_ROUND_NOEX.
7368 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7369 SET_RESTORE_ROUND_NOEXF.
7370 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7371 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7372 (libc_feholdsetroundf): New.
7373 (libc_feresetround, libc_feresetroundf): New.
7374
7375 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7376 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7377 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7378
7379 * sysdeps/generic/math_private.h: Include <fenv.h>.
7380 (default_libc_feholdexcept): New.
7381 (default_libc_feholdexcept_setround): New.
7382 (default_libc_fesetenv, default_libc_feupdateenv): New.
7383 (libc_feholdexcept): Only define if undefined.
7384 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7385 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7386 (libc_feholdexcept_setroundl): Likewise.
7387 (libc_feholdexcept_setround_53bit): Likewise.
7388 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7389 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7390 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7391 (libc_feupdateenv_53bit): Likewise.
7392 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7393 (libc_feholdexcept): Convert from macro to inline function.
7394 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7395 (libc_fesetenv, libc_feupdateenv): Likewise.
7396
7397 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7398 not previously defined.
7399 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7400 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7401 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7402 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7403 * sysdeps/ieee754/flt-32/math_private.h: New file.
7404 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7405 math_private.h below SET_FLOAT_WORD.
7406 (__isnan, __isinf_ns, __finite): Remove.
7407 (__isnanf, __isinf_nsf, __finitef): Remove.
7408
7409 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7410
7411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7412
7413 2012-03-17 David S. Miller <davem@davemloft.net>
7414
7415 [BZ #6471]
7416 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7417 for 2.16.
7418
7419 2012-03-16 David S. Miller <davem@davemloft.net>
7420
7421 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7422 warnings.
7423
7424 [BZ #6471]
7425 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7426 properly.
7427 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7428 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7429 sysdep_routines when subdir is sysvipc.
7430 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7431 __getshmlba helper.
7432
7433 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7434
7435 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7436
7437 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7438 [__LP64__].
7439
7440 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7441
7442 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7443 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7444 (__lround): Renamed to ...
7445 (__llround): This. Replace long int with long long int.
7446 Define lround functions as aliases of llround functions.
7447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7448
7449 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7450
7451 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7452 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7453 adresses to uintptr_t. Replace "long int" and "unsigned long
7454 int" with "greg_t" on va_arg.
7455
7456 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7457
7458 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7459 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7460
7461 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7462 Move e_machine check before EI_CLASS check. Handle x32
7463 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7464 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7465 SKIP_EM_IA_64 and include
7466 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7467
7468 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7469 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7470 (add_system_dir): New macro.
7471
7472 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7473 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7474
7475 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7476
7477 [BZ #2551]
7478 [BZ #2552]
7479 [BZ #2553]
7480 [BZ #2554]
7481 [BZ #2562]
7482 [BZ #2563]
7483 [BZ #2565]
7484 [BZ #2566]
7485 [BZ #2576]
7486 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7487 (y0): Likewise.
7488 * math/w_j0f.c (j0f): Likewise.
7489 (y0f): Likewise.
7490 * math/w_j0l.c (__j0l): Likewise.
7491 (__y0l): Likewise.
7492 * math/w_j1.c (j1): Likewise.
7493 (y1): Likewise.
7494 * math/w_j1f.c (j1f): Likewise.
7495 (y1f): Likewise.
7496 * math/w_j1l.c (__j1l): Likewise.
7497 (__y1l): Likewise.
7498 * math/w_jn.c (jn): Likewise.
7499 (yn): Likewise.
7500 * math/w_jnf.c (jnf): Likewise.
7501 (ynf): Likewise.
7502 * math/w_jnl.c (__jnl): Likewise.
7503 (__ynl): Likewise.
7504 * math/libm-test.inc (j0_test): Add more tests.
7505 (j1_test): Likewise.
7506 (jn_test): Likewise. Add trailing semicolon to existing test.
7507 (y0_test): Likewise.
7508 (y1_test): Likewise.
7509 * sysdeps/i386/fpu/libm-test-ulps: Update.
7510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7511
7512 [BZ #13851]
7513 [BZ #13854]
7514 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7515 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7516 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7517 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7518 (__tanl): Set errno for infinite argument.
7519 * sysdeps/i386/fpu/mptan.c: Remove.
7520 * sysdeps/i386/fpu/s_tan.S: Likewise.
7521 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7522 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7523 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7524 * math/libm-test.inc (tan_test): Add more tests and enable more
7525 tests for double and long double.
7526 * sysdeps/i386/fpu/libm-test-ulps: Update.
7527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7528
7529 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7530
7531 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7532 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7533
7534 2012-03-16 Roland McGrath <roland@hack.frob.com>
7535
7536 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7537 * configure.in: Use it for both main tree and add-ons.
7538 * configure: Regenerated.
7539
7540 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7541
7542 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7543
7544 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7545
7546 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7547 in comment.
7548
7549 [BZ #13851]
7550 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7551 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7555 infinite argument.
7556 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7558 != 0 for prec == 2.
7559 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7560 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7561 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7562 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7563 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7564 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7565 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7566 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7567 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7568 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7569 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7570 * math/libm-test.inc (cos_test): Add more tests and enable more
7571 tests for long double.
7572 (sin_test): Likewise.
7573 (sincos_test): Likewise.
7574 * sysdeps/i386/fpu/libm-test-ulps: Update.
7575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7576
7577 2012-03-16 David S. Miller <davem@davemloft.net>
7578
7579 * sysdeps/sparc/fpu/math_private.h: New file.
7580
7581 2012-03-15 David S. Miller <davem@davemloft.net>
7582
7583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7584 file.
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7587 file.
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7594 sysdep routines.
7595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7596
7597 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7598 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7599
7600 * sysdeps/sparc/sparc-ifunc.h: New file.
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7602 sparc-ifunc.h
7603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7605 Likewise.
7606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7607 Likewise.
7608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7612 Likewise.
7613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7618 Likewise.
7619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7620 Likewise.
7621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7645
7646 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7647
7648 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7649 scaling.
7650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7651
7652 2012-03-15 Andreas Jaeger <aj@suse.de>
7653
7654 [BZ #13852]
7655 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7656 ieee754/flt-32 implementation for sin, cos and sincos.
7657 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7658 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7659 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7660 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7661 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7662 ieee754/flt-32 implementation for tan.
7663
7664 * math/libm-test.inc (cos_test): Enable some large input tests for
7665 float as well
7666 (sin_test): Likewise.
7667 (sincos_test): Likewise.
7668 (tan_test): Add tests for large input.
7669
7670 * sysdeps/i386/fpu/libm-test-ulps: Update.
7671
7672 2012-03-15 Andreas Jaeger <aj@suse.de>
7673
7674 [BZ #13658]
7675 * math/libm-test.inc (cos_test): Add more test cases.
7676 (sin_test): Likewise.
7677 (sincos_test): Likewise.
7678
7679 2012-03-15 Andreas Jaeger <aj@suse.de>
7680
7681 [BZ #13837]
7682 * math/libm-test.inc (cos_test): Add a test case for large input
7683 value.
7684 (sin_test): Likewise.
7685 (sincos_test): Likewise.
7686
7687 2012-03-15 Andreas Jaeger <aj@suse.de>,
7688 Joseph Myers <joseph@codesourcery.com>
7689
7690 [BZ #13658]
7691 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7692 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7693 * sysdeps/i386/fpu/branred.c: Likewise.
7694 * sysdeps/i386/fpu/dosincos.c: Likewise.
7695 * sysdeps/i386/fpu/mpa.c: Likewise.
7696 * sysdeps/i386/fpu/s_cos.S: Likewise.
7697 * sysdeps/i386/fpu/s_sin.S: Likewise.
7698 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7699 * sysdeps/i386/fpu/sincos32.c: Likewise.
7700
7701 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7702 Define.
7703 (libc_feupdateenv_53bit): Define.
7704 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7705 Define.
7706 (libc_feupdateenv_53bit): Define.
7707
7708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7709 53 bit (without extend i386 double precision).
7710
7711 * math/libm-test.inc (sincos_test): Add tests for large input.
7712 (sin): Likewise.
7713 (cos): Likewise.
7714
7715 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7716
7717 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7718
7719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7720
7721 2012-03-15 David S. Miller <davem@davemloft.net>
7722
7723 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7724 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7725 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7726 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7739 file.
7740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7742 file.
7743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7745 file.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7748 file.
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7751 fmin/fmax sysdep routines.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7753
7754 2012-03-14 David S. Miller <davem@davemloft.net>
7755
7756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7785 routines.
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7787 file.
7788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7790 file.
7791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7793 file.
7794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7796 file.
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7799 file.
7800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7802 file.
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7804 file.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7806 file.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7808 file.
7809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7810 New file.
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7812 file.
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7814 file.
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7817 file.
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7820 file.
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7823 file.
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7826 VIS3 routines.
7827
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7829 New file.
7830
7831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7832
7833 * sysdeps/sparc/configure.in: New file.
7834 * sysdeps/sparc/configure: Generate.
7835 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7836 * configure: Regenerate.
7837 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7838 * config.make.in (have-as-vis3): New.
7839 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7840 available use -Av9d instead of -Av9a.
7841 * sysdeps/sparc/sparc64/Makefile: Likewise.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7844 New file.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7846 file.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7848 New file.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7850 file.
7851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7856
7857 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7858 fzeros/fnegs to load 0x80000000 into a float register instead of
7859 using the stack.
7860 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7861
7862 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7863
7864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7865 bits/syscall.h.
7866 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7867 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7868 ($(inst_includedir)/bits/syscall.h): Remove rule.
7869 ($(objpfx)bits/syscall.d): Include instead of
7870 $(objpfx)syscall-list.d.
7871 (generated): Change syscall-list.h and syscall-list.d to
7872 bits/syscall.h and bits/syscall.d.
7873
7874 2012-03-14 Roland McGrath <roland@hack.frob.com>
7875
7876 [BZ #13846]
7877 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7878
7879 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7880
7881 [BZ #13841]
7882 * math/s_csqrt.c: Include <float.h>.
7883 (__csqrt): Scale large or subnormal inputs.
7884 * math/s_csqrtf.c: Likewise.
7885 * math/s_csqrtl.c: Likewise.
7886 * math/libm-test.inc (csqrt_test): Add more tests.
7887 * sysdeps/i386/fpu/libm-test-ulps: Update.
7888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7889
7890 [BZ #13840]
7891 * math/libm-test.inc (hypot_test): Add more tests.
7892
7893 2012-03-13 David S. Miller <davem@davemloft.net>
7894
7895 [BZ #13840]
7896 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7897 double-precision for the calculation instead of scaling.
7898
7899 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7900
7901 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7902 manipulate bits before adding and subtracting TWO52[sx].
7903 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7905 Likewise.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7907
7908 2012-03-13 David S. Miller <davem@davemloft.net>
7909
7910 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7911 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7913 rtld-global-offsets.h
7914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7915
7916 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7917 large parameters.
7918
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7920
7921 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7922 'err' in the ifdef scope in which it is actually used.
7923
7924 * nss/nss_db/db-init.c: Include string.h
7925
7926 2012-03-12 David S. Miller <davem@davemloft.net>
7927
7928 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7929 masking out of the most significant byte of random value used.
7930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7931 Fix coding style in previous change.
7932
7933 * sysdeps/unix/sysv/linux/kernel-features.h
7934 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7935 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7936 expression.
7937 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7938 later.
7939
7940 2012-03-11 David S. Miller <davem@davemloft.net>
7941
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7943 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7945 for 'resultvar' otherwise things get truncated on 64-bit.
7946
7947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7948 Fix masking out of the most significant byte of random value used.
7949
7950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7951
7952 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7953
7954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7955
7956 2012-03-09 David S. Miller <davem@davemloft.net>
7957
7958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7959 variables with appropriate CPP guards.
7960 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7961 frame pointer, not the stack pointer. Correct layout comments. Fix test
7962 on resulting framesize and the management of the outregs buffer for pltexit.
7963 Preserve floating point return values across _dl_call_pltexit call.
7964 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7965 framesize and the management of the outregs buffer for pltexit.
7966 Preserve floating point return values across _dl_call_pltexit
7967 call.
7968 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7969 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7970 (print_exit): Fix format string for return register value.
7971
7972 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7973
7974 * sunrpc/Makefile (others): Add rpcgen.
7975 ($(objpfx)rpcgen): Remove special build rule and dependency on
7976 libc.
7977 * sunrpc/rpcgen.c: New file.
7978
7979 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7980
7981 [BZ #13673]
7982 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7983 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7984 * sysdeps/i386/crti.S: Likewise.
7985 * sysdeps/i386/crtn.S: Likewise.
7986 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7987 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7988 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7989 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7990 * sysdeps/sh/crti.S: Likewise.
7991 * sysdeps/sh/crtn.S: Likewise.
7992 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7993
7994 [BZ #13673]
7995 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7996 with URL.
7997 * locale/programs/locfile-kw.gperf: Likewise.
7998 * locale/programs/charmap-kw.h: Regenerated.
7999 * locale/programs/locfile-kw.h: Likewise.
8000
8001 [BZ #13673]
8002 * intl/plural.y: Replace FSF snail mail address with URL.
8003 * intl/plural.c: Regenerated.
8004
8005 2012-03-09 Richard Henderson <rth@twiddle.net>
8006
8007 * include/math_private.h: Remove file.
8008 * math/math_private.h: Move file ...
8009 * sysdeps/generic/math_private.h: ... here.
8010
8011 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8012 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8013 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8014
8015 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8016 and <math_private.h>.
8017 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8018 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8019 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8020 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8021 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8105 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8108 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8110 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8111 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8112 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8113 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8114 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8116 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8117 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8118 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8119 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8120 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8121 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8122 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8123 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8124 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8125 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8126 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8127 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8128 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8129 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8130 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8131 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8136 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8137 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8138 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8139 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8140 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8141 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8142 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8144 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8145 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8146 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8147 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8148 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8149 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8150 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8151 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8155 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8156 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8157 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8158 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8159 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8160 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8161 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8162 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8163 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8164 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8166 * sysdeps/ieee754/k_standard.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8218 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8282 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8286 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8287 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8289 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8294 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8299 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8316 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8317 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8327 * sysdeps/ieee754/s_lib_version.c: Likewise.
8328 * sysdeps/ieee754/s_matherr.c: Likewise.
8329 * sysdeps/ieee754/s_signgam.c: Likewise.
8330 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8331 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8332 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8333 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8334 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8335 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8336 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8337 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8338 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8339 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8340 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8341 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8342 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8343 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8344 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8345 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8347 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8348 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8350 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8351
8352 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8353
8354 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8355 * sunrpc/rpc_main.c: Likewise.
8356 * sunrpc/rpc_svcout.c: Likewise.
8357
8358 2012-03-09 David S. Miller <davem@davemloft.net>
8359
8360 * include/math_private.h: New file.
8361
8362 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8363
8364 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8365 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8366 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8367 from <bits/socket_type.h>.
8368 (enum __socket_type): Don't define here.
8369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8371 bits/socket_type.h.
8372
8373 [BZ #13566]
8374 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8375 checking __USE_GNU.
8376
8377 * Makerules ($(inst_includedir)/%.h): New rule.
8378 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8379 (install-others): Remove variable setting.
8380 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8381
8382 2012-03-08 Richard Henderson <rth@twiddle.net>
8383
8384 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8385 from macro to inline function; merge with the
8386 !__LIBC_INTERNAL_MATH_INLINES version.
8387 (__ieee754_sqrtf): Likewise.
8388
8389 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8390 to inline function.
8391 (__rintf, __floor, __floorf): Likewise.
8392
8393 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8394 macro to inline function.
8395 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8396
8397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8398 not <math/math_private.h>.
8399
8400 2012-03-08 David S. Miller <davem@davemloft.net>
8401
8402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8403 copyright year.
8404 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8405
8406 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8407
8408 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8409 normalization.
8410 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8411 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8412
8413 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8414
8415 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8416 be defined individually, they must be defined as a block. Define
8417 S for printing a string instead of hidint the different by using a
8418 macro for adding the 'l'.
8419 * stdio-common/tst-fphex-wide.c: Adjust.
8420
8421 2012-03-07 Marek Polacek <polacek@redhat.com>
8422
8423 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8424
8425 2012-03-08 Marek Polacek <polacek@redhat.com>
8426
8427 [BZ #13806]
8428 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8429 * stdio-common/tst-fphex.c: Define a few macros to make the
8430 test reusable. Use them.
8431 * stdio-common/tst-fphex-wide.c: New file.
8432
8433 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8434
8435 [BZ #6911]
8436 * manual/macros.texi (gnusystems): New macro.
8437 (nongnusystems): Likewise.
8438 (gnulinuxhurdsystems): Likewise.
8439 (gnuhurdsystems): Likewise..
8440 (gnulinuxsystems): Likewise.
8441 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8442 variants of the GNU system, not "GNU system".
8443 * manual/conf.texi: Likewise.
8444 * manual/errno.texi: Likewise. Update example of errno macro
8445 expansion.
8446 * manual/filesys.texi: Likewise.
8447 (getumask): Document as specific to GNU/Hurd.
8448 * manual/install.texi: Likewise. Reword some references to
8449 GNU/Linux.
8450 * manual/intro.texi: Likewise.
8451 * manual/io.texi: Likewise.
8452 (File Name Portability): Detail which constraints are inapplicable
8453 to all GNU systems and which are only inapplicable to GNU/Hurd.
8454 * manual/job.texi: Likewise.
8455 * manual/llio.texi: Likewise.
8456 (O_NOCTTY): Document as present on GNU/Linux.
8457 * manual/maint.texi: Likewise.
8458 * manual/memory.texi: Likewise.
8459 * manual/pattern.texi: Likewise.
8460 * manual/pipe.texi: Likewise.
8461 * manual/process.texi: Likewise.
8462 * manual/resource.texi: Likewise.
8463 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8464 child on GNU/Hurd.
8465 * manual/setjmp.texi: Likewise.
8466 * manual/signal.texi: Likewise.
8467 * manual/startup.texi: Likewise.
8468 * manual/stdio.texi: Likewise.
8469 * manual/terminal.texi: Likewise.
8470 (ONLCR): Document as POSIX.
8471 (OXTABS): Document availability on GNU/Linux as XTABS.
8472 (ONOEOT): Document availability separately from other bits.
8473 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8474 * manual/time.texi: Likewise.
8475 * manual/users.texi: Likewise.
8476 * INSTALL: Regenerated.
8477 * sysdeps/gnu/errlist.c: Regenerated.
8478
8479 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8480 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8481 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8482 puts.
8483 * configure: Regenerated.
8484
8485 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8486
8487 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8488 default includes instead of AC_HEADER_CHECK.
8489 * sysdeps/i386/configure: Regenerated.
8490
8491 [BZ #10716]
8492 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8493 * math/s_cacoshf.c (__cacoshf): Likewise.
8494 * math/s_cacoshl.c (__cacoshl): Likewise.
8495 * math/s_casinh.c (__casinh): Set signs of result from argument.
8496 * math/s_casinhf.c (__casinhf): Likewise.
8497 * math/s_casinhl.c (__casinhl): Likewise.
8498 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8499 (casinh_test): Add more tests.
8500 * sysdeps/i386/fpu/libm-test-ulps: Update.
8501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8502
8503 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8504
8505 * po/zh_TW.po: Update from translation team.
8506
8507 * login/Makefile (distribute): Remove variable.
8508 * catgets/Makefile: Likewise.
8509 * mach/Makefile: Likewise.
8510 * malloc/Makefile: Likewise.
8511 * misc/Makefile: Likewise.
8512 * iconv/Makefile: Likewise.
8513 * nscd/Makefile: Likewise.
8514 * hurd/Makefile: Likewise.
8515 * manual/Makefile: Likewise.
8516 * locale/Makefile: Likewise.
8517 * intl/Makefile: Likewise.
8518 * conform/Makefile: Likewise.
8519 * nss/Makefile: Likewise.
8520 * time/Makefile: Likewise.
8521 * soft-fp/Makefile: Likewise.
8522 * dirent/Makefile: Likewise.
8523 * gmon/Makefile: Likewise.
8524 * po/Makefile: Likewise.
8525 * rt/Makefile: Likewise.
8526 * socket/Makefile: Likewise.
8527 * math/Makefile: Likewise.
8528 * signal/Makefile: Likewise.
8529 * debug/Makefile: Likewise.
8530 * elf/Makefile: Likewise.
8531 * timezone/Makefile: Likewise.
8532 * stdlib/Makefile: Likewise.
8533 * iconvdata/Makefile: Likewise.
8534 * sunrpc/Makefile: Likewise.
8535 * io/Makefile: Likewise.
8536 * argp/Makefile: Likewise.
8537 * inet/Makefile: Likewise.
8538 * hesiod/Makefile: Likewise.
8539 * grp/Makefile: Likewise.
8540 * csu/Makefile: Likewise.
8541 * wctype/Makefile: Likewise.
8542 * crypt/Makefile: Likewise.
8543 * libio/Makefile: Likewise.
8544 * string/Makefile: Likewise.
8545 * nis/Makefile: Likewise.
8546 * resolv/Makefile: Likewise.
8547 * stdio-common/Makefile: Likewise.
8548 * wcsmbs/Makefile: Likewise.
8549 * dlfcn/Makefile: Likewise.
8550 * posix/Makefile: Likewise.
8551
8552 [BZ #6959]
8553 * timezone/Makefile: Don't install timezone files, just the programs
8554 and scripts.
8555
8556 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8557
8558 * nss/databases.def: Add missing gshadow entry.
8559
8560 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8561
8562 2012-03-06 Marek Polacek <polacek@redhat.com>
8563
8564 [BZ #13726]
8565 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8566 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8567 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8568 * stdio-common/tst-long-dbl-fphex.c: New file.
8569
8570 2012-03-06 David S. Miller <davem@davemloft.net>
8571
8572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8573 (set_obp_int): New function.
8574 (get_obp_int): New function.
8575 (__get_clockfreq_via_dev_openprom): Likewise.
8576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8577 Avoid unused variable warnings on 'val' and use builtin_expect.
8578 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8579 __builtin_expect.
8580 (INLINE_CLONE_SYSCALL): Likewise.
8581
8582 2012-03-05 David S. Miller <davem@davemloft.net>
8583
8584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8585
8586 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8587
8588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8589
8590 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8591 only for |x| >= 40.
8592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8593
8594 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8595
8596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8597 Replace gettimeofday with __vdso_gettimeofday.
8598
8599 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8600 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8601 __vdso_clock_gettime and __vdso_getcpu.
8602
8603 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8604 time with __vdso_time.
8605
8606 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8607
8608 * manual/lang.texi (size_t): Note types to which size_t may be
8609 equivalent with the GNU C Library, but do not describe when
8610 differences between them are significant.
8611
8612 2012-03-05 Andreas Jaeger <aj@suse.de>
8613
8614 * sysdeps/i386/fpu/libm-test-ulps: Update.
8615
8616 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8617
8618 [BZ #3976]
8619 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8620 (__ieee754_pow): Save and restore rounding mode and use
8621 round-to-nearest for main computations.
8622 * math/libm-test.inc (pow_test_tonearest): New function.
8623 (pow_test_towardzero): Likewise.
8624 (pow_test_downward): Likewise.
8625 (pow_test_upward): Likewise.
8626 (main): Call the new functions.
8627 * sysdeps/i386/fpu/libm-test-ulps: Update.
8628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8629
8630 [BZ #3976]
8631 * math/libm-test.inc (cosh_test_tonearest): New function.
8632 (cosh_test_towardzero): Likewise.
8633 (cosh_test_downward): Likewise.
8634 (cosh_test_upward): Likewise.
8635 (sinh_test_tonearest): Likewise.
8636 (sinh_test_towardzero): Likewise.
8637 (sinh_test_downward): Likewise.
8638 (sinh_test_upward): Likewise.
8639 (main): Call the new functions.
8640 * sysdeps/i386/fpu/libm-test-ulps: Update.
8641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8642
8643 2012-03-05 Tom de Vries <tom@codesourcery.com>
8644
8645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8646 default stack guard is set in last bytes.
8647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8648
8649 2012-03-05 Kees Cook <keescook@chromium.org>
8650
8651 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8652
8653 [BZ #13656]
8654 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8655 possibly allocate from heap instead of stack.
8656 * stdio-common/bug-vfprintf-nargs.c: New file.
8657 * stdio-common/Makefile (tests): Add nargs overflow test.
8658
8659 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8660
8661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8662
8663 2012-03-03 Marek Polacek <polacek@redhat.com>
8664
8665 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8666 * math/math_private.h: Likewise.
8667 * stdlib/tst-strtod.c: Likewise.
8668 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8669 * sysdeps/x86_64/bits/atomic.h: Likewise.
8670
8671 2012-03-02 David S. Miller <davem@davemloft.net>
8672
8673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8677 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8678 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8679 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8680 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8681
8682 2012-03-02 Roland McGrath <roland@hack.frob.com>
8683
8684 [BZ #13792]
8685 * manual/examples/README: New file, says the example source files
8686 can be used under GPL>=2.
8687 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8688 line containing just "*/".
8689 * manual/examples/add.c: Add copyright header (GPL>=2).
8690 * manual/examples/argp-ex1.c: Likewise.
8691 * manual/examples/argp-ex2.c: Likewise.
8692 * manual/examples/argp-ex3.c: Likewise.
8693 * manual/examples/argp-ex4.c: Likewise.
8694 * manual/examples/atexit.c: Likewise.
8695 * manual/examples/db.c: Likewise.
8696 * manual/examples/dir.c: Likewise.
8697 * manual/examples/dir2.c: Likewise.
8698 * manual/examples/execinfo.c: Likewise.
8699 * manual/examples/filecli.c: Likewise.
8700 * manual/examples/filesrv.c: Likewise.
8701 * manual/examples/fmtmsgexpl.c: Likewise.
8702 * manual/examples/genpass.c: Likewise.
8703 * manual/examples/inetcli.c: Likewise.
8704 * manual/examples/inetsrv.c: Likewise.
8705 * manual/examples/isockad.c: Likewise.
8706 * manual/examples/longopt.c: Likewise.
8707 * manual/examples/memopen.c: Likewise.
8708 * manual/examples/memstrm.c: Likewise.
8709 * manual/examples/mkfsock.c: Likewise.
8710 * manual/examples/mkisock.c: Likewise.
8711 * manual/examples/mygetpass.c: Likewise.
8712 * manual/examples/pipe.c: Likewise.
8713 * manual/examples/popen.c: Likewise.
8714 * manual/examples/rprintf.c: Likewise.
8715 * manual/examples/search.c: Likewise.
8716 * manual/examples/select.c: Likewise.
8717 * manual/examples/setjmp.c: Likewise.
8718 * manual/examples/sigh1.c: Likewise.
8719 * manual/examples/sigusr.c: Likewise.
8720 * manual/examples/stpcpy.c: Likewise.
8721 * manual/examples/strdupa.c: Likewise.
8722 * manual/examples/strftim.c: Likewise.
8723 * manual/examples/strncat.c: Likewise.
8724 * manual/examples/subopt.c: Likewise.
8725 * manual/examples/swapcontext.c: Likewise.
8726 * manual/examples/termios.c: Likewise.
8727 * manual/examples/testopt.c: Likewise.
8728 * manual/examples/testpass.c: Likewise.
8729 * manual/examples/timeval_subtract.c: Likewise.
8730
8731 [BZ #13792]
8732 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8733 function to ...
8734 * manual/timeval_subtract.c.texi: ... here, new file.
8735
8736 2012-03-02 David S. Miller <davem@davemloft.net>
8737
8738 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8739
8740 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8741
8742 [BZ #3976]
8743 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8744 (__sin): Save and restore rounding mode and use round-to-nearest
8745 for all computations.
8746 (__cos): Save and restore rounding mode and use round-to-nearest
8747 for all computations.
8748 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8749 <fenv.h>.
8750 (tan): Save and restore rounding mode and use round-to-nearest for
8751 all computations.
8752 * math/libm-test.inc (cos_test_tonearest): New function.
8753 (cos_test_towardzero): Likewise.
8754 (cos_test_downward): Likewise.
8755 (cos_test_upward): Likewise.
8756 (sin_test_tonearest): Likewise.
8757 (sin_test_towardzero): Likewise.
8758 (sin_test_downward): Likewise.
8759 (sin_test_upward): Likewise.
8760 (tan_test_tonearest): Likewise.
8761 (tan_test_towardzero): Likewise.
8762 (tan_test_downward): Likewise.
8763 (tan_test_upward): Likewise.
8764 (main): Call the new functions.
8765 * sysdeps/i386/fpu/libm-test-ulps: Update.
8766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8767
8768 [BZ #10135]
8769 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8770 small n, then large n, before computing and testing k+n.
8771 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8773 Likewise.
8774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8775 Likewise.
8776 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8777 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8778 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8779 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8782 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8783 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8784 * math/libm-test.inc (scalbn_test): Add more tests.
8785 (scalbln_test): Likewise.
8786
8787 * manual/filesys.texi (mode_t): Describe constraints on size and
8788 signedness, not exact equivalence to a particular type.
8789 (ino_t): Likewise.
8790 (ino64_t): Likewise.
8791 (dev_t): Likewise.
8792 (nlink_t): Likewise.
8793 (blkcnt_t): Likewise.
8794 (blkcnt64_t): Likewise.
8795 * manual/llio.texi (off_t): Likewise.
8796
8797 [BZ #3976]
8798 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8799 (__ieee754_exp): Save and restore rounding mode and use
8800 round-to-nearest for all computations.
8801 * math/libm-test.inc (exp_test_tonearest): New function.
8802 (exp_test_towardzero): Likewise.
8803 (exp_test_downward): Likewise.
8804 (exp_test_upward): Likewise.
8805 (main): Call the new functions.
8806 * sysdeps/i386/fpu/libm-test-ulps: Update.
8807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808
8809 2012-03-01 Chris Demetriou <cgd@google.com>
8810
8811 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8812 have predictable order.
8813
8814 2012-03-01 David S. Miller <davem@davemloft.net>
8815
8816 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8817
8818 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8819 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8820 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8821 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8822
8823 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8824 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8825 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8827 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8828 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8829 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8830 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8831 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8832
8833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8834
8835 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8836 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8837 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8838
8839 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8840 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8841 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8842 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8843 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8846 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8847 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8850 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8852 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8855 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8856 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8857 * sysdeps/sparc/elf/configure: Regenerated.
8858
8859 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8860
8861 * configure.in (AS, LD): Require binutils 2.20 or later.
8862 * configure: Regenerated.
8863 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8864 as required minimum version.
8865 * INSTALL: Regenerated.
8866
8867 [BZ #2541]
8868 [BZ #4108]
8869 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8870 before squaring exponent.
8871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8872 bottom long double and 27 bits of top long double before squaring
8873 exponent.
8874 * math/libm-test.inc (erfc_test): Add more tests.
8875 * sysdeps/i386/fpu/libm-test-ulps: Update.
8876 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8878
8879 2012-03-01 Kai Tietz <ktietz@redhat.com>
8880
8881 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8882 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8883 containing bit-fields.
8884 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8885 * soft-fp/single.h (_FP_UNION_S): Likewise.
8886 * soft-fp/double.h (_FP_UNION_D): Likewise.
8887
8888 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8889
8890 [BZ #13786]
8891 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8892 not include ../strcmp.S.
8893 [USE_AS_STRNCASECMP_L]: Likewise.
8894 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8895 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8896 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8897 (__strncasecmp_l_ia32): Define as alias to
8898 __strncasecmp_l_nonascii.
8899
8900 [BZ #5794]
8901 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8902 * sysdeps/i386/fpu/libm-test-ulps: Update.
8903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8904
8905 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8907
8908 2012-02-29 Jeff Law <law@redhat.com>
8909
8910 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8911 out of bounds read.
8912
8913 2012-02-29 Marek Polacek <polacek@redhat.com>
8914
8915 [BZ #13706]
8916 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8917 * elf/Makefile: Add rules to run tst-unused-dep.out.
8918
8919 2012-02-28 David S. Miller <davem@davemloft.net>
8920
8921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8927
8928 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8929
8930 * math/libm-test.inc (llround_test): Move one test from
8931 lround_test. Use TEST_f_L in moved test.
8932 (lround_test): Move misplaced test to llround_test. Add testcase
8933 from bug 2561.
8934
8935 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8936
8937 * sysdeps/x86_64/fpu/e_expf.S: New file.
8938 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8939
8940 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8941
8942 [BZ #13637]
8943 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8944 of remain_len that may cause incomplete multi-byte character and
8945 false match.
8946 * posix/bug-regex33.c: New file.
8947 * posix/Makefile (tests): Add bug-regex33.
8948
8949 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8950
8951 * manual/macros.texi: New file.
8952 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8953 * manual/libc.texinfo: Include macros.texi.
8954 * manual/creatute.texi: Likewise.
8955 * manual/install.texi: Likewise.
8956 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8957 @glibcadj{} in references to the GNU C Library.
8958 * manual/charset.texi: Likewise.
8959 * manual/conf.texi: Likewise.
8960 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8961 when not using those macros.
8962 * manual/creature.texi: Likewise.
8963 * manual/crypt.texi: Likewise.
8964 * manual/errno.texi: Likewise.
8965 * manual/filesys.texi: Likewise.
8966 * manual/header.texi: Likewise.
8967 * manual/install.texi: Likewise.
8968 * manual/intro.texi: Likewise.
8969 * manual/io.texi: Likewise.
8970 * manual/job.texi: Likewise.
8971 * manual/lang.texi: Likewise.
8972 * manual/libc.texiinfo: Likewise.
8973 * manual/llio.texi: Likewise.
8974 * manual/locale.texi: Likewise.
8975 * manual/maint.texi: Likewise.
8976 * manual/math.texi: Likewise.
8977 * manual/memory.texi: Likewise.
8978 * manual/message.texi: Likewise.
8979 * manual/nss.texi: Likewise.
8980 * manual/pattern.texi: Likewise.
8981 * manual/process.texi: Likewise.
8982 * manual/resource.texi: Likewise.
8983 * manual/search.texi: Likewise.
8984 * manual/setjmp.texi: Likewise.
8985 * manual/signal.texi: Likewise.
8986 * manual/socket.texi: Likewise.
8987 * manual/startup.texi: Likewise.
8988 * manual/stdio.texi: Likewise.
8989 * manual/string.texi: Likewise.
8990 * manual/sysinfo.texi: Likewise.
8991 * manual/syslog.texi: Likewise.
8992 * manual/terminal.texi: Likewise.
8993 * manual/time.texi: Likewise.
8994 * manual/users.texi: Likewise.
8995 * INSTALL: Regenerated.
8996 * NOTES: Regenerated.
8997 * sysdeps/gnu/errlist.c: Regenerated.
8998
8999 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9000
9001 * include/dirent.h: Include <dirstream.h> before
9002 <dirent/dirent.h>.
9003
9004 2012-02-28 David S. Miller <davem@davemloft.net>
9005
9006 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9007 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9008 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9009 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9010
9011 2012-02-27 David S. Miller <davem@davemloft.net>
9012
9013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9015 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9016 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9017
9018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9019 frame pointer instead of stack pointer relative arg slot.
9020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9023
9024 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9025
9026 [BZ #3992]
9027 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9028
9029 2012-02-27 David S. Miller <davem@davemloft.net>
9030
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9037 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9038 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9039
9040 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9041
9042 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9043 later. Allow versions 5-9.
9044 * configure: Regenerated.
9045 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9046 required minimum version and 4.6 as recommended version. Do not
9047 mention bugs in GCC 2.7 and 2.8.
9048 * INSTALL: Regenerated.
9049
9050 2012-02-27 David S. Miller <davem@davemloft.net>
9051
9052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9057 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9058 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9059 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9060
9061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9062 manipulate bits before adding and subtracting TWO112[sx].
9063 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9064
9065 2012-02-27 Roland McGrath <roland@hack.frob.com>
9066
9067 [BZ #13775]
9068 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9069 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9070 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9071 being in POSIX, because they are in 1003.1-2008.
9072
9073 * rt/tst-aio.c: Include <fcntl.h>.
9074 * rt/tst-aio7.c: Likewise.
9075 * rt/tst-aio64.c: Likewise.
9076
9077 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9078
9079 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9080
9081 * manual/install.texi (--with-headers): Describe headers as
9082 interface headers, not private headers.
9083 (Specific advice for GNU/Linux systems): Describe use of headers
9084 from "make headers_install", not private headers from older
9085 kernels.
9086 * INSTALL: Regenerated.
9087 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9088 Change to 2.6.19.
9089 * sysdeps/unix/sysv/linux/configure: Regenerated.
9090
9091 * manual/llio.texi (fclean): Remove documentation.
9092
9093 * manual/Makefile (libc-texi-generated): New variable. Include
9094 version.texi.
9095 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9096 $(libc-texi-generated), not duplicated list of files.
9097 (version.texi, stamp-version): New rules.
9098 (realclean): Remove $(libc-texi-generated), not individual files
9099 from that list. Do not remove dir-add.texinfo.
9100 * manual/libc.texinfo: Comment out uses of edition numbers and
9101 references to printed manual. Remove last-updated dates.
9102 (EDITION): Comment out.
9103 (ISBN): Likewise.
9104 (VERSION, UPDATED): Remove.
9105 (version.texi): Include.
9106
9107 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9108
9109 * sysdeps/posix/spawni.c: Include <signal.h>.
9110 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9111 * sysdeps/pthread/aio_fsync.c: Likewise.
9112
9113 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9114
9115 * conform/Makefile (tests): Run only when not cross-compiling and
9116 when fast-check is not defined.
9117
9118 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9119 * conform/data/limits.h-data: Fixes for POSIX2008.
9120 * conform/run-conformtest.sh: Run all tests.
9121 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9122 headers.
9123 * include/bits/dlfcn.h: Likewise.
9124 * include/langinfo.h: Likewise.
9125 * include/monetary.h: Likewise.
9126 * include/sys/poll.h: Likewise.
9127
9128 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9129 for __USE_GNU.
9130 * posix/spawn.h: Define __need_sigset_t.
9131 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9132 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9133 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9134 to get sigevent_t only.
9135 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9136 only for __USE_GNU.
9137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9138 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9139 process_vm_writev only for __USE_GNU.
9140 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9141
9142 * conform/Makefile: For now ignore errors from run-conformtest.
9143 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9144 POSIX to avoid namespace pollution. Don't prepend headers.
9145 * conform/data/aio.h-data: Fixes for POSIX testing.
9146 * conform/data/fcntl.h-data: Likewise.
9147 * conform/data/glob.h-data: Likewise.
9148 * conform/data/grp.h-data: Likewise.
9149 * conform/data/pthread.h-data: Likewise.
9150 * conform/data/pwd.h-data: Likewise.
9151 * conform/data/signal.h-data: Likewise.
9152 * conform/data/spawn.h-data: Likewise.
9153 * conform/data/stdio.h-data: Likewise.
9154 * conform/data/stdlib.h-data: Likewise.
9155 * conform/data/stropts.h-data: Likewise.
9156 * conform/data/sys/mman.h-data: Likewise.
9157 * conform/data/sys/stat.h-data: Likewise.
9158 * conform/data/sys/types.h-data: Likewise.
9159 * conform/data/sys/wait.h-data: Likewise.
9160 * conform/data/time.h-data: Likewise.
9161 * conform/data/unistd.h-data: Likewise.
9162 * conform/data/utime.h-data: Likewise.
9163
9164 * io/sys/stat.h: fchmod was always in POSIX.
9165 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9166 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9167 * rt/aio.h: Define __need_timespec before including <time.h>.
9168 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9169 struct. Add forward declaration of pthread_attr_t and use it in
9170 sigevent.
9171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9173 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9174 always remove CLK_TCK definition.
9175
9176 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9177
9178 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9179
9180 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9181
9182 * conform/run-conformtest.sh: New file.
9183 * conform/Makefile: Run run-conformtest for tests.
9184 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9185 support.
9186
9187 * conform/data/uchar.h-data: New file.
9188 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9189 * conform/data/arpa/inet.h-data: Likewise.
9190 * conform/data/assert.h-data: Likewise.
9191 * conform/data/complex.h-data: Likewise.
9192 * conform/data/cpio.h-data: Likewise.
9193 * conform/data/ctype.h-data: Likewise.
9194 * conform/data/dirent.h-data: Likewise.
9195 * conform/data/dlfcn.h-data: Likewise.
9196 * conform/data/errno.h-data: Likewise.
9197 * conform/data/fcntl.h-data: Likewise.
9198 * conform/data/float.h-data: Likewise.
9199 * conform/data/fmtmsg.h-data: Likewise.
9200 * conform/data/fnmatch.h-data: Likewise.
9201 * conform/data/ftw.h-data: Likewise.
9202 * conform/data/glob.h-data: Likewise.
9203 * conform/data/grp.h-data: Likewise.
9204 * conform/data/iconv.h-data: Likewise.
9205 * conform/data/inttypes.h-data: Likewise.
9206 * conform/data/langinfo.h-data: Likewise.
9207 * conform/data/libgen.h-data: Likewise.
9208 * conform/data/limits.h-data: Likewise.
9209 * conform/data/locale.h-data: Likewise.
9210 * conform/data/math.h-data: Likewise.
9211 * conform/data/monetary.h-data: Likewise.
9212 * conform/data/mqueue.h-data: Likewise.
9213 * conform/data/ndbm.h-data: Likewise.
9214 * conform/data/net/if.h-data: Likewise.
9215 * conform/data/netdb.h-data: Likewise.
9216 * conform/data/netinet/in.h-data: Likewise.
9217 * conform/data/nl_types.h-data: Likewise.
9218 * conform/data/poll.h-data: Likewise.
9219 * conform/data/pthread.h-data: Likewise.
9220 * conform/data/pwd.h-data: Likewise.
9221 * conform/data/regex.h-data: Likewise.
9222 * conform/data/sched.h-data: Likewise.
9223 * conform/data/search.h-data: Likewise.
9224 * conform/data/semaphore.h-data: Likewise.
9225 * conform/data/setjmp.h-data: Likewise.
9226 * conform/data/signal.h-data: Likewise.
9227 * conform/data/spawn.h-data: Likewise.
9228 * conform/data/stdarg.h-data: Likewise.
9229 * conform/data/stdio.h-data: Likewise.
9230 * conform/data/stdlib.h-data: Likewise.
9231 * conform/data/string.h-data: Likewise.
9232 * conform/data/strings.h-data: Likewise.
9233 * conform/data/stropts.h-data: Likewise.
9234 * conform/data/sys/ipc.h-data: Likewise.
9235 * conform/data/sys/mman.h-data: Likewise.
9236 * conform/data/sys/msg.h-data: Likewise.
9237 * conform/data/sys/resource.h-data: Likewise.
9238 * conform/data/sys/select.h-data: Likewise.
9239 * conform/data/sys/sem.h-data: Likewise.
9240 * conform/data/sys/shm.h-data: Likewise.
9241 * conform/data/sys/socket.h-data: Likewise.
9242 * conform/data/sys/stat.h-data: Likewise.
9243 * conform/data/sys/statvfs.h-data: Likewise.
9244 * conform/data/sys/time.h-data: Likewise.
9245 * conform/data/sys/timeb.h-data: Likewise.
9246 * conform/data/sys/times.h-data: Likewise.
9247 * conform/data/sys/types.h-data: Likewise.
9248 * conform/data/sys/uio.h-data: Likewise.
9249 * conform/data/sys/un.h-data: Likewise.
9250 * conform/data/sys/utsname.h-data: Likewise.
9251 * conform/data/sys/wait.h-data: Likewise.
9252 * conform/data/syslog.h-data: Likewise.
9253 * conform/data/tar.h-data: Likewise.
9254 * conform/data/termios.h-data: Likewise.
9255 * conform/data/utime.h-data: Likewise.
9256 * conform/data/utmpx.h-data: Likewise.
9257 * conform/data/varargs.h-data: Likewise.
9258 * conform/data/wchar.h-data: Likewise.
9259 * conform/data/wctype.h-data: Likewise.
9260 * conform/data/wordexp.h-data: Likewise.
9261
9262 * include/stropts.h: New file.
9263 * include/uchar.h: New file.
9264 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9265 * include/assert.h: Likewise.
9266 * include/ctype.h: Likewise.
9267 * include/dirent.h: Likewise.
9268 * include/dlfcn.h: Likewise.
9269 * include/fcntl.h: Likewise.
9270 * include/fnmatch.h: Likewise.
9271 * include/glob.h: Likewise.
9272 * include/grp.h: Likewise.
9273 * include/libio.h: Likewise.
9274 * include/locale.h: Likewise.
9275 * include/math.h: Likewise.
9276 * include/net/if.h: Likewise.
9277 * include/netdb.h: Likewise.
9278 * include/netinet/in.h: Likewise.
9279 * include/pthread.h: Likewise.
9280 * include/pwd.h: Likewise.
9281 * include/regex.h: Likewise.
9282 * include/sched.h: Likewise.
9283 * include/search.h: Likewise.
9284 * include/setjmp.h: Likewise.
9285 * include/signal.h: Likewise.
9286 * include/stdio.h: Likewise.
9287 * include/stdlib.h: Likewise.
9288 * include/string.h: Likewise.
9289 * include/sys/cdefs.h: Likewise.
9290 * include/sys/mman.h: Likewise.
9291 * include/sys/msg.h: Likewise.
9292 * include/sys/resource.h: Likewise.
9293 * include/sys/select.h: Likewise.
9294 * include/sys/socket.h: Likewise.
9295 * include/sys/stat.h: Likewise.
9296 * include/sys/statvfs.h: Likewise.
9297 * include/sys/time.h: Likewise.
9298 * include/sys/times.h: Likewise.
9299 * include/sys/uio.h: Likewise.
9300 * include/sys/utsname.h: Likewise.
9301 * include/sys/wait.h: Likewise.
9302 * include/termios.h: Likewise.
9303 * include/time.h: Likewise.
9304 * include/ulimit.h: Likewise.
9305 * include/unistd.h: Likewise.
9306 * include/utime.h: Likewise.
9307 * include/wchar.h: Likewise.
9308 * include/wctype.h: Likewise.
9309 * include/wordexp.h: Likewise.
9310
9311 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9312
9313 * time/time.h: TIME_UTC must be a macro.
9314 Make timespec_get available for ISO C11 only as well.
9315
9316 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9317
9318 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9319 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9320
9321 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9322
9323 * configure.in: Use -o not -a in test for unsupported multi-arch.
9324
9325 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9326
9327 * manual/texinfo.tex: Update to version 2012-01-19.16.
9328
9329 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9330
9331 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9332
9333 2012-02-24 Roland McGrath <roland@hack.frob.com>
9334
9335 [BZ #13738]
9336 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9337 * manual/fdl-1.3.texi: New file.
9338 * manual/fdl-1.1.texi: File removed.
9339
9340 [BZ #13738]
9341 * manual/libc.texinfo (FDL_VERSION): New @set.
9342 Use it for mention of FDL in cover text.
9343 (Documentation License): Use it in @include file name.
9344
9345 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9346 Roland McGrath <roland@hack.frob.com>
9347
9348 [BZ #5461]
9349 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9350 not LONG_LONG_MAX and LONG_LONG_MIN.
9351 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9352 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9353 name.
9354 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9355
9356 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9357
9358 [BZ #2547]
9359 [BZ #11365]
9360 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9361 manipulate bits before adding and subtracting TWO23[sx].
9362 * math/libm-test.inc (nearbyint_test): Add more tests.
9363
9364 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9365
9366 [BZ #2548]
9367 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9368 bits before adding and subtracting TWO23[sx].
9369 * math/libm-test.inc (rint_test): Add more tests.
9370 (rint_test_tonearest): Likewise.
9371 (rint_test_towardzero): Likewise.
9372 (rint_test_downward): Likewise.
9373 (rint_test_upward: Likewise.
9374
9375 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9376
9377 [BZ #10110]
9378 * include/stdc-predef.h: New file. Extracted from features.h.
9379 * include/features.h: Include stdc-predef.h.
9380 * Makefile (headers): Add stdc-predef.h.
9381 * CONFORMANCE (Compiler limitations): Update.
9382
9383 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9384
9385 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9386
9387 2012-02-21 David S. Miller <davem@davemloft.net>
9388
9389 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9390 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9391
9392 2012-02-20 David S. Miller <davem@davemloft.net>
9393
9394 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9395 using a normal save/restore sequence, rather than allocating a
9396 dummy stack frame just to store a frame pointer and restore.
9397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9398
9399 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9400
9401 * manual/install.texi: Fix stray word in line-wrapped comment.
9402
9403 2012-02-20 David S. Miller <davem@davemloft.net>
9404
9405 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9406 both binutils and gcc support GOTDATA.
9407
9408 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9409 "rd %pc" in the PIC register setup sequences.
9410
9411 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9412 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9413 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9414 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9415 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9417 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9420 (SYSCALL_ERROR_HANDLER): Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9424 (SYSCALL_ERROR_HANDLER): Likewise.
9425
9426 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9427 (HAVE_GCC_GOTDATA): New.
9428 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9429 relocation support in both binutils and gcc.
9430 * sysdeps/sparc/elf/configure: Regenerate.
9431
9432 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9433 * sysdeps/sparc/sparc32/elf/configure: Delete.
9434 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9435 * sysdeps/sparc/sparc64/elf/configure: Delete.
9436 * sysdeps/sparc/elf/configure.in: New file.
9437 * sysdeps/sparc/elf/configure: Generate.
9438
9439 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9440 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9441 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9442 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9443 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9444
9445 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9446
9447 * manual/install.texi: Do not mention specific glibc version
9448 numbers.
9449 * manual/libc.texinfo (VERSION, UPDATED): Update.
9450 (@copying): Use @copyright{} and range of years.
9451
9452 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9453
9454 [BZ #13695]
9455 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9456 [crti.S not in sysdirs] (generated): Do not append.
9457 [crti.S not in sysdirs] (omit-deps): Likewise.
9458 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9459 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9460 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9461 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9462 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9463 Likewise.
9464 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9465 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9466 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9467 * csu/defs.awk: Remove file.
9468 * sysdeps/generic/initfini.c: Likewise.
9469 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9470 variable.
9471 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9472 Likewise.
9473
9474 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9475
9476 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9477 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9478 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9481 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9482 <bits/epoll.h>.
9483 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9484 (__EPOLL_PACKED): Define to empty if not defined by
9485 <bits/epoll.h>.
9486 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9488 bits/epoll.h.
9489
9490 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9491
9492 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9493 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9494 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9495 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9496 <bits/timerfd.h>.
9497 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9499 bits/timerfd.h.
9500
9501 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9502
9503 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9504 in C locale.
9505 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9506 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9509
9510 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9511
9512 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9513 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9514
9515 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9516
9517 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9518 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9519 defined.
9520 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9521 Likewise.
9522 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9523 entry for 2.16.
9524
9525 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9526
9527 * math/w_acos.c: Use non-signaling floating-point comparisons.
9528 * math/w_acosf.c: Likewise.
9529 * math/w_acosh.c: Likewise.
9530 * math/w_acoshf.c: Likewise.
9531 * math/w_acoshl.c: Likewise.
9532 * math/w_acosl.c: Likewise.
9533 * math/w_asin.c: Likewise.
9534 * math/w_asinf.c: Likewise.
9535 * math/w_asinl.c: Likewise.
9536 * math/w_atanh.c: Likewise.
9537 * math/w_atanhf.c: Likewise.
9538 * math/w_atanhl.c: Likewise.
9539 * math/w_exp2.c: Likewise.
9540 * math/w_exp2f.c: Likewise.
9541 * math/w_exp2l.c: Likewise.
9542 * math/w_j0.c: Likewise.
9543 * math/w_j0f.c: Likewise.
9544 * math/w_j0l.c: Likewise.
9545 * math/w_j1.c: Likewise.
9546 * math/w_j1f.c: Likewise.
9547 * math/w_j1l.c: Likewise.
9548 * math/w_jn.c: Likewise.
9549 * math/w_jnf.c: Likewise.
9550 * math/w_log.c: Likewise.
9551 * math/w_log10.c: Likewise.
9552 * math/w_log10f.c: Likewise.
9553 * math/w_log10l.c: Likewise.
9554 * math/w_log2.c: Likewise.
9555 * math/w_log2f.c: Likewise.
9556 * math/w_log2l.c: Likewise.
9557 * math/w_logf.c: Likewise.
9558 * math/w_logl.c: Likewise.
9559 * math/w_sqrt.c: Likewise.
9560 * math/w_sqrtf.c: Likewise.
9561 * math/w_sqrtl.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9564 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9565 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9567
9568 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9569
9570 [BZ #9739]
9571 * manual/string.texi (strnlen): Use correct parameter name in
9572 equivalent expression.
9573
9574 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9575
9576 [BZ #11174]
9577 * manual/users.texi (seteuid): Consistently use neweuid for
9578 argument name.
9579
9580 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9581
9582 [BZ #13704]
9583 * manual/nss.texi (Services in the NSS configuration): Correct
9584 list of services in example configuration file.
9585
9586 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9587
9588 [BZ #11322]
9589 * manual/arith.texi: Remove statements about negative zero
9590 behaving identically to zero.
9591
9592 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9593
9594 [BZ #5993]
9595 * manual/install.texi: Do not document upgrading from libc5.
9596
9597 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9598
9599 [BZ #4596]
9600 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9601
9602 2012-02-18 David S. Miller <davem@davemloft.net>
9603
9604 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9605 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9606 %o7 across the call.
9607 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9608 instead.
9609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9610 SETUP_PIC_REG_LEAF.
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9612 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9613 * sysdeps/sparc/crtn.S: Likewise.
9614
9615 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9616
9617 * aout/Makefile: Remove.
9618
9619 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9620
9621 [BZ #13058]
9622 * manual/examples/argp-ex1.c (main): Format definition in GNU
9623 style.
9624 * manual/examples/argp-ex2.c (main): Likewise.
9625 * manual/examples/argp-ex3.c (main): Likewise.
9626 * manual/examples/argp-ex4.c (main): Likewise.
9627 * manual/examples/longopt.c (main): Use new-style prototype
9628 definition.
9629 * manual/examples/strncat.c (main): Specify return type and use
9630 (void) for arguments.
9631 * manual/examples/subopt.c (main): Use char **argv argument.
9632
9633 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9634
9635 [BZ #5077]
9636 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9637 rounding modes.
9638
9639 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9640
9641 [BZ #6907]
9642 * manual/string.texi (strchr): Change when strchrnul is
9643 recommended.
9644
9645 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9646
9647 [BZ #174]
9648 * manual/locale.texi (setlocale): Document LOCPATH.
9649
9650 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9651
9652 [BZ #10210]
9653 * manual/process.texi (execle): Move @dots{} before last argument.
9654
9655 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9656
9657 [BZ #12047]
9658 * manual/charset.texi (Generic Charset Conversion): Fix typo
9659 (LC_TYPE -> LC_CTYPE).
9660
9661 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9662
9663 [BZ #5805]
9664 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9665 (scalbnf): Likewise.
9666 (scalbnl): Likewise.
9667 (scalbln): Likewise.
9668 (scalblnf): Likewise.
9669 (scalblnl): Likewise.
9670 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9671 (vwarnx): Likewise.
9672 (verr): Likewise.
9673 (verrx): Likewise.
9674 * manual/filesys.texi (telldir): Use braces around return type.
9675 * manual/llio.texi (mmap): Add space after comma.
9676 (mmap64): Likewise.
9677 * manual/math.texi (jn): Use @var{} on parameter names.
9678 (jnf): Likewise.
9679 (jnl): Likewise.
9680 (yn): Likewise.
9681 (ynf): Likewise.
9682 (ynl): Likewise.
9683 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9684 line.
9685 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9686 "...".
9687 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9688 (sched_get_priority_max): Likewise.
9689 * manual/signal.texi (sigvec): Add space after comma.
9690 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9691 names.
9692 (if_indextoname): Likewise.
9693 (if_freenameindex): Likewise.
9694 (sendto): Use ',' instead of '.' in prototype.
9695 * manual/startup.texi (syscall): Use @dots{} instead of literal
9696 "...".
9697 * manual/stdio.texi (__fpending): Separate initial words of
9698 paragraph from @deftypefun line.
9699 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9700 "...".
9701 (vsyslog): Use @var{} on parameter names.
9702 * manual/terminal.texi (stty): Use @var{} on parameter names.
9703 * manual/users.texi (getutmp): Use @var{} on parameter names.
9704 (getutmpx): Likewise.
9705
9706 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9707
9708 [BZ #6884]
9709 * manual/stdio.texi (fopen): Fix typos in description of
9710 ",ccs=STRING".
9711
9712 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9713
9714 [BZ #4026]
9715 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9716 get clock_id definition.
9717
9718 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9719
9720 [BZ #4822]
9721 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9722 (madvise): Cast every argument to void on its own.
9723
9724 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #9902]
9727 * manual/startup.texi (Exit Status): Fix typo.
9728
9729 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9730
9731 [BZ #10140]
9732 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9733 * manual/examples/argp-ex2.c: Likewise.
9734 * manual/examples/argp-ex3.c: Likewise.
9735
9736 2012-02-16 Richard Henderson <rth@redhat.com>
9737
9738 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9739 * sysdeps/s390/s390-32/initfini.c: Remove.
9740 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9741 * sysdeps/s390/s390-64/initfini.c: Remove.
9742
9743 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9744
9745 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9746 compiler output for sysdeps/generic/initfini.c.
9747 * sysdeps/sh/elf/initfini.c: Remove file.
9748
9749 2012-02-16 David S. Miller <davem@davemloft.net>
9750
9751 [BZ #11494]
9752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9753
9754 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9755 * sysdeps/sparc/crti.S: New file.
9756 * sysdeps/sparc/crtn.S: New file.
9757 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9758 * sysdeps/sparc/sparc64/Makefile: Likewise.
9759
9760 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9761
9762 [BZ #3335]
9763 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9764
9765 2012-02-15 Roland McGrath <roland@hack.frob.com>
9766
9767 [BZ #4822]
9768 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9769
9770 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9771 (write, read, close): Likewise.
9772 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9773
9774 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9775
9776 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9777 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9779 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9780 <bits/signalfd.h>.
9781 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9783 bits/signalfd.h.
9784
9785 2012-02-14 Marek Polacek <polacek@redhat.com>
9786
9787 * sysdeps/x86_64/crti.S: New file.
9788 * sysdeps/x86_64/crtn.S: New file.
9789 * sysdeps/x86_64/elf/initfini.c: Remove file.
9790
9791 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9792
9793 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9794 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9795 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9796 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9797 <bits/inotify.h>.
9798 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9800 bits/inotify.h.
9801
9802 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9803
9804 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9805 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9806 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9807 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9808 <bits/eventfd.h>.
9809 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9811 bits/eventfd.h.
9812
9813 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9814
9815 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9816 __feraiseexcept instead of feraiseexcept.
9817
9818 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9819 nanosleep invocations.
9820 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9821 strings, and add error checking for a nanosleep invocations.
9822
9823 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9824
9825 Replace FSF snail mail address with URLs, as per GNU coding standards.
9826 Most of the snail mail addresses were wrong anyway, and omitting
9827 them makes the source code easier to maintain. Almost all of the
9828 changes are to license notices and to locale LC_IDENTIFICATION
9829 addresses, except for this one:
9830 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9831 not its snail mail address.
9832
9833 2012-02-09 Richard Henderson <rth@twiddle.net>
9834
9835 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9836 of kernel-features.h.
9837
9838 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9839
9840 2012-02-08 Marek Polacek <polacek@redhat.com>
9841
9842 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9843 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9844 * sysdeps/gnu/_G_config.h: Likewise.
9845 * sysdeps/generic/_G_config.h: Likewise.
9846
9847 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9848
9849 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9850 tests.
9851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9852
9853 * sysdeps/powerpc/powerpc32/crti.S: New file.
9854 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9855 * sysdeps/powerpc/powerpc64/crti.S: New file.
9856 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9857
9858 * Makeconfig (have-initfini): Don't set.
9859 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9860 * configure.in (nopic_initfini): Don't substitute.
9861 * config.h.in (HAVE_INITFINI): Don't #undef.
9862 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9863 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9864
9865 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9866
9867 Support crti.S and crtn.S provided directly by architectures.
9868 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9869 [crti.S in sysdirs] (omit-deps): Likewise.
9870 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9871 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9872 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9873 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9874 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9875 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9876 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9877 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9878 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9879 compiler output for sysdeps/generic/initfini.c.
9880 * sysdeps/i386/elf/Makefile: Remove file.
9881 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9882
9883 2012-02-07 Marek Polacek <polacek@redhat.com>
9884
9885 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9886 * sysdeps/gnu/_G_config.h: Likewise.
9887 * sysdeps/mach/hurd/_G_config.h: Likewise.
9888
9889 2012-02-07 Marek Polacek <polacek@redhat.com>
9890
9891 * math/Makefile (tests): Add tst-CMPLX2.
9892 * math/tst-CMPLX2.c: New file.
9893
9894 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9895
9896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9897
9898 * math/libm-test.inc (jn_test): Add missing L suffix.
9899
9900 2012-02-06 Marek Polacek <polacek@redhat.com>
9901
9902 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9903 * sysdeps/i386/fpu/e_powf.S: Likewise.
9904 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9905 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9906 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9907 * sysdeps/i386/fpu/e_pow.S: Likewise.
9908 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9909 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9910 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9911 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9912 * sysdeps/i386/fpu/e_log2.S: Likewise.
9913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9914 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9915 * sysdeps/i386/fpu/e_powl.S: Likewise.
9916 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9917 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9918 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9919 * sysdeps/i386/fpu/e_logl.S: Likewise.
9920 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9921 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9922 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9923 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9924 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9925 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9926 * sysdeps/i386/fpu/e_log.S: Likewise.
9927 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9928 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9929 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9930 * sysdeps/i386/fpu/e_logf.S: Likewise.
9931 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9932 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9933 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9934 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9935 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9936 * sysdeps/i386/fpu/e_log10.S: Likewise.
9937 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9938 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9939 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9940 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9941 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9942 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9943 * sysdeps/i386/asm-syntax.h: Likewise.
9944 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9945 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9947 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9948 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9949 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9950 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9951 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9952 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9953 * sysdeps/powerpc/sysdep.h: Likewise.
9954 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9955 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9956
9957 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9958
9959 [BZ #411]
9960 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9961
9962 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9963
9964 * sysdeps/i386/sysdep.h: Include <features.h>.
9965 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9966 version.
9967
9968 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9969
9970 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9971 Define.
9972 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9973 LOAD_PIC_REG_STR.
9974
9975 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9976
9977 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9978 (SETUP_PIC_REG): Use GET_PC_THUNK.
9979 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9980 macro.
9981
9982 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9983
9984 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9985 for non-PIC compilation.
9986 (SETUP_PIC_REG): Add .p2align directive.
9987 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9988 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9989 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9990 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9991 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9992 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9993 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9994 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9995 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9996 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9997 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9998 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9999 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10000 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10001 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10002 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10003 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10004 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10005 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10006 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10008 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10009 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10010 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10013 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10014 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10015 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10016 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10017 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10018 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10019 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10020 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10021 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10024 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10025 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10026 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10027 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10028
10029 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10030
10031 * math/tst-CMPLX.c: Include <stdio.h>.
10032
10033 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10034
10035 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10036 float.
10037 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10038 * sysdeps/sparc/bits/mathdef.h: Likewise.
10039
10040 2012-01-31 Marek Polacek <polacek@redhat.com>
10041
10042 * libio/libio.h: Don't define _PARAMS.
10043 * locale/programs/config.h: Don't define PARAMS.
10044 * stdlib/strtol_l.c: Likewise.
10045 (__strtol_l): Remove PARAMS from the prototype.
10046
10047 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10048
10049 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10050 names. Just use the correct names. Remove unnecessary wrapper
10051 functions.
10052 * malloc/arena.c: Likewise.
10053 * malloc/hooks.c: Likewise.
10054
10055 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10056 ARENA_TEST says not to. Simplify test for creation of a new arena.
10057 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10058
10059 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10060
10061 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10062 into tail calls.
10063 (update_get_addr): New function.
10064 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10065 GET_ADDR_MODULE parameter.
10066
10067 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10068
10069 * crypt/cert.c: Remove __STDC__ conditionals.
10070 * crypt/crypt-entry.c: Likewise.
10071 * crypt/crypt_util.c: Likewise.
10072 * libio/filedoalloc.c: Likewise.
10073 * libio/fileops.c: Likewise.
10074 * libio/genops.c: Likewise.
10075 * libio/iofclose.c: Likewise.
10076 * libio/iofdopen.c: Likewise.
10077 * libio/iofopen.c: Likewise.
10078 * libio/iofopen64.c: Likewise.
10079 * libio/iogetdelim.c: Likewise.
10080 * libio/iopopen.c: Likewise.
10081 * libio/obprintf.c: Likewise.
10082 * libio/oldfileops.c: Likewise.
10083 * libio/oldiofclose.c: Likewise.
10084 * libio/oldiofdopen.c: Likewise.
10085 * libio/oldiofopen.c: Likewise.
10086 * libio/oldiopopen.c: Likewise.
10087 * libio/wfiledoalloc.c: Likewise.
10088 * libio/wgenops.c: Likewise.
10089 * locale/programs/xmalloc.c: Likewise.
10090 * misc/syslog.c: Likewise.
10091 * stdio-common/xbug.c: Likewise.
10092 * string/memchr.c: Likewise.
10093 * string/memcmp.c: Likewise.
10094 * string/memrchr.c: Likewise.
10095 * string/rawmemchr.c: Likewise.
10096 * sysdeps/posix/getcwd.c: Likewise.
10097 * time/strftime_l.c: Likewise.
10098
10099 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10100
10101 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10102 * config.make.in (config-cflags-sse2avx): Define.
10103 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10104 Fix typo.
10105
10106 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10107
10108 * scripts/config.guess: Update from upstream config git repository.
10109 * scripts/config.sub: Likewise.
10110
10111 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10112
10113 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10114 (EM_NUM): Update.
10115 (R_TILEPRO_*, R_TILEGX_*): New macros.
10116
10117 * scripts/firstversions.awk: Fix bug in version range handling.
10118
10119 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10120
10121 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10122
10123 * include/sys/epoll.h: New file.
10124 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10125 libc_hidden_def.
10126
10127 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10128
10129 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10130 Avoid unnecessary __WORDSIZE == 64 test.
10131 (fmaxf): Use VEX format if possible.
10132 (fmax): Likewise.
10133 (fminf): Likewise.
10134 (fmin): Likewise.
10135
10136 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10137 * math/math_private.h: Remove libc_fegetround* and
10138 libc_fesetround*.
10139 * sysdeps/i386/configure.in: Check for -msse2avx.
10140 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10141 also if SSE2AVX is defined.
10142 Remove libc_fegetround* and libc_fesetround*.
10143 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10144 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10145 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10146 of HAS_YMM_USABLE.
10147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10148 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10149 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10152
10153 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10154
10155 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10156
10157 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10158 size is not set.
10159 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10160
10161 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10162
10163 [BZ #13618]
10164 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10165 relocation.
10166 * Makeconfig (libm): Define.
10167 * elf/Makefile: Add rules to build and run tst-relsort1.
10168 * elf/tst-relsort1.c: New file.
10169 * elf/tst-relsort1mod1.c: New file.
10170 * elf/tst-relsort1mod2.c: New file.
10171
10172 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10173
10174 * math/s_ldexp.c: Remove __STDC__ conditionals.
10175 * math/s_ldexpf.c: Likewise.
10176 * math/s_ldexpl.c: Likewise.
10177 * math/s_nextafter.c: Likewise.
10178 * math/s_nexttowardf.c: Likewise.
10179 * math/s_significand.c: Likewise.
10180 * math/s_significandf.c: Likewise.
10181 * math/s_significandl.c: Likewise.
10182 * math/w_jnl.c: Likewise.
10183 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10184 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10185 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10186 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10187 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10202 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10203 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10204 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10205 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10207 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10208 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10213 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10214 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10215 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10216 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10217 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10218 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10219 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10220 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10221 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10222 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10223 * sysdeps/ieee754/k_standard.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10285 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10290 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10303 * sysdeps/ieee754/s_matherr.c: Likewise.
10304 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10305 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10308
10309 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10310
10311 * crypt/md5.h: Remove __STDC__ conditionals.
10312 * libio/libioP.h: Likewise.
10313 * locale/programs/config.h: Likewise.
10314 * sysdeps/generic/sysdep.h: Likewise.
10315 * sysdeps/i386/asm-syntax.h: Likewise.
10316 * sysdeps/s390/asm-syntax.h: Likewise.
10317 * sysdeps/unix/sysdep.h: Likewise.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10320
10321 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10322
10323 * libio/libio.h: Remove __STDC__ conditionals.
10324 * malloc/obstack.h: Likewise.
10325 * math/complex.h: Likewise.
10326 * math/math.h: Likewise.
10327 * sysdeps/generic/_G_config.h: Likewise.
10328 * sysdeps/gnu/_G_config.h: Likewise.
10329 * sysdeps/mach/hurd/_G_config.h: Likewise.
10330 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10331 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10332 * sysdeps/sparc/bits/mathdef.h: Likewise.
10333
10334 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10335
10336 [BZ #13583]
10337 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10338 Clean up HAS_* macros.
10339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10340 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10341 possible.
10342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10343 HAS_AVX.
10344 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10345 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10346 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10347 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10348 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10349
10350 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10351
10352 * elf/tst-unique3.cc (gets): Remove declaration.
10353 * elf/tst-unique3lib.cc (gets): Likewise.
10354 * elf/tst-unique3lib2.cc (gets): Likewise.
10355 * elf/tst-unique4.cc (gets): Likewise.
10356
10357 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10358
10359 * include/stdio.h: Add C++ protection. Add gets declarations and
10360 definitions.
10361 * debug/tst-chk1.c: Don't declare gets here.
10362 * stdio-common/tst-gets.c: Likewise.
10363
10364 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10365
10366 * posix/glob: Remove directory.
10367
10368 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10369
10370 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10371
10372 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10373
10374 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10375 of the non-standard EPFNOSUPPORT.
10376
10377 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10378
10379 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10380 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10381 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10382
10383 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10384
10385 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10386
10387 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10388
10389 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10390 transient errors.
10391 * nscd/grpcache.c (cache_addgr): Likewise.
10392 * nscd/hstcache.c (cache_addhst): Likewise.
10393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10394 * nscd/pwdcache.c (cache_addpw): Likewise.
10395 * nscd/servicescache.c (cache_addserv): Likewise.
10396
10397 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10398
10399 * malloc/malloc.c: Various cleanups.
10400 * malloc/hooks.c: Likewise.
10401
10402 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10403 * stdlib/bug-fmtmsg1.c: New file.
10404
10405 * stdlib/fmtmsg.c (init): Add missing unlock.
10406 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10407
10408 2012-01-12 Marek Polacek <polacek@redhat.com>
10409
10410 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10411 and _GNU_SOURCE.
10412
10413 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10414
10415 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10416 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10417 macro to ensure uniqueness of label name.
10418 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10419 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10420
10421 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10422
10423 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10424
10425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10426 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10427 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10429
10430 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10431
10432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10433
10434 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10435 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10436 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10437
10438 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10439
10440 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10441 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10442 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10444
10445 * math/bits/math-finite.h: Add ldexp support.
10446
10447 2012-01-10 Marek Polacek <polacek@redhat.com>
10448
10449 * locale/programs/localedef.h (show_archive_content): Add noreturn
10450 attribute.
10451
10452 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10453
10454 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10455
10456 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10457
10458 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10459
10460 * io/Makefile (headers): Add bits/poll2.h.
10461
10462 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10463
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10465 typo #include statement.
10466
10467 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10468
10469 * include/sys/cdefs.h: Define __attribute_alloc_size.
10470 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10471 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10472 * elf/pldd.c: Likewise.
10473 * iconv/iconv_charmap.c: Likewise.
10474 * iconv/iconvconfig.c: Likewise.
10475 * iconv/strtab.c: Likewise.
10476 * locale/programs/locale.c: Likewise.
10477 * locale/programs/localedef.h: Likewise.
10478 * locale/programs/simple-hash.c: Likewise.
10479 * nscd/nscd.h: Likewise.
10480 * nss/makedb.c: Likewise.
10481 * sysdeps/generic/ldconfig.h: Likewise.
10482 * locale/programs/localedef.c: Remove xmalloc prototype.
10483 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10484
10485 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10486
10487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10488 appropriate.
10489
10490 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10491
10492 * math/Makefile (tests): Add tst-CMPLX.
10493 * math/tst-CMPLX.c: New file.
10494
10495 * math/complex.h (CMPLXL): Fix typo.
10496
10497 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10498 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10499 GLIBC_2.16.
10500 * debug/tst-chk1.c: Add poll and ppoll tests.
10501 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10502 * include/sys/poll.h: Add hidden proto for ppoll.
10503 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10504 * sysdeps/mach/hurd/ppoll.c: Likewise.
10505 * io/ppoll.c: Likewise.
10506 * debug/poll_chk.c: New file.
10507 * debug/ppoll_chk.c: New file.
10508 * include/bits/poll2.h: New file.
10509 * io/bits/poll2.h: New file.
10510
10511 [BZ #1350]
10512 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10513
10514 * configure.in: static is always set to yes. Remove.
10515 * config.make.in: Don't set build-static.
10516 * Makeconfig: Remove use of build-static.
10517 * dlfcn/Makefile: Likewise.
10518 * elf/Makefile: Likewise.
10519 * math/Makefile: Likewise.
10520 * misc/Makefile: Likewise.
10521 * nptl/Makefile: Likewise.
10522 * sysdeps/mach/hurd/Makefile: Likewise.
10523
10524 * configure.in: PWD_P is not used anymore.
10525 * config.make.in: Remove PWD_P entry.
10526
10527 * configure.in: Remove last remnants of RANLIB.
10528 No need to check for signed size_t anymore.
10529 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10530 and IA-64.
10531 Remove __builtin_expect test because we require at least gcc 3.4.
10532 * aclocal.m4: Likewise.
10533
10534 * wcsmbs/mbrtoc16.c: Implement using towc function.
10535 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10536 * wcsmbs/wcsmbsload.c: Likewise.
10537 * iconv/gconv_simple.c: Likewise.
10538 * iconv/gconv_int.h: Likewise.
10539 * iconv/gconv_builtin.h: Likewise.
10540 * iconv/iconv_prog.c: Remove CHAR16 handling.
10541
10542 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10543
10544 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10545
10546 * configure.in: Remove --with-elf and --enable-bounded options.
10547 Dont set base_machine for ia64. More non-ELF conditions removed.
10548 Remove testing and setting of leading underscore information.
10549 * config.make.in (build-bounded): Set to no.
10550 * config.h.in: Remove NO_UNDERSCORES entry.
10551 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10552 them.
10553 * csu/start.c: Remove !NO_UNDERSCORE code.
10554 * locale/localeinfo.h: Likewise.
10555 * sysdeps/generic/machine-gmon.h: Likewise.
10556 * sysdeps/generic/sysdep.h: Likewise.
10557 * sysdeps/i386/sysdep.h: Likewise.
10558 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10559 * sysdeps/mach/sysdep.h: Likewise.
10560 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10562 * sysdeps/sh/sysdep.h: Likewise.
10563 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10564 * sysdeps/unix/i386/sysdep.S: Likewise.
10565 * sysdeps/unix/sparc/start.c: Likewise.
10566 * sysdeps/unix/sparc/sysdep.S: Likewise.
10567 * sysdeps/unix/sparc/sysdep.h: Likewise.
10568 * sysdeps/unix/start.c: Likewise.
10569 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10570 * sysdeps/x86_64/sysdep.h: Likewise.
10571
10572 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10573
10574 [BZ #13553]
10575 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10576 for non-gcc.
10577 * argp/argp-fmtstream.h: Use const instead __const.
10578 * argp/argp.h: Likewise.
10579 * assert/assert.h: Likewise.
10580 * bits/fenv.h: Likewise.
10581 * bits/sched.h: Likewise.
10582 * bits/sigset.h: Likewise.
10583 * bits/sigthread.h: Likewise.
10584 * catgets/nl_types.h: Likewise.
10585 * conform/data/pthread.h-data: Likewise.
10586 * crypt/crypt-private.h: Likewise.
10587 * crypt/crypt.h: Likewise.
10588 * crypt/crypt_util.c: Likewise.
10589 * ctype/ctype.h: Likewise.
10590 * debug/execinfo.h: Likewise.
10591 * debug/mbsnrtowcs_chk.c: Likewise.
10592 * debug/mbsrtowcs_chk.c: Likewise.
10593 * debug/wcsnrtombs_chk.c: Likewise.
10594 * debug/wcsrtombs_chk.c: Likewise.
10595 * debug/wcstombs_chk.c: Likewise.
10596 * dirent/dirent.h: Likewise.
10597 * dlfcn/dlfcn.h: Likewise.
10598 * elf/neededtest4.c: Likewise.
10599 * grp/grp.h: Likewise.
10600 * gshadow/gshadow.h: Likewise.
10601 * iconv/gconv.h: Likewise.
10602 * iconv/gconv_int.h: Likewise.
10603 * iconv/gconv_simple.c: Likewise.
10604 * iconv/iconv.h: Likewise.
10605 * iconv/loop.c: Likewise.
10606 * iconv/skeleton.c: Likewise.
10607 * include/aio.h: Likewise.
10608 * include/aliases.h: Likewise.
10609 * include/argz.h: Likewise.
10610 * include/arpa/inet.h: Likewise.
10611 * include/assert.h: Likewise.
10612 * include/dirent.h: Likewise.
10613 * include/dlfcn.h: Likewise.
10614 * include/execinfo.h: Likewise.
10615 * include/fcntl.h: Likewise.
10616 * include/fenv.h: Likewise.
10617 * include/glob.h: Likewise.
10618 * include/grp.h: Likewise.
10619 * include/libintl.h: Likewise.
10620 * include/mntent.h: Likewise.
10621 * include/netdb.h: Likewise.
10622 * include/pwd.h: Likewise.
10623 * include/rpc/netdb.h: Likewise.
10624 * include/sched.h: Likewise.
10625 * include/search.h: Likewise.
10626 * include/shadow.h: Likewise.
10627 * include/signal.h: Likewise.
10628 * include/stdio.h: Likewise.
10629 * include/stdlib.h: Likewise.
10630 * include/string.h: Likewise.
10631 * include/sys/socket.h: Likewise.
10632 * include/sys/stat.h: Likewise.
10633 * include/sys/statfs.h: Likewise.
10634 * include/sys/statvfs.h: Likewise.
10635 * include/sys/syslog.h: Likewise.
10636 * include/sys/time.h: Likewise.
10637 * include/sys/uio.h: Likewise.
10638 * include/time.h: Likewise.
10639 * include/unistd.h: Likewise.
10640 * include/utmp.h: Likewise.
10641 * include/wchar.h: Likewise.
10642 * include/wctype.h: Likewise.
10643 * inet/aliases.h: Likewise.
10644 * inet/arpa/inet.h: Likewise.
10645 * inet/netinet/ether.h: Likewise.
10646 * inet/netinet/in.h: Likewise.
10647 * intl/libintl.h: Likewise.
10648 * io/bits/fcntl2.h: Likewise.
10649 * io/fcntl.h: Likewise.
10650 * io/ftw.h: Likewise.
10651 * io/sys/poll.h: Likewise.
10652 * io/sys/stat.h: Likewise.
10653 * io/sys/statfs.h: Likewise.
10654 * io/sys/statvfs.h: Likewise.
10655 * io/utime.h: Likewise.
10656 * libio/bits/stdio.h: Likewise.
10657 * libio/bits/stdio2.h: Likewise.
10658 * libio/libio.h: Likewise.
10659 * libio/libioP.h: Likewise.
10660 * libio/stdio.h: Likewise.
10661 * locale/lc-ctype.c: Likewise.
10662 * locale/locale.h: Likewise.
10663 * login/utmp.h: Likewise.
10664 * malloc/arena.c: Likewise.
10665 * malloc/malloc.c: Likewise.
10666 * malloc/malloc.h: Likewise.
10667 * malloc/mcheck.c: Likewise.
10668 * malloc/mtrace.c: Likewise.
10669 * math/bits/mathcalls.h: Likewise.
10670 * math/fenv.h: Likewise.
10671 * math/math_private.h: Likewise.
10672 * misc/bits/error.h: Likewise.
10673 * misc/bits/syslog.h: Likewise.
10674 * misc/err.h: Likewise.
10675 * misc/error.h: Likewise.
10676 * misc/fstab.h: Likewise.
10677 * misc/mntent.h: Likewise.
10678 * misc/regexp.h: Likewise.
10679 * misc/search.h: Likewise.
10680 * misc/sgtty.h: Likewise.
10681 * misc/sys/mman.h: Likewise.
10682 * misc/sys/syslog.h: Likewise.
10683 * misc/sys/uio.h: Likewise.
10684 * misc/sys/xattr.h: Likewise.
10685 * misc/ttyent.h: Likewise.
10686 * nis/rpcsvc/ypclnt.h: Likewise.
10687 * nss/nss.h: Likewise.
10688 * posix/bits/unistd.h: Likewise.
10689 * posix/fnmatch.h: Likewise.
10690 * posix/glob.h: Likewise.
10691 * posix/sched.h: Likewise.
10692 * posix/spawn.h: Likewise.
10693 * posix/sys/wait.h: Likewise.
10694 * posix/unistd.h: Likewise.
10695 * posix/wordexp.h: Likewise.
10696 * pwd/pwd.h: Likewise.
10697 * resolv/netdb.h: Likewise.
10698 * resource/sys/resource.h: Likewise.
10699 * rt/aio.h: Likewise.
10700 * rt/bits/mqueue2.h: Likewise.
10701 * rt/mqueue.h: Likewise.
10702 * shadow/shadow.h: Likewise.
10703 * signal/signal.h: Likewise.
10704 * socket/send.c: Likewise.
10705 * socket/sendto.c: Likewise.
10706 * socket/sys/socket.h: Likewise.
10707 * stdio-common/printf.h: Likewise.
10708 * stdlib/bits/stdlib.h: Likewise.
10709 * stdlib/fmtmsg.h: Likewise.
10710 * stdlib/monetary.h: Likewise.
10711 * stdlib/stdlib.h: Likewise.
10712 * stdlib/ucontext.h: Likewise.
10713 * streams/stropts.h: Likewise.
10714 * string/argz.h: Likewise.
10715 * string/bits/string2.h: Likewise.
10716 * string/string.h: Likewise.
10717 * string/strings.h: Likewise.
10718 * sunrpc/rpc/auth.h: Likewise.
10719 * sunrpc/rpc/auth_des.h: Likewise.
10720 * sunrpc/rpc/clnt.h: Likewise.
10721 * sunrpc/rpc/netdb.h: Likewise.
10722 * sunrpc/rpc/pmap_clnt.h: Likewise.
10723 * sunrpc/rpc/xdr.h: Likewise.
10724 * sysdeps/generic/inttypes.h: Likewise.
10725 * sysdeps/generic/net/if.h: Likewise.
10726 * sysdeps/generic/sys/swap.h: Likewise.
10727 * sysdeps/gnu/net/if.h: Likewise.
10728 * sysdeps/gnu/utmpx.h: Likewise.
10729 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10730 * sysdeps/i386/i486/bits/string.h: Likewise.
10731 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10732 * sysdeps/s390/bits/string.h: Likewise.
10733 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10734 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10735 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10736 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10737 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10738 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10739 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10740 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10741 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10742 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10743 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10744 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10745 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10746 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10747 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10748 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10751 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10753 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10754 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10755 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10756 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10757 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10758 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10759 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10761 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10762 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10763 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10764 * sysvipc/sys/ipc.h: Likewise.
10765 * sysvipc/sys/msg.h: Likewise.
10766 * sysvipc/sys/sem.h: Likewise.
10767 * sysvipc/sys/shm.h: Likewise.
10768 * termios/termios.h: Likewise.
10769 * time/sys/time.h: Likewise.
10770 * time/time.h: Likewise.
10771 * wcsmbs/bits/wchar2.h: Likewise.
10772 * wcsmbs/uchar.h: Likewise.
10773 * wcsmbs/wchar.h: Likewise.
10774 * wctype/wctype.h: Likewise.
10775
10776 [BZ #13551]
10777 * Makeconfig: Remove all but ELF support including AIX support.
10778 * Makerules: Likewise.
10779 * config.h.in: Likewise.
10780 * config.make.in: Likewise.
10781 * configure: Likewise.
10782 * configure.in: Likewise.
10783 * csu/Makefile: Likewise.
10784 * csu/version.c: Likewise.
10785 * debug/Makefile: Likewise.
10786 * dlfcn/Makefile: Likewise.
10787 * elf/Makefile: Likewise.
10788 * extra-lib.mk: Likewise.
10789 * iconv/Makefile: Likewise.
10790 * include/libc-symbols.h: Likewise.
10791 * include/shlib-compat.h: Likewise.
10792 * resolv/Makefile: Likewise.
10793 * resolv/res_libc.c: Likewise.
10794 * rt/Makefile: Likewise.
10795 * sysdeps/i386/asm-syntax.h: Likewise.
10796 * sysdeps/i386/sysdep.h: Likewise.
10797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10798 * sysdeps/mach/sysdep.h: Likewise.
10799 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10800 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10801 * sysdeps/s390/asm-syntax.h: Likewise.
10802 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10804 * sysdeps/sh/sysdep.h: Likewise.
10805 * sysdeps/unix/sparc/sysdep.h: Likewise.
10806 * sysdeps/wordsize-32/divdi3.c: Likewise.
10807 * sysdeps/x86_64/sysdep.h: Likewise.
10808
10809 * argp/Versions: Remove _argp_unlock_xxx.
10810
10811 [BZ #13559]
10812 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10813 * abilist/libBrokenLocale.abilist: Likewise.
10814 * abilist/libanl.abilist: Likewise.
10815 * abilist/libc.abilist: Likewise.
10816 * abilist/libcrypt.abilist: Likewise.
10817 * abilist/libdl.abilist: Likewise.
10818 * abilist/libm.abilist: Likewise.
10819 * abilist/libnsl.abilist: Likewise.
10820 * abilist/libpthread.abilist: Likewise.
10821 * abilist/libresolv.abilist: Likewise.
10822 * abilist/librt.abilist: Likewise.
10823 * abilist/libthread_db.abilist: Likewise.
10824 * abilist/libutil.abilist: Likewise.
10825 * abilist/libnss_db.abilist: New file.
10826
10827 * scripts/abilist.awk: Add support for indirect functions.
10828
10829 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10830
10831 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10832
10833 * shlib-versions: Remove entries for ports architectures.
10834
10835 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10836 files in ports.
10837 * elf/stackguard-macros.h: Remove support for IA-64.
10838 * elf/tst-auditmod1.c: Likewise.
10839 * sysdeps/generic/ldsodefs.h: Likewise.
10840
10841 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10842 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10843 configure files.
10844
10845 [BZ #13552]
10846 * configure.in: Remove --enable-omitfp support.
10847 * FAQ.in: Adjust.
10848 * config.make.in: Likewise.
10849 * Makeconfig: Likewise.
10850 * manual/install.texi: Likewise.
10851
10852 In case anyone cares, the IA-64 architecture could move to ports.
10853 * sysdeps/ia64/*: Removed.
10854 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10855 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10856
10857 [BZ #13555]
10858 * configure.in: Remove entries for unsupported architectures.
10859
10860 [BZ #13533]
10861 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10862 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10863 routines.
10864 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10865 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10866 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10867 fall back to using wcrtomb.
10868 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10869 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10870 renaming.
10871 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10872 * wcsmbs/tst-c16c32-1.c: New file.
10873
10874 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10875 local variable.
10876
10877 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10878
10879 * elf/tst-unique3.cc: Add explicit declaration of gets.
10880 * elf/tst-unique3lib.cc: Likewise.
10881 * elf/tst-unique3lib2.cc: Likewise.
10882 * elf/tst-unique4.cc: Likewise.
10883
10884 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10885
10886 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10887
10888 [BZ #13566]
10889 * assert/assert.h (static_assert): Don't define for C++.
10890 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10891 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10892
10893 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10894
10895 * iconv/loop.c (single loop): Fix assertion in storing of
10896 remaining bytes.
10897
10898 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10899
10900 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10901
10902 * posix/getconf.c: Update copyright year.
10903 * nss/getent.c: Likewise.
10904 * nss/makedb.c: Likewise.
10905 * iconv/iconvconfig.c: Likewise.
10906 * iconv/iconv_prog.c: Likewise.
10907 * elf/ldconfig.c: Likewise.
10908 * elf/pldd.c: Likewise.
10909 * elf/sotruss.ksh: Likewise.
10910 * catgets/gencat.c: Likewise.
10911 * csu/version.c: Likewise.
10912 * elf/ldd.bash.in: Likewise.
10913 * elf/sprof.c (print_version): Likewise.
10914 * locale/programs/locale.c: Likewise.
10915 * locale/programs/localedef.c: Likewise.
10916 * login/programs/pt_chown.c: Likewise.
10917 * nscd/nscd.c (print_version): Likewise.
10918 * debug/xtrace.sh: Likewise.
10919 * malloc/memusage.sh: Likewise.
10920 * malloc/mtrace.pl: Likewise.
10921 * debug/catchsegv.sh: Likewise.
10922
10923 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10924
10925 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10926 pure attribute.
10927
10928 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10929
10930 [BZ #13533]
10931 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10932 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10933 transformations.
10934 * iconv/gconv_int.h: Likewise.
10935 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10936 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10937 from libc for GLIBC_2.16.
10938 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10939 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10940 * wcsmbs/uchar.h: Really define mbstate_t.
10941 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10942 * wcsmbs/c16rtomb.c: New file.
10943 * wcsmbs/mbrtoc16.c: New file.
10944 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10945 for C/POSIX locale.
10946 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10947 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10948
10949 * wcsmbs/wchar.h: Add missing __restrict.
10950
10951 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10952
10953 [BZ #13532]
10954 * time/Makefile (routines): Add timespec_get.
10955 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10956 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10957 timespec for ISO C11.
10958 * time/timespec_get.c: New file.
10959 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10960 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10961
10962 [BZ #13531]
10963 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10964 * stdlib/stdlib.h: Declare aligned_alloc.
10965 * Versions.def: Add GLIBC_2.16 for libc.
10966 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10967
10968 [BZ 13527]
10969 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10970 ISO C11.
10971
10972 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10973 code.
10974
10975 [BZ #13528]
10976 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10977
10978 [BZ #13529]
10979 * assert/assert.h (static_assert): Define.
10980
10981 * version.h: Update for 2.16 development version.
10982
10983 [BZ #13526]
10984 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10985 _ISOC11_SOURCE.
10986
10987 * version.h (RELEASE): Bump for 2.15 release.
10988 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10989
10990 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10991 Patch by Marek Polacek <mpolacek@redhat.com>.
10992
10993 * bits/byteswap.h: Protect long long constants with __extension__.
10994 * sysdeps/i386/bits/byteswap.h: Likewise.
10995 * sysdeps/ia64/bits/byteswap.h: Likewise.
10996 * sysdeps/s390/bits/byteswap.h: Likewise.
10997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10998
10999 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11000
11001 [BZ #13540]
11002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11003 destination buffer.
11004 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11005
11006 2011-12-23 Marek Polacek <polacek@redhat.com>
11007
11008 * elf/dl-addr.c (determine_info): Add inline keyword.
11009 * elf/tst-auditmod4b.c (check_avx): Likewise.
11010 * elf/tst-auditmod6b.c (check_avx): Likewise.
11011 * elf/tst-auditmod6c.c (check_avx): Likewise.
11012 * elf/tst-auditmod7b.c (check_avx): Likewise.
11013
11014 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11015
11016 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11017 !__SSE_MATH__.
11018
11019 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11020
11021 [BZ #13540]
11022 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11023 processing for last bytes.
11024
11025 2011-08-06 Bruno Haible <bruno@clisp.org>
11026
11027 [BZ #13061]
11028 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11029 U+0385, not to U+1FEE.
11030
11031 [BZ #13062]
11032 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11033 entry for U+00A5 U+0301.
11034
11035 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11036
11037 [BZ #13166]
11038 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11039 buffer for the output is too small.
11040
11041 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11042 optimization.
11043
11044 [BZ #13185]
11045 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11046 SSE flags if possible.
11047
11048 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11049
11050 [BZ #13540]
11051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11052 processing for last bytes.
11053
11054 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11055
11056 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11057 (syscall-list-default-options, syscall-list-default-condition)
11058 (syscall-list-includes): Define.
11059 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11060 list of ABIs and options and #if conditions for each ABI. Do not
11061 handle common syscalls between ABIs specially.
11062 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11063 Remove.
11064 (syscall-list-variants, syscall-list-32bit-options)
11065 (syscall-list-32bit-condition, syscall-list-64bit-options)
11066 (syscall-list-64bit-condition): Define.
11067 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11068 (syscall-list-variants, syscall-list-32bit-options)
11069 (syscall-list-32bit-condition, syscall-list-64bit-options)
11070 (syscall-list-64bit-condition): Define.
11071 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11072 Remove.
11073 (syscall-list-variants, syscall-list-32bit-options)
11074 (syscall-list-32bit-condition, syscall-list-64bit-options)
11075 (syscall-list-64bit-condition): Define.
11076 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11077 Remove.
11078 (syscall-list-variants, syscall-list-32bit-options)
11079 (syscall-list-32bit-condition, syscall-list-64bit-options)
11080 (syscall-list-64bit-condition): Define.
11081
11082 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11083
11084 * locale/iso-639.def: Add brx entry.
11085
11086 [BZ #13328]
11087 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11088 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11089
11090 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11091 __feraiseexcept_renamed.
11092
11093 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11094
11095 [BZ #13538]
11096 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11097 EPOLLET with unsigned values.
11098 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11100
11101 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11102 to large cancellation.
11103 * math/s_cacoshf.c: Likewise.
11104 * math/s_cacoshl.c: Likewise.
11105
11106 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11107
11108 [BZ #13305]
11109 [BZ #12786]
11110 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11111 * math/s_cacoshf.c: Likewise.
11112 * math/s_cacoshl.c: Likewise.
11113
11114 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11115
11116 [BZ #13439]
11117 * iconv/gconv.h: Define __GCONV_SWAP.
11118 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11119 * iconvdata/utf-16.c: Likewise.
11120 * iconvdata/utf-32.c: Likewise.
11121
11122 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11123
11124 [BZ #13524]
11125 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11126 numerator after shifting it by one limb.
11127
11128 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11129
11130 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11131 under [__USE_EXTERN_INLINES].
11132
11133 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11134
11135 [BZ #13446]
11136 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11137
11138 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11139
11140 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11141 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11142 optimized code.
11143 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11144 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11145 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11146 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11147 for strncasecmp/strncasecmp_l compilation.
11148 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11149 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11150
11151 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11152
11153 [BZ #13484]
11154 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11155 of __asm__.
11156
11157 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11158
11159 [BZ #13506]
11160 * time/tzfile.c (__tzfile_read): Check values from file header.
11161
11162 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11163
11164 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11165 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11166 * powerpc/powerpc32/dl-start.S: Likewise.
11167 * powerpc/powerpc32/elf/start.S: Likewise.
11168 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11169 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11170 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11171 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11172 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11173 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11174 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11175 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11176 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11177 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11178 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11179 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11180 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11181 * powerpc/powerpc32/memset.S: Likewise.
11182 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11183 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11184 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11185 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11186 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11187 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11188 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11189 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11190 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11191 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11192 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11193 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11194 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11195
11196 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11197
11198 * math/libm-test.inc: Added more nearbyint tests.
11199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11200 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11203
11204 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11205
11206 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11207 FD_CLOEXEC.
11208
11209 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11210
11211 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11212 Add wcscpy-ssse3 wcscpy-c.
11213 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11214 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11215 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11216 * sysdeps/x86_64/wcschr.S: New file.
11217 * sysdeps/x86_64/wcsrchr.S: New file.
11218 * string/test-strcmp.c: Remove checking of wcscmp function for
11219 wrong alignments.
11220 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11221 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11222 wcsrchr-sse2 wcsrchr-c.
11223 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11224 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11225 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11226 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11227 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11228 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11229 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11230 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11231 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11232 * wcsmbc/wcschr.c (WCSCHR): New macro.
11233
11234 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11235
11236 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11237 * wcsmbs/test-wcsrchr.c: New file.
11238 * string/test-strrchr.c: Add wcsrchr support.
11239 (WIDE): New macro.
11240 * wcsmbs/test-wcscpy.c: New file.
11241 * string/test-strcpy.c: Add wcscpy support.
11242 (WIDE): New macro.
11243
11244 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11245
11246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11247 the inner loop.
11248
11249 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11250
11251 [BZ #13472]
11252 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11253
11254 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11255
11256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11257 Minor optimizations.
11258
11259 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11260 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11261 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11262
11263 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11264
11265 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11266 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11267 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11268 for gcc to avoid warnings.
11269 * inet/Makefile (tests): Add tst-checks.
11270 * inet/tst-checks.c: New file.
11271
11272 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11273 warning.
11274
11275 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11276 __wmemcmp_sse2.
11277
11278 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11279 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11280
11281 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11282
11283 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11284
11285 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11286 problem.
11287
11288 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11289
11290 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11291
11292 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11293 conditional on GCC version.
11294 (__arch_compare_and_exchange_val_8_acq)
11295 (__arch_compare_and_exchange_val_16_acq)
11296 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11297 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11298 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11299
11300 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11301
11302 * sysdeps/sh/backtrace.c: New file.
11303
11304 2011-12-02 Andreas Schwab <schwab@redhat.com>
11305
11306 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11307 parenthesis.
11308
11309 2011-12-01 Andreas Schwab <schwab@redhat.com>
11310
11311 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11312 falling back to utime.
11313
11314 2011-11-30 Andreas Schwab <schwab@redhat.com>
11315
11316 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11317 expectations for float.
11318
11319 2011-11-29 Andreas Schwab <schwab@redhat.com>
11320
11321 * locale/weight.h (findidx): Add parameter len.
11322 * locale/weightwc.h (findidx): Likewise.
11323 * posix/fnmatch_loop.c (FCT): Adjust caller.
11324 * posix/regcomp.c (build_equiv_class): Likewise.
11325 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11326 * posix/regexec.c (check_node_accept_bytes): Likewise.
11327 * string/strcoll_l.c (STRCOLL): Likewise.
11328 * string/strxfrm_l.c (STRXFRM): Likewise.
11329
11330 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11331
11332 * Makefile.in: Remove CVSOPT handling.
11333 * configure.in: Remove use of AC_REVISION.
11334 * iconvdata/Makefile (distribute): No need to filter out CVS.
11335 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11336 handling.
11337
11338 2011-11-16 Andreas Schwab <schwab@redhat.com>
11339
11340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11341 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11342 [USE_AS_STRNCASECMP_L]: Likewise.
11343 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11344 NO_TLS_DIRECT_SEG_REFS.
11345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11346 Fix argument offsets for non-PIC.
11347 [USE_AS_STRNCASECMP_L]: Likewise.
11348 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11349 NO_TLS_DIRECT_SEG_REFS.
11350
11351 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11352
11353 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11354 O_CLOEXEC.
11355 * locale/loadlocale.c (_nl_load_locale): Likewise.
11356
11357 2011-11-15 Andreas Schwab <schwab@redhat.com>
11358
11359 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11360 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11361 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11362 (SYSCALL_GETTIME): Set errno on error.
11363
11364 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11365 count references to noai6ai_cached.
11366
11367 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11368
11369 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11370
11371 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11372 FD_CLOEXEC for /proc/self/maps.
11373
11374 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11375 FD_CLOEXEC for /proc/meminfo.
11376
11377 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11378 gai.conf.
11379
11380 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11381 FD_CLOEXEC for given file.
11382
11383 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11384
11385 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11386 FD_CLOEXEC for /etc/hosts.
11387 (_gethtent): Likewise.
11388
11389 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11390
11391 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11392 cancellation and set FD_CLOEXEC for /etc/netgroup.
11393
11394 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11395 reading /etc/publickey.
11396
11397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11398 allow cancellation when reading /etc/group.
11399
11400 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11401 cancellation.
11402 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11403
11404 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11405 when using data file.
11406
11407 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11408
11409 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11410 (write_nis_obj): Use "c" and "e" in fopen.
11411
11412 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11413
11414 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11415
11416 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11417
11418 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11419
11420 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11421 locale.alias.
11422
11423 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11424
11425 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11426
11427 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11428
11429 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11430 file parsing and set FD_CLOEXEC.
11431
11432 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11433
11434 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11435
11436 2011-11-14 Andreas Schwab <schwab@redhat.com>
11437
11438 * malloc/arena.c (arena_get2): Don't call reused_arena when
11439 _int_new_arena failed.
11440
11441 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11442
11443 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11444 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11445 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11447 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11449 to compile strcasecmp and strncasecmp.
11450 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11451 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11452
11453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11454
11455 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11456
11457 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11458 locale-defines.sym to gen-as-const-headers.
11459 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11460 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11462 to compile strcasecmp and strncasecmp.
11463 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11464 strcasecmp_l and strncasecmp_l.
11465 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11466 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11467 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11468 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11469 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11470 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11471 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11472 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11473 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11474 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11475 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11476
11477 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11478
11479 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11480 result of SYSDEP_GETTIME_CPU to retval.
11481 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11482 parameter list to macro. Remove trailing semicolon. Adjust users.
11483
11484 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11485 variable.
11486
11487 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11488 mantissa words.
11489 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11490
11491 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11492 from unused variable.
11493
11494 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11495 DWARF definitions.
11496 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11497 for assembling.
11498
11499 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11500 over namespaces.
11501
11502 * sunrpc/rpc_prot.c (rejected): Fix case value.
11503
11504 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11505 unsigned long long int to avoid warnings in shift.
11506
11507 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11508 of use of trans.
11509 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11510 variable tmp.
11511
11512 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11513 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11514 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11515
11516 * nis/nis_table.c (nis_list): Use variable of correct type for
11517 result of __follow_path call.
11518
11519 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11520
11521 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11522 of math functions ceil, trunc, floor, round, and sqrt, when
11523 avaliable on the platform.
11524 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11525 name clash.
11526 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11527 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11528 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11529
11530 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11531
11532 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11533 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11534
11535 2011-11-11 Roland McGrath <roland@hack.frob.com>
11536
11537 * include/unistd.h: Fix __readlink return type.
11538 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11539
11540 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11541
11542 * stdlib/ucontext.h: Undo last change for makecontext.
11543
11544 2011-11-11 Andreas Schwab <schwab@redhat.com>
11545
11546 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11547
11548 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11549 * setjmp/setjmp.h: Mark functions as non-leaf.
11550 * setjmp/bits/setjmp2.h: Likewise.
11551 * stdlib/ucontext.h: Likewise.
11552
11553 2011-11-10 Andreas Schwab <schwab@redhat.com>
11554
11555 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11556 (reused_arena): Don't check arena limit.
11557 (arena_get2): Atomically check arena limit.
11558
11559 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11560
11561 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11562 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11563
11564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11565 instructions.
11566
11567 2011-11-07 Andreas Schwab <schwab@redhat.com>
11568
11569 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11570 handler when locking.
11571
11572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11573 Fix size of allocated buffer.
11574
11575 2011-11-04 Andreas Schwab <schwab@redhat.com>
11576
11577 [BZ #10103]
11578 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11579 declarations for long double functions.
11580 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11581
11582 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11583
11584 2011-11-03 Andreas Schwab <schwab@redhat.com>
11585
11586 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11587 installed.
11588
11589 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11590 is disabled.
11591
11592 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11593
11594 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11595
11596 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11597
11598 * include/alloca.h (stackinfo_alloca_round): Define.
11599 (extend_alloca): Use it.
11600 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11601 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11602 here.
11603
11604 * scripts/check-local-headers.sh: Ignore libaudit.h.
11605
11606 * nscd/Makefile (extra-objs): Make recursively expanded.
11607
11608 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11609
11610 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11612
11613 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11614 * posix/tst-rfc3484-2.c: Likewise.
11615 * posix/tst-rfc3484-3.c: Likewise.
11616
11617 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11618 process_vm_writev.
11619 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11620 process_vm_writev.
11621 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11622 process_vm_writev from libc using GLIBC_2.15 version.
11623
11624 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11625
11626 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11627
11628 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11629 stack usage.
11630
11631 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11632
11633 [BZ #13367]
11634 * nss/getent.c (initgroups_keys): Show error message in case no group
11635 names are given.
11636
11637 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11638 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11639 __bump_nl_timestamp.
11640 * nscd/connections (nscd_init): When host database is served open
11641 netlink socket and request notification about configuration changes.
11642 (main_loop_poll): Track netlink file descriptor and bump timestamp
11643 in case data becomes available.
11644 (main_loop_epoll): Likewise.
11645 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11646 (database_pers_head): Add extra_data fileds.
11647 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11648 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11649 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11650 Adjust caller.
11651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11652 in6ai data, call __free_in6ai.
11653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11654 Add -DHAVE_NETLINK.
11655 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11656 interface information. Reuse previous data if netlink timestamp
11657 is not changed.
11658 (__bump_nl_timestamp): New function.
11659 (__free_in6ai): New function.
11660
11661 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11662
11663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11664 close_not_cancel_no_status here.
11665 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11666
11667 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11668
11669 [BZ #13276]
11670 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11671 return value.
11672
11673 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11674 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11675 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11676
11677 2011-07-03 Andreas Jaeger <aj@suse.de>
11678
11679 [BZ #10709]
11680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11681 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11682 * math/libm-test.inc (sin_test): Add test case.
11683
11684 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11685
11686 [BZ #13337]
11687 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11688 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11689
11690 * elf/chroot_canon.c (chroot_canon): Cleanups.
11691
11692 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11693
11694 [BZ #13335]
11695 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11696 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11697
11698 * string/test-strchr.c: Make usable for strchrnul testing.
11699 * string/test-strchrnul.c: New file.
11700 * string/Makefile (strop-tests): Add strchrnul.
11701
11702 * po/it.po: Update from translation team.
11703 * po/es.po: Likewise.
11704
11705 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11706
11707 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11708 the three constants needed as parameters. Drop the others.
11709 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11710 __m128i_strloadu_tolower.
11711 Create and initialize variable zero and use it in all the places
11712 where _mm_setzero_si128 was used.
11713
11714 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11715 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11716 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11717 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11718 anymore.
11719 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11720 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11721 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11722 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11723 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11724 __mpranred, __mptan.
11725 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11726 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11727 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11728 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11729 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11730 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11732 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11733 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11734
11735 2011-10-28 Andreas Schwab <schwab@redhat.com>
11736
11737 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11738 redefine if SHARED.
11739 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11740
11741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11742 wide char related routines to wcsmbs subdir.
11743
11744 2011-10-27 Andreas Schwab <schwab@redhat.com>
11745
11746 [BZ #13344]
11747 * misc/sys/cdefs.h (__THROWNL): Define.
11748 * posix/unistd.h: Use __THREADNL instead of __THREAD
11749 for memory synchronization functions.
11750
11751 2011-10-26 Roland McGrath <roland@hack.frob.com>
11752
11753 [BZ #13349]
11754 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11755 doesn't exist.
11756 * manual/stdio.texi (Obstack Streams): Node removed.
11757
11758 2011-10-26 Andreas Schwab <schwab@redhat.com>
11759
11760 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11761 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11762 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11763
11764 * math/math_private.h (math_force_eval): Allow non-addressable
11765 arguments.
11766 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11767
11768 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11769
11770 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11771 file is not needed.
11772
11773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11774 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11777 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11779 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11780 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11781 Add AVX variants.
11782 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11783 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11784 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11785 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11786 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11787 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11788 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11789 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11790 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11791 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11792 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11793 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11795 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11796 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11797 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11798 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11799 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11800 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11801
11802 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11803 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11804
11805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11806 place. Use VEX encoding when compiling for AVX.
11807
11808 2011-10-25 Andreas Schwab <schwab@redhat.com>
11809
11810 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11811 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11812
11813 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11814
11815 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11816
11817 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11818 useless if() expression.
11819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11820 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11824 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11825 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11826 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11827 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11828 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11829 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11831 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11833 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11834 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11835 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11837 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11838
11839 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11840
11841 2011-10-25 Andreas Schwab <schwab@redhat.com>
11842
11843 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11844 condition.
11845 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11846
11847 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11848
11849 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11850 .text section. Avoid duplicate constants.
11851 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11861 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11863 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11866 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11868 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11874 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11875 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11876 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11877 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11878 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11879 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11880 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11881 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11884 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11885 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11887 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11889 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11890 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11891 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11892 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11893 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11894 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11895 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11896
11897 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11898
11899 * sysdeps/x86_64/dla.h: Move to ...
11900 * sysdeps/x86_64/fpu/dla.h: ...here.
11901 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11902 situations. Use __builtin_fma only for gcc 4.6 and up.
11903
11904 * config.make.in: Add have-mfma4 entry.
11905 * configure.in: Substitute libc_cv_cc_fma4.
11906 * math/Makefile (dbl-only-routines): Add sincostab.
11907 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11908 Use __sincostab not sincos.
11909 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11910 name is a macro.
11911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11915 using __copysign.
11916 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11917 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11918 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11919 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11920 and __inv.
11921 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11922 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11923 __copysign.
11924 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11925 define aliases when function name is a macro.
11926 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11927 sysdeps/ieee754/dbl-64/sincos.tbl.
11928 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11929 fma4-enabled routines.
11930 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11931 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11932 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11933 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11934 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11935 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11936 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11937 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11938 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11939 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11940 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11941 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11942 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11943 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11945 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11946 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11947 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11948 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11949 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11950 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11951 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11952 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11957 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11959 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11960
11961 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11962 rename.
11963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11969 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11970 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11971
11972 2011-10-24 Andreas Schwab <schwab@redhat.com>
11973
11974 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11975
11976 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11977
11978 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11979
11980 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11981 prediction.
11982 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11983
11984 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11985 Remove unused variable magic_bits.
11986 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11987
11988 * string/strnlen.c: Define and use STRNLEN macro.
11989 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11990 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11992 * wcsmbs/wcslen.c: Define and use WCSLEN.
11993 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11994 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11995 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11996 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11997 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11998 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11999 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12000
12001 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12002
12003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12004 strnlen-sse2-no-bsf.
12005 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12007 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12008 Add strnlen support.
12009 (USE_AS_STRNLEN): New macro.
12010 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12011 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12012 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12013 * sysdeps/x86_64/wcslen.S: New file.
12014
12015 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12016
12017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12018 XMM-moves are used for copying on small sizes.
12019
12020 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12021
12022 * wcsmbs/Makefile (strop-tests): Add wcschr.
12023 * wcsmbs/test-wcschr.c: New file.
12024 * string/test-strchr.c: Update.
12025 Add wcschr support.
12026 (WIDE): New macro.
12027
12028 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12029
12030 * wcsmbs/Makefile (strop-tests): Add wcslen.
12031 * wcsmbs/test-wcslen.c: New file.
12032 * string/test-strlen.c: Update.
12033 Add wcslen support.
12034 (WIDE): New macro.
12035
12036 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12037
12038 * po/it.po: Update from translation team.
12039
12040 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12041
12042 * sysdeps/x86_64/wcscmp.S: Update.
12043 Fix wrong comparison semantics.
12044 wcscmp shall use signed comparison not unsigned.
12045 Don't use substraction to avoid overflow bug.
12046 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12047 * wcsmbc/wcscmp.c: Likewise.
12048 * string/test-strcmp.c: Likewise.
12049 Add new tests to check cases with negative values.
12050
12051 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12052
12053 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12054 * sysdeps/x86_64/dla.h: ...here. New file.
12055 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12064
12065 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12066
12067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12068 __ynl_finite aliases.
12069
12070 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12071
12072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12073
12074 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12075 define DLA_FMA.
12076 [DLA_FMA] (EMULV): Use DLA_FMA.
12077 [DLA_FMA] (MUL12): Use EMULV.
12078 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12079 that are not needed.
12080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12087
12088 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12089
12090 * math/s_nan.c: Undef __nan.
12091 * math/s_nanf.c: Undef __nanf.
12092 * math/s_nanl.c: Undef __nanl.
12093 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12094 "math_private.h".
12095
12096 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12097
12098 * math/s_catan.c: Add branch predictions.
12099 * math/s_catanf.c: Likewise.
12100 * math/s_catanh.c: Likewise.
12101 * math/s_catanhf.c: Likewise.
12102 * math/s_catanhl.c: Likewise.
12103 * math/s_catanl.c: Likewise.
12104 * math/s_cexp.c: Likewise.
12105 * math/s_cexpf.c: Likewise.
12106 * math/s_cexpl.c: Likewise.
12107 * math/s_clog.c: Likewise.
12108 * math/s_clog10.c: Likewise.
12109 * math/s_clog10f.c: Likewise.
12110 * math/s_clog10l.c: Likewise.
12111 * math/s_clogf.c: Likewise.
12112 * math/s_clogl.c: Likewise.
12113 * math/s_csqrt.c: Likewise.
12114 * math/s_csqrtf.c: Likewise.
12115 * math/s_csqrtl.c: Likewise.
12116 * math/s_ctanf.c: Likewise.
12117 * math/s_ctanh.c: Likewise.
12118 * math/s_ctanhf.c: Likewise.
12119 * math/s_ctanhl.c: Likewise.
12120 * math/s_ctanl.c: Likewise.
12121
12122 * math/math_private.h: Define __nan, __nanf, __nanl.
12123 * math/s_cacosh.c: Include <math_private.h>.
12124 * math/s_cacoshl.c: Likewise.
12125 * math/s_casinh.c: Likewise.
12126 * math/s_casinhf.c: Likewise.
12127 * math/s_casinhl.c: Likewise.
12128 * math/s_ccos.c: Rely entire on ccosh.
12129 * math/s_ccosf.c: Rely entire on ccoshf.
12130 * math/s_ccosl.c: Rely entirely on ccoshl.
12131 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12132 Remove tests for FE_INVALID.
12133 * math/s_ccoshf.c: Likewise.
12134 * math/s_ccoshl.c: Likewise.
12135 * math/s_csin.c: Likewise.
12136 * math/s_csinf.c: Likewise.
12137 * math/s_csinh.c Likewise.
12138 * math/s_csinhf.c: Likewise.
12139 * math/s_csinhl.c: Likewise.
12140 * math/s_csinl.c: Likewise.
12141 * math/s_ctan.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12143 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12145
12146 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12147
12148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12149 compilation problems.
12150
12151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12152 __builtin_expect.
12153
12154 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12155
12156 * sysdeps/i386/configure.in: Test for -mfma4 option.
12157 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12158 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12159 COMMON_CPUID_INDEX_80000001.
12160 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12161 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12162 use it if FMA3 is not supported.
12163 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12164
12165 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12166 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12167
12168 2011-10-20 Andreas Schwab <schwab@redhat.com>
12169
12170 [BZ #12892]
12171 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12172 it would create a cycle with a link time dependency.
12173
12174 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12175
12176 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12177 instruction.
12178 * string/Makefile (strop-tests): Add rawmemchr.
12179 * string/test-rawmemchr.c: New file.
12180
12181 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12183 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12184 when compiling str{,n}casecmp and when AVX is available. Hook up
12185 new optimized code in initializers.
12186
12187 2011-10-19 Andreas Schwab <schwab@redhat.com>
12188
12189 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12190 __feraiseexcept instead of feraiseexcept.
12191
12192 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12193
12194 * math/math_private.h: Define defaults for libc_fetestexcept and
12195 libc_feupdateenv.
12196 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12197 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12198 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12199 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12200 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12201 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12202 libc_fetestexcept and libc_feupdateenv.
12203
12204 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12205 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12206 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12207 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12208 libc_feholdexcept_setround.
12209
12210 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12211 Add s_nearbyint-c and s_nearbyintf-c.
12212 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12213 nearbyintf inlines.
12214 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12215 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12216 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12217 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12218
12219 * math/math_private.h: Define defaults for libc_fegetround,
12220 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12221 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12222 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12223 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12224 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12225 standard functions.
12226 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12227 Remove comments and hacks for old compiler versions.
12228 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12229 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12230 libc_feholdexceptl.
12231
12232 2011-10-18 Andreas Schwab <schwab@redhat.com>
12233
12234 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12235 (__feraiseexcept_renamed): Add __NTH.
12236 (feraiseexcept): Add __NTH. Rename local variables to fix
12237 namespace violations.
12238
12239 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12240
12241 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12242
12243 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12244
12245 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12246 recently added interfaces.
12247 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12248
12249 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12250 about macro parameter expansion.
12251
12252 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12253 __NO_MATH_INLINES is defined. Cleanups.
12254
12255 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12256 and __floorf is target has SSE4.1.
12257 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12258 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12259 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12260 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12261
12262 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12263 name.
12264 (floorf): Likewise.
12265
12266 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12267
12268 2011-10-17 Andreas Schwab <schwab@redhat.com>
12269
12270 * misc/sys/cdefs.h: Fix last change.
12271
12272 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12273 database lookup.
12274
12275 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12276
12277 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12278
12279 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12285 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12286 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12287 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12288 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12289 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12290 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12291 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12293 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12295 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12296 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12297 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12298 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12299 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12300 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12301
12302 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12303 ceil, ceilf, floor, floorf.
12304
12305 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12306 Perform IRELATIVE relocations last.
12307
12308 * elf/do-rel.h: Add another parameter nrelative, replacing the
12309 local variable with the same name. Change name of the function
12310 to end in Rel or Rela (uppercase).
12311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12312 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12313 elf_dynamic_do_##reloc function.
12314
12315 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12316
12317 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12318 is sufficient, at least on modern CPUs.
12319
12320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12321
12322 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12323 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12324
12325 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12326 __expl_finite.
12327 * math/bits/math-finite.h: Add entries for exp.
12328 * math/e_expl.c: Add __*_finite alias.
12329 * sysdeps/i386/fpu/e_exp.S: Likewise.
12330 * sysdeps/i386/fpu/e_expf.S: Likewise.
12331 * sysdeps/i386/fpu/e_expl.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12337 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12338 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12339
12340 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12341 is sufficient, at least on modern CPUs.
12342
12343 * ctype/ctype-info.c (__ctype_init): Define.
12344 * include/ctype.h (__ctype_init): Declare.
12345 (__ctype_b_loc): The variable is always initialized.
12346 (__ctype_toupper_loc): Likewise.
12347 (__ctype_tolower_loc): Likewise.
12348 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12349 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12350
12351 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12352
12353 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12354
12355 * configure.in: Also look in $cxxmachine/include for C++ system
12356 headers.
12357
12358 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12359
12360 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12361 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12362 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12363 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12364 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12365 (USE_AS_WMEMCMP): New macro.
12366 Fixing indents.
12367 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12368 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12369 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12370 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12372 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12373 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12374 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12375 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12376 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12377 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12378 (USE_AS_WMEMCMP): New macro.
12379 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12380 * sysdeps/string/test-memcmp.c: Update.
12381 Fix simple_wmemcmp.
12382 Add new tests.
12383 * wcsmbs/wmemcmp.c: Update.
12384 (WMEMCMP): New macro.
12385 Fix overflow bug.
12386
12387 2011-10-12 Andreas Jaeger <aj@suse.de>
12388
12389 [BZ #13268]
12390 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12391
12392 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12393
12394 * libio/iofwide.c (do_length): Avoid warning.
12395
12396 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12397
12398 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12399
12400 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12401
12402 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12403 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12404 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12405 * sysdeps/i386/i686/fpu/e_log.S: New file.
12406 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12407 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12408
12409 * ctype/ctype.h: Add support for inlined isXXX functions when
12410 compiling C++ code.
12411
12412 2011-10-14 Andreas Schwab <schwab@redhat.com>
12413
12414 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12415
12416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12417
12418 2011-10-13 Roland McGrath <roland@hack.frob.com>
12419
12420 [BZ #13291]
12421 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12422
12423 2011-10-13 Andreas Schwab <schwab@redhat.com>
12424
12425 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12426 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12427 feraiseexcept.
12428
12429 * sysdeps/x86_64/memrchr.S: Check for zero size.
12430
12431 * string/stratcliff.c: Add memrchr tests.
12432
12433 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12434
12435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12436 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12437 rawmemchr-sse2 rawmemchr-sse2-bsf.
12438 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12439 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12440 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12441 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12442 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12443 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12444 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12445 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12446 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12447 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12448 * string/memrchr.c (MEMRCHR): New macro.
12449
12450 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12451
12452 Add integration with gcc's -ffinite-math-only and optimize wrapper
12453 functions in libm.
12454 * Versions.def: Define GLIBC_2.15 version for libm.
12455 * math/Makefile (headers): Add bits/math-finite.h.
12456 * math/bits/math-finite.h: New file.
12457 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12458 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12459 * math/e_acoshl.c: Add __*_finite alias.
12460 * math/e_acosl.c: Likewise.
12461 * math/e_asinl.c: Likewise.
12462 * math/e_atan2l.c: Likewise.
12463 * math/e_atanhl.c: Likewise.
12464 * math/e_coshl.c: Likewise.
12465 * math/e_exp10.c: Likewise.
12466 * math/e_exp10f.c: Likewise.
12467 * math/e_exp10l.c: Likewise.
12468 * math/e_exp2l.c: Likewise.
12469 * math/e_fmodl.c: Likewise.
12470 * math/e_gammal_r.c: Likewise.
12471 * math/e_hypotl.c: Likewise.
12472 * math/e_j0l.c: Likewise.
12473 * math/e_j1l.c: Likewise.
12474 * math/e_jnl.c: Likewise.
12475 * math/e_lgammal_r.c: Likewise.
12476 * math/e_log10l.c: Likewise.
12477 * math/e_log2l.c: Likewise.
12478 * math/e_logl.c: Likewise.
12479 * math/e_powl.c: Likewise.
12480 * math/e_sinhl.c: Likewise.
12481 * math/e_sqrtl.c: Likewise.
12482 * math/e_scalb.c: Completely rewritten and optimized.
12483 * math/e_scalbf.c: Likewise.
12484 * math/e_scalbl.c: Likewise.
12485 * math/w_acos.c: Likewise.
12486 * math/w_acosf.c: Likewise.
12487 * math/w_acosl.c: Likewise.
12488 * math/w_acosh.c: Likewise.
12489 * math/w_acoshf.c: Likewise.
12490 * math/w_acoshl.c: Likewise.
12491 * math/w_asin.c: Likewise.
12492 * math/w_asinf.c: Likewise.
12493 * math/w_asinl.c: Likewise.
12494 * math/w_atan2.c: Likewise.
12495 * math/w_atan2f.c: Likewise.
12496 * math/w_atan2l.c: Likewise.
12497 * math/w_atanh.c: Likewise.
12498 * math/w_atanhf.c: Likewise.
12499 * math/w_atanhl.c: Likewise.
12500 * math/w_exp10.c: Likewise.
12501 * math/w_exp10f.c: Likewise.
12502 * math/w_exp10l.c: Likewise.
12503 * math/w_fmod.c: Likewise.
12504 * math/w_fmodf.c: Likewise.
12505 * math/w_fmodl.c: Likewise.
12506 * math/w_j0.c: Likewise.
12507 * math/w_j0f.c: Likewise.
12508 * math/w_j0l.c: Likewise.
12509 * math/w_j1.c: Likewise.
12510 * math/w_j1f.c: Likewise.
12511 * math/w_j1l.c: Likewise.
12512 * math/w_jn.c: Likewise.
12513 * math/w_jnf.c: Likewise.
12514 * math/w_log.c: Likewise.
12515 * math/w_logf.c: Likewise.
12516 * math/w_logl.c: Likewise.
12517 * math/w_log10.c: Likewise.
12518 * math/w_log10f.c: Likewise.
12519 * math/w_log10l.c: Likewise.
12520 * math/w_log2.c: Likewise.
12521 * math/w_log2f.c: Likewise.
12522 * math/w_log2l.c: Likewise.
12523 * math/w_pow.c: Likewise.
12524 * math/w_powf.c: Likewise.
12525 * math/w_powl.c: Likewise.
12526 * math/w_remainder.c: Likewise.
12527 * math/w_remainderf.c: Likewise.
12528 * math/w_remainderl.c: Likewise.
12529 * math/w_scalb.c: Likewise.
12530 * math/w_scalbf.c: Likewise.
12531 * math/w_scalbl.c: Likewise.
12532 * math/w_sqrt.c: Likewise.
12533 * math/w_sqrtf.c: Likewise.
12534 * math/w_sqrtl.c: Likewise.
12535 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12536 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12537 used.
12538 * math/math_private.h: Declare __kernel_standard_f.
12539 * math/w_cosh.c: Remove cruft and optimize a bit.
12540 * math/w_coshf.c: Likewise.
12541 * math/w_coshl.c: Likewise.
12542 * math/w_exp2.c: Likewise.
12543 * math/w_exp2f.c: Likewise.
12544 * math/w_exp2l.c: Likewise.
12545 * math/w_hypot.c: Likewise.
12546 * math/w_hypotf.c: Likewise.
12547 * math/w_hypotl.c: Likewise.
12548 * math/w_lgamma.c: Likewise.
12549 * math/w_lgamma_r.c: Likewise.
12550 * math/w_lgammaf.c: Likewise.
12551 * math/w_lgammaf_r.c: Likewise.
12552 * math/w_lgammal.c: Likewise.
12553 * math/w_lgammal_r.c: Likewise.
12554 * math/w_sinh.c: Likewise.
12555 * math/w_sinhf.c: Likewise.
12556 * math/w_sinhl.c: Likewise.
12557 * math/w_tgamma.c: Likewise.
12558 * math/w_tgammaf.c: Likewise.
12559 * math/w_tgammal.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12562 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12563 Minor optimizations. Pretty printing. Remove cruft.
12564 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12565 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12566 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12567 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12568 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12569 * sysdeps/i386/fpu/e_asin.S: Likewise.
12570 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12571 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12572 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12573 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12574 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12575 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12576 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12577 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12578 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12579 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12580 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12581 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12582 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12583 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12584 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12585 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12586 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12587 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12588 * sysdeps/i386/fpu/e_log.S: Likewise.
12589 * sysdeps/i386/fpu/e_log10.S: Likewise.
12590 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12591 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12592 * sysdeps/i386/fpu/e_log2.S: Likewise.
12593 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12594 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12595 * sysdeps/i386/fpu/e_logf.S: Likewise.
12596 * sysdeps/i386/fpu/e_logl.S: Likewise.
12597 * sysdeps/i386/fpu/e_pow.S: Likewise.
12598 * sysdeps/i386/fpu/e_powf.S: Likewise.
12599 * sysdeps/i386/fpu/e_powl.S: Likewise.
12600 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12601 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12602 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12604 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12606 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12607 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12608 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12630 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12631 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12632 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12633 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12635 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12636 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12637 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12648 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12649 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12650 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12695 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12697 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12700 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12701 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12702 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12703 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12704 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12705 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12706 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12707 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12708 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12709 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12710 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12711 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12712 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12713 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12714 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12715 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12717 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12718 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12719 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12720 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12721 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12722 (__isnanf): Likewise.
12723 (__isinf_ns): Likewise.
12724 (__isinf_nsf): Likewise.
12725 (__finite): Likewise.
12726 (__finitef): Likewise.
12727 (__ieee754_sqrt): Define as macro.
12728 (__ieee754_sqrtf): Define as macro.
12729 (__ieee754_sqrtl): Define as macro.
12730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12731 inlined copy.
12732 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12733 __FINITE_MATH_ONLY__ consistent.
12734 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12735
12736 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12737
12738 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12739 of rawmemchr.
12740
12741 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12742
12743 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12744
12745 * po/ja.po: Update from translation team.
12746
12747 2011-10-08 Roland McGrath <roland@hack.frob.com>
12748
12749 * locale/programs/locarchive.c (prepare_address_space): New function.
12750 (create_archive, enlarge_archive, open_archive): Use it.
12751
12752 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12753 inside [SHARED], where it is used.
12754
12755 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12756
12757 * nss/getent.c (netgroup_keys): Remove unused variable.
12758 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12759
12760 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12761
12762 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12763 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12765 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12766 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12767 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12768 * math/Makefile (libm-calls): Add s_isinf_ns.
12769 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12770 * math/multc3.c: Likewise.
12771 * math/s_casin.c: Likewise.
12772 * math/s_casinf.c: Likewise.
12773 * math/s_casinl.c: Likewise.
12774 * math/s_ccos.c: Likewise.
12775 * math/s_ccosf.c: Likewise.
12776 * math/s_ccosl.c: Likewise.
12777 * math/s_ctan.c: Likewise.
12778 * math/s_ctanf.c: Likewise.
12779 * math/s_ctanh.c: Likewise.
12780 * math/s_ctanhf.c: Likewise.
12781 * math/s_ctanhl.c: Likewise.
12782 * math/s_ctanl.c: Likewise.
12783 * math/w_fmod.c: Likewise.
12784 * math/w_fmodf.c: Likewise.
12785 * math/w_fmodl.c: Likewise.
12786 * math/w_remainder.c: Likewise.
12787 * math/w_remainderf.c: Likewise.
12788 * math/w_remainderl.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12790 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12793 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12794 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12795 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12796 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12797
12798 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12799 of the number.
12800 * stdio-common/printf_fphex.c: Likewise.
12801 * stdio-common/printf_size.c: Likewise.
12802
12803 * math/e_exp10.c: Include math_private.h using <...> not "...".
12804 * math/e_exp10f.c: Likewise.
12805 * math/e_exp10l.c: Likewise.
12806 * math/e_exp2l.c: Likewise.
12807 * math/e_j0l.c: Likewise.
12808 * math/e_j1l.c: Likewise.
12809 * math/e_jnl.c: Likewise.
12810 * math/e_lgammal_r.c: Likewise.
12811 * math/e_rem_pio2l.c: Likewise.
12812 * math/e_scalb.c: Likewise.
12813 * math/e_scalbf.c: Likewise.
12814 * math/e_scalbl.c: Likewise.
12815 * math/k_cosl.c: Likewise.
12816 * math/k_sinl.c: Likewise.
12817 * math/k_tanl.c: Likewise.
12818 * math/s_cacoshf.c: Likewise.
12819 * math/s_catan.c: Likewise.
12820 * math/s_catanf.c: Likewise.
12821 * math/s_catanh.c: Likewise.
12822 * math/s_catanhf.c: Likewise.
12823 * math/s_catanhl.c: Likewise.
12824 * math/s_catanl.c: Likewise.
12825 * math/s_ccosh.c: Likewise.
12826 * math/s_ccoshf.c: Likewise.
12827 * math/s_ccoshl.c: Likewise.
12828 * math/s_cexp.c: Likewise.
12829 * math/s_cexpf.c: Likewise.
12830 * math/s_cexpl.c: Likewise.
12831 * math/s_clog.c: Likewise.
12832 * math/s_clog10.c: Likewise.
12833 * math/s_clog10f.c: Likewise.
12834 * math/s_clog10l.c: Likewise.
12835 * math/s_clogf.c: Likewise.
12836 * math/s_clogl.c: Likewise.
12837 * math/s_csin.c: Likewise.
12838 * math/s_csinf.c: Likewise.
12839 * math/s_csinh.c: Likewise.
12840 * math/s_csinhf.c: Likewise.
12841 * math/s_csinhl.c: Likewise.
12842 * math/s_csinl.c: Likewise.
12843 * math/s_csqrt.c: Likewise.
12844 * math/s_csqrtf.c: Likewise.
12845 * math/s_csqrtl.c: Likewise.
12846 * math/s_ctan.c: Likewise.
12847 * math/s_ctanf.c: Likewise.
12848 * math/s_ctanh.c: Likewise.
12849 * math/s_ctanhf.c: Likewise.
12850 * math/s_ctanhl.c: Likewise.
12851 * math/s_ctanl.c: Likewise.
12852 * math/s_ldexp.c: Likewise.
12853 * math/s_ldexpf.c: Likewise.
12854 * math/s_ldexpl.c: Likewise.
12855 * math/s_significand.c: Likewise.
12856 * math/s_significandf.c: Likewise.
12857 * math/s_significandl.c: Likewise.
12858 * math/w_acos.c: Likewise.
12859 * math/w_acosf.c: Likewise.
12860 * math/w_acosh.c: Likewise.
12861 * math/w_acoshf.c: Likewise.
12862 * math/w_acoshl.c: Likewise.
12863 * math/w_acosl.c: Likewise.
12864 * math/w_asin.c: Likewise.
12865 * math/w_asinf.c: Likewise.
12866 * math/w_asinl.c: Likewise.
12867 * math/w_atan2.c: Likewise.
12868 * math/w_atan2f.c: Likewise.
12869 * math/w_atan2l.c: Likewise.
12870 * math/w_atanh.c: Likewise.
12871 * math/w_atanhf.c: Likewise.
12872 * math/w_atanhl.c: Likewise.
12873 * math/w_cosh.c: Likewise.
12874 * math/w_coshf.c: Likewise.
12875 * math/w_coshl.c: Likewise.
12876 * math/w_dremf.c: Likewise.
12877 * math/w_exp10.c: Likewise.
12878 * math/w_exp10f.c: Likewise.
12879 * math/w_exp10l.c: Likewise.
12880 * math/w_exp2.c: Likewise.
12881 * math/w_exp2f.c: Likewise.
12882 * math/w_fmod.c: Likewise.
12883 * math/w_fmodf.c: Likewise.
12884 * math/w_fmodl.c: Likewise.
12885 * math/w_hypot.c: Likewise.
12886 * math/w_hypotf.c: Likewise.
12887 * math/w_hypotl.c: Likewise.
12888 * math/w_j0.c: Likewise.
12889 * math/w_j0f.c: Likewise.
12890 * math/w_j0l.c: Likewise.
12891 * math/w_j1.c: Likewise.
12892 * math/w_j1f.c: Likewise.
12893 * math/w_j1l.c: Likewise.
12894 * math/w_jn.c: Likewise.
12895 * math/w_jnf.c: Likewise.
12896 * math/w_jnl.c: Likewise.
12897 * math/w_lgamma.c: Likewise.
12898 * math/w_lgamma_r.c: Likewise.
12899 * math/w_lgammaf.c: Likewise.
12900 * math/w_lgammaf_r.c: Likewise.
12901 * math/w_lgammal.c: Likewise.
12902 * math/w_lgammal_r.c: Likewise.
12903 * math/w_log.c: Likewise.
12904 * math/w_log10.c: Likewise.
12905 * math/w_log10f.c: Likewise.
12906 * math/w_log10l.c: Likewise.
12907 * math/w_log2.c: Likewise.
12908 * math/w_log2f.c: Likewise.
12909 * math/w_log2l.c: Likewise.
12910 * math/w_logf.c: Likewise.
12911 * math/w_logl.c: Likewise.
12912 * math/w_pow.c: Likewise.
12913 * math/w_powf.c: Likewise.
12914 * math/w_powl.c: Likewise.
12915 * math/w_remainder.c: Likewise.
12916 * math/w_remainderf.c: Likewise.
12917 * math/w_remainderl.c: Likewise.
12918 * math/w_scalb.c: Likewise.
12919 * math/w_scalbf.c: Likewise.
12920 * math/w_scalbl.c: Likewise.
12921 * math/w_sinh.c: Likewise.
12922 * math/w_sinhf.c: Likewise.
12923 * math/w_sinhl.c: Likewise.
12924 * math/w_sqrt.c: Likewise.
12925 * math/w_sqrtf.c: Likewise.
12926 * math/w_sqrtl.c: Likewise.
12927 * math/w_tgamma.c: Likewise.
12928 * math/w_tgammaf.c: Likewise.
12929 * math/w_tgammal.c: Likewise.
12930
12931 * po/ja.po: Update from translation team.
12932
12933 2011-09-29 Andreas Jaeger <aj@suse.de>
12934
12935 [BZ #13179]
12936 * sunrpc/netname.c (netname2host): Fix logic.
12937
12938 [BZ #6779]
12939 [BZ #6783]
12940 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12941 correctly.
12942 * math/w_remainder.c (__remainder): Likewise.
12943 * math/w_remainderf.c (__remainderf): Likewise.
12944 * math/libm-test.inc (remainder_test): Add test cases.
12945
12946 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12947
12948 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12949 sdiv_qrnnd.
12950
12951 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12952
12953 * string/test-memcmp.c: Avoid unncessary #defines.
12954 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12955
12956 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12957
12958 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12959 Use new sse2 version for core i3 - i7 as it's faster
12960 than sse42 version.
12961 (bit_Prefer_PMINUB_for_stringop): New.
12962 * sysdeps/x86_64/rawmemchr.S: Update.
12963 Replace with faster SSE2 version.
12964 * sysdeps/x86_64/memrchr.S: New file.
12965 * sysdeps/x86_64/memchr.S: Update.
12966 Replace with faster SSE2 version.
12967
12968 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12969
12970 * elf/dl-load.c (lose): Add cast to avoid warning.
12971
12972 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12973
12974 * po/ca.po: Update from translation team.
12975
12976 * inet/getnetgrent_r.c: Hook up nscd.
12977 * nscd/Makefile (routines): Add nscd_netgroup.
12978 (nscd-modules): Add netgroupcache.
12979 (CFLAGS-netgroupcache.c): Define.
12980 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12981 (cache_search): Add const to second parameter.
12982 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12983 INNETGR.
12984 (dbs): Add netgrdb entry.
12985 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12986 (verify_persistent_db): Handle netgrdb.
12987 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12988 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12989 GETFDNETGR.
12990 (netgroup_response_header): Define.
12991 (innetgroup_response_header): Define.
12992 (datahead): Add netgroup_response_header and innetgroup_response_header
12993 elements.
12994 * nscd/nscd.conf: Add entries for netgroup cache.
12995 * nscd/nscd.h (dbtype): Add netgrdb.
12996 (_PATH_NSCD_NETGROUP_DB): Define.
12997 (netgroup_iov_disabled): Declare.
12998 (xmalloc, xcalloc, xrealloc): Move declarations here.
12999 (cache_search): Adjust prototype.
13000 Add netgroup-related prototypes.
13001 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13002 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13003 (__nscd_innetgr): Declare.
13004 * nscd/selinux.c (perms): Use access_vector_t as element type and
13005 add netgroup-related initializers.
13006 * nscd/netgroupcache.c: New file.
13007 * nscd/nscd_netgroup.c: New file.
13008 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13009 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13010 For four parameters use innetgr.
13011 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13012 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13013 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13014 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13015
13016 * nscd/connections.c (register_traced_file): Don't register file
13017 for disabled databases.
13018
13019 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13020
13021 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13022
13023 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13024 from tree and freeing node.
13025
13026 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13027
13028 * nss/nsswitch.c (__nss_database_lookup): Handle
13029 nss_parse_service_list out of memory case.
13030
13031 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13032
13033 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13034 out of memory case.
13035
13036 2011-10-04 Andreas Schwab <schwab@redhat.com>
13037
13038 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13039 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13040 pass it down.
13041 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13042 elf_machine_rela, elf_machine_lazy_rel.
13043 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13044 (ELF_DYNAMIC_DO_REL): Likewise.
13045 (ELF_DYNAMIC_DO_RELA): Likewise.
13046 (ELF_DYNAMIC_RELOCATE): Likewise.
13047 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13048 to ELF_DYNAMIC_DO_REL.
13049 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13050 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13051 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13052 elf_machine_rela.
13053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13054 skip_ifunc, don't call ifunc function if non-zero.
13055 (elf_machine_rela): Likewise.
13056 (elf_machine_lazy_rel): Likewise.
13057 (elf_machine_lazy_rela): Likewise.
13058 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13059 (elf_machine_lazy_rel): Likewise.
13060 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13061 Likewise.
13062 (elf_machine_lazy_rel): Likewise.
13063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13064 Likewise.
13065 (elf_machine_lazy_rel): Likewise.
13066 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13067 (elf_machine_lazy_rel): Likewise.
13068 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13069 (elf_machine_lazy_rel): Likewise.
13070 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13071 (elf_machine_lazy_rel): Likewise.
13072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13073 (elf_machine_lazy_rel): Likewise.
13074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13075 (elf_machine_lazy_rel): Likewise.
13076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13077 (elf_machine_lazy_rel): Likewise.
13078
13079 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13080
13081 * nss/nss_files/files-init.c (_nss_files_init): Use static
13082 initialization for all the *_traced_file variables.
13083
13084 2011-09-28 Andreas Schwab <schwab@redhat.com>
13085
13086 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13087
13088 2011-09-27 Roland McGrath <roland@hack.frob.com>
13089
13090 [BZ #13226]
13091 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13092
13093 2011-09-27 Andreas Schwab <schwab@redhat.com>
13094
13095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13096 Reread the line before reparsing it.
13097
13098 2011-09-26 Andreas Schwab <schwab@redhat.com>
13099
13100 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13101
13102 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13103 Maxim Kuvyrkov <maxim@codesourcery.com>
13104 Joseph Myers <joseph@codesourcery.com>
13105
13106 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13107 if needed for __stack_chk_guard.
13108
13109 2011-09-19 Roland McGrath <roland@hack.frob.com>
13110
13111 * sysdeps/posix/spawni.c (script_execute): Always define it.
13112 It will be optimized away if unused.
13113 (maybe_script_execute): New function.
13114 (__spawni): Call it.
13115
13116 * Makerules: Don't include tls.make.
13117 (config-tls): Always set to thread.
13118 * tls.make.c: File removed.
13119
13120 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13121
13122 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13123 * config.make.in (CPPFLAGS-config): New substituted variable.
13124
13125 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13126
13127 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13128
13129 [BZ #13192]
13130 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13131 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13132
13133 2011-09-15 Roland McGrath <roland@hack.frob.com>
13134
13135 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13136 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13138 (CALL_FAIL): Likewise.
13139 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13140 (CALL_FAIL): Macro removed.
13141 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13142
13143 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13144
13145 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13146 for __FINITE_MATH_ONLY__ == 1.
13147
13148 2011-09-15 Andreas Schwab <schwab@redhat.com>
13149
13150 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13151 __ieee754_sqrt instead of sqrt.
13152 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13153 __ieee754_sqrtf instead of sqrtf.
13154 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13155 __floorf instead of floorf.
13156 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13157 __floorf, __truncf instead of floorf, truncf.
13158
13159 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13160
13161 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13162
13163 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13164 __extern_always_inline.
13165 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13166 32-bit.
13167
13168 2011-09-14 Andreas Schwab <schwab@redhat.com>
13169
13170 * elf/rtld.c (dl_main): Also relocate in dependency order when
13171 doing symbol dependency testing.
13172
13173 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13174
13175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13176 Always define `refsym'.
13177
13178 2011-09-13 Andreas Schwab <schwab@redhat.com>
13179
13180 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13181 (__FD_ELT): Renamed from __FDELT.
13182 * misc/bits/select2.h (__FD_ELT): Likewise.
13183 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13184 __FD_MASK instead of __FDELT, __FDMASK.
13185 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13186 Likewise.
13187 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13188 Likewise.
13189
13190 * elf/Makefile (gen-ldd): Fix pattern.
13191
13192 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13193 (init_tls): Likewise.
13194
13195 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13196
13197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13198
13199 2011-09-12 Andreas Schwab <schwab@redhat.com>
13200
13201 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13202 `struct cmsghdr *' instead of `void *'.
13203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13204 Likewise.
13205
13206 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13207
13208 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13209 if non-absolute.
13210 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13211 ldd_rewrite_script.
13212
13213 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13214
13215 * configure.in: Remove --with-tls option.
13216 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13217 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13218 out in case it is missing.
13219 * sysdeps/ia64/elf/configure.in: Likewise.
13220 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13221 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13222 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13223 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13224 * sysdeps/sh/elf/configure.in: Likewise.
13225 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13226 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13227 * sysdeps/x86_64/elf/configure.in: Likewise.
13228 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13229 * sysdeps/mach/hurd/tls.h: Likewise.
13230
13231 [BZ #13067]
13232 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13233
13234 [BZ #13090]
13235 * configure.in: Fix use of AC_INIT.
13236
13237 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13238
13239 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13240
13241 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13242 __set_errno.
13243 * malloc/hooks.c: Likewise.
13244
13245 [BZ #11929]
13246 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13247 variables statically.
13248 (narenas): Initialize.
13249 (list_lock): Initialize.
13250 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13251 initializtion of main_arena and list_lock. Small cleanups.
13252 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13253 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13254 Add initializers to main_arena and mp_.
13255 (malloc_state): Remove pagesize member. Change all users to use
13256 GLRO(dl_pagesize).
13257
13258 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13259 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13260 is always initialized.
13261
13262 * malloc/malloc.c: Removed unused configurations and dead code.
13263 * malloc/arena.c: Likewise.
13264 * malloc/hooks.c: Likewise.
13265 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13266
13267 * include/tls.h: Removed. USE___THREAD must always be defined.
13268 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13269 * elf/dl-libc.c: Likewise.
13270 * elf/dl-tsd.c: Likewise.
13271 * include/errno.h: Likewise.
13272 * include/netdb.h: Likewise.
13273 * include/resolv.h: Likewise.
13274 * inet/herrno-loc.c: Likewise.
13275 * inet/herrno.c: Likewise.
13276 * malloc/arena.c: Likewise.
13277 * malloc/hooks.c: Likewise.
13278 * malloc/malloc.c: Likewise.
13279 * resolv/res-state.c: Likewise.
13280 * resolv/res_libc.c: Likewise.
13281 * sysdeps/i386/dl-machine.h: Likewise.
13282 * sysdeps/ia64/dl-machine.h: Likewise.
13283 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13284 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13285 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13286 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13287 * sysdeps/sh/dl-machine.h: Likewise.
13288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13289 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13290 * sysdeps/unix/i386/sysdep.S: Likewise.
13291 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13292 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13301 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13302 * sysdeps/x86_64/dl-machine.h: Likewise.
13303 * tls.make.c: Likewise.
13304
13305 * configure.in: Remove --with-__thread option. Make tests for
13306 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13307 tls_model attribute fail if no support is available. Remove
13308 USE_IN_LIBIO.
13309 * Makeconfig: Adjust for dropped configure option. All features are
13310 now mandatory.
13311 * Makerules: Likewise.
13312 * Versions.def: Likewise.
13313 * argp/argp-fmtstream.c: Likewise.
13314 * argp/argp-fmtstream.h: Likewise.
13315 * argp/argp-help.c: Likewise.
13316 * assert/assert.c: Likewise.
13317 * config.h.in: Likewise.
13318 * config.make.in: Likewise.
13319 * configure: Likewise.
13320 * configure.in: Likewise.
13321 * csu/Versions: Likewise.
13322 * csu/init.c: Likewise.
13323 * elf/tst-audit2.c: Likewise.
13324 * elf/tst-tls10.c: Likewise.
13325 * elf/tst-tls10.h: Likewise.
13326 * elf/tst-tls11.c: Likewise.
13327 * elf/tst-tls12.c: Likewise.
13328 * elf/tst-tls14.c: Likewise.
13329 * elf/tst-tlsmod11.c: Likewise.
13330 * elf/tst-tlsmod12.c: Likewise.
13331 * elf/tst-tlsmod13.c: Likewise.
13332 * elf/tst-tlsmod13a.c: Likewise.
13333 * elf/tst-tlsmod14a.c: Likewise.
13334 * elf/tst-tlsmod15b.c: Likewise.
13335 * elf/tst-tlsmod16a.c: Likewise.
13336 * elf/tst-tlsmod16b.c: Likewise.
13337 * elf/tst-tlsmod7.c: Likewise.
13338 * elf/tst-tlsmod8.c: Likewise.
13339 * elf/tst-tlsmod9.c: Likewise.
13340 * gmon/gmon.c: Likewise.
13341 * grp/fgetgrent_r.c: Likewise.
13342 * grp/putgrent.c: Likewise.
13343 * hurd/fopenport.c: Likewise.
13344 * include/libc-symbols.h: Likewise.
13345 * include/tls.h: Likewise.
13346 * intl/gettextP.h: Likewise.
13347 * intl/loadinfo.h: Likewise.
13348 * locale/global-locale.c: Likewise.
13349 * locale/localeinfo.h: Likewise.
13350 * mach/devstream.c: Likewise.
13351 * malloc/arena.c: Likewise.
13352 * malloc/set-freeres.c: Likewise.
13353 * misc/err.c: Likewise.
13354 * misc/getttyent.c: Likewise.
13355 * misc/mntent_r.c: Likewise.
13356 * posix/getopt.c: Likewise.
13357 * posix/wordexp.c: Likewise.
13358 * pwd/fgetpwent_r.c: Likewise.
13359 * resolv/Versions: Likewise.
13360 * resolv/res_hconf.c: Likewise.
13361 * shadow/fgetspent_r.c: Likewise.
13362 * shadow/putspent.c: Likewise.
13363 * stdio-common/printf_fphex.c: Likewise.
13364 * stdio-common/tmpfile.c: Likewise.
13365 * stdlib/abort.c: Likewise.
13366 * stdlib/fmtmsg.c: Likewise.
13367 * sunrpc/auth_unix.c: Likewise.
13368 * sunrpc/clnt_perr.c: Likewise.
13369 * sunrpc/clnt_tcp.c: Likewise.
13370 * sunrpc/clnt_udp.c: Likewise.
13371 * sunrpc/clnt_unix.c: Likewise.
13372 * sunrpc/openchild.c: Likewise.
13373 * sunrpc/svc_simple.c: Likewise.
13374 * sunrpc/svc_tcp.c: Likewise.
13375 * sunrpc/svc_udp.c: Likewise.
13376 * sunrpc/svc_unix.c: Likewise.
13377 * sunrpc/xdr.c: Likewise.
13378 * sunrpc/xdr_array.c: Likewise.
13379 * sunrpc/xdr_rec.c: Likewise.
13380 * sunrpc/xdr_ref.c: Likewise.
13381 * sunrpc/xdr_stdio.c: Likewise.
13382
13383 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13384
13385 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13386
13387 2011-07-03 Andreas Jaeger <aj@suse.de>
13388
13389 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13390 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13391 regenerate with gen-libm-tests.pl.
13392
13393 2010-05-12 Petr Baudis <pasky@suse.cz>
13394
13395 [BZ #11589]
13396 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13397 around j0() zero points by switching to j1().
13398 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13402
13403 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13404
13405 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13406 instead of 0.
13407 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13408 instead of 0. .
13409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13410 Patch in part by Pavel Roskin <proski@gnu.org>.
13411
13412 [BZ #13138]
13413 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13414 realloc.
13415 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13416 Free memory block if necessary.
13417
13418 [BZ #12847]
13419 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13420 be NULL. Don't lock in this case.
13421
13422 2011-09-09 Roland McGrath <roland@hack.frob.com>
13423
13424 * elf/elf.h (ELFOSABI_GNU): New macro.
13425 (ELFOSABI_LINUX): Define to that.
13426
13427 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13428
13429 * string/strncat.c (strncat): Undef the symbol in case it has been
13430 defined in bits/string.h.
13431
13432 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13433
13434 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13435
13436 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13437 link map.
13438
13439 2011-08-17 Andreas Jaeger <aj@suse.de>
13440
13441 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13442
13443 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13444 Ian Lance Taylor <iant@google.com>
13445
13446 * math/libm-test.inc (lround_test): New testcase.
13447 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13448
13449 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13450
13451 * Makefile: Remove support for automatic cvs check-ins.
13452 * Makerules: Likewise.
13453 * config.make.in: Likewise.
13454 * configure.in: Likewise.
13455 * intl/Makefile: Likewise.
13456 * locale/Makefile: Likewise.
13457 * po/Makefile: Likewise.
13458 * posix/Makefile: Likewise.
13459 * sysdeps/gnu/Makefile: Likewise.
13460 * sysdeps/mach/hurd/Makefile: Likewise.
13461 * sysdeps/sparc/sparc32/Makefile: Likewise.
13462
13463 [BZ #13118]
13464 * posix/Makefile (bug-regex32-ENV): Define.
13465 Patch by John Stanley <jpsinthemix@verizon.net>.
13466
13467 * misc/Makefile (headers): Add bits/select2.h.
13468 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13469 * misc/bits/select2.h: New file.
13470 * include/bits/select2.h: New file.
13471 * debug/Makefile (routines): Add fdelt_chk.
13472 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13473 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13474 FD_ISSET.
13475 * debug/fdelt_chk.c: New file.
13476
13477 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13478 * wcsmbs/test-wmemcmp.c: Likewise.
13479 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13480 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13481
13482 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13483
13484 * string/Makefile (strop-tests): Add memcmp.
13485 * string/test-wmemcmp.c: New file.
13486 * string/test-memcmp.c: Add wmemcmp support.
13487
13488 2011-09-08 Roland McGrath <roland@hack.frob.com>
13489
13490 [BZ #13153]
13491 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13492 2011-07-19 change.
13493
13494 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13495 garbage value in a __mach_port_mod_refs call in the cases of the
13496 task-self and thread-self ports.
13497
13498 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13499
13500 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13501
13502 2011-09-08 Andreas Schwab <schwab@redhat.com>
13503
13504 * elf/dl-load.c (lose): Check for non-null L.
13505
13506 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13507
13508 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13509
13510 * elf/dl-libc.c (dlerror_run): Pass back error code from
13511 dl_catch_error.
13512
13513 [BZ #13123]
13514 * elf/dl-load.c (lose): Free l_origin if it is valid.
13515
13516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13517 names.
13518 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13519 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13521 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13522 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13523 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13524
13525 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13526
13527 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13528 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13529 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13530 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13531 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13532 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13533 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13534 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13535 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13536 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13537
13538 2011-08-15 Alan Modra <amodra@gmail.com>
13539
13540 [BZ #13092]
13541 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13542 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13543 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13544 ppc_mcount to static-only-routines.
13545 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13546 __mcount_internal.
13547 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13548 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13549
13550 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13551
13552 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13553 for finite and infinity parameters.
13554
13555 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13556
13557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13558 and add nop instructions for throughput optimization.
13559 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13560
13561 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13562
13563 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13564 aligned copy for power7 with vector-scalar instructions.
13565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13566
13567 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13568
13569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13570 AVX check.
13571
13572 2011-09-07 Andreas Schwab <schwab@redhat.com>
13573
13574 [BZ #13144]
13575 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13576 last change.
13577
13578 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13579
13580 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13581 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13582 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13583 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13584 clock_gettime.
13585
13586 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13587
13588 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13589 Forgot to demangle the pointer.
13590
13591 * sysdeps/i386/sysdep.h: Define atom_text_section.
13592 * sysdeps/x86_64/sysdep.h: Likewise.
13593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13594 section with atom_text_section.
13595 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13596 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13597 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13599 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13600
13601 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13602 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13603 already be defined. Change to take two parameters and don't assign
13604 result to variable. Adjust all users.
13605 Define INTERNAL_GETTIME if not already defined.
13606 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13607 call.
13608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13609 HAVE_CLOCK_GETTIME_VSYSCALL.
13610 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13611
13612 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13613 gettimeofday vsyscall, just use time.
13614
13615 2011-09-06 Andreas Schwab <schwab@redhat.com>
13616
13617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13618 <errno.h>.
13619
13620 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13621
13622 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13623 syscall on x86-64.
13624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13625 syscall.
13626 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13628 syscall if possible.
13629
13630 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13631
13632 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13633 e_ident. Don't pass to find_mapsXX.
13634 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13635
13636 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13637
13638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13639 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13640 * sysdeps/x86_64/multiarch/strchr.S: Update.
13641 Check bit_slow_BSF bit.
13642 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13643 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13644 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13645
13646 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13647
13648 [BZ #13134]
13649 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13650 before glibc 2.15.
13651 (tryshell): Define.
13652 (__spawni): Change last parameter to be flag. Test
13653 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13654 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13655 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13656 * posix/spawni.c: Likewise.
13657 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13658 * posix/spawnp.c: Likewise. Change normal version to use
13659 SPAWN_XFLAGS_USE_PATH.
13660 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13661 SPAWN_XFLAGS_TRY_SHELL.
13662
13663 [BZ #13150]
13664 * posix/glob.h: Remove gcc 1.x support.
13665
13666 [BZ #13068]
13667 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13668
13669 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13670
13671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13672 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13673 strrchr-sse2-bsf
13674 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13675 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13676 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13677 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13678 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13680
13681 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13682
13683 * sysdeps/x86_64/wcscmp.S: New file.
13684
13685 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13686 wcscmp-c wcscmp-sse2
13687 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13688 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13689 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13690 * wcsmbs/wcscmp.c: Allow renaming.
13691
13692 2011-09-05 David S. Miller <davem@davemloft.net>
13693
13694 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13695 stack slot, rather than the struct return pointer slot.
13696 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13697 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13699 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13700
13701 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13702
13703 * po/ja.po: Update from translation team.
13704
13705 [BZ #13144]
13706 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13707 kernel in 64-bit binaries.
13708
13709 2011-09-01 David S. Miller <davem@davemloft.net>
13710
13711 * elf/elf.h (HWCAP_SPARC_*): Move to..
13712 * sysdeps/sparc/sysdep.h: this new file and add new values.
13713 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13714 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13715 _DL_HWCAP_COUNT to 24.
13716 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13717 entries.
13718 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13719 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13720 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13722 instead of magic constants.
13723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13724
13725 2011-08-31 David S. Miller <davem@davemloft.net>
13726
13727 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13728 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13729 Reimplement to do errno handling inline.
13730 (SYSCALL_ERROR_HANDLER): New macro.
13731 (__SYSCALL_STRING): Do not do errno handling in asm.
13732 (__CLONE_SYSCALL_STRING): Delete.
13733 (__INTERNAL_SYSCALL_STRING): Delete.
13734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13735 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13736 (PSEUDO): Reimplement to do errno handling inline.
13737 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13738 (SYSCALL_ERROR_HANDLER): New macro.
13739 (__SYSCALL_STRING): Do not do errno handling in asm.
13740 (__CLONE_SYSCALL_STRING): Delete.
13741 (__INTERNAL_SYSCALL_STRING): Delete.
13742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13743 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13744 i386.
13745 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13746 (inline_syscall*): Add 'err' argument.
13747 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13748 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13749 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13750 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13751
13752 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13753 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13754
13755 2011-08-30 Andreas Schwab <schwab@redhat.com>
13756
13757 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13758
13759 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13760
13761 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13762 directive.
13763
13764 2011-08-24 David S. Miller <davem@davemloft.net>
13765
13766 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13767
13768 2011-08-24 Andreas Schwab <schwab@redhat.com>
13769
13770 * elf/Makefile: Add rules to build and run unload8 test.
13771 * elf/unload8.c: New file.
13772 * elf/unload8mod1.c: New file.
13773 * elf/unload8mod1x.c: New file.
13774 * elf/unload8mod2.c: New file.
13775 * elf/unload8mod3.c: New file.
13776
13777 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13778 it wasn't used.
13779
13780 2011-08-23 David S. Miller <davem@davemloft.net>
13781
13782 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13783 subtract stack bias.
13784 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13785 %sp not %fp in calculations.
13786 (_JMPBUF_UNWINDS_ADJ): Likewise.
13787
13788 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13789 (aio_suspend): Call it to force an exception region around the
13790 AIO_MISC_WAIT() invocation.
13791
13792 2011-08-23 Andreas Schwab <schwab@redhat.com>
13793
13794 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13795 backslash.
13796
13797 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13798
13799 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13800 protection macro.
13801 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13802 and <dl-machine.h>.
13803 (Elf64_FuncDesc): Remove.
13804
13805 2011-08-22 David S. Miller <davem@davemloft.net>
13806
13807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13808 sigaltstack check, add missing cfi directives.
13809 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13810 missing cfi directives, and sigaltstack handling.
13811
13812 2011-08-16 Andreas Schwab <schwab@redhat.com>
13813
13814 [BZ #11724]
13815 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13816 object is seen twice.
13817 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13818
13819 * elf/Makefile (distribute): Add tst-initorder2.c.
13820 (tests): Add tst-initorder2.
13821 (modules-names): Add tst-initorder2a tst-initorder2b
13822 tst-initorder2c tst-initorder2d. Add rules to build them.
13823 ($(objpfx)tst-initorder2.out): New rule.
13824 * elf/tst-initorder2.c: New file.
13825 * elf/tst-initorder2.exp: New file.
13826
13827 2011-08-22 Andreas Schwab <schwab@redhat.com>
13828
13829 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13830
13831 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13832 dependencies back to end of function.
13833
13834 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13835 $(elfobjdir)/ld.so.
13836
13837 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13838
13839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13840 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13842 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13843 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13844 of __vdso_gettimeofday.
13845 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13846 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13847 attribute_hidden.
13848 (_libc_vdso_platform_setup): Remove initialization of
13849 __vdso_gettimeofday and __vdso_time.
13850
13851 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13852
13853 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13854 and fgetc_unlocked.
13855 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13856 getc_unlocked.
13857
13858 * elf/dl-open.c (add_to_global): Report additions to the global scope
13859 for LD_DEBUG=scopes.
13860 (dl_open_worker): Also print scope of newly loaded dependencies.
13861 (_dl_show_scope): Indicate if there is no scope.
13862
13863 [BZ #13114]
13864 * stdio-common/Makefile (tests): Add bug24.
13865 * stdio-common/bug24.c: New file.
13866
13867 2011-08-19 Andreas Jaeger <aj@suse.de>
13868
13869 [BZ #13114]
13870 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13871 non-existant file when using close-on-exec mode.
13872
13873 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13874
13875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13876 the very first instruction.
13877
13878 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13879 the CFI state in the end.
13880 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13881 inclusion of dl-trampoline.h.
13882 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13883
13884 2011-08-19 Andreas Schwab <schwab@redhat.com>
13885
13886 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13887 expectations for long double.
13888
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13890 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13891
13892 2011-08-14 David S. Miller <davem@davemloft.net>
13893
13894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13895 artificual limit depends upon the system page size.
13896
13897 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13898
13899 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13900 * resolv/Makefile: Define CFLAGS-libresolv.
13901
13902 2011-08-17 Andreas Schwab <schwab@redhat.com>
13903
13904 * nss/makedb.c (compute_tables): Make variables used in nested
13905 function static.
13906
13907 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13908
13909 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13910 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13911 if buffer was too small.
13912
13913 * elf/pldd.c (main): Attach to all threads in the process.
13914 Rewrite /proc handling to use *at functions.
13915
13916 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13917
13918 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13919 specifies first scope to show.
13920 (dl_open_worker): Update callers. Move printing scope of new
13921 object to before the relocation.
13922 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13923 * sysdeps/generic/ldsodefs.h: Update declaration.
13924
13925 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13926 string for the scope number.
13927
13928 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13929
13930 * nscd/servicescache.c (cache_addserv): Make sure written is always
13931 initialized.
13932
13933 2011-08-14 Roland McGrath <roland@hack.frob.com>
13934
13935 * sysdeps/i386/i486/bits/atomic.h
13936 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13937 statement expression, so as to suppress "set but not used" warning.
13938 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13939
13940 * string/strncat.c (STRNCAT): Use prototype definition.
13941
13942 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13943 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13944 -Iprograms here.
13945 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13946 (localedef-modules): Add localedef.
13947 (locale-modules): Add locale.
13948
13949 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13950 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13951 to avoid a warning.
13952
13953 2011-08-14 David S. Miller <davem@davemloft.net>
13954
13955 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13956 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13957
13958 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13959
13960 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13961 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13962 * elf/rtld.c (dl_main): Set l_name of vDSO.
13963 Call _dl_show_scope when DL_DEBUG_SCOPES.
13964 (process_dl_debug): Recognize scopes flag and also set it for all.
13965 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13966 Declare _dl_show_scope.
13967
13968 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13969 (do_dlopen): Pass caller_dlopen to dl_open.
13970 (__libc_dlopen_mode): Initialize caller_dlopen.
13971
13972 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13973 of libc. Make tolower call locale-independent. Optimize a bit by
13974 using isdigit instead of isalnum.
13975 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13976
13977 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13978
13979 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13980 was a dependency or dynamically loaded.
13981
13982 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13983
13984 * intl/l10nflist.c: Allow architecture-specific pop function.
13985 * sysdeps/x86_64/l10nflist.c: New file.
13986
13987 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13988 classification.
13989
13990 2011-08-10 Andreas Schwab <schwab@redhat.com>
13991
13992 * include/dirent.h: Add libc_hidden_proto for scandirat and
13993 scandirat64. Don't declare __scandirat64.
13994 * dirent/scandirat.c: Add libc_hidden_def.
13995 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13996 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13997
13998 2011-08-10 David S. Miller <davem@davemloft.net>
13999
14000 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14001 enum.
14002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14005
14006 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14007
14008 * Versions.def [libc]: Add GLIBC_2.15.
14009 * dirent/Makefile (routines): Add scandirat and scandirat64.
14010 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14011 GLIBC_2.15.
14012 * dirent/dirent.h: Declare scandirat and scandirat64.
14013 * dirent/scandirat.c: New file.
14014 * dirent/scandirat64.c: New file.
14015 * sysdeps/wordsize-64/scandirat.c: New file.
14016 * sysdeps/wordsize-64/scandirat64.c: New file.
14017 * dirent/opendir.c: Define opendirat.
14018 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14019 using scandirat.
14020 * dirent/scandir64.c: Adjust for scandir.c change.
14021 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14022 __scandirat64, and __scandir_cancel_handler.
14023 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14024 additional parameter and use openat instead of open (outside of ld.so).
14025 Add new __opendir as wrapper around __opendirat.
14026 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14027 here without requiring old scandirat implementation.
14028
14029 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14030
14031 * dirent/scandir.c (cancel_handler): Renamed to
14032 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14033 defined. Adjust users.
14034 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14035 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14036
14037 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14038
14039 * string/test-string.h (IMPL): Use __STRING to expand name and then
14040 stringify it.
14041
14042 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14043 of cleanups.
14044
14045 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14046
14047 * string/Makefile: Update.
14048 (strop-tests): Append strncat.
14049 * string/test-wcscmp.c: New file.
14050 New comprehensive test for wcscmp.
14051 * string/test-strcmp.c: Update.
14052 (WIDE): New define.
14053
14054 2011-07-22 Andreas Schwab <schwab@redhat.com>
14055
14056 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14057 line.
14058
14059 2011-07-26 Andreas Schwab <schwab@redhat.com>
14060
14061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14062 encoding to ACE if AI_IDN.
14063
14064 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14065
14066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14067 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14068
14069 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14070
14071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14072 Fix overflow bug in strncat.
14073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14074
14075 * string/test-strncat.c: Update.
14076 Add new tests for checking overflow bugs.
14077
14078 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14079
14080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14081 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14082 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14083 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14085 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14086 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14087 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14088 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14089
14090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14091 (USE_AS_STRCAT): Define.
14092 Add strcat and strncat support.
14093 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14094
14095 2011-07-25 Andreas Schwab <schwab@redhat.com>
14096
14097 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14098 __n bigger than INT_MAX+1.
14099 (__strncmp_g): Likewise.
14100
14101 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14102
14103 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14104 * libio/stido.h: Likewise.
14105
14106 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14107 (AF_NFC): Define.
14108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14109 (AF_NFC): Define.
14110
14111 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14114 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14115 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14116
14117 [BZ #13021]
14118 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14119 installed.
14120
14121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14122 typo.
14123 (_dl_x86_64_save_sse): Likewise.
14124
14125 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14126
14127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14128 OSXSAVE.
14129 (_dl_x86_64_save_sse): Likewise.
14130
14131 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14132
14133 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14134
14135 2011-07-21 Andreas Schwab <schwab@redhat.com>
14136
14137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14138 change.
14139 (_dl_x86_64_save_sse): Use correct AVX check.
14140
14141 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14142
14143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14144 bug in strncpy/strncat.
14145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14146
14147 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14148
14149 * string/tester.c (test_strcat): Add tests for different alignments
14150 of source and destination.
14151 (test_strncat): Likewise.
14152
14153 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14154
14155 [BZ #12852]
14156 * posix/glob.c (glob): Check passed in values before using them in
14157 expressions to avoid some overflows.
14158 (glob_in_dir): Likewise.
14159
14160 [BZ #13007]
14161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14162 check for AVX enablement so that we don't crash with old kernels and
14163 new hardware.
14164 * elf/tst-audit4.c: Add same checks here.
14165 * elf/tst-audit6.c: Likewise.
14166
14167 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14168
14169 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14170
14171 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14172
14173 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14174
14175 * po/cs.po: Update from translation team.
14176 * po/bg.po: Likewise.
14177
14178 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14179
14180 * misc/sys/cdefs.h: Add support for const attribute.
14181 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14182 to gnu_dev_{major,minor,makedev} functions.
14183
14184 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14185
14186 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14187
14188 2011-07-20 Andreas Schwab <schwab@redhat.com>
14189
14190 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14191 strlen results.
14192
14193 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14194
14195 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14196 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14197 register in order to avoid conflicts with the soft frame pointer
14198 being held in r11 when necessary.
14199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14200 (INTERNAL_VSYSCALL_NCS): Likewise.
14201
14202 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14203
14204 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14205 * elf/dl-fini.c (_dl_fini): Adjust caller.
14206 * elf/dl-close.c (_dl_close_worker): Likewise.
14207 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14208
14209 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14210
14211 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14212 "aux_cache->nlibs < 0".
14213
14214 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14215 in the reload-count case.
14216
14217 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14218
14219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14220 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14221 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14222 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14223 * sysdeps/x86_64/multiarch/strcat.S: New file.
14224 * sysdeps/x86_64/multiarch/strncat.S: New file.
14225 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14226 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14227 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14228 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14230 (USE_AS_STRCAT): Define.
14231 Add strcat and strncat support.
14232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14234 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14235 * string/strncat.c: Update.
14236 (USE_AS_STRNCAT): Define.
14237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14238 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14239 and i7.
14240 * sysdeps/x86_64/multiarch/init-arch.h
14241 (bit_Prefer_PMINUB_for_stringop): New.
14242 (index_Prefer_PMINUB_for_stringop): Likewise.
14243 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14244 bit_Prefer_PMINUB_for_stringop.
14245
14246 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14247
14248 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14249 buffer64.
14250 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14251 of casting of buffer.
14252 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14253 buffer32 and buffer64.
14254 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14255 writes instead of casting of buffer.
14256 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14257 buffer32.
14258 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14259 casting of buffer.
14260
14261 2011-07-19 Andreas Schwab <schwab@redhat.com>
14262
14263 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14264
14265 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14266
14267 * nscd/nscd.c (termination_handler): Don't do anything for a database
14268 if it has not yet been initialized.
14269
14270 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14271
14272 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14273
14274 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14275
14276 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14277
14278 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14279
14280 * po/nl.po: Update from translation team.
14281 * po/sv.po: Likewise.
14282
14283 2011-07-16 Roland McGrath <roland@hack.frob.com>
14284
14285 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14286 now disallowed by GCC.
14287
14288 * configure.in (use-default-link): Default to yes if a test -shared
14289 link meets our qualifications.
14290 * configure: Regenerated.
14291
14292 * config.make.in (output-format): New variable.
14293 * configure.in: Check for ld --print-output-format support.
14294 * configure: Regenerated.
14295 * Makerules ($(common-objpfx)format.lds)
14296 [$(output-format) != unknown]: Just use $(output-format),
14297 instead of the linker-script munging.
14298
14299 2011-07-14 Roland McGrath <roland@hack.frob.com>
14300
14301 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14302 of $(common-objpfx)shlib.lds.
14303 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14304
14305 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14306 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14307
14308 * configure.in (-z relro check): Adjust test code to add a large
14309 writable data section after it.
14310 * configure: Regenerated.
14311
14312 2011-07-11 Roland McGrath <roland@hack.frob.com>
14313
14314 * configure.in (-z relro check): Fix test code to make the variable
14315 truly const.
14316 * configure: Regenerated.
14317
14318 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14319
14320 * nscd/nscd.h (struct traced_file): Define.
14321 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14322 elements. Add traced_files.
14323 (inotify_fd): Declare.
14324 (register_traced_file): Declare.
14325 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14326 (inotify_fd): Export.
14327 (resolv_conf_descr): Remove.
14328 (nscd_init): Move inotify descriptor creation to main.
14329 Don't register files for notification here.
14330 (register_traced_file): New function.
14331 (invalidate_cache): Don't use reset_res to determine whether to call
14332 res_init, go through the list of registered files.
14333 (main_loop_poll): The inotify descriptors are now stored in the
14334 structures for the traced files.
14335 (main_loop_epoll): Likewise
14336 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14337 to __nss_disable_nscd.
14338 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14339 for a database anymore. Check the records for all the registered
14340 files instead.
14341 * nss/Makefile (libnss_files-routines): Add files-init.
14342 (libnss_db-routines): Add db-init.
14343 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14344 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14345 * nss/nss_db/db-init.c: New file.
14346 * nss/nss_files/files-init.c: New file.
14347 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14348 __nss_lookup_function.
14349 (__nss_lookup_function): Call nss_load_library.
14350 (nss_load_all_libraries): New function.
14351 (__nss_disable_nscd): Take parameter with callback function for files
14352 to register. Set is_nscd. Load all the DSOs for the NSS modules
14353 used for the cached services.
14354 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14355 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14356 options for features to all the files in nscd.
14357
14358 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14359
14360 2011-07-10 Roland McGrath <roland@hack.frob.com>
14361
14362 * csu/elf-init.c (__libc_csu_init): Comment typo.
14363
14364 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14365
14366 * po/pl.po: Update from translation team.
14367 * po/ja.po: Likewise.
14368 * po/ru.po: Likewise.
14369 * po/ko.po: Likewise.
14370 * po/fr.po: Likewise.
14371
14372 2011-07-09 Roland McGrath <roland@hack.frob.com>
14373
14374 * configure.in (.ctors/.dtors header and trailer check):
14375 Use an empirical test on a built program.
14376 * configure: Regenerated.
14377
14378 * configure.in (-z relro check): Use an empirical test on a built DSO.
14379 Detect, but do not require, on ia64.
14380 * configure: Regenerated.
14381
14382 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14383 Update tests that use readelf to use $READELF instead.
14384 * configure: Regenerated.
14385
14386 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14387
14388 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14389 if the result is not used.
14390
14391 2011-07-05 Andreas Jaeger <aj@suse.de>
14392
14393 [BZ#9696]
14394 * stdlib/tst-strtod.c: Add testcase.
14395
14396 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14397
14398 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14399 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14400 The latter has a higher limit. Take additional parameter to pass to
14401 the new function.
14402 (__pathconf): Pass file to __statfs_link_max.
14403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14404 __statfs_link_max.
14405 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14406 __statfs_link_max.
14407
14408 [BZ #12868]
14409 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14411 Handle Lustre.
14412 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14413 (__statfs_filesize_max): Likewise.
14414 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14415
14416 2011-07-05 Andreas Jaeger <aj@suse.de>
14417
14418 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14419
14420 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14421
14422 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14423 `status' variable.
14424 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14425 Likewise.
14426
14427 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14428
14429 * Makefile (strop-tests): Add strncat.
14430 * string/test-strncat.c: New file.
14431
14432 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14433
14434 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14435
14436 2011-06-21 Andreas Jaeger <aj@suse.de>
14437
14438 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14439 Copy rule from iconvdata/Makefile.
14440
14441 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14442
14443 [BZ #12922]
14444 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14445 but no long options are defined, just return 'W'.
14446
14447 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14448
14449 [BZ #9696]
14450 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14451
14452 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14453
14454 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14455 netgroups to read.
14456 (innetgr): Likewise.
14457
14458 2011-07-05 Roland McGrath <roland@hack.frob.com>
14459
14460 * config.make.in (install_root): Default to $(DESTDIR).
14461
14462 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14463
14464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14465
14466 2011-07-02 Roland McGrath <roland@hack.frob.com>
14467
14468 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14469
14470 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14471 containing directory rather than embedding absolute directory names.
14472
14473 * scripts/check-local-headers.sh: Rewritten using awk.
14474 Match by word, not by line. Print error messages for matches.
14475 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14476
14477 * Makerules [shlib-lds-flags empty]:
14478 ($(common-objpfx)libc_pic.opts): New target.
14479 ($(common-objpfx)libc_pic.os.clean): New target.
14480 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14481
14482 * config.make.in (OBJCOPY): New variable.
14483 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14484 * configure: Regenerated.
14485
14486 * config.make.in (use-default-link): New variable.
14487 * configure.in (use_default_link): Grok --with-default-link to set it.
14488 * configure: Regenerated.
14489 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14490 (shlib-lds, shlib-lds-flags): Define to empty.
14491
14492 * Makerules (shlib-lds): New variable.
14493 (shlib-lds-flags): New variable.
14494 (build-shlib, build-moduile, build-module-asneeded): Use it.
14495 ($(common-objpfx)libc.so): Use $(shlib-lds).
14496 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14497 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14498
14499 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14500 DT_FLAGS/DT_FLAGS_1 with zero flags.
14501
14502 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14503 linker script munging.
14504
14505 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14506
14507 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14508 as 128-bit value.
14509 * crypt/sha512.c (sha512_process_block): Perform total addition using
14510 128-bit if possible.
14511 (__sha512_finish_ctx): Likewise.
14512 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14513 as 64-bit value.
14514 * crypt/sha256.c (SWAP64): Define.
14515 (sha256_process_block): Perform total addition using 64-bit if
14516 possible.
14517 (__sha256_finish_ctx): Likewise.
14518
14519 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14520
14521 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14523 * nscd/hstcache.c (cache_addhst): Likewise.
14524 * nscd/grpcache.c (cache_addgr): Likewise.
14525 * nscd/aicache.c (addhstaiX): Likewise
14526 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14527
14528 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14529
14530 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14531 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14532 * nscd/hstcache.c (cache_addhst): Likewise.
14533 * nscd/grpcache.c (cache_addgr): Likewise.
14534 * nscd/aicache.c (addhstaiX): Likewise
14535
14536 2011-07-01 Andreas Schwab <schwab@redhat.com>
14537
14538 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14539 domain only when needed.
14540
14541 2011-06-30 Andreas Schwab <schwab@redhat.com>
14542
14543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14544 is always restored.
14545
14546 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14547
14548 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14549 are re-adding the entry.
14550 * nscd/servicescache.c (cache_addserv): Likewise.
14551
14552 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14553
14554 * sysdeps/generic/dl-irel.h: fix protection against multiple
14555 inclusions.
14556 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14557
14558 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14559
14560 [BZ #12935]
14561 * malloc/memusage.sh: Fix quoting in message.
14562 * debug/xtrace.sh: Likewise.
14563
14564 * configure.in: Remove support for --experimental-malloc option, make
14565 it the default.
14566 * config.make.in: Likewise.
14567 * malloc/Makefile: Likewise.
14568
14569 2011-06-27 Andreas Schwab <schwab@redhat.com>
14570
14571 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14572 two-byte characters.
14573
14574 2011-06-27 Roland McGrath <roland@hack.frob.com>
14575
14576 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14577 AC_CACHE_CHECK invocation.
14578 * configure: Regenerated.
14579
14580 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14581
14582 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14583
14584 [BZ #12350]
14585 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14586 bit from old_res_options.
14587
14588 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14589
14590 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14591 value type for setfct.
14592
14593 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14594
14595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14596 __gettimeofday instead of gettimeofday.
14597
14598 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14599
14600 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14601
14602 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14603
14604 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14605
14606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14607 info.
14608
14609 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14610
14611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14612 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14613 strcpy-sse2-unaligned strncpy-sse2-unaligned
14614 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14615 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14616 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14617 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14618 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14619 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14620 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14621 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14622 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14623 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14624 (STRCPY): Support SSE2 and SSSE3 versions.
14625
14626 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14627
14628 [BZ #12874]
14629 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14630 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14631 kernels which artificially limit size of requests.
14632
14633 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14634
14635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14636 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14637 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14638 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14639 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14640 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14641 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14642 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14643 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14644 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14645 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14646 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14647 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14648 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14649 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14651 Enable unaligned load optimization for Intel Core i3, i5 and i7
14652 processors.
14653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14654 Define.
14655 (index_Fast_Unaligned_Load): Define.
14656 (HAS_FAST_UNALIGNED_LOAD): Define.
14657
14658 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14659
14660 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14661
14662 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14663
14664 [BZ #12907]
14665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14666 until it is clear that the information is realy needed.
14667 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14668
14669 2011-06-22 Andreas Schwab <schwab@redhat.com>
14670
14671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14672
14673 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14674
14675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14676 /sys/devices/system/cpu/online if it is usable.
14677
14678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14679 reading the information from the /proc filesystem to once a second.
14680
14681 2011-06-21 Andreas Jaeger <aj@suse.de>
14682
14683 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14684 NULL after inclusion of kernel headers.
14685
14686 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14687
14688 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14689 calls to internal_setent.
14690
14691 [BZ #12885]
14692 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14693 addresses using gethostbyname4_r ignore IPv4 addresses.
14694
14695 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14696 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14697
14698 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14699
14700 2011-06-20 David S. Miller <davem@davemloft.net>
14701
14702 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14703 inclusions.
14704 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14705
14706 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14707 (elf_irel): Use it.
14708 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14709 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14710 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14711 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14712 * sysdeps/x86_64/dl-irel.h: Likewise.
14713
14714 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14715 * elf/dl-sym.c: Likewise.
14716
14717 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14718
14719 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14720 need to dereference resplen2.
14721
14722 2011-06-14 Andreas Schwab <schwab@redhat.com>
14723
14724 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14725
14726 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14727
14728 * Makeconfig: Define vardbdir and inst_vardbdir.
14729 * nss/Makefile: Add rules to install db-Makefile.
14730
14731 * nss/nss_db/db-XXX.c: Cleanup.
14732
14733 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14734 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14735 GLIBC_PRIVATE.
14736 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14737 * nss/makedb.c: Implement -g option to specify that value strings
14738 are generated and should not be added to table iterated over for
14739 get*ent calls.
14740 * nss/nss_db/db-initgroups.c: New file.
14741
14742 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14743 interface.
14744
14745 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14746 (internal_getgrouplist): Adjust to name change.
14747 Update use_initgroups_entry if this is not the first call.
14748 * nss/databases.def: Add initgroups entry.
14749
14750 * nss/makedb.c (compute_tables): Check result of multiple hash table
14751 sizes to minimize maximum chain length.
14752
14753 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14754
14755 * Versions.def: Add entry for libnss_db.
14756 * shlib-versions: Likewise.
14757 * nss/Makefile: Add rules to build libnss_db.
14758 * nss/Versions: Add libnss_db information. Organize libnss_files
14759 entries better.
14760 * nss/db-Makefile: Add gshadow support. Change rules for the new
14761 makedb progra. Some minor improvements to generate smaller files.
14762 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14763 here from...
14764 * nss/makedb.c: ...here.
14765 Improve database format to be smaller and require less memory at
14766 runtime.
14767 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14768 db anymore.
14769 * nss/nss_db/db-netgrp.c: Likewise.
14770 * nss/nss_db/db-open.c: Likewise.
14771 * nss/nss_files/flies-XXX.x: Adjust comments.
14772 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14773 * nss/nss_files/files-grp.c: Likewise.
14774 * nss/nss_files/files-hosts.c: Likewise.
14775 * nss/nss_files/files-network.c: Likewise.
14776 * nss/nss_files/files-proto.c: Likewise.
14777 * nss/nss_files/files-pwd.c: Likewise.
14778 * nss/nss_files/files-rpc.c: Likewise.
14779 * nss/nss_files/files-service.c: Likewise.
14780 * nss/nss_files/files-sgrp.c: Likewise.
14781 * nss/nss_files/files-spwd.c: Likewise.
14782 * nss/nss_db/db-alias.c: Removed.
14783 * nss/nss_db/dummy-db.h: Removed.
14784
14785 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14786
14787 * nss/makedb.c: Rewritten to not use database library.
14788 * nss/Makefile: Update to build new makedb program.
14789
14790 2011-06-14 Andreas Jaeger <aj@suse.de>
14791
14792 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14793 memset declaration.
14794
14795 2011-06-10 Andreas Schwab <schwab@redhat.com>
14796
14797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14798 tmpbuf.
14799
14800 2011-06-10 Roland McGrath <roland@hack.frob.com>
14801
14802 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14803 * elf/Makefile ($(objpfx)ld.so): Likewise.
14804
14805 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14806 Don't list ld.so twice in dependencies.
14807
14808 * posix/bug-regex31.c: Include <stdlib.h>.
14809
14810 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14811
14812 * nis/nss_compat/compat-spwd.c
14813 (getspent_next_nss_netgr): Remove unused variable.
14814 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14815
14816 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14817 nonmembers" output to use the right array.
14818
14819 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14820
14821 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14822
14823 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14824 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14825 * catgets/gencat.c (read_input_file): Likewise.
14826 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14827
14828 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14829 variable definition inside #if's controlling its use.
14830
14831 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14832
14833 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14834
14835 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14836
14837 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14838 unreachable code.
14839
14840 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14841
14842 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14843 * configure: Regenerated.
14844
14845 * Makerules: Revert last change.
14846 * elf/Makefile: Likewise.
14847
14848 2011-06-09 Roland McGrath <roland@hack.frob.com>
14849
14850 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14851 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14852 (reloc-link): Likewise.
14853
14854 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14855
14856 * elf/Makefile: Add rules to build pldd.
14857 * elf/pldd.c: New file.
14858 * elf/pldd-xx.c: New file.
14859
14860 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14861
14862 * version.h: Update for 2.15 development version.
14863
14864 2011-06-07 David S. Miller <davem@davemloft.net>
14865
14866 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14867 ifuncs.
14868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14869 elf_machine_lazy_rel): Likewise.
14870 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14872 elf_machine_lazy_rel): Likewise.
14873 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14874 dl_hwcap via passed in argument.
14875 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14876 Likewise.
14877
14878 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14879
14880 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14881
14882 2011-06-06 Roland McGrath <roland@hack.frob.com>
14883
14884 [BZ #12849]
14885 * manual/fdl-1.1.texi: New file, verbatim from:
14886 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14887 * manual/lgpl-2.1.texi: New file, verbatim from:
14888 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14889 * manual/Makefile (licenses): New variable, list those new file names.
14890 (texis): Use it.
14891 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14892
14893 * manual/fdl.texi: File removed.
14894 * manual/lesser.texi: File removed.
14895 * manual/libc.texinfo (Copying, Documentation License):
14896 Use new @include file names, put @appendix directive before @include.
14897
14898 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14899
14900 [BZ #12841]
14901 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14902 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14903 (mq_open): Add __NTH.
14904
14905 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14906
14907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14908 Assume Intel Core i3/i5/i7 processor if AVX is available.
14909
14910 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14911
14912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14913 typo.
14914
14915 2011-05-31 Andreas Schwab <schwab@redhat.com>
14916
14917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14918 memory. Use alloca_account. Fix memory leak when retrying.
14919
14920 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14921
14922 * version.h (RELEASE): Bump for 2.14 release.
14923 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14924
14925 * config.make.in (RANLIB): Remove entry.
14926
14927 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14928
14929 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14930 (libc.pot): Work around missing support for .ksh extension in xgettext.
14931
14932 [BZ #12684]
14933 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14934 if both request failed.
14935 (send_dg): In case of server errors clear resplen or *resplen2.
14936
14937 [BZ #12454]
14938 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14939 when there are multiple maps.
14940 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14941 (_dl_fini): Remove test here.
14942
14943 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14944
14945 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14946
14947 [BZ #12350]
14948 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14949 bit from old_res_options.
14950 (gaih_inet): Likewise.
14951
14952 [BZ #11099]
14953 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14954 as signed.
14955
14956 * resolv/res_init.c (res_setoptions): Make the code more compact.
14957
14958 [BZ #11558]
14959 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14960 set RES_USEVC.
14961
14962 [BZ #11634]
14963 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14964
14965 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14966
14967 [BZ #11781]
14968 * malloc/malloc.h: Declare malloc hook variables as volatile.
14969
14970 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14971 in last patch.
14972
14973 [BZ #11799]
14974 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14975 raise in the comment.
14976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14978 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14979
14980 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14981
14982 [BZ #12811]
14983 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14984 grow the buffers more if it already has to be sufficient.
14985 (build_wcs_upper_buffer): Likewise.
14986 * posix/regexec.c (check_matching): Likewise.
14987 (clean_state_log_if_needed): Likewise.
14988 (extend_buffers): Don't enlarge buffers beyond size of the input
14989 buffer.
14990 Patches mostly by Emil Wojak <emil@wojak.eu>.
14991 * posix/bug-regex32.c: New file.
14992 * posix/Makefile (tests): Add bug-regex32.
14993
14994 * locale/findlocale.c (_nl_find_locale): Return right away if
14995 _nl_explode_name failed.
14996 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14997
14998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14999
15000 * debug/xtrace.sh: Unify messages.
15001 * malloc/memusage.sh: Likewise.
15002
15003 [BZ #12813]
15004 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15005 time symbol from vDSO. Substitute with vsyscall if not available.
15006 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15007 __vdso_time.
15008
15009 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15010 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15011 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15012 Add sendmmsg and internal_sendmmsg.
15013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15014 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15015 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15016
15017 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15018 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15019 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15020
15021 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15022
15023 [BZ #12813]
15024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15025 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15026 available.
15027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15028 __vdso_getcpu.
15029
15030 [BZ #12814]
15031 * iconvdata/Makefile (tests): Add bug-iconv9.
15032 * iconvdata/bug-iconv9.c: New file.
15033
15034 2011-05-27 Andreas Schwab <schwab@redhat.com>
15035
15036 [BZ #12814]
15037 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15038
15039 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15040
15041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15042 (struct user_regs_struct): Change intcs field back to cs.
15043
15044 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15045
15046 * po/ja.po: Update from translation team.
15047
15048 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15049
15050 [BZ #12795]
15051 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15052 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15053
15054 2011-05-20 Andreas Schwab <schwab@redhat.com>
15055
15056 * stdlib/longlong.h: Update from GCC.
15057
15058 2011-05-23 Andreas Schwab <schwab@redhat.com>
15059
15060 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15061 parameter name.
15062 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15063 Add parameter name.
15064 (__sysconf): Pass it down.
15065
15066 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15067
15068 [BZ #12671]
15069 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15070 some situations.
15071 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15072 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15073 add in in __libc_use_alloca calls. Adjust callers.
15074 (glob): Use malloc in some situations.
15075
15076 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15077 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15078 pltexit.
15079
15080 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15081
15082 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15083 and CLOCK_BOOTTIME_ALARM.
15084
15085 [BZ #12782]
15086 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15087 is returned.
15088
15089 * string/_strerror.c (__strerror_r): Print negative errors as signed
15090 numbers.
15091
15092 [BZ #12777]
15093 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15094 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15095 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15096
15097 * configure.in: Fix typo in redirection and correct removal of test
15098 files in two cases.
15099
15100 [BZ #12788]
15101 * locale/setlocale.c (new_composite_name): Fix test to check for
15102 identical name of all categories.
15103
15104 [BZ #12792]
15105 * libio/filedoalloc.c (local_isatty): New function.
15106 (_IO_file_doallocate): Use local_isatty.
15107 * stdio-common/perror.c (perror): In case a new stream is used
15108 forward the stream error.
15109 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15110 error flag.
15111
15112 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15113
15114 [BZ #11869]
15115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15116 alloca.
15117 * include/alloca.h (extend_alloca_account): Define.
15118
15119 [BZ #11857]
15120 * posix/regex.h: Fix comments with documentation of user-accessible
15121 fields after compilation and describe correct free'ing of pattern
15122 after re_compile_pattern.
15123 Patch by Reuben Thomas <rrt@sc3d.org>.
15124
15125 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15126
15127 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15128 and -mno-altivec to prevent the compiler from using Altivec and/or
15129 VSX instructions when the corresponding registers are not available.
15130
15131 2011-05-19 Andreas Schwab <schwab@redhat.com>
15132
15133 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15134
15135 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15136
15137 * libio/freopen.c (freopen): Use __dup2, not dup2.
15138 * libio/freopen64.c (freopen64): Likewise.
15139
15140 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15141
15142 [BZ #12775]
15143 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15144 * math/Makefile (tests): Add test-powl.
15145 (CFLAGS-test-powl.c): Define.
15146 * math/test-powl.c: New file.
15147
15148 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15149
15150 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15151
15152 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15153
15154 [BZ #11837]
15155 * iconvdata/gb18030.c: Update to GB18020-2005.
15156
15157 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15158
15159 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15160 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15161 Patch by Aharon Robbins <arnold@skeeve.com>.
15162
15163 [BZ #11892]
15164 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15165 on the stack.
15166
15167 [BZ #11895]
15168 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15169 through underflows.
15170
15171 [BZ #12766]
15172 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15173 point to strings before performing equality test for error_one_per_line
15174 mode.
15175
15176 [BZ #11697]
15177 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15178
15179 [BZ #11820]
15180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15181 (struct user_fpregs_struct): Avoid __uint*_t types.
15182
15183 [BZ #6420]
15184 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15185 symbol info. Use it instead of calling _dl_addr locally.
15186 (lock_and_info): New function.
15187 (tr_freehook): Call lock_and_info and pass symbol info as additional
15188 parameter to tr_where.
15189 (tr_mallochook): Likewise.
15190 (tr_reallochook): Likewise.
15191 (tr_memalignhook): Likewise.
15192
15193 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15194 used and couldn't be at all thread-safe.
15195
15196 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15197
15198 * libio/freopen.c (freopen): Don't close old file descriptor
15199 before the new one is opened. Instead dup the new file descriptor
15200 to the old one after the new stream is created.
15201 * libio/freopen64.c (freopen64): Likewise.
15202 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15203 * libio/fileops.c (_IO_new_file_close_it): Handle new
15204 _IO_FLAGS2_NOCLOSE flag.
15205 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15206 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15207 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15208 _IO_FLAGS2_NOCLOSE flag.
15209 * include/unistd.h: Add hidden_proto for dup3.
15210 Define __have_dup3.
15211 * io/dup3.c: Define hidden symbol.
15212 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15213
15214 [BZ #7101]
15215 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15216 when an incomplete long option is used.
15217 * posix/tst-getopt_long1.c: New file.
15218 * posix/Makefile (tests): Add tst-getopt_long1.
15219
15220 [BZ #10138]
15221 * scripts/config.guess: Update from autoconf-2.68.
15222 * scripts/config.sub: Likewise.
15223
15224 [BZ #10157]
15225 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15226 tests into ...
15227 (has_cpuclock): ...this. New function.
15228 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15229 macro here based on has_cpuclock code.
15230
15231 [BZ #10149]
15232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15233 First byte (not low byte) is now always NUL.
15234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15235
15236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15237 Use non-cancelable interfaces.
15238
15239 [BZ #9809]
15240 * locale/iso-639.def: Add entry for Sorani.
15241
15242 [BZ #11901]
15243 * include/stdlib.h: Move include protection to the right place.
15244 Define abort_msg_s. Declare __abort_msg with it.
15245 * stdlib/abort.c (__abort_msg): Adjust type.
15246 * assert/assert.c (__assert_fail_base): New function. Majority
15247 of code from __assert_fail. Allocate memory for __abort_msg with
15248 mmap.
15249 (__assert_fail): Now call __assert_fail_base.
15250 * assert/assert-perr.c: Remove bulk of implementation. Use
15251 __assert_fail_base.
15252 * include/assert.hL Declare __assert_fail_base.
15253 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15254 mmap.
15255 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15256
15257 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15258
15259 [BZ #11952]
15260 [BZ #12453]
15261 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15262 until all modules are registered in the DTV.
15263 * elf/Makefile: Add rules to build and run tst-tls19.
15264 * elf/tst-tls19.c: New file.
15265 * elf/tst-tls19mod1.c: New file.
15266 * elf/tst-tls19mod2.c: New file.
15267 * elf/tst-tls19mod3.c: New file.
15268 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15269
15270 [BZ #12083]
15271 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15272 correctly.
15273
15274 [BZ #12601]
15275 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15276 two-byte sequence errors.
15277 * iconvdata/Makefile (tests): Add bug-iconv8.
15278 * iconvdata/bug-iconv8.c: New file.
15279
15280 [BZ #12626]
15281 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15282 buf2 definition.
15283
15284 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15285
15286 [BZ #12432]
15287 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15288 (dummy_getcfa): New function.
15289 (init): Get _Unwind_GetCFA address, use dummy if not found.
15290 (backtrace_helper): In recursion check, also check whether CFA changes.
15291 (__backtrace): Completely initialize arg.
15292
15293 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15294 storing incomplete byte sequence in state object. Avoid testing for
15295 guaranteed too small input if we know there is enough data available.
15296
15297 2011-05-11 Andreas Schwab <schwab@redhat.com>
15298
15299 * Makeconfig (+link-pie): Indent.
15300 * Rules (binaries-pie): Define if $(have-fpie) and
15301 $(build-shared).
15302 (binaries-shared): Also filter out $(binaries-pie).
15303 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15304 * nscd/Makefile (others-pie): Add nscd.
15305 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15306 ($(objpfx)nscd): Remove command override.
15307 * login/Makefile (others-pie): Add pt_chown.
15308 ($(objpfx)pt_chown): Remove command override.
15309 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15310 remove command overrides.
15311
15312 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15313
15314 * libio/tst_putwc.c: Fix error messages.
15315
15316 [BZ #12724]
15317 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15318 currently writing and seek to current position when not.
15319 * libio/Makefile (tests): Add bug-fclose1.
15320 * libio/bug-fclose1.c: New file.
15321
15322 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15323
15324 [BZ #12511]
15325 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15326 don't set DF_1_NODELETE here.
15327 (do_lookup_x): When entering new entry test for copy relocation
15328 and if necessary set DF_1_NODELETE flag.
15329 * elf/tst-unique4.cc: New file.
15330 * elf/tst-unique4.h: New file.
15331 * elf/tst-unique4lib.cc: New file.
15332 * elf/Makefile: Add rules to build and run tst-unique4.
15333 Patch by Piotr Bury <pbury@goahead.com>.
15334
15335 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15336
15337 [BZ #12052]
15338 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15339
15340 [BZ #12625]
15341 * misc/mntent_r.c (addmntent): Flush the stream after the output
15342
15343 [BZ #12393]
15344 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15345 (is_trusted_path_normalize): Skip initial colon. Append slash
15346 to empty buffer. Duplicate is_trusted_path code but allow
15347 constructed patch to be prefix.
15348 (is_dst): Allow $ORIGIN followed by /.
15349 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15350 Correct testing of result of is_trusted_path_normalize
15351 (decompose_rpath): Fix warning.
15352
15353 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15354
15355 [BZ #11257]
15356 * grp/initgroups.c (internal_getgrouplist): When we found the service
15357 list through the initgroups entry in nsswitch.conf do not always
15358 continue on a successful lookup. Don't always use the
15359 __nss_group_database value if it is set.
15360 * nss/nsswitch.conf (initgroups): Change action for successful db
15361 lookup to continue for compatibility.
15362
15363 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15364
15365 [BZ #11532]
15366 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15367 and CP774 modules.
15368 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15369 and CP774 modules.
15370 * iconvdata/tst-tables.sh: Likewise.
15371 * iconvdata/cp770.c: New file.
15372 * iconvdata/cp771.c: New file.
15373 * iconvdata/cp772.c: New file.
15374 * iconvdata/cp773.c: New file.
15375 * iconvdata/cp774.c: New file.
15376 * iconvdata/testdata/CP770: New file.
15377 * iconvdata/testdata/CP770..UTF8: New file.
15378 * iconvdata/testdata/CP771: New file.
15379 * iconvdata/testdata/CP771..UTF8: New file.
15380 * iconvdata/testdata/CP772: New file.
15381 * iconvdata/testdata/CP772..UTF8: New file.
15382 * iconvdata/testdata/CP773: New file.
15383 * iconvdata/testdata/CP773..UTF8: New file.
15384 * iconvdata/testdata/CP774: New file.
15385 * iconvdata/testdata/CP774..UTF8: New file.
15386
15387 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15388 END CHARMAP line.
15389 * iconvdata/gen-8bit-gap.sh: Likewise.
15390 * iconvdata/gen-8bit.sh: Likewise.
15391
15392 * locale/iso-639.def: Add ary entry.
15393
15394 [BZ #11258]
15395 * locale/C-translit.h.in: Add U20A1 transliteration.
15396
15397 [BZ #12178]
15398 * locale/iso-639.def: Add wae entry.
15399 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15400
15401 [BZ #12545]
15402 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15403 for n.
15404
15405 [BZ #12711]
15406 * locale/C-translit.h.in: Add entry for U20B9.
15407 Patch by pravin.d.s@gmail.com.
15408
15409 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15410
15411 [BZ #12713]
15412 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15413 ENAMETOOLONG use generic getcwd.
15414 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15415 in rtld. Use *stat64.
15416 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15417 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15418 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15419 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15420 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15421 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15422 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15423 __fstatat64 macros.
15424 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15425 * dirent/rewinddir.c: Add libc_hidden_def.
15426 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15427 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15428
15429 * include/dirent.h (__alloc_dir): Add flags parameter.
15430 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15431 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15432 __alloc_dir.
15433 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15434 from fdopendir if O_CLOEXEC is already set.
15435
15436 2011-03-15 Alan Modra <amodra@gmail.com>
15437
15438 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15439 l_tls_firstbyte_offset non-zero. Save padding offset in
15440 l_tls_firstbyte_offset for later use.
15441 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15442 freeing static tls block.
15443
15444 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15445
15446 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15447 where #ifdef was intended. The intent is to prevent ARG_MAX from
15448 being defined by the kernel headers.
15449
15450 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15451
15452 [BZ #12734]
15453 * resolv/resolv.h: Define RES_NOTLDQUERY.
15454 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15455 no-tld-query and set RES_NOTLDQUERY.
15456 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15457 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15458 modern BIND to search name as TLD unless forbidden.
15459
15460 2011-05-07 Petr Baudis <pasky@suse.cz>
15461 Ulrich Drepper <drepper@gmail.com>
15462
15463 [BZ #12393]
15464 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15465 (is_trusted_path): ...to here.
15466 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15467 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15468 using is_trusted_path_normalize() in setuid scripts.
15469
15470 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15471
15472 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15473 __BEGIN/__END_DECLS.
15474
15475 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15476
15477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15478 NSS_STATUS_NOTFOUND if no record was found.
15479
15480 2011-05-05 Andreas Schwab <schwab@redhat.com>
15481
15482 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15483 (headers-not-in-tirpc): Remove rpc/netdb.h
15484 * resolv/netdb.h: Revert last change.
15485
15486 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15487
15488 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15489 circular dependency between libgcc.a and libc.a.
15490
15491 2011-05-05 Andreas Schwab <schwab@redhat.com>
15492
15493 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15494 * nis/Makefile: Don't install rpcsvc/*.
15495 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15496 instead of <rpc/types.h>.
15497 (MAXHOSTNAMELEN): Define.
15498
15499 2011-05-03 Andreas Schwab <schwab@redhat.com>
15500
15501 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15502
15503 2011-04-28 Maciej Babinski <mbabinski@google.com>
15504
15505 [BZ #12714]
15506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15507 gethostbyname4_r when IPv6 results are possible.
15508
15509 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15510
15511 [BZ #12723]
15512 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15513 _PC_PIPE_BUF handling.
15514
15515 2011-04-30 Bruno Haible <bruno@clisp.org>
15516
15517 [BZ #12717]
15518 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15519 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15520 to 'int'.
15521 * inet/getnameinfo.c (getnameinfo): Likewise.
15522
15523 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15524
15525 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15526 to groups setting in database lookup.
15527 * nss/nsswitch.conf: Add initgroups entry.
15528
15529 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15530
15531 [BZ #12685]
15532 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15533 mode string.
15534 Patch by Eric Blake <eblake@redhat.com>.
15535
15536 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15537
15538 * sunrpc/Makefile (need-export-routines): Add svc_run.
15539 (routines): Remove svc_run.
15540 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15541 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15542 * sunrpc/svc_run.c (svc_run): Likewise.
15543 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15544
15545 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15546
15547 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15548 problem in reallocation in last patch.
15549
15550 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15551
15552 * sunrpc/Makefile: Move inclusion of Rules.
15553
15554 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15555
15556 * nss/nss_files/files-initgroups.c: New file.
15557 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15558 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15559 _nss_files_initgroups_dyn.
15560
15561 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15562
15563 * elf/elf.h (R_ARM_IRELATIVE): Define.
15564
15565 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15566
15567 * po/ru.po: Update from translation team.
15568
15569 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15570
15571 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15572 dependencies.
15573
15574 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15575
15576 [BZ #12653]
15577 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15578 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15579 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15580 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15582
15583 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15584
15585 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15586 differing bytes.
15587 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15588 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15590
15591 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15592
15593 [BZ #12420]
15594 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15595 storing it.
15596 * stdlib/bug-getcontext.c: New file.
15597 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15598
15599 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15600
15601 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15602 instructions into .machine "z9-109".
15603 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15604 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15605
15606 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15607
15608 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15609 between environment variables and auxiliary vector.
15610
15611 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15612
15613 * Makefile: Add rules to build linkobj/libc.so.
15614 * include/libc-symbols.h: Define libc_hidden_nolink.
15615 * include/rpc/auth.h: Mark functions which are to be hidden.
15616 * include/rpc/auth_des.h: Likewise.
15617 * include/rpc/auth_unix.h: Likewise.
15618 * include/rpc/clnt.h: Likewise.
15619 * include/rpc/des_crypt.h: Likewise.
15620 * include/rpc/key_prot.h: Likewise.
15621 * include/rpc/pmap_clnt.h: Likewise.
15622 * include/rpc/pmap_prot.h: Likewise.
15623 * include/rpc/pmap_rmt.h: Likewise.
15624 * include/rpc/rpc_msg.h: Likewise.
15625 * include/rpc/svc.h: Likewise.
15626 * include/rpc/svc_auth.h: Likewise.
15627 * include/rpc/xdr.h: Likewise.
15628 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15629 * nss/Makefile: Likewise.
15630 * sunrpc/Makefile: Don't install headers. Build library with normal
15631 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15632 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15633 for the compat linking library. Remove use of INTDEF/INTUSE.
15634 * sunrpc/auth_none.c: Likewise.
15635 * sunrpc/auth_unix.c: Likewise.
15636 * sunrpc/authdes_prot.c: Likewise.
15637 * sunrpc/authuxprot.c: Likewise.
15638 * sunrpc/clnt_gen.c: Likewise.
15639 * sunrpc/clnt_perr.c: Likewise.
15640 * sunrpc/clnt_raw.c: Likewise.
15641 * sunrpc/clnt_simp.c: Likewise.
15642 * sunrpc/clnt_tcp.c: Likewise.
15643 * sunrpc/clnt_udp.c: Likewise.
15644 * sunrpc/clnt_unix.c: Likewise.
15645 * sunrpc/des_crypt.c: Likewise.
15646 * sunrpc/des_soft.c: Likewise.
15647 * sunrpc/get_myaddr.c: Likewise.
15648 * sunrpc/key_call.c: Likewise.
15649 * sunrpc/key_prot.c: Likewise.
15650 * sunrpc/netname.c: Likewise.
15651 * sunrpc/pm_getmaps.c: Likewise.
15652 * sunrpc/pm_getport.c: Likewise.
15653 * sunrpc/pmap_clnt.c: Likewise.
15654 * sunrpc/pmap_prot.c: Likewise.
15655 * sunrpc/pmap_prot2.c: Likewise.
15656 * sunrpc/pmap_rmt.c: Likewise.
15657 * sunrpc/publickey.c: Likewise.
15658 * sunrpc/rpc_cmsg.c: Likewise.
15659 * sunrpc/rpc_common.c: Likewise.
15660 * sunrpc/rpc_dtable.c: Likewise.
15661 * sunrpc/rpc_prot.c: Likewise.
15662 * sunrpc/rpc_thread.c: Likewise.
15663 * sunrpc/rtime.c: Likewise.
15664 * sunrpc/svc.c: Likewise.
15665 * sunrpc/svc_auth.c: Likewise.
15666 * sunrpc/svc_authux.c: Likewise.
15667 * sunrpc/svc_raw.c: Likewise.
15668 * sunrpc/svc_run.c: Likewise.
15669 * sunrpc/svc_simple.c: Likewise.
15670 * sunrpc/svc_tcp.c: Likewise.
15671 * sunrpc/svc_udp.c: Likewise.
15672 * sunrpc/svc_unix.c: Likewise.
15673 * sunrpc/svcauth_des.c: Likewise.
15674 * sunrpc/xcrypt.c: Likewise.
15675 * sunrpc/xdr.c: Likewise.
15676 * sunrpc/xdr_array.c: Likewise.
15677 * sunrpc/xdr_float.c: Likewise.
15678 * sunrpc/xdr_intXX_t.c: Likewise.
15679 * sunrpc/xdr_mem.c: Likewise.
15680 * sunrpc/xdr_rec.c: Likewise.
15681 * sunrpc/xdr_ref.c: Likewise.
15682 * sunrpc/xdr_sizeof.c: Likewise.
15683 * sunrpc/xdr_stdio.c: Likewise.
15684
15685 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15686
15687 [BZ #12650]
15688 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15689 * sysdeps/ia64/dl-tls.h: Likewise.
15690 * sysdeps/powerpc/dl-tls.h: Likewise.
15691 * sysdeps/s390/dl-tls.h: Likewise.
15692 * sysdeps/sh/dl-tls.h: Likewise.
15693 * sysdeps/sparc/dl-tls.h: Likewise.
15694 * sysdeps/x86_64/dl-tls.h: Likewise.
15695 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15696
15697 2011-03-14 Andreas Schwab <schwab@redhat.com>
15698
15699 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15700 rpath element also skip the following colon.
15701 (expand_dynamic_string_token): Add is_path parameter and pass
15702 down to DL_DST_REQUIRED and _dl_dst_substitute.
15703 (decompose_rpath): Call expand_dynamic_string_token with
15704 non-zero is_path. Ignore empty rpaths.
15705 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15706 with zero is_path.
15707
15708 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15709
15710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15711 Make cancelable.
15712
15713 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15714
15715 [BZ #12655]
15716 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15717 Patch by Filipe David Manana <fdmanana@apache.org>.
15718
15719 2011-04-07 Andreas Schwab <schwab@redhat.com>
15720
15721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15722 Maintain aligned stack.
15723 (CHECK_RSP): Remove unused macro.
15724
15725 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15726
15727 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15728 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15729
15730 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15731
15732 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15733
15734 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15735
15736 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15737
15738 [BZ #12518]
15739 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15740 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15741 * sysdeps/x86_64/memmove.c: New file.
15742 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15743 (memcpy): Renamed to ...
15744 (__new_memcpy): This.
15745 (memcpy): Provide GLIBC_2_14 memcpy.
15746 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15747 (memcpy): Provide GLIBC_2_2_5 memcpy.
15748
15749 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15750
15751 [BZ #12631]
15752 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15753
15754 2011-03-30 Andreas Schwab <schwab@redhat.com>
15755
15756 * misc/syncfs.c: New file.
15757 * misc/Makefile (routines): Add syncfs.
15758 * posix/unistd.h: Declare syncfs.
15759 * sysdeps/unix/syscalls.list: Add syncfs.
15760
15761 2011-04-01 Andreas Schwab <schwab@redhat.com>
15762
15763 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15764 open_by_handle_at.
15765 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15766 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15770 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15772
15773 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15774
15775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15777 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15782
15783 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15784 sync_file_range.c with -fexceptions.
15785 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15786 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15787 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15788 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15789 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15790 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15792 sync_file_range as cancellation point
15793 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15794 now a wrapper around __call_sync_file_range with cancellation handling.
15795 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15796 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15797 function name to __call_sync_file_range.
15798 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15799 Add call_sync_file_range.
15800
15801 2011-04-01 Andreas Schwab <schwab@redhat.com>
15802
15803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15804 bits/timex.h.
15805
15806 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15807
15808 * iconv/iconv.h: Fix typo in comment.
15809 * io/fcntl.h: Likewise.
15810 * libio/stdio.h: Likewise.
15811 * posix/spawn.h: Likewise.
15812 * posix/unistd.h: Likewise.
15813 * stdlib/stdlib.h: Likewise.
15814 * time/time.h: Likewise.
15815 * wcsmbs/wchar.h: Likewise.
15816
15817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15818 open_by_handle): Add.
15819 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15820 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15821 Augment a few comments.
15822 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15827 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15828 open_by_handle.
15829
15830 * io/fcntl.h (AT_EMPTY_PATH): Define.
15831
15832 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15833
15834 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15835 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15836 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15837 to...
15838 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15839 * Versions.def: Add GLIBC_2.14.
15840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15841 Export.
15842
15843 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15844
15845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15846 round counter.
15847 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15848
15849 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15850
15851 [BZ #12597]
15852 * string/test-strncmp.c (do_page_test): New function.
15853 (check2): Likewise.
15854 (test_main): Call check2.
15855 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15856
15857 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15858
15859 [BZ #12587]
15860 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15861 Handle cache information in CPU leaf 4.
15862 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15863
15864 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15865
15866 [BZ #12583]
15867 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15868 character representation.
15869 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15870
15871 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15872
15873 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15874 END(__isnan) to END(__isnanf) to match function entry point/label
15875 EALIGN(__isnanf,...).
15876
15877 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15878
15879 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15880
15881 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15882
15883 [BZ #12510]
15884 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15885 copy from the symbol referenced in the relocation to initialize the
15886 used variable.
15887 Patch by Piotr Bury <pbury@goahead.com>.
15888 * elf/Makefile: Add rules to build and tst-unique3.
15889 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15890 * elf/tst-unique3.cc: New file.
15891 * elf/tst-unique3.h: New file.
15892 * elf/tst-unique3lib.cc: New file.
15893 * elf/tst-unique3lib2.cc: New file.
15894
15895 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15896
15897 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15898
15899 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15900 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15901 to _start.
15902
15903 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15904
15905 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15906 to-be-loaded object along a path to loader is ld.so.
15907
15908 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15909 Ulrich Drepper <drepper@gmail.com>
15910
15911 * sysdeps/x86_64/memset.S: After aligning destination, code
15912 branches to different locations depending on the value of
15913 misalignment, when multiarch is enabled. Fix this.
15914
15915 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15916
15917 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15918 Set _x86_64_preferred_memory_instruction for AMD processsors.
15919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15920 Set bit_Prefer_SSE_for_memop for AMD processors.
15921
15922 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15923
15924 * libio/fmemopen.c (fmemopen): Optimize a bit.
15925
15926 2011-03-03 Andreas Schwab <schwab@redhat.com>
15927
15928 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15929
15930 2011-03-03 Roland McGrath <roland@redhat.com>
15931
15932 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15933
15934 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15935
15936 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15937 __bzero_ultra1 instead of __memset_ultra1.
15938
15939 2011-02-23 Andreas Schwab <schwab@redhat.com>
15940 Ulrich Drepper <drepper@gmail.com>
15941
15942 [BZ #12509]
15943 * include/link.h (struct link_map): Add l_orig_initfini.
15944 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15945 returning unsuccessfully.
15946 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15947 close of a file loaded at startup, restore the original l_initfini
15948 list.
15949 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15950 list, store the pointer.
15951 * elf/Makefile ($(objpfx)noload-mem): New rule.
15952 (noload-ENV): Define.
15953 (tests): Add $(objpfx)noload-mem.
15954 * elf/noload.c: Include <memcheck.h>.
15955 (main): Call mtrace. Close all opened handles.
15956
15957 2011-02-17 Andreas Schwab <schwab@redhat.com>
15958
15959 [BZ #12454]
15960 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15961 dependencies are missing.
15962
15963 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15964
15965 Fix __if_freereq crash: Unlike the generic version which uses free,
15966 Hurd needs munmap.
15967 * sysdeps/mach/hurd/ifreq.h: New file.
15968
15969 2011-01-27 Petr Baudis <pasky@suse.cz>
15970 Ulrich Drepper <drepper@gmail.com>
15971
15972 [BZ 12445]#
15973 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15974 to extend_alloca().
15975 * stdio-common/bug23.c: New file.
15976 * stdio-common/Makefile (tests): Add bug23.
15977
15978 2010-09-28 Andreas Schwab <schwab@redhat.com>
15979 Ulrich Drepper <drepper@gmail.com>
15980
15981 [BZ #12489]
15982 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15983 before performing relro protection. At old place add assertion
15984 to make sure nothing changed.
15985
15986 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15987 Glauber de Oliveira Costa <glommer@gmail.com>
15988
15989 * elf/elf.h: Add new ARM TLS relocs.
15990
15991 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15992
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15994 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15995 cast from r3.
15996 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15997 'tests' variable.
15998 * sysdeps/wordsize-64/tst-writev.c: New file.
15999
16000 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16001
16002 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16003 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16004 insns in _dl_start to prevent a TOC reference before relocs are
16005 resolved.
16006
16007 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16008
16009 [BZ #12469]
16010 * Makeconfig: Remove RANLIB definition.
16011 * Makerules: Don't use RANLIB.
16012 * aclocal.m4: Remove ranlib test.
16013 * configure.in: No need to check for ranlib.
16014 * elf/rtld-Rules: Don't use RANLIB.
16015
16016 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16017
16018 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16019 protection macro.
16020 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16021 inclusion protection macro.
16022
16023 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16024 SIGRTMIN and SIGRTMAX and print information in that case only when
16025 SIGRTMIN is defined.
16026
16027 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16028
16029 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16030 arginfo fn returning -1.
16031
16032 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16033 and thousands string is zero terminated.
16034
16035 2011-02-03 Andreas Schwab <schwab@redhat.com>
16036
16037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16038 sysdeps/unix/sysv/linux/bits/socket.h.
16039
16040 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16041
16042 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16043 (__CPU_COUNT): Remove old macros.
16044 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16045 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16046 (__CPU_ALLOC, __CPU_FREE): Add macros.
16047 (__sched_cpualloc, __sched_cpufree): Add declarations.
16048
16049 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16050
16051 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16052 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16053 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16054 (readdhstai): Return value of addhstaiX call.
16055 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16056 (addgrbyX): Return value returned by cache_addgr.
16057 (readdgrbyname): Return value returned by addgrbyX.
16058 (readdgrbygid): Likewise.
16059 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16060 (addpwbyX): Return value returned by cache_addpw.
16061 (readdpwbyname): Return value returned by addhstbyX.
16062 (readdpwbyuid): Likewise.
16063 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16064 (addservbyX): Return value returned by cache_addserv.
16065 (readdservbyname): Return value returned by addservbyX:
16066 (readdservbyport): Likewise.
16067 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16068 (addhstbyX): Return value returned by cache_addhst.
16069 (readdhstbyname): Return value returned by addhstbyX.
16070 (readdhstbyaddr): Likewise.
16071 (readdhstbynamev6): Likewise.
16072 (readdhstbyaddrv6): Likewise.
16073 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16074 (readdinitgroups): Return value returned by addinitgroupsX.
16075 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16076 (prune_cache): Keep track of timeout value of re-added entries.
16077 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16078 * nscd/nscd.h: Adjust prototypes of readd* functions.
16079
16080 2011-02-04 Roland McGrath <roland@redhat.com>
16081
16082 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16083 (nis_stats): Likewise.
16084 * nis/nis_modify.c (nis_modify): Likewise.
16085 * nis/nis_remove.c (nis_remove): Likewise.
16086 * nis/nis_add.c (nis_add): Likewise.
16087
16088 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16089
16090 * posix/fnmatch_loop.c: Add some consts.
16091
16092 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16093
16094 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16095
16096 [BZ #12460]
16097 * config.make.in (config-cflags-novzeroupper): Define.
16098 * configure.in: Substitute libc_cv_cc_novzeroupper.
16099 * elf/Makefile (AVX-CFLAGS): Define.
16100 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16101 (CFLAGS-tst-auditmod4a.c): Likewise.
16102 (CFLAGS-tst-auditmod4b.c): Likewise.
16103 (CFLAGS-tst-auditmod6b.c): Likewise.
16104 (CFLAGS-tst-auditmod6c.c): Likewise.
16105 (CFLAGS-tst-auditmod7b.c): Likewise.
16106 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16107
16108 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16109
16110 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16111 function to the callback.
16112 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16113
16114 2011-02-02 Andreas Schwab <schwab@redhat.com>
16115
16116 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16117 of errno.
16118
16119 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16120
16121 [BZ #11724]
16122 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16123 of constructors.
16124 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16125 of destructors.
16126 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16127
16128 [BZ #11724]
16129 * elf/Makefile: Add rules to build and run new test.
16130 * elf/tst-initorder.c: New file.
16131 * elf/tst-initorder.exp: New file.
16132 * elf/tst-initordera1.c: New file.
16133 * elf/tst-initordera2.c: New file.
16134 * elf/tst-initordera3.c: New file.
16135 * elf/tst-initordera4.c: New file.
16136 * elf/tst-initorderb1.c: New file.
16137 * elf/tst-initorderb2.c: New file.
16138 * elf/tst-order-a1.c: New file.
16139 * elf/tst-order-a2.c: New file.
16140 * elf/tst-order-a3.c: New file.
16141 * elf/tst-order-a4.c: New file.
16142 * elf/tst-order-b1.c: New file.
16143 * elf/tst-order-b2.c: New file.
16144 * elf/tst-order-main.c: New file.
16145 New test case by George Gensure <werkt0@gmail.com>.
16146
16147 2010-10-01 Andreas Schwab <schwab@redhat.com>
16148
16149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16150 decoding ACE if AI_CANONIDN.
16151
16152 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16153
16154 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16155
16156 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16157
16158 * version.h (RELEASE): Bump for 2.13 release.
16159 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16160
16161 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16162
16163 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16164 MADV_NOHUGEPAGE.
16165 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16168 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16171
16172 * posix/getconf.c: Update copyright year.
16173 * catgets/gencat.c: Likewise.
16174 * csu/version.c: Likewise.
16175 * debug/catchsegv.sh: Likewise.
16176 * debug/xtrace.sh: Likewise.
16177 * elf/ldconfig.c: Likewise.
16178 * elf/ldd.bash.in: Likewise.
16179 * elf/sprof.c (print_version): Likewise.
16180 * iconv/iconv_prog.c: Likewise.
16181 * iconv/iconvconfig.c: Likewise.
16182 * locale/programs/locale.c: Likewise.
16183 * locale/programs/localedef.c: Likewise.
16184 * malloc/memusage.sh: Likewise.
16185 * malloc/mtrace.pl: Likewise.
16186 * nscd/nscd.c (print_version): Likewise.
16187 * nss/getent.c: Likewise.
16188
16189 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16190 PF_CAIF, and PF_ALG.
16191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16192
16193 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16194
16195 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16196 (modules-names): Use them.
16197 (ifunc-test-modules, ifunc-pie-tests): Define.
16198 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16199 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16200 (test-extras): Likewise.
16201 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16202 $(compile-command.c).
16203 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16204 (all-built-dso): Define.
16205 (check-textrel.out, check-execstack.out): Depend on it.
16206
16207 * configure.in: Don't override --enable-multi-arch.
16208
16209 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16210
16211 [BZ #6812]
16212 * nscd/hstcache.c (tryagain): Define.
16213 (cache_addhst): Return tryagain not notfound for temporary errors.
16214 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16215 failed.
16216
16217 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16218
16219 [BZ #10563]
16220 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16221 to make the syscall.
16222 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16223
16224 [BZ #12378]
16225 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16226 and fall back to matching as normal character if the string ends before
16227 the matching ']' is found. This is what POSIX requires.
16228 * posix/testfnm.c: Adjust test result.
16229 * posix/globtest.sh: Adjust test result. Add new test.
16230 * posix/tst-fnmatch.input: Likewise.
16231 * posix/tst-fnmatch2.c: Add new test.
16232
16233 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16234
16235 * elf/Makefile (check-execstack): Revert last change. Depend on
16236 check-execstack.h.
16237 (check-execstack.h): New target.
16238 (generated): Add check-execstack.h.
16239 * elf/check-execstack.c: Include "check-execstack.h".
16240 (main): Revert last change.
16241 (handle_file): Return zero if GNU_STACK is absent and
16242 DEFAULT_STACK_PERMS doesn't include PF_X.
16243
16244 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16245
16246 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16247 in child fails because the descriptor is already closed.
16248 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16249 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16250 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16251
16252 [BZ #12397]
16253 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16254 syscall.
16255
16256 [BZ #10484]
16257 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16258 temporary buffer used to handle multi lookups locally.
16259 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16260
16261 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16262
16263 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16264 loader is ld.so.
16265
16266 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16267
16268 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16269 alignment for SSE2.
16270
16271 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16272
16273 [BZ #12394]
16274 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16275 characters. When rounding increased number of integer digits recompute
16276 number of groups.
16277 * stdio-common/tst-grouping.c: New file.
16278 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16279
16280 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16281
16282 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16283 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16284
16285 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16286 void.
16287 * bits/select.h: Likewise.
16288
16289 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16290
16291 * po/ja.po: Update from translation team.
16292
16293 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16294
16295 [BZ #11155]
16296 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16297 implementation just like for lxstat, fxstatat, et al.
16298
16299 2010-12-27 Jim Meyering <meyering@redhat.com>
16300
16301 [BZ #12348]
16302 * posix/regexec.c (build_trtable): Return failure indication upon
16303 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16304
16305 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16306
16307 [BZ #12201]
16308 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16309 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16310 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16312
16313 [BZ #12207]
16314 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16315
16316 [BZ #12204]
16317 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16318 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16319
16320 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16321
16322 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16323 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16324 script has SORT_BY_INIT_PRIORITY.
16325 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16326 NO_CTORS_DTORS_SECTIONS is defined.
16327 * elf/soinit.c: Likewise.
16328 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16329 NO_CTORS_DTORS_SECTIONS is defined.
16330 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16331 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16332 * sysdeps/sh/init-first.c: Likewise.
16333 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16334
16335 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16336
16337 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16338 always use the slow path.
16339
16340 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16341
16342 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16343 similar rule which adds the sysdep directories to the header search in
16344 order to pick up the correct platform stackinfo.h.
16345 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16346 perform test if it is, otherwise return successfully without testing.
16347 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16348 DEFAULT_STACK_PERMS define in stackinfo.h.
16349 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16350 defined in stackinfo.h.
16351 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16352 DEFAULT_STACK_PERMS defined in stackinfo.h.
16353 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16354 * sysdeps/ia64/stackinfo.h: Likewise.
16355 * sysdeps/s390/stackinfo.h: Likewise.
16356 * sysdeps/sh/stackinfo.h: Likewise.
16357 * sysdeps/sparc/stackinfo.h: Likewise.
16358 * sysdeps/x86_64/stackinfo.h: Likewise.
16359 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16360 PF_X for powerpc64. Retain PF_X for powerpc32.
16361
16362 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16363
16364 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16365 accurately.
16366 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16367 GETDENTS_64BIT_ALIGNED.
16368
16369 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16370
16371 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16372
16373 2010-12-10 Andreas Schwab <schwab@redhat.com>
16374
16375 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16376 _GNU_SOURCE.
16377
16378 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16379 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16380 Remove __restrict.
16381 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16382 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16383
16384 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16385
16386 [BZ #11655]
16387 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16388 are initialized.
16389
16390 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16391
16392 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16393
16394 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16395
16396 * po/it.po: Update from translation team.
16397
16398 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16399
16400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16401 unused codes.
16402
16403 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16404
16405 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16406
16407 2010-11-24 Andreas Schwab <schwab@redhat.com>
16408
16409 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16410 specially.
16411 (gaih_getanswer_slice): Likewise.
16412
16413 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16414
16415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16416
16417 2010-05-31 Petr Baudis <pasky@suse.cz>
16418
16419 [BZ #11149]
16420 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16421 silently even in the chroot mode.
16422
16423 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16424
16425 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16426 last patch a bit. Pretty printing
16427
16428 2010-05-31 Petr Baudis <pasky@suse.cz>
16429
16430 [BZ #10085]
16431 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16432 initialization of skip_initgroups_dyn.
16433
16434 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16435
16436 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16437 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16438
16439 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16440
16441 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16442
16443 2010-11-11 Andreas Schwab <schwab@redhat.com>
16444
16445 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16446 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16447 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16448 ($(objpfx)tst-fnmatch-mem): New rule.
16449 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16450 * posix/tst-fnmatch.c (main): Call mtrace.
16451
16452 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16453
16454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16455 Support Intel processor model 6 and model 0x2c.
16456
16457 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16458
16459 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16460 signed comparison.
16461
16462 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16463
16464 [BZ #12205]
16465 * string/test-strncasecmp.c (check_result): New function.
16466 (do_one_test): Use it.
16467 (check1): New function.
16468 (test_main): Use it.
16469 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16470 Support strcasecmp and strncasecmp.
16471
16472 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16473
16474 [BZ #12194]
16475 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16477
16478 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16481 IFUNC support.
16482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16483 memset-x86-64.
16484 * sysdeps/x86_64/multiarch/bzero.S: New file.
16485 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16486 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16487 * sysdeps/x86_64/multiarch/memset.S: New file.
16488 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16490 Set bit_Prefer_SSE_for_memop for Intel processors.
16491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16492 Define.
16493 (index_Prefer_SSE_for_memop): Define.
16494 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16495
16496 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16497
16498 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16499 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16500
16501 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16502
16503 [BZ #12191]
16504 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16505 (__x86_64_raw_data_cache_size_half): Likewise.
16506 (__x86_64_raw_shared_cache_size): Likewise.
16507 (__x86_64_raw_shared_cache_size_half): Likewise.
16508
16509 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16510 (__x86_64_raw_data_cache_size_half): Likewise.
16511 (__x86_64_raw_shared_cache_size): Likewise.
16512 (__x86_64_raw_shared_cache_size_half): Likewise.
16513 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16514 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16515 and __x86_64_raw_shared_cache_size_half. Round
16516 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16517 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16518 to multiple of 256 bytes.
16519
16520 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16521
16522 [BZ #12167]
16523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16524 of inacessible symlinks. Verify result of symlink before returning it.
16525 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16526 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16527
16528 2010-10-28 Erich Ritz <erichritz@gmail.com>
16529
16530 * math/math.h (isinf): Fix typo in comment.
16531
16532 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16533
16534 * po/da.po: Update from translation team.
16535
16536 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16537
16538 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16539 is added to the list.
16540
16541 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16542 Ulrich Drepper <drepper@gmail.com>
16543
16544 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16545 the global list here. Move code to...
16546 (_dl_add_to_namespace_list): ...here. New function.
16547 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16548 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16549 * elf/dl-load.c (lose): Don't remove the element from the list.
16550 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16551 (_dl_map_object): Likewise.
16552
16553 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16554
16555 [BZ #12159]
16556 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16557 into all bytes of SSE register.
16558 Patch by Richard Li <richardpku@gmail.com>.
16559
16560 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16561
16562 [BZ #12140]
16563 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16564 perturbing.
16565
16566 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16567
16568 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16569 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16570 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16571 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16573 submachine.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16575
16576 2010-10-22 Andreas Schwab <schwab@redhat.com>
16577
16578 * include/dlfcn.h (__RTLD_SECURE): Define.
16579 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16580 mode & __RTLD_SECURE instead.
16581 (open_path): Rename preloaded parameter to secure.
16582 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16583 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16584 * elf/dl-deps.c (openaux): Likewise.
16585 * elf/rtld.c (struct map_args): Remove is_preloaded.
16586 (map_doit): Don't use it.
16587 (dl_main): Likewise.
16588 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16589 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16590
16591 2010-09-09 Andreas Schwab <schwab@redhat.com>
16592
16593 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16594 (sysd-rules-targets): Remove duplicates.
16595 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16596 rtld-%.$o dependency.
16597
16598 2010-10-18 Andreas Schwab <schwab@redhat.com>
16599
16600 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16601 _dl_map_object do it.
16602
16603 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16604
16605 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16606 fast fma builtins, define the macros in the C99 standard.
16607 (FP_FAST_FMAF): Likewise.
16608 (FP_FAST_FMAL): Likewise.
16609 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16610
16611 * bits/mathdef.h: Update copyright year.
16612 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16613
16614 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16615
16616 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16617 builtins, define the macros in the C99 standard.
16618 (FP_FAST_FMAF): Likewise.
16619 (FP_FAST_FMAL): Likewise.
16620 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16621 multiply/add.
16622 (FP_FAST_FMAF): Likewise.
16623
16624 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16625
16626 [BZ #3268]
16627 * math/libm-test.inc (fma_test): Some new testcases.
16628 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16630 y and infinite z. Do multiplication by C already in long double.
16631 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16633 y and infinite z. Do bitwise or of inexact bit into u.d.
16634 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16635 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16636 * sysdeps/i386/fpu/s_fma.S: Removed.
16637 * sysdeps/i386/fpu/s_fmal.S: Removed.
16638
16639 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16640
16641 [BZ #3268]
16642 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16644 computation is not scheduled after fetestexcept. Fix value
16645 of minimum denormal long double.
16646
16647 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16648
16649 [BZ #3268]
16650 * math/libm-test.inc (fma_test): Add some more tests.
16651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16652 correctly.
16653
16654 2010-10-15 Andreas Schwab <schwab@redhat.com>
16655
16656 * scripts/data/localplt-s390-linux-gnu.data: New file.
16657 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16658
16659 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16660
16661 [BZ #3268]
16662 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16663 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16664 instead of dbl-64.
16665 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16666 inlines.
16667 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16669 if one of x and y is very large and the other is subnormal.
16670 * sysdeps/s390/fpu/s_fmaf.c: New file.
16671 * sysdeps/s390/fpu/s_fma.c: New file.
16672 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16673 * sysdeps/powerpc/fpu/s_fma.S: New file.
16674 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16675 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16676 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16677
16678 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16679
16680 [BZ #3268]
16681 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16682 fma tests.
16683 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16684 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16685 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16686 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16687 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16688 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16690
16691 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16692
16693 [BZ #12078]
16694 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16695 * posix/bug-regex31.input: Add test case.
16696
16697 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16698
16699 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16700 * posix/bug-regex31.input: New file.
16701
16702 [BZ #12078]
16703 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16704 (parse_sub_exp): Fix last change, use postorder.
16705
16706 * posix/bug-regex31.c: New file.
16707 * posix/Makefile: Add rules to build and run bug-regex31.
16708
16709 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16710
16711 [BZ #12078]
16712 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16713
16714 [BZ #12108]
16715 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16716 to have entries in sys_siglist.
16717
16718 [BZ #12093]
16719 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16720 be NULL.
16721
16722 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16723
16724 [BZ #3268]
16725 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16726 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16727 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16728 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16729 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16730 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16731 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16732 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16733 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16734 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16735 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16736 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16737 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16738 * math/ftestexcept.c (fetestexcept): Likewise.
16739 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16740 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16741 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16742 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16743 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16744 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16745 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16746
16747 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16748
16749 [BZ #12107]
16750 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16751 newline.
16752
16753 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16754
16755 * string/bug-strstr1.c: New file.
16756 * string/Makefile: Add rules to build and run bug-strstr1.
16757
16758 2010-10-05 Eric Blake <eblake@redhat.com>
16759
16760 [BZ #12092]
16761 * string/str-two-way.h (two_way_long_needle): Always clear memory
16762 when skipping input due to the shift table.
16763
16764 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16765
16766 [BZ #12005]
16767 * malloc/mcheck.c: Handle large requests.
16768
16769 [BZ #12077]
16770 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16771 for strncmp and strncasecmp.
16772 * string/stratcliff.c: Add tests for strcmp and strncmp.
16773 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16774
16775 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16776
16777 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16778 __set_fpscr.
16779
16780 2010-09-30 Andreas Jaeger <aj@suse.de>
16781
16782 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16783 (CGROUP_SUPER_MAGIC): Define.
16784 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16785 Handle btrfs and cgroup file systems.
16786 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16787 Likewise.
16788
16789 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16790
16791 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16792 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16793
16794 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16795
16796 [BZ #12067]
16797 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16798 trying to locate the ELF header.
16799
16800 2010-09-27 Andreas Schwab <schwab@redhat.com>
16801
16802 [BZ #11611]
16803 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16804 Mask out sign-bit copies when constructing f_fsid.
16805
16806 2010-09-24 Petr Baudis <pasky@suse.cz>
16807
16808 * debug/stack_chk_fail_local.c: Add missing licence exception.
16809 * debug/warning-nop.c: Likewise.
16810
16811 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16812
16813 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16814 implementing getdents64 using getdents syscall, set d_type if
16815 __ASSUME_GETDENTS32_D_TYPE.
16816
16817 2010-09-16 Andreas Schwab <schwab@redhat.com>
16818
16819 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16820 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16821
16822 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16823
16824 [BZ #12037]
16825 * posix/unistd.h: Undo change of feature selection for ftruncate from
16826 2010-01-11.
16827
16828 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16829
16830 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16831 detection.
16832
16833 2010-09-20 Andreas Schwab <schwab@redhat.com>
16834
16835 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16836 fanotify_mark.
16837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16838
16839 2010-09-14 Andreas Schwab <schwab@redhat.com>
16840
16841 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16842 variables after CHECK_SP call.
16843 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16844
16845 2010-09-13 Andreas Schwab <schwab@redhat.com>
16846 Ulrich Drepper <drepper@redhat.com>
16847
16848 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16849 re-relocationg ld.so.
16850 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16851 _dl_init_paths call.
16852 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16853 here anymore.
16854
16855 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16856
16857 * resolv/res_init.c (__res_vinit): Count the default server we added.
16858
16859 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16860 Ulrich Drepper <drepper@redhat.com>
16861
16862 [BZ #11968]
16863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16864 (____longjmp_chk): Use %ebx for saving value across system call.
16865 Add unwind info.
16866
16867 2010-09-06 Andreas Schwab <schwab@redhat.com>
16868
16869 * manual/Makefile: Don't mix pattern rules with normal rules.
16870
16871 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16872
16873 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16874 operation.
16875 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16876 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16877 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16878 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16880 Likewise.
16881
16882 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16883
16884 [BZ #11979]
16885 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16886 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16887
16888 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16889
16890 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16891 * sysdeps/x86_64/addmul_1.S: Likewise.
16892 * sysdeps/x86_64/lshift.S: Likewise.
16893 * sysdeps/x86_64/mul_1.S: Likewise.
16894 * sysdeps/x86_64/rshift.S: Likewise.
16895 * sysdeps/x86_64/sub_n.S: Likewise.
16896 * sysdeps/x86_64/submul_1.S: Likewise.
16897
16898 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16899
16900 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16901 Define __sched_param instead of SCHED_* and sched_param when
16902 <bits/sched.h> is included with __need_schedparam defined.
16903 * bits/sched.h [__need_schedparam]
16904 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16905 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16906 (__defined_schedparam): Define to 1.
16907 (__sched_param): New structure, identical to sched_param.
16908 (__need_schedparam): Undefine.
16909
16910 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16911
16912 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16913 (epoll_create1): Declare.
16914
16915 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16916
16917 2010-08-31 Andreas Schwab <schwab@redhat.com>
16918
16919 [BZ #7066]
16920 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16921 shifting retval into place.
16922
16923 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16924
16925 * nis/rpcsvc/nis.h: Update copyright notice.
16926 * nis/rpcsvc/nis.x: Likewise.
16927 * nis/rpcsvc/nis_callback.h: Likewise.
16928 * nis/rpcsvc/nis_callback.x: Likewise.
16929 * nis/rpcsvc/nis_object.x: Likewise.
16930 * nis/rpcsvc/nis_tags.h: Likewise.
16931 * nis/rpcsvc/yp.h: Likewise.
16932 * nis/rpcsvc/yp.x: Likewise.
16933 * nis/rpcsvc/ypupd.h: Likewise.
16934 * nis/yp_xdr.c: Likewise.
16935 * nis/ypupdate_xdr.c: Likewise.
16936
16937 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16938 mainly the body of pmap_getport. Add parameters to specify timeouts.
16939 (pmap_getport): Use __libc_rpc_getport.
16940 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16941 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16942 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16943
16944 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16945
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16947 fanotify_mark.
16948
16949 2010-08-27 Roland McGrath <roland@redhat.com>
16950
16951 * sysdeps/i386/i686/multiarch/Makefile
16952 (CFLAGS-varshift.c): New variable.
16953
16954 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16955
16956 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16957 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16958
16959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16960
16961 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16962
16963 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16964
16965 * sysdeps/x86_64/strlen.S: Unroll the loop.
16966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16967 strlen-sse2 strlen-sse2-bsf.
16968 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16969 __strlen_no_bsf if bit_Slow_BSF is set.
16970 (__strlen_sse42): Removed.
16971 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16972 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16973
16974 2010-08-25 Roland McGrath <roland@redhat.com>
16975
16976 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16977 * sysdeps/x86_64/multiarch/varshift.c: New file.
16978 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16979 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16980 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16981 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16982
16983 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16984
16985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16986 strlen-sse2 strlen-sse2-bsf.
16987 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16988 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16989 (__strlen_sse2): Removed.
16990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16993 bit_Slow_BSF for Atom.
16994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16995 (index_Slow_BSF): Define.
16996 (HAS_SLOW_BSF): Define.
16997
16998 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16999
17000 [BZ #10851]
17001 * resolv/res_init.c (__res_vinit): When no server address at all
17002 is given default to loopback.
17003
17004 2010-08-24 Roland McGrath <roland@redhat.com>
17005
17006 * configure.in: Remove config-name.h generation.
17007 * configure: Regenerated.
17008 * config-name.in: File removed.
17009 * scripts/config-uname.sh: New file.
17010 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17011 ($(objdir)config-name.h): New target.
17012
17013 * sunrpc/rpc_parse.h: Avoid nested comment.
17014
17015 2010-08-24 Richard Henderson <rth@redhat.com>
17016 Ulrich Drepper <drepper@redhat.com>
17017 H.J. Lu <hongjiu.lu@intel.com>
17018
17019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17021 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17022 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17023 _mm_alignr_epi8 with _mm_loadu_si128.
17024 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17025 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17026 (__m128i_shift_right): Removed.
17027 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17028 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17029 * sysdeps/x86_64/multiarch/varshift.h: New file.
17030 * sysdeps/x86_64/multiarch/varshift.S: New file.
17031
17032 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17033
17034 * configure.in: Move assembler checks to before sysdep dir checking.
17035
17036 2010-08-20 Petr Baudis <pasky@suse.cz>
17037
17038 * LICENSES: Sync the sunrpc license.
17039
17040 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17041
17042 * sunrpc/auth_des.c: Update copyright notice once again.
17043 * sunrpc/auth_none.c: Likewise.
17044 * sunrpc/auth_unix.c: Likewise.
17045 * sunrpc/authdes_prot.c: Likewise.
17046 * sunrpc/authuxprot.c: Likewise.
17047 * sunrpc/bindrsvprt.c: Likewise.
17048 * sunrpc/clnt_gen.c: Likewise.
17049 * sunrpc/clnt_perr.c: Likewise.
17050 * sunrpc/clnt_raw.c: Likewise.
17051 * sunrpc/clnt_simp.c: Likewise.
17052 * sunrpc/clnt_tcp.c: Likewise.
17053 * sunrpc/clnt_udp.c: Likewise.
17054 * sunrpc/clnt_unix.c: Likewise.
17055 * sunrpc/des_crypt.c: Likewise.
17056 * sunrpc/des_soft.c: Likewise.
17057 * sunrpc/get_myaddr.c: Likewise.
17058 * sunrpc/getrpcport.c: Likewise.
17059 * sunrpc/key_call.c: Likewise.
17060 * sunrpc/key_prot.c: Likewise.
17061 * sunrpc/openchild.c: Likewise.
17062 * sunrpc/pm_getmaps.c: Likewise.
17063 * sunrpc/pm_getport.c: Likewise.
17064 * sunrpc/pmap_clnt.c: Likewise.
17065 * sunrpc/pmap_prot.c: Likewise.
17066 * sunrpc/pmap_prot2.c: Likewise.
17067 * sunrpc/pmap_rmt.c: Likewise.
17068 * sunrpc/rpc/auth.h: Likewise.
17069 * sunrpc/rpc/auth_unix.h: Likewise.
17070 * sunrpc/rpc/clnt.h: Likewise.
17071 * sunrpc/rpc/des_crypt.h: Likewise.
17072 * sunrpc/rpc/key_prot.h: Likewise.
17073 * sunrpc/rpc/netdb.h: Likewise.
17074 * sunrpc/rpc/pmap_clnt.h: Likewise.
17075 * sunrpc/rpc/pmap_prot.h: Likewise.
17076 * sunrpc/rpc/pmap_rmt.h: Likewise.
17077 * sunrpc/rpc/rpc.h: Likewise.
17078 * sunrpc/rpc/rpc_des.h: Likewise.
17079 * sunrpc/rpc/rpc_msg.h: Likewise.
17080 * sunrpc/rpc/svc.h: Likewise.
17081 * sunrpc/rpc/svc_auth.h: Likewise.
17082 * sunrpc/rpc/types.h: Likewise.
17083 * sunrpc/rpc/xdr.h: Likewise.
17084 * sunrpc/rpc_clntout.c: Likewise.
17085 * sunrpc/rpc_cmsg.c: Likewise.
17086 * sunrpc/rpc_common.c: Likewise.
17087 * sunrpc/rpc_cout.c: Likewise.
17088 * sunrpc/rpc_dtable.c: Likewise.
17089 * sunrpc/rpc_hout.c: Likewise.
17090 * sunrpc/rpc_main.c: Likewise.
17091 * sunrpc/rpc_parse.c: Likewise.
17092 * sunrpc/rpc_parse.h: Likewise.
17093 * sunrpc/rpc_prot.c: Likewise.
17094 * sunrpc/rpc_sample.c: Likewise.
17095 * sunrpc/rpc_scan.c: Likewise.
17096 * sunrpc/rpc_scan.h: Likewise.
17097 * sunrpc/rpc_svcout.c: Likewise.
17098 * sunrpc/rpc_tblout.c: Likewise.
17099 * sunrpc/rpc_util.c: Likewise.
17100 * sunrpc/rpc_util.h: Likewise.
17101 * sunrpc/rpcinfo.c: Likewise.
17102 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17103 * sunrpc/rpcsvc/key_prot.x: Likewise.
17104 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17105 * sunrpc/rpcsvc/mount.x: Likewise.
17106 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17107 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17108 * sunrpc/rpcsvc/rex.x: Likewise.
17109 * sunrpc/rpcsvc/rstat.x: Likewise.
17110 * sunrpc/rpcsvc/rusers.x: Likewise.
17111 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17112 * sunrpc/rpcsvc/spray.x: Likewise.
17113 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17114 * sunrpc/rtime.c: Likewise.
17115 * sunrpc/svc.c: Likewise.
17116 * sunrpc/svc_auth.c: Likewise.
17117 * sunrpc/svc_authux.c: Likewise.
17118 * sunrpc/svc_raw.c: Likewise.
17119 * sunrpc/svc_run.c: Likewise.
17120 * sunrpc/svc_simple.c: Likewise.
17121 * sunrpc/svc_tcp.c: Likewise.
17122 * sunrpc/svc_udp.c: Likewise.
17123 * sunrpc/svc_unix.c: Likewise.
17124 * sunrpc/svcauth_des.c: Likewise.
17125 * sunrpc/xcrypt.c: Likewise.
17126 * sunrpc/xdr.c: Likewise.
17127 * sunrpc/xdr_array.c: Likewise.
17128 * sunrpc/xdr_float.c: Likewise.
17129 * sunrpc/xdr_mem.c: Likewise.
17130 * sunrpc/xdr_rec.c: Likewise.
17131 * sunrpc/xdr_ref.c: Likewise.
17132 * sunrpc/xdr_sizeof.c: Likewise.
17133 * sunrpc/xdr_stdio.c: Likewise.
17134
17135 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17136 handling.
17137
17138 2010-08-19 Andreas Schwab <schwab@redhat.com>
17139
17140 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17141
17142 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17143
17144 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17145 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17146 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17147 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17148 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17149 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17150 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17151 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17153 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17154 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17155 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17156 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17157 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17158
17159 2010-07-26 Anton Blanchard <anton@samba.org>
17160
17161 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17162 * malloc/arena.c (heap_trim): Likewise.
17163
17164 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17165
17166 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17167 here. Not...
17168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17169 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17170
17171 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17172
17173 * sysdeps/i386/elf/Makefile: New file.
17174
17175 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17176
17177 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17178 from fanotify_init.
17179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17180 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17181
17182 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17183
17184 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17185 of strncasecmp_l.
17186 * sysdeps/multiarch/strcmp.S: Likewise.
17187
17188 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17189
17190 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17191 strncase_l-nonascii.
17192 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17193 Add strncase_l-ssse3.
17194 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17195 * sysdeps/x86_64/strcmp.S: Likewise.
17196 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17197 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17198 * sysdeps/x86_64/strncase.S: New file.
17199 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17200 * sysdeps/x86_64/strncase_l.S: New file.
17201 * string/Makefile (strop-tests): Add strncasecmp.
17202 * string/test-strncasecmp.c: New file.
17203
17204 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17205 warning.
17206
17207 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17208 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17209
17210 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17211
17212 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17213
17214 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17215
17216 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17219
17220 2010-05-01 Alan Modra <amodra@gmail.com>
17221
17222 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17223 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17224 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17225 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17226 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17227 tidying. Don't tail-call __sigjmp_save for static lib.
17228 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17229 save location.
17230 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17231 (CALL_MCOUNT): Add eh info, and nop after bl.
17232 (TAIL_CALL_SYSCALL_ERROR): New macro.
17233 (PSEUDO_RET): Use it.
17234 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17235 Correct save location of integer regs and cr.
17236 (_dl_profile_resolve): Correct cr save location. Delete nops
17237 after bl when SHARED. Reduce cfi size a little by better
17238 placement of cfi directives.
17239 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17240 make a stack frame. Instead use parm save area as a temp.
17241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17242 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17244 Don't make a stack frame for parent, use parm save area.
17245 Increase child stack frame to 112 bytes. Don't save unused reg,
17246 and adjust reg usage. Set up cfi on error recovery and
17247 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17249 (__makecontext): Add dummy nop after jump to exit.
17250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17251 Use correct parm save area and cr save, reduce stack frame.
17252 Correct cfi for possible PSEUDO_RET frame setup.
17253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17254 Branch to local label emitted by PSEUDO_RET rather than
17255 __syscall_error.
17256
17257 2010-08-12 Andreas Schwab <schwab@redhat.com>
17258
17259 [BZ #11904]
17260 * locale/programs/locale.c (print_assignment): New function.
17261 (show_locale_vars): Use it.
17262
17263 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17264
17265 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17266 field.
17267 (struct statfs64): Likewise.
17268 (_STATFS_F_FLAGS): Define.
17269 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17271 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17272 (ST_VALID): Define locally.
17273 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17274 __statvfs_getflags, use the provided value.
17275 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17276 __ASSUME_STATFS_F_FLAGS.
17277
17278 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17279
17280 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17281 Add sys/fanotify.h.
17282 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17283 fanotify_mask for GLIBC_2.13.
17284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17285 fanotify_init and fanotify_mark.
17286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17287 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17288
17289 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17290 Add prlimit.
17291 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17292 prlimit64 for GLIBC_2.13.
17293 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17294 prlimit64.
17295 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17296 syscall.
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17298 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17299 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17300 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17302 add prlimit alias.
17303 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17304
17305 [BZ #11903]
17306 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17307 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17308
17309 * nss/Makefile: Add rules to build and run tst-nss-test1.
17310 * shlib-versions: Add entry for libnss_test1.
17311 * nss/nss_test1.c: New file.
17312 * nss/tst-nss-test1.c: New file.
17313
17314 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17315 (__nss_configure_lookup): Set appropriate entry in
17316 __nss_configure_lookup to true.
17317 * nss/nsswitch.h: Define enum with indeces of databases in
17318 databases and __nss_database_custom arrays. Declare
17319 __nss_database_custom.
17320 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17321 to avoid using nscd when custom rules are installed.
17322 * nss/getXXbyYY_r.c: Likewise.
17323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17324
17325 * nss/nss_files/files-parse.c: Whitespace fixes.
17326
17327 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17328
17329 [BZ #11883]
17330 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17331 * posix/fnmatch_loop.c: Likewise.
17332
17333 2010-07-17 Andi Kleen <ak@linux.intel.com>
17334
17335 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17336 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17337 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17338 * Versions.def [GLIBC_2.13]: Add.
17339
17340 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17341
17342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17343 Also fail if tpwd after pwuid call is NULL.
17344
17345 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17346
17347 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17348 when converting to ms.
17349
17350 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17351
17352 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17353 EOPNOTSUPP errors with ENOTTY.
17354 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17355 EOPNOTSUPP errors with ENOTTY.
17356
17357 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17358
17359 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17360 Add strcasecmp_l-ssse3.
17361 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17362 strcasecmp.
17363 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17364 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17365 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17366
17367 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17368
17369 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17370
17371 * string/Makefile (strop-tests): Add strcasecmp.
17372 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17373 strcasecmp_l-nonascii.
17374 (gen-as-const-headers): Add locale-defines.sym.
17375 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17376 * sysdeps/x86_64/strcasecmp.S: New file.
17377 * sysdeps/x86_64/strcasecmp_l.S: New file.
17378 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17379 * sysdeps/x86_64/locale-defines.sym: New file.
17380 * string/test-strcasecmp.c: New file.
17381
17382 * string/test-strcasestr.c: Test both ends of the range of characters.
17383 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17384
17385 2010-07-29 Roland McGrath <roland@redhat.com>
17386
17387 [BZ #11856]
17388 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17389
17390 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17391
17392 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17393 for ld.so.
17394
17395 2010-07-27 Andreas Schwab <schwab@redhat.com>
17396
17397 * manual/memory.texi (Malloc Tunable Parameters): Document
17398 M_PERTURB.
17399
17400 2010-07-26 Roland McGrath <roland@redhat.com>
17401
17402 [BZ #11840]
17403 * configure.in (-fgnu89-inline check): Set and substitute
17404 gnu89_inline, not libc_cv_gnu89_inline.
17405 * configure: Regenerated.
17406 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17407
17408 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17409
17410 * string/test-strnlen.c: New file.
17411 * string/Makefile (strop-tests): Add strnlen.
17412 * string/tester.c (test_strnlen): Add a few more test cases.
17413 * string/tst-strlen.c: Better error reporting.
17414
17415 * sysdeps/x86_64/strnlen.S: New file.
17416
17417 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17418
17419 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17420 lower-latency instructions.
17421
17422 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17423
17424 * string/test-strcasestr.c: New file.
17425 * string/test-strstr.c: New file.
17426 * string/Makefile (strop-tests): Add strstr and strcasestr.
17427 * string/str-two-way.h: Don't undefine MAX.
17428 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17429
17430 2010-07-21 Andreas Schwab <schwab@redhat.com>
17431
17432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17433 strcasestr-nonascii.
17434 (CFLAGS-strcasestr-nonascii.c): Define.
17435 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17437 Remove unused attribute.
17438
17439 2010-07-20 Roland McGrath <roland@redhat.com>
17440
17441 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17442 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17443 ld.so.cache was broken. With it, there is no way to disable dsocaps
17444 like LD_HWCAP_MASK can disable hwcaps.
17445
17446 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17447
17448 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17449
17450 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17451
17452 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17453 call in strcasestr.
17454 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17455 __strcasestr_sse42_nonascii.
17456 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17457 strcasestr-nonascii.c.
17458 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17459
17460 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17461
17462 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17463 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17465 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17466
17467 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17468
17469 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17470 fcntl.
17471
17472 2010-07-06 Andreas Schwab <schwab@redhat.com>
17473
17474 [BZ #11577]
17475 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17476 dl_signal_cerror.
17477
17478 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17479
17480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17481 _PC_PIPE_BUF using F_GETPIPE_SZ.
17482
17483 2010-07-05 Roland McGrath <roland@redhat.com>
17484
17485 * manual/arith.texi (Rounding Functions): Fix rint description
17486 implicit in round description.
17487
17488 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17489
17490 * elf/Makefile: Fix linking for a few tests to make recent linker
17491 happy.
17492
17493 2010-06-30 Andreas Schwab <schwab@redhat.com>
17494
17495 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17496 $(common-objpfx)libc_nonshared.a.
17497
17498 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17499
17500 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17501 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17502 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17503 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17504 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17505 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17506 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17507 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17522 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17523 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17524 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17525 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17526 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17527 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17528 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17529 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17530 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17531 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17532 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17533 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17548
17549 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17550
17551 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17552 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17553 * string/memmove.c (memmove): Renamed to ...
17554 (MEMMOVE): ...this. Default to memmove.
17555 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17556 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17557 (END_CHK): Define.
17558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17559 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17560 mempcpy-ssse3-back memmove-ssse3-back.
17561 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17562 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17564 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17565 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17566 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17567 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17568 * sysdeps/x86_64/multiarch/memmove.c: New file.
17569 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17570 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17571 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17572 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17573 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17575 Define.
17576 (index_Fast_Copy_Backward): Define.
17577 (HAS_ARCH_FEATURE): Define.
17578 (HAS_FAST_REP_STRING): Define.
17579 (HAS_FAST_COPY_BACKWARD): Define.
17580
17581 2010-06-21 Andreas Schwab <schwab@redhat.com>
17582
17583 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17584 Restore proper fallback handling.
17585
17586 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17587
17588 [BZ #11701]
17589 * posix/group_member.c (__group_member): Correct checking loop.
17590
17591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17592 OOM in getpwuid_r correctly. Return error number when the caller
17593 should return, otherwise -1.
17594 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17595 call returning > 0 value.
17596 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17597
17598 2010-06-07 Andreas Schwab <schwab@redhat.com>
17599
17600 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17601 libc_nonshared.a from targets in modules-names.
17602
17603 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17604
17605 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17606 requires it.
17607
17608 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17609
17610 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17611 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17614
17615 2010-06-02 Andreas Schwab <schwab@redhat.com>
17616
17617 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17618
17619 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17620
17621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17622 and F_GETPIPE_SZ.
17623 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17629
17630 2010-06-14 Roland McGrath <roland@redhat.com>
17631
17632 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17633
17634 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17635
17636 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17637 __REDIRECT followed by __THROW.
17638 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17639 * posix/getopt.h (getopt): Likewise.
17640
17641 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17642
17643 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17644 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17645 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17646 in AT_FLAGS.
17647 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17648 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17649
17650 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17651
17652 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17653
17654 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17655
17656 [BZ #11640]
17657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17658 Properly check family and model.
17659
17660 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17661
17662 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17663
17664 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17665
17666 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17667
17668 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17669
17670 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17671 symbol reference.
17672
17673 2010-05-19 Andreas Schwab <schwab@redhat.com>
17674
17675 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17676 symbol reference.
17677
17678 2010-05-21 Andreas Schwab <schwab@redhat.com>
17679
17680 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17681 and internal_recvmmsg.
17682 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17683 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17685 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17686
17687 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17688 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17689 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17690
17691 2010-05-20 Andreas Schwab <schwab@redhat.com>
17692
17693 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17694
17695 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17696
17697 POWER7 optimizations.
17698 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17699 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17700
17701 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17702
17703 * version.h: Update for 2.13 development version.
17704
17705 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17706
17707 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17708 exceptions. Return 0.
17709
17710 2010-05-07 Roland McGrath <roland@redhat.com>
17711
17712 * elf/ldconfig.c (main): Add a const.
17713
17714 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17715
17716 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17717 (args_options): Add no-idn option.
17718 (ahosts_keys_int): Add idn_flags to ai_flags.
17719 (parse_option): Handle 'i' option to clear idn_flags.
17720
17721 * malloc/malloc.c (_int_free): Possible race in the most recently
17722 added check. Only act on the data if no current modification
17723 happened.
17724
17725 See ChangeLog.17 for earlier changes.