]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove __ASSUME_FCNTL64.
[thirdparty/glibc.git] / ChangeLog
1 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4 Remove all definitions.
5 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6 <kernel-features.h>.
7 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8 (miss_F_GETOWN_EX): Remove all definitions.
9 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10 macro definition.
11 [!__ASSUME_FCNTL64]: Remove conditional code.
12 [__ASSUME_FCNTL64]: Make code unconditional.
13 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14 <kernel-features.h>.
15 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17 (lockf64) [__NR_fcntl64]: Make code unconditional.
18 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19
20 * sysdeps/unix/sysv/linux/kernel-features.h
21 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
23 Make code unconditional.
24 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27 [__NR_vfork]: Make code unconditional.
28 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31 [__NR_vfork]: Make code unconditional.
32 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34
35 2012-08-01 Roland McGrath <roland@hack.frob.com>
36
37 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39
40 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41 Define mkstemp64 as an alias.
42 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43 Define mkstemps64 as an alias.
44 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45 Define mkostemp64 as an alias.
46 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47 Define mkostemps64 as an alias.
48 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
49 Conditionalize body on this.
50 * misc/mkostemp64.c: Likewise.
51 * misc/mkostemps64.c: Likewise.
52 * misc/mkstemps64.c: Likewise.
53 * sysdeps/wordsize-64/mkstemp64.c: File removed.
54 * sysdeps/wordsize-64/mkostemp64.c: File removed.
55 * sysdeps/wordsize-64/mkostemp.c: File removed.
56 * sysdeps/wordsize-64/mkstemp.c: File removed.
57 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61
62 [BZ #14138]
63 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
66 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67
68 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69 compat_symbol macros from <shlib-compat.h> rather than the underlying
70 default_symbol_version and symbol_version macros, so that DEFAULT
71 lines in shlib-versions are respected.
72 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73
74 2012-08-01 Florian Weimer <fweimer@redhat.com>
75
76 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77 Declare with warn_unused_result.
78 (setgid, setregid, setegid, setresgid): Likewise.
79 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
80 Likewise.
81 * WUR-REPORT: Remove set*id functions.
82
83 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
84
85 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
86
87 2012-07-31 Roland McGrath <roland@hack.frob.com>
88
89 * include/sys/socket.h (__libc_accept, __libc_accept4):
90 Add attribute_hidden.
91 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
92
93 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
94 use of PTR_MANGLE.
95 * inet/getnetgrent_r.c (setup): Likewise.
96
97 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
98
99 2012-07-31 David S. Miller <davem@davemloft.net>
100
101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
102
103 2012-07-31 Joseph Myers <joseph@codesourcery.com>
104
105 [BZ #13629]
106 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
107 value between 1.0 and 2.0 and smaller part has absolute value less
108 than 1.0.
109 * math/s_clog10.c (__clog10): Likewise.
110 * math/s_clog10f.c (__clog10f): Likewise.
111 * math/s_clog10l.c (__clog10l): Likewise.
112 * math/s_clogf.c (__clogf): Likewise.
113 * math/s_clogl.c (__clogl): Likewise.
114 * math/libm-test.inc (clog_test): Add more tests.
115 (clog10_test): Likewise.
116 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
118
119 2012-07-31 Florian Weimer <fweimer@redhat.com>
120
121 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
122 Exit with zero in case no suitable GID is found, and write a
123 message to standard error.
124
125 2012-07-30 Roland McGrath <roland@hack.frob.com>
126
127 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
128 rather than to 1.
129 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
130 (MAXPATHLEN): Removed.
131 (NOGROUP, NODEV): New macros.
132 (setbit, clrbit, isset, isclr): New macros.
133 (howmany, roundup, powerof2): New macros.
134 (DEV_BSIZE): New macro.
135
136 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
137 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
138
139 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
140 definition on [!__NO_LONG_DOUBLE_MATH].
141
142 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
143 PTR_MANGLE and PTR_DEMANGLE.
144
145 * socket/accept4.c (accept4): Rename to __libc_accept4.
146 Define accept4 as a weak alias.
147
148 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
149 on [_DIRENT_HAVE_D_TYPE].
150 * io/ftw.c (ftw_dir): Likewise.
151
152 * io/xmknod.c (__xmknod): Don't check PATH for being null.
153
154 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
155
156 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
157 Use the BSD numbers rather than the arbitrary ones we had.
158 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
159 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
160 (SIGXCPU, SIGXFSZ): New macros.
161 (_NSIG): Now 32.
162
163 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
164 initializer on [_LIBC_REENTRANT].
165
166 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
167 definitions inside [_POSIX_MAPPED_FILES].
168
169 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
170
171 * dirent/opendir.c: Include <fcntl.h>.
172
173 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
174 (__libc_getspecific): Likewise.
175 (__libc_key_create): Likewise.
176
177 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
178 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
179 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
180 (tmpfile64): Define as alias.
181 * sysdeps/wordsize-64/tmpfile.c: File removed.
182 * sysdeps/wordsize-64/tmpfile64.c: File removed.
183 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
184 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
185
186 * stdio-common/vfscanf.c: Include <stdbool.h>.
187 * nss/makedb.c: Likewise.
188 * stdio-common/_i18n_number.h: Likewise.
189 * argp/argp-help.c: Likewise.
190 * posix/wordexp.c: Likewise.
191 * sysdeps/posix/spawni.c: Likewise.
192 * nss/nss_files/files-initgroups.c: Likewise.
193 * stdio-common/reg-modifier.c: Include <stdlib.h>.
194 * nss/nss_files/files-initgroups.c: Likewise.
195 * nss/nss_db/db-netgrp.c: Likewise.
196 * nss/nss_db/db-initgroups.c: Likewise.
197 * io/fchmodat.c: Include <sys/stat.h>.
198
199 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
200 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
201
202 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
203 [HAVE_MMAP].
204
205 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
206 Add multiple inclusion protection.
207
208 2012-07-27 David S. Miller <davem@davemloft.net>
209
210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
211
212 2012-07-27 Gary Benson <gbenson@redhat.com>
213
214 [BZ #14298]
215 * elf/rtld.c: Include <stap-probe.h>.
216 (dl_main): Added static probes "init_start" and "init_complete".
217 * elf/dl-load.c: Include <stap-probe.h>.
218 (lose): Take new parameter "nsid".
219 Added static probe "map_failed".
220 (_dl_map_object_from_fd): Pass namespace id to lose.
221 Added static probe "map_start".
222 (open_verify): Pass namespace id to lose.
223 * elf/dl-open.c: Include <stap-probe.h>.
224 (dl_open_worker) Added static probes "map_complete", "reloc_start"
225 and "reloc_complete".
226 * elf/dl-close.c: Include <stap-probe.h>.
227 (_dl_close_worker): Added static probes "unmap_start" and
228 "unmap_complete".
229 * elf/rtld-debugger-interface.txt: New file documenting the above.
230
231 2012-07-26 Roland McGrath <roland@hack.frob.com>
232
233 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
234 rather than a string variable.
235 * sunrpc/rpc_main.c (h_output): Likewise.
236 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
237
238 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
239
240 * inet/check_native.c: New file.
241
242 2012-07-26 Joseph Myers <joseph@codesourcery.com>
243
244 [BZ #13629]
245 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
246 if larger part has absolute value 1.0.
247 * math/s_clog10.c (__clog10): Likewise.
248 * math/s_clog10f.c (__clog10f): Likewise.
249 * math/s_clog10l.c (__clog10l): Likewise.
250 * math/s_clogf.c (__clogf): Likewise.
251 * math/s_clogl.c (__clogl): Likewise.
252 * math/libm-test.inc (clog_test): Add more tests.
253 (clog10_test): Likewise.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256
257 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
258 (pltexit): Likewise.
259 (La_regs): Likewise.
260 (La_retval): Likewise.
261 (int_retval): Likewise.
262 Update #error for removed macros to refer only to definitions in
263 tst-audit.h.
264 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
265 macro.
266 (pltexit): Likewise.
267 (La_regs): Likewise.
268 (La_retval): Likewise.
269 (int_retval): Likewise.
270 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
271 macro.
272 (pltexit): Likewise.
273 (La_regs): Likewise.
274 (La_retval): Likewise.
275 (int_retval): Likewise.
276 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
277 macro.
278 (pltexit): Likewise.
279 (La_regs): Likewise.
280 (La_retval): Likewise.
281 (int_retval): Likewise.
282 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
283 macro.
284 (pltexit): Likewise.
285 (La_regs): Likewise.
286 (La_retval): Likewise.
287 (int_retval): Likewise.
288 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
289 macro.
290 (pltexit): Likewise.
291 (La_regs): Likewise.
292 (La_retval): Likewise.
293 (int_retval): Likewise.
294 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
295 macro.
296 (pltexit): Likewise.
297 (La_regs): Likewise.
298 (La_retval): Likewise.
299 (int_retval): Likewise.
300 * sysdeps/generic/tst-audit.h: Update comment to refer only to
301 macro definitions in tst-audit.h.
302 * sysdeps/i386/tst-audit.h: New file.
303 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
304 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
305 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
306 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
307 * sysdeps/sh/tst-audit.h: Likewise.
308 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
309 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
310 * sysdeps/x86_64/tst-audit.h: Likewise.
311
312 2012-07-26 Andreas Jaeger <aj@suse.de>
313
314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
315 ptrace.
316
317 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
318 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
319 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
320 PTRACE_O_MASK.
321 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
322 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
324
325 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
326 value.
327
328 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
329 _sigsys.
330 (si_call_addr, si_syscall, si_arch): Define new macro.
331 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
332 _sigsys.
333 (si_call_addr, si_syscall, si_arch): Define new marcro.
334 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
335 _sigsys.
336 (si_call_addr, si_syscall, si_arch): Define new macro.
337 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
338 _sigsys.
339 (si_call_addr, si_syscall, si_arch): Define new macro.
340
341 2012-07-25 Joseph Myers <joseph@codesourcery.com>
342
343 [BZ #13717]
344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
345 Change to 2.4.21 where previously 2.4.1.
346 * sysdeps/unix/sysv/linux/configure: Regenerated.
347 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
348 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
349 Linux kernel version.
350 (__ASSUME_STD_AUXV): Remove.
351 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
352 kernel version.
353 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
354 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
355 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
356 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
357 (__ASSUME_NETLINK_SUPPORT): Likewise.
358 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
359 (__no_netlink_support): Remove conditional definition.
360 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
361 Remove.
362 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
363 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
364 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
365 (if_nameindex_ioctl): Remove.
366 (if_nameindex_netlink): Do not handle __no_netlink_support.
367 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
368 code.
369 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
370 Remove conditional code.
371 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
372 code.
373 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
374 unconditional.
375 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
376 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
377 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
378 Remove.
379 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
380 [!__ASSUME_STD_AUXV]: Remove conditional code.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
382 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
383 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
385 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
386 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
387 code.
388 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
390 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
391 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
392 conditional code.
393 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
395 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
396 code.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
398 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
399 conditional code.
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
401 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
402 code unconditional.
403 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
404 conditional code.
405 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
406 unconditional.
407 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
408 conditional code.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
410 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
411 unconditional.
412 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
413 conditional code.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
415 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
416 code unconditional.
417 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
418 conditional code.
419 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
420 unconditional.
421 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
422 conditional code.
423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
424 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
425 code unconditional.
426 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
427 conditional code.
428 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
429 unconditional.
430 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
431 conditional code.
432
433 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
434
435 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
436 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
437 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
438 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
439 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
440 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
441 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
442 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
443 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
444 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
445 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
446 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
447 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
448 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
449 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
450 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
451 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
452 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
453 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
455 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
456 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
458
459 2012-07-25 Florian Weimer <fweimer@redhat.com>
460
461 * Versions.def: Add GLIBC_2.17.
462 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
463 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
464 Introduce __libc_secure_getenv.
465 * stdlib/Versions (2.17): Add secure_getenv
466 (GLIBC_PRIVATE): Add __libc_secure_getenv.
467 * stdlib/secure-getenv.c: Rename __secure_getenv to
468 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
469 symbol __secure_getenv for GLIBC_2.0.
470 * stdlib/tst-secure-getenv.c: New.
471 * stdlib/Makefile (tests): Add testcase.
472 * manual/startup.texi (Environment Access): Document
473 secure_getenv.
474 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
475 __libc_secure_getenv.
476 * inet/ruserpass.c (ruserpass): Likewise.
477 * malloc/mtrace.c (mtrace): Likewise.
478 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
479 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
480 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
481 * sysdeps/posix/tempname.c: Likewise. Evaluate
482 HAVE_SECURE_GETENV.
483 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
484 __secure_getenv to __libc_secure_getenv.
485 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
487 Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
489 Likewise.
490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
497
498 2012-07-25 Joseph Myers <joseph@codesourcery.com>
499
500 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
501 (struct La_i86_retval): Likewise.
502 (struct La_x86_64_regs): Likewise.
503 (struct La_x86_64_retval): Likewise.
504 (struct La_x32_regs): Likewise.
505 (struct La_x32_retval): Likewise.
506 (struct La_ppc32_regs): Likewise.
507 (struct La_ppc32_retval): Likewise.
508 (struct La_ppc64_regs): Likewise.
509 (struct La_ppc64_retval): Likewise.
510 (struct La_sh_regs): Likewise.
511 (struct La_sh_retval): Likewise.
512 (struct La_s390_32_regs): Likewise.
513 (struct La_s390_32_retval): Likewise.
514 (struct La_s390_64_regs): Likewise.
515 (struct La_s390_64_retval): Likewise.
516 (struct La_sparc32_regs): Likewise.
517 (struct La_sparc32_retval): Likewise.
518 (struct La_sparc64_regs): Likewise.
519 (struct La_sparc64_retval): Likewise.
520 (struct audit_ifaces): Remove architecture-specific pltenter and
521 pltexit members.
522 * sysdeps/i386/ldsodefs.h: New file.
523 * sysdeps/powerpc/ldsodefs.h: Likewise.
524 * sysdeps/s390/ldsodefs.h: Likewise.
525 * sysdeps/sh/ldsodefs.h: Likewise.
526 * sysdeps/sparc/ldsodefs.h: Likewise.
527 * sysdeps/x86_64/ldsodefs.h: Likewise.
528
529 2012-07-25 Marek Polacek <polacek@redhat.com>
530
531 [BZ #6808]
532 * math/libm-test.inc (yn_test): Add another test.
533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
534 to ERANGE when the result is +-Inf.
535 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
536 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
537 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
538 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
539
540 2012-07-24 Joseph Myers <joseph@codesourcery.com>
541
542 * conform/data/time.h-data (NULL): Use macro-constant. Require
543 equal to 0.
544 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
545 clock_t.
546 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
547
548 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
549
550 * configure.in <sysdeps resolving>: Correct printing
551 Implies_before.
552 * configure: Regenerate.
553
554 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
555
556 * math/w_ilogb.c: Include <limits.h>.
557 * math/w_ilogbl.c: Likewise.
558
559 2012-07-20 Joseph Myers <joseph@codesourcery.com>
560
561 * manual/lang.texi (__va_copy): Document primarily as ISO C99
562 va_copy. Document allowing for unavailable va_copy only as
563 pre-C99 compatibility.
564 * manual/string.texi (Copying and Concatenation): Use va_copy
565 instead of __va_copy in concat example.
566
567 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
568
569 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
570 (__sendto): Use create_address_port. Initialize APORT and deallocate
571 it if not null.
572
573 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
574 with O_NOLINK passed to __file_name_lookup.
575
576 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
577 with O_NOLINK passed to __file_name_lookup.
578
579 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
580 negative N or less than NGIDS.
581
582 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
583 type to string_t. Set ERANGE as errno and return it if NAME is not big
584 enough. Use memcpy instead of strncpy.
585
586 2012-07-20 Joseph Myers <joseph@codesourcery.com>
587
588 * elf/Makefile (check-data): Remove.
589 (localplt.data): New vpath directive.
590 ($(objpfx)check-localplt.out): Use localplt.data from vpath
591 instead of $(check-data).
592 * scripts/data/localplt-generic.data: Move to ...
593 * sysdeps/generic/localplt.data: ... here.
594 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
595 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
596 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
598 ... here.
599 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
601 ... here.
602 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
604 ... here.
605 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
607 ... here.
608 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
610 ... here.
611 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
613 ... here.
614
615 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
616
617 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
618 PPC32 and PPC64 files.
619 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
620 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
621
622 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
623
624 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
625 __makecontext_ret to ...
626 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
627 ... here and call exit if uc_link is NULL. New file.
628 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
629 __makecontext_ret.S.
630 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
631 __makecontext_ret to ...
632 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
633 ... here and call exit if uc_link is NULL. New file.
634 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
635 __makecontext_ret.S.
636
637 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
638
639 * elf/elf.h (R_390_IRELATIVE): New definition.
640 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
641 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
642 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
643 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
644 (elf_machine_lazy_rel): Likewise.
645 * sysdeps/s390/dl-irel.h: New file.
646 * sysdeps/s390/s390-64/memcpy.S: New asm code.
647 * sysdeps/s390/s390-64/memset.S: New asm code.
648 * sysdeps/s390/s390-64/memcmp.S: New asm code.
649 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
650 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
651 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
652 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
653 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
654 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
655 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
656 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
657 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
658 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
659 * sysdeps/s390/s390-32/memcpy.S: New asm code.
660 * sysdeps/s390/s390-32/memset.S: New asm code.
661 * sysdeps/s390/s390-32/memcmp.S: New asm code.
662
663 2012-07-17 Marek Polacek <polacek@redhat.com>
664
665 [BZ #14349]
666 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
667 * sysdeps/s390/s390-64/configure.in: Likewise.
668 * sysdeps/sparc/configure.in: Likewise.
669 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
670 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
671 * sysdeps/i386/configure.in: Likewise.
672 * sysdeps/x86_64/configure.in: Likewise.
673 * sysdeps/sh/configure.in: Likewise.
674 * sysdeps/s390/s390-32/configure: Regenerated.
675 * sysdeps/s390/s390-64/configure: Likewise.
676 * sysdeps/x86_64/configure: Likewise.
677 * sysdeps/sh/configure: Likewise.
678 * sysdeps/powerpc/powerpc64/configure: Likewise.
679 * sysdeps/powerpc/powerpc32/configure: Likewise.
680 * sysdeps/sparc/configure: Likwise.
681 * sysdeps/i386/configure: Likewise.
682
683 * elf/dl-open.c: Comment fixes.
684
685 2012-07-17 Joseph Myers <joseph@codesourcery.com>
686
687 * Makefile [CXX] (check-data): Remove.
688 [CXX] (c++-types.data): New vpath directive.
689 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
690 vpath. Do not allow for C++ type data being missing.
691 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
692 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
693 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
694 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
695 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
696 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
697 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
699 ... here.
700 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
702 ... here.
703 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
705 ... here.
706 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
708 ... here.
709 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
711 ... here.
712 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
714 ... here.
715 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
717 ... here.
718 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
720
721 * elf/tls-macros.h (TLS_LE): Move architecture-specific
722 definitions to architecture-specific files.
723 (TLS_IE): Likewise.
724 (TLS_LD): Likewise.
725 (TLS_GD): Likewise.
726 * sysdeps/i386/tls-macros.h: New file.
727 * sysdeps/powerpc/tls-macros.h: Likewise.
728 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
729 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
730 * sysdeps/sh/tls-macros.h: Likewise.
731 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
732 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
733 * sysdeps/x86_64/tls-macros.h: Likewise.
734
735 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
736
737 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
738 zero value for regular exit case.
739
740 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
741 (__start_context): Preserve zero value for regular exit case.
742
743 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
744 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
745
746 * manual/setjmp.texi (setcontext): Clarify normal process
747 termination when uc_link is the null pointer.
748 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
749 exit call.
750
751 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
752
753 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
754 preprocessor. Test for each exception mask separately.
755
756 2012-07-16 Andreas Jaeger <aj@suse.de>
757
758 * po/ru.po: Update from translation team.
759
760 2012-07-15 Joseph Myers <joseph@codesourcery.com>
761
762 * conform/data/string.h-data (NULL): Use macro-constant. Require
763 equal to 0.
764 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
765 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
766 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
767 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
769
770 2012-07-13 Andreas Jaeger <aj@suse.de>
771
772 * po/fr.po: Update from translation team.
773
774 2012-07-12 Marek Polacek <polacek@redhat.com>
775
776 [BZ #14173]
777 * math/libm-test.inc (yn_test): Add test for BZ #14173.
778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
779 loop condition.
780
781 2012-07-12 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #13717]
784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
785 Change to 2.4.1 where previously 2.4.0.
786 * sysdeps/unix/sysv/linux/configure: Regenerated.
787 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
788 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
789 version.
790 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
791 (__ASSUME_AT_CLKTCK): Remove.
792 (__ASSUME_AT_PAGESIZE): Likewise.
793 (__ASSUME_AT_XID): Likewise.
794 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
795 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
796 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
797 unconditionally.
798 (HAVE_AUX_PAGESIZE): Likewise.
799 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
800 [__ASSUME_AT_CLKTCK]: Make code unconditional.
801 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
802
803 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
804
805 [BZ #14307]
806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
807 the temporary buffer used to invoke __gethostbyname2_r,
808 __gethostbyaddr_r and gethostbyname4_r to make room for struct
809 host_data / struct gaih_addrtuple.
810 * resolv/nss_dns/dns-host.c (global scope): Move definition of
811 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
812 header file nss/nsswitch.h.
813 * nss/nsswitch.h (global scope): Add definition of implementation
814 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
815 resolv/nss_dns/dns-host.c).
816
817 2012-07-11 Andreas Jaeger <aj@suse.de>
818
819 * po/fr.po: Update from translation team.
820
821 * po/sv.po: Update from translation team
822 * po/fr.po: Another update from translation team.
823
824 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
825
826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
827 for subnormals or multiply small sinh result by itself.
828 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
830
831 2012-07-11 David S. Miller <davem@davemloft.net>
832
833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
834
835 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
836
837 [BZ #14347]
838 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
839 (INTERNAL_MARK): Shift it here.
840
841 2012-07-10 Marek Polacek <polacek@redhat.com>
842
843 [BZ #14151]
844 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
845 libc_cv_asm_global_directive with .globl.
846 * configure: Regenerated.
847 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
848 with .globl.
849 * sysdeps/i386/configure: Regenerated.
850 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
851 with .globl.
852 * sysdeps/x86_64/configure: Regenerated.
853 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
854 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
855 * elf/tst-unique2mod2.c: Likewise.
856 * elf/tst-unique2mod1.c: Likewise.
857 * elf/tst-unique1mod2.c: Likewise.
858 * elf/tst-unique1mod1.c: Likewise.
859 * sysdeps/s390/s390-32/sysdep.h: Likewise.
860 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
862 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
863 * sysdeps/mach/sysdep.h: Likewise.
864 * sysdeps/i386/sysdep.h: Likewise.
865 * sysdeps/i386/i386-mcount.S: Likewise.
866 * sysdeps/x86_64/_mcount.S: Likewise.
867 * sysdeps/x86_64/sysdep.h: Likewise.
868 * sysdeps/sh/_mcount.S: Likewise.
869 * sysdeps/sh/sysdep.h: Likewise.
870 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
871 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
872 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
873 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
874 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
875 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
876 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
877 * locale/localeinfo.h: Likewise.
878 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
879 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
880
881 2012-07-09 Roland McGrath <roland@hack.frob.com>
882
883 [BZ #14336]
884 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
885 system".
886 * manual/message.texi (The Uniforum approach): Likewise.
887 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
888 (glibc iconv Implementation): Likewise.
889
890 2012-07-09 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #14337]
893 * math/s_clog.c (__clog): Avoid scaling a value down where that
894 could result in underflow.
895 * math/s_clog10.c (__clog10): Likewise.
896 * math/s_clog10f.c (__clog10f): Likewise.
897 * math/s_clog10l.c (__clog10l): Likewise.
898 * math/s_clogf.c (__clogf): Likewise.
899 * math/s_clogl.c (__clogl): Likewise.
900 * math/libm-test.inc (clog_test): Add more tests.
901 (clog10_test): Likewise.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
904
905 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
906
907 [BZ #14283]
908 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
909 by 7 not 8 to examine high bit of fractional part.
910
911 [BZ #14042]
912 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
913 for call to __mcount_internal.
914 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
915 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
916 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
917
918 2012-07-06 Joseph Myers <joseph@codesourcery.com>
919
920 [BZ #14154]
921 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
922 approximation for values within 0x1p-13f of an odd multiple of
923 pi/4.
924 * math/libm-test.inc (tan_test): Do not allow spurious underflow
925 exception. Add more tests.
926 * sysdeps/i386/fpu/libm-test-ulps: Update.
927
928 [BZ #6778]
929 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
930 inputs and return -1 for them. Do not check for +Inf in case not
931 reachable for +Inf.
932 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
933 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
934 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
935 and return -1 for them. Do not check for +Inf in case not
936 reachable for +Inf.
937 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
938 define.
939 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
940 and return -1 for them. Do not check for +Inf in case not
941 reachable for +Inf.
942 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
943 spurious underflow.
944 * sysdeps/i386/fpu/libm-test-ulps: Update.
945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
946
947 2012-07-06 Mike Frysinger <vapier@gentoo.org>
948
949 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
950
951 2012-07-05 Joseph Myers <joseph@codesourcery.com>
952
953 [BZ #14157]
954 [BZ #14331]
955 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
956 could result in spurious underflow. Scale down values above
957 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
958 * math/s_csqrtf.c (__csqrtf): Likewise.
959 * math/s_csqrtl.c (__csqrtl): Likewise.
960 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
961 spurious underflow.
962 * sysdeps/i386/fpu/libm-test-ulps: Update.
963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
964
965 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
966
967 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
968 xopen-msg.sed.
969 * catgets/xopen-msg.awk: New file.
970 * catgets/xopen-msg.sed: Removed.
971
972 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
973 po2text.sed.
974 * intl/po2test.awk: New file.
975 * intl/po2test.sed: Removed.
976
977 2012-07-04 Joseph Myers <joseph@codesourcery.com>
978
979 [BZ #14328]
980 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
981 or multiply small sinh result by itself.
982 * math/s_ctanf.c (__ctanf): Likewise.
983 * math/s_ctanh.c (__ctanh): Likewise.
984 * math/s_ctanhf.c (__ctanhf): Likewise.
985 * math/s_ctanhl.c (__ctanhl): Likewise.
986 * math/s_ctanl.c (__ctanl): Likewise.
987 * math/libm-test.inc (ctan_test_tonearest): New function.
988 (ctan_test_towardzero): Likewise.
989 (ctan_test_downward): Likewise.
990 (ctan_test_upward): Likewise.
991 (ctanh_test_tonearest): Likewise.
992 (ctanh_test_towardzero): Likewise.
993 (ctanh_test_downward): Likewise.
994 (ctanh_test_upward): Likewise.
995 (main): Call these new functions.
996 * sysdeps/i386/fpu/libm-test-ulps: Update.
997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
998
999 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1000
1001 * .gitignore: Delete /ports entry.
1002
1003 2012-07-03 Andreas Jaeger <aj@suse.de>
1004
1005 * po/bg.po: Update from translation team.
1006 * po/cs.po: Likewise.
1007 * po/de.po: Likewise.
1008 * po/hr.po: Likewise.
1009 * po/nl.pl: Likewise.
1010 * po/pl.po: Likewise.
1011 * po/vi.po: Likewise.
1012
1013 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1014
1015 * Makeconfig [!+link] (+link-before-libc): New variable.
1016 [!+link] (+link-after-libc): Likewise.
1017 [!+link] (+link-tests): Likewise.
1018 [!+link] (+link): Define in terms of $(+link-before-libc) and
1019 $(+link-after-libc).
1020 [!+link-static] (+link-static-before-libc): New variable.
1021 [!+link-static] (+link-static-after-libc): Likewise.
1022 [!+link-static] (+link-static-tests): Likewise.
1023 [!+link-static] (+link-static): Define in terms of
1024 $(+link-static-before-libc) and $(+link-static-after-libc).
1025 [build-shared] (link-libc-before-gnulib): New variable.
1026 [build-shared] (link-libc-tests): Likewise.
1027 [build-shared] (link-libc): Define in terms of
1028 $(link-libc-before-gnulib).
1029 [!build-shared] (link-libc-tests): New variable.
1030 (link-libc-static-tests): New variable.
1031 [!gnulib] (gnulib-arch): New variable.
1032 [!gnulib] (gnulib-tests): Likewise.
1033 [!gnulib] (static-gnulib-arch): Likewise.
1034 [!gnulib] (static-gnulib-tests): Likewise.
1035 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1036 Define with "=" instead of ":=".
1037 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1038 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1039 * Rules (binaries-all-notests): New variable.
1040 (binaries-all-tests): Likewise.
1041 (binaries-static-notests): Likewise.
1042 (binaries-static-tests): Likewise.
1043 (binaries-all): Define using $(binaries-all-notests) and
1044 $(binaries-all-tests).
1045 (binaries-static): Define using $(binaries-static-notests) and
1046 $(binaries-static-tests).
1047 (binaries-shared-tests): New variable.
1048 (binaries-shared-notests): Likewise.
1049 (binaries-shared): Remove variable.
1050 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1051 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1052 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1053 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1054 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1055 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1056 * elf/Makefile (sln-modules): New variable.
1057 (extra-objs): Add $(sln-modules:=.o).
1058 (ldconfig-modules): Add static-stubs.
1059 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1060 * elf/static-stubs.c: New file.
1061
1062 [BZ #14283]
1063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1064 by 7 not 8 to examine high bit of fractional part. Use volatile
1065 variables when splitting into final array of floats if
1066 __FLT_EVAL_METHOD__ != 0.
1067 * math/libm-test.inc (cos_test): Add another test.
1068 (sin_test): Likewise.
1069 * sysdeps/i386/fpu/libm-test-ulps: Update.
1070
1071 [BZ #14273]
1072 * math/libm-test.inc (cosh_test): Add more tests.
1073
1074 * version.h (RELEASE): Set to "development".
1075 (VERSION): Set to "2.16.90".
1076
1077 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1078
1079 * NEWS: Update copyright. Remove last-updated date.
1080 Mention math library bug fixes and timezone data changes.
1081 * README: Mention GNU/Hurd, x32, and HPPA support status.
1082
1083 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1084
1085 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1086
1087 2012-06-27 Andreas Jaeger <aj@suse.de>
1088
1089 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1090
1091 2012-06-25 Andreas Jaeger <aj@suse.de>
1092
1093 * sysdeps/s390/fpu/libm-test-ulps: Update.
1094
1095 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1096 Thomas Schwinge <thomas@codesourcery.com>
1097
1098 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1099 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1101 fanotify_mark.
1102
1103 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1104
1105 * sysdeps/mach/start.c: Remove file.
1106 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1107 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1108 * sysdeps/sh/init-first.c: Likewise.
1109
1110 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1111 registers for frame unwinding purposes, add CFI directives.
1112 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1113 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1114 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1115 Likewise.
1116
1117 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1118 __fortify_fail returning.
1119 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1120
1121 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1122 sysdeps/sh/____longjmp_chk.S.
1123 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1124 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1125 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1126 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1127
1128 * sysdeps/sh/abort-instr.h: New file.
1129 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1130 process in case exit returns.
1131
1132 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1133 initialize the GOT register before use.
1134
1135 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1136 calculation of ARGC > 4.
1137
1138 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1139 meaningful names to some local labels.
1140
1141 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1142 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1143
1144 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1145 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1146 (__arch_compare_and_exchange_val_16_acq): Likewise.
1147 (__arch_compare_and_exchange_val_32_acq): Likewise.
1148 (atomic_exchange_and_add): Fix gUSA sequence.
1149 (atomic_add): Likewise.
1150 (atomic_add_negative): Likewise.
1151 (atomic_add_zero): Likewise.
1152 (atomic_bit_test_set): Likewise.
1153
1154 2012-06-22 Andreas Schwab <schwab@redhat.com>
1155
1156 [BZ #13579]
1157 * include/link.h (struct link_map): Add l_free_initfini.
1158 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1159 l_initfini.
1160 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1161 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1162 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1163 set.
1164
1165 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1166
1167 * configure.in: Use AC_LANG_SOURCE.
1168 * configure: Regenerate.
1169
1170 2012-06-22 Roland McGrath <roland@hack.frob.com>
1171
1172 * configure.in (libc_cv_localstatedir): New substituted variable.
1173 * configure: Regenerated.
1174 * config.make.in (localstatedir): New variable, substituted from
1175 libc_cv_localstatedir.
1176 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1177 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1178 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1179 * sysdeps/gnu/configure: Regenerated.
1180
1181 2012-06-21 Jeff Law <law@redhat.com>
1182
1183 [BZ #14277]
1184 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1185 free. Simplify list management for _LIBC case.
1186
1187 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1188
1189 [BZ #14273]
1190 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1191 Clear sign bit of 64-bit integer value before comparing against
1192 overflow value.
1193
1194 * sysdeps/mach/configure: Regenerated.
1195
1196 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 [BZ #14278]
1199 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1200
1201 2012-06-21 Jeff Law <law@redhat.com>
1202
1203 [BZ #13882]
1204 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1205 uint16_t for elements in the "seen" array to avoid char overflows.
1206 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1207 * elf/dl-open.c (dl_open_worker): Likewise.
1208
1209 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1210
1211 * scripts/list-sources.sh: Scan PORTS for translations.
1212 * po/libc.pot: Regenerated.
1213
1214 2012-06-21 Andreas Jaeger <aj@suse.de>
1215
1216 [BZ #12194]
1217 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1218 warning.
1219 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1220 * bits/byteswap-16.h (__bswap_16): Likewise.
1221 * bits/byteswap.h (__bswap_constant_16): Likewise.
1222
1223 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1224
1225 [BZ #14117]
1226 * sysdeps/i386/fpu_control.h: Removed.
1227 * sysdeps/x86_64/fpu_control.h: Moved to ...
1228 * sysdeps/x86/fpu_control.h: Here.
1229
1230 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1231 (_FPU_SETCW): Likewise.
1232
1233 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 [BZ #14117]
1236 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1237 * sysdeps/x86/fpu/bits/mathinline.h: This.
1238 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1239
1240 [BZ #14050]
1241 [BZ #14117]
1242 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1243 functions if __x86_64__ is defined.
1244
1245 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1246
1247 * string/endian.h: Add !__ASSEMBLER__ condition for including
1248 conversion interfaces.
1249
1250 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1251
1252 [BZ #14241]
1253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1254 of ABS(x) in calculating zero to negative powers other than odd
1255 integers.
1256 * math/libm-test.inc (pow_test): Add more tests.
1257
1258 2012-06-15 Andreas Jaeger <aj@suse.de>
1259
1260 * manual/contrib.texi (Contributors): Update entry of Liubov
1261 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1262 Machado Filho.
1263
1264 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1265
1266 * string/string.h: Add __wur to GNU version of strerror_r.
1267
1268 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 [BZ #14229]
1271 * string/Makefile (tests): Add tst-strtok_r.
1272 * string/tst-strtok_r.c: New file.
1273 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1274 RAX_LP/RDX_LP on SAVE_PTR.
1275
1276 2012-06-14 Roland McGrath <roland@hack.frob.com>
1277
1278 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1279
1280 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1281
1282 * libm_test.inc (csqrt_test): Allow more spurious underflow
1283 exceptions.
1284 (j0_test): Likewise.
1285 (j1_test): Likewise.
1286 (y0_test): Likewise.
1287 (y1_test): Likewise.
1288
1289 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1290
1291 * po/Makefile (libc.pot): Use UTF-8 charset.
1292
1293 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1294
1295 [BZ #14210]
1296 Suppress sign-conversion warning from FD_SET.
1297 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1298 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1299 not unsigned long int.
1300 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1301
1302 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 [BZ #14050]
1305 [BZ #14117]
1306 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1307 __extern_always_inline instead of __extern_inline.
1308 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1309 (__signbit): Likewise.
1310 (__signbitl): Support C++ namespace.
1311 (lrintf): New inline function.
1312 (lrint): Likewise.
1313 (llrintf): Likewise.
1314 (llrint): Likewise.
1315 (fmaxf): Likewise.
1316 (fmax): Likewise.
1317 (fminf): Likewise.
1318 (fmin): Likewise.
1319 (rint): Likewise.
1320 (rintf): Likewise.
1321 (ceil): Likewise.
1322 (ceilf): Likewise.
1323 (floor): Likewise.
1324 (floorf): Likewise.
1325 (nearbyint): Likewise.
1326 (nearbyintf): Likewise.
1327
1328 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1329
1330 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1331 non-default versions.
1332
1333 2012-06-11 Roland McGrath <roland@hack.frob.com>
1334
1335 [BZ #14218]
1336 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1337
1338 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1339
1340 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1341 (FE_UPWARD, FE_DOWNWARD): Don't define.
1342 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1343 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1344
1345 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1346 reading it.
1347 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1348 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1349
1350 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1351
1352 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1354 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1355 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1356
1357 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 [BZ #14117]
1360 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1361 * sysdeps/i386/fpu/Implies: New file.
1362 * sysdeps/x86_64/fpu/Implies: Likewise.
1363 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1364 * sysdeps/x86/fpu/bits/fenv.h: This.
1365
1366 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1367 __SSE_MATH__.
1368
1369 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1370
1371 [BZ #14134]
1372 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1373 character 0xffff that matches the last element of the
1374 conversion table.
1375
1376 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377
1378 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1379 fmodl commit.
1380
1381 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382
1383 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1384 values higher than 25.6283.
1385
1386 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1389 subnormal exponent extraction and add some __builtin_expect.
1390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1391 Fix for subnormal mantissa calculation.
1392
1393 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1394
1395 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1396 cpu2 is -1 and errno is not ENOSYS.
1397
1398 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 [BZ #14117]
1401 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1402 * sysdeps/x86/bits/string.h: This.
1403 * sysdeps/x86_64/bits/string.h: Removed.
1404
1405 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1406 if not compiling for x86-64, but compiling for >= i486.
1407
1408 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1409 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1410
1411 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1412 New macro from Linux kernel 3.4.0.
1413 (FP_XSTATE_MAGIC2): Likewise.
1414 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1415 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1416 (struct _fpx_sw_bytes): New struct.
1417 (struct _xsave_hdr): Likewise.
1418 (struct _ymmh_state): Likewise.
1419 (struct _xstate): Likewise.
1420
1421 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1422 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1423 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1424 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1425 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1426 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1427
1428 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1429 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1430 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1431 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1432 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1433 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1434
1435 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1436
1437 [BZ #13743]
1438 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1439 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1440 (sysdep_headers): Include sys/platform/ppc.h.
1441 * sysdeps/powerpc/test-gettimebase.c: Test for
1442 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1443 * manual/Makefile (appendices): Include platform.texi.
1444 * manual/contrib.texi (Contributors): Update @node pointers.
1445 * manual/maint.texi (Maintenance): Likewise.
1446 (Platform): New node.
1447 * manual/platform.texi: New file. Document the new features.
1448
1449 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1450 Jakub Jelinek <jakub@redhat.com>
1451
1452 [BZ #14188]
1453 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1454 where __builtin_expect is unavailable.
1455
1456 2012-06-03 David S. Miller <davem@davemloft.net>
1457
1458 * stdlib/longlong.h: Updated from GCC.
1459
1460 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1461
1462 [BZ #14042]
1463 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1464 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1465 __mcount_internal.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1467 (GLIBC_2.16): Likewise.
1468
1469 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1470
1471 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1472
1473 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1474
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1476 (default-abi): New variable.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1479 variable.
1480 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1481 Likewise.
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1483 Likewise.
1484 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1485 Likewise.
1486
1487 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1488 definition. Document in comment.
1489
1490 2012-06-01 David S. Miller <davem@davemloft.net>
1491
1492 * stdlib/longlong.h: Updated from GCC.
1493
1494 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1495
1496 [BZ #14117]
1497 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1498 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1499 sys/debugreg.h sys/io.h here.
1500 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1501 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1502 sys/io.h.
1503 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1504 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1505 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1506 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1507 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1508 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1509
1510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1511 Define only if __x86_64__ is defined.
1512
1513 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1514
1515 [BZ #14048]
1516 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1517 Use int64_t for variable i.
1518 * math/libm-test.inc (fmod_test): Add more tests.
1519
1520 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1521 z computation is not scheduled after fetestexcept.
1522 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1523 Use math_force_eval instead of asm to ensure calculation scheduled
1524 before exception test.
1525 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1526 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1527
1528 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1529
1530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1531 computation is not scheduled after fetestexcept.
1532
1533 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 [BZ #14117]
1536 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1537 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1538
1539 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1540
1541 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1542 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1543
1544 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 [BZ #14117]
1547 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1548 <bits/wordsize.h>.
1549 (__WCHAR_MIN): Support __WORDSIZE == 64.
1550 (__WCHAR_MAX): Likewise.
1551
1552 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1554
1555 [BZ #14183]
1556 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1557 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1558
1559 [BZ #14117]
1560 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1561 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1562
1563 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1564 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1565
1566 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1567 Defined to 1 if __x86_64__ isn't defined.
1568 (_STAT_VER_LINUX_OLD): New.
1569 (st_atime): Remove duplicate.
1570 (st_mtime): Likewise.
1571 (st_ctime): Likewise.
1572
1573 2012-05-31 David S. Miller <davem@davemloft.net>
1574
1575 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1576 entries.
1577
1578 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1579
1580 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1581 gen-libm-test.pl.
1582
1583 [BZ #14132]
1584 * elf/dl-reloc.c: Include <_itoa.h>.
1585 (_dl_reloc_bad_type): Remove use of INTUSE.
1586 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1587 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1588 * stdio-common/psiginfo.c (psiginfo): Likewise.
1589 * stdio-common/psignal.c (psignal): Likewise.
1590 * string/strsignal.c (strsignal): Likewise.
1591 * include/signal.h (_sys_siglist): Declare hidden proto.
1592 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1593 INTVARDEF with libc_hidden_data_def.
1594 * stdio-common/itoa-udigits.c: Likewise.
1595 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1596 (_itoa_lower_digits_internal): Remove declaration.
1597 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1598 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1599 (_sys_sigabbrev_internal): Remove aliases.
1600 (_sys_siglist): Define hidden alias.
1601
1602 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1603
1604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1605 bits/sysctl.h.
1606
1607 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1608
1609 [BZ #14117]
1610 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1611 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1612
1613 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1614 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1615 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1616 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1618 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1619
1620 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1621 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1622 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1623
1624 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1625 with __addr.
1626 (insw): Likewise.
1627 (insl): Likewise.
1628 (outsb): Likewise.
1629 (outsw): Likewise.
1630 (outsl): Likewise.
1631
1632 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1633 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1634 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1635
1636 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1637 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1639 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1640 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1641 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1642
1643 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1644 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1645
1646 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1647 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1648
1649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1650 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1651 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1652
1653 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1654 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1655 to ...
1656 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1657
1658 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1659 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1660 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1661
1662 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1663 for x86-64.
1664 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1665
1666 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1667
1668 * math/math.h (M_El): Use two more decimal places.
1669 (M_LOG2El): Likewise.
1670 (M_LOG10El): Likewise.
1671 (M_LN2l): Likewise.
1672 (M_LN10l): Likewise.
1673 (M_PIl): Likewise.
1674 (M_PI_2l): Likewise.
1675 (M_PI_4l): Likewise.
1676 (M_1_PIl): Likewise.
1677 (M_2_PIl): Likewise.
1678 (M_2_SQRTPIl): Likewise.
1679 (M_SQRT2l): Likewise.
1680 (M_SQRT1_2l): Likewise.
1681
1682 2012-05-31 David S. Miller <davem@davemloft.net>
1683
1684 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1685 values between float registers.
1686 * sysdeps/sparc/sparc64/memset.S: Likewise.
1687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1688
1689 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1690
1691 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1692 -D_FORTIFY_SOURCE=1.
1693 (CPPFLAGS-tst-longjmp_chk.c): Define.
1694 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1695 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1696 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1697 CFLAGS-tst-wchar-h.c.
1698
1699 2012-05-31 Marek Polacek <polacek@redhat.com>
1700
1701 [BZ #14132]
1702 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1703 __endmntent_internal): Remove declaration.
1704 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1705 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1706 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1707
1708 2012-05-30 David S. Miller <davem@davemloft.net>
1709
1710 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1711 (___Q_simulate_exceptions): Use real FP ops rather than writing
1712 into the %fsr.
1713 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1714 Likewise.
1715
1716 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 [BZ #14117]
1719 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1720 * sysdeps/x86/bits/xtitypes.h: This.
1721
1722 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1723 * sysdeps/x86/bits/wordsize.h: This.
1724
1725 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1726 * sysdeps/x86/bits/huge_vall.h: This.
1727
1728 * sysdeps/i386/bits/select.h: Removed.
1729 * sysdeps/x86_64/bits/select.h: Renamed to ...
1730 * sysdeps/x86/bits/select.h: This.
1731
1732 * sysdeps/i386/bits/setjmp.h: Removed.
1733 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1734 * sysdeps/x86/bits/setjmp.h: This.
1735
1736 * sysdeps/i386/bits/mathdef.h: Removed.
1737 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1738 * sysdeps/x86/bits/mathdef.h: This.
1739
1740 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1741
1742 [BZ #14132]
1743 * include/sys/socket.h (__connect_internal)
1744 (__libc_sa_len_internal): Remove declaration.
1745 (__connect, __libc_sa_len): Declare hidden_proto.
1746 (SA_LEN): Remove use of INTUSE.
1747 * socket/connect.c: Add libc_hidden_def.
1748 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1749 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1750 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1751 alias.
1752 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1753 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1754 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1755 of adding _internal alias.
1756
1757 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 [BZ #14117]
1760 * sysdeps/i386/bits/link.h: Removed.
1761 * sysdeps/i386/bits/linkmap.h: Likewise.
1762 * sysdeps/x86_64/bits/link.h: Renamed to ...
1763 * sysdeps/x86/bits/link.h: This.
1764 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1765 * sysdeps/x86/bits/linkmap.h: This.
1766
1767 * sysdeps/i386/bits/endian.h: Removed.
1768 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1769 * sysdeps/x86/bits/endian.h: This.
1770
1771 * sysdeps/i386/bits/byteswap.h: Removed.
1772 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1773 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1774 * sysdeps/x86/bits/byteswap.h: This.
1775 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1776 * sysdeps/x86/bits/byteswap-16.h: This.
1777 * sysdeps/i386/Implies: Add x86.
1778 * sysdeps/x86_64/Implies: Likewise.
1779
1780 2012-05-30 David S. Miller <davem@davemloft.net>
1781
1782 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1783 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1784 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1785 (FP_TRAPPING_EXCEPTIONS): Define.
1786 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1787 (FP_TRAPPING_EXCEPTIONS): Define.
1788 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1789 subnormals only when inexact has been signalled or underflow
1790 exceptions are enabled.
1791 (_FP_PACK_CANONICAL): Likewise.
1792
1793 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1794
1795 [BZ #14183]
1796 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1797 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1798
1799 2012-05-30 Richard Henderson <rth@twiddle.net>
1800
1801 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1802 with #ifndef NOT_IN_libc.
1803
1804 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1805 marked to avoid plt entry.
1806
1807 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1808
1809 [BZ #14112]
1810 * Makeconfig (default-abi): New macro.
1811 (abi-includes): Likewise.
1812 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1813 $(abi-$(default-abi)-lib-soname) for soname if defined.
1814 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1815 abi-variants.
1816 * Makefile (installed-stubs): Likewise.
1817 * include/stubs-biarch.h: Removed.
1818 * scripts/lib-names.awk: Only handle one library at a time.
1819 * scripts/soversions.awk: Remove WORDSIZE support.
1820 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1821 entries.
1822 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1823 Removed.
1824 (syscall-list-default-condition): Likewise.
1825 (syscall-list-default-condition): Likewise.
1826 (syscall-list-includes): Likewise.
1827 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1828 syscall-list-* with abi-*. Handle undefined abi-variants.
1829 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1830 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1831 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1832 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1833 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1834 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1835 Removed.
1836 (syscall-list-32-options): Likewise.
1837 (syscall-list-32-condition): Likewise.
1838 (syscall-list-64-options): Likewise.
1839 (syscall-list-64-condition): Likewise.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1841 macro.
1842 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1843 Renamed to ...
1844 (abi-*): This.
1845 (abi-64-ld-soname): New macro.
1846 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1847 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1848 Renamed to ...
1849 (abi-*): This.
1850 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1851 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1852
1853 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1854
1855 * sysdeps/unix/sysv/linux/kernel-features.h
1856 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1857 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1858 include <kernel-features.h>.
1859 [!__NR_ftruncate64]: Remove conditional code.
1860 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1861 [__NR_ftruncate64]: Make code unconditional.
1862 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1863 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1864 include <kernel-features.h>.
1865 [!__NR_ftruncate64]: Remove conditional code.
1866 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1867 [__NR_ftruncate64]: Make code unconditional.
1868 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1870 include <kernel-features.h>.
1871 [!__NR_ftruncate64]: Remove conditional code.
1872 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1873 [__NR_ftruncate64]: Make code unconditional.
1874 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1876 include <kernel-features.h>.
1877 [!__NR_ftruncate64]: Remove conditional code.
1878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1879 [__NR_ftruncate64]: Make code unconditional.
1880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1881
1882 * configure.in (libc_cv_fpie): Weaken to a compile test using
1883 LIBC_TRY_CC_OPTION.
1884 * configure: Regenerated.
1885
1886 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1887
1888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1892 Refreshed.
1893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1899 Refreshed.
1900
1901 2012-05-27 David S. Miller <davem@davemloft.net>
1902
1903 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1904 (___Q_zero): New.
1905 (__Q_simulate_exceptions): Return void. Change to simulate
1906 exceptions by writing into the %fsr.
1907 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1908 (__Qp_handle_exceptions): Likewise.
1909 (numbers): Delete.
1910 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1911 __Qp_handle_exceptions.
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1913 __Qp_handle_exceptions.
1914 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1915 as unused and give dummy FP_RND_NEAREST initializer.
1916 (FP_INHIBIT_RESULTS): Define.
1917 (___Q_simulate_exceptions): Update declaration.
1918 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1919 formatting.
1920 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1921 as unused and give dummy FP_RND_NEAREST initializer.
1922 (__Qp_handle_exceptions): Update declaration.
1923 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1924 formatting.
1925
1926 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1927
1928 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1929 the temporary FPU control word.
1930 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1931 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1933 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1934 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1935 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1936 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1937 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1938 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1939 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1940 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1941
1942 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1943
1944 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1945 fields.
1946
1947 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1948
1949 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1950 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1951 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1952 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1953 Likewise.
1954 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1955 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1956 Likewise.
1957
1958 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1959
1960 * po/h.po: Update from translation team.
1961
1962 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1963
1964 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1965
1966 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1967 handling of denormals.
1968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1969 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1975 Likewise.
1976
1977 2012-05-26 Marek Polacek <polacek@redhat.com>
1978
1979 [BZ #14152]
1980 * math/libm-test.inc (fma_test): Don't always expect underflow
1981 exception.
1982
1983 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1984
1985 [BZ #12416]
1986 * elf/tst-execstack.c: Include stackinfo.h.
1987 (do_test): Adjust test case to ensure that pthread_getattr_np
1988 behaviour remains the same after marking stack executable.
1989
1990 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1991
1992 * sysdeps/unix/sysv/linux/kernel-features.h
1993 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1994 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1995 kernel-features.h.
1996 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1997 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1998 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1999 kernel-features.h.
2000 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2001 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2002
2003 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 * configure.in: Define the default includes to being none.
2006 * configure: Regenerated.
2007
2008 2012-05-25 Roland McGrath <roland@hack.frob.com>
2009
2010 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2011 * sysdeps/x86_64/setjmp.S: Likewise.
2012 * sysdeps/i386/bsd-setjmp.S: Likewise.
2013 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2014 * sysdeps/i386/setjmp.S: Likewise.
2015 * sysdeps/i386/__longjmp.S: Likewise.
2016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2017 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2018
2019 * include/stap-probe.h: New file.
2020 * configure.in: Handle --enable-systemtap.
2021 * configure: Regenerated.
2022 * config.h.in (USE_STAP_PROBE): New #undef.
2023 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2024 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2025 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2026
2027 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2028
2029 [BZ #13717]
2030 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2031 to 2.4.0 where earlier.
2032 * sysdeps/unix/sysv/linux/configure: Regenerated.
2033 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2034 <kernel-features.h>.
2035 [__ASSUME_32BITUIDS]: Make code unconditional.
2036 [!__ASSUME_32BITUIDS]: Remove conditional code.
2037 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2038 <kernel-features.h>.
2039 [__ASSUME_32BITUIDS]: Make code unconditional.
2040 [!__ASSUME_32BITUIDS]: Remove conditional code.
2041 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2042 [__ASSUME_32BITUIDS]: Make code unconditional.
2043 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2045 <kernel-features.h>.
2046 [__ASSUME_32BITUIDS]: Make code unconditional.
2047 [!__ASSUME_32BITUIDS]: Remove conditional code.
2048 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2049 <kernel-features.h>.
2050 [__ASSUME_32BITUIDS]: Make code unconditional.
2051 [!__ASSUME_32BITUIDS]: Remove conditional code.
2052 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2053 <kernel-features.h>.
2054 [__ASSUME_32BITUIDS]: Make code unconditional.
2055 [!__ASSUME_32BITUIDS]: Remove conditional code.
2056 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2057 <kernel-features.h>.
2058 [__ASSUME_32BITUIDS]: Make code unconditional.
2059 [!__ASSUME_32BITUIDS]: Remove conditional code.
2060 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2061 <kernel-features.h>.
2062 [__ASSUME_32BITUIDS]: Make code unconditional.
2063 [!__ASSUME_32BITUIDS]: Remove conditional code.
2064 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2065 <kernel-features.h>.
2066 [__ASSUME_32BITUIDS]: Make code unconditional.
2067 [!__ASSUME_32BITUIDS]: Remove conditional code.
2068 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2069 <kernel-features.h>.
2070 [__ASSUME_32BITUIDS]: Make code unconditional.
2071 [!__ASSUME_32BITUIDS]: Remove conditional code.
2072 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2073 <kernel-features.h>.
2074 [__ASSUME_32BITUIDS]: Make code unconditional.
2075 [!__ASSUME_32BITUIDS]: Remove conditional code.
2076 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2077 <kernel-features.h>.
2078 [__ASSUME_32BITUIDS]: Make code unconditional.
2079 [!__ASSUME_32BITUIDS]: Remove conditional code.
2080 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2081 <kernel-features.h>.
2082 [__ASSUME_32BITUIDS]: Make code unconditional.
2083 [!__ASSUME_32BITUIDS]: Remove conditional code.
2084 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2085 <kernel-features.h>.
2086 [__NR_setresgid] (__setresgid): Do not declare.
2087 [__ASSUME_32BITUIDS]: Make code unconditional.
2088 [!__ASSUME_32BITUIDS]: Remove conditional code.
2089 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2090 <kernel-features.h>.
2091 [__NR_setresuid] (__setresuid): Do not declare.
2092 [__ASSUME_32BITUIDS]: Make code unconditional.
2093 [!__ASSUME_32BITUIDS]: Remove conditional code.
2094 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2095 <kernel-features.h>.
2096 [__ASSUME_32BITUIDS]: Make code unconditional.
2097 [!__ASSUME_32BITUIDS]: Remove conditional code.
2098 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2099 <kernel-features.h>.
2100 [__ASSUME_32BITUIDS]: Make code unconditional.
2101 [!__ASSUME_32BITUIDS]: Remove conditional code.
2102 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2103 <kernel-features.h>.
2104 [__ASSUME_32BITUIDS]: Make code unconditional.
2105 [!__ASSUME_32BITUIDS]: Remove conditional code.
2106 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2107 <kernel-features.h>.
2108 [__ASSUME_32BITUIDS]: Make code unconditional.
2109 [!__ASSUME_32BITUIDS]: Remove conditional code.
2110 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2111 <kernel-features.h>.
2112 [__ASSUME_32BITUIDS]: Make code unconditional.
2113 [!__ASSUME_32BITUIDS]: Remove conditional code.
2114 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2115 <kernel-features.h>.
2116 [__ASSUME_32BITUIDS]: Make code unconditional.
2117 [!__ASSUME_32BITUIDS]: Remove conditional code.
2118 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2119 <kernel-features.h>.
2120 [__ASSUME_32BITUIDS]: Make code unconditional.
2121 [!__ASSUME_32BITUIDS]: Remove conditional code.
2122 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2123 <kernel-features.h>.
2124 [__ASSUME_32BITUIDS]: Make code unconditional.
2125 [!__ASSUME_32BITUIDS]: Remove conditional code.
2126 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2127 <kernel-features.h>.
2128 [__ASSUME_32BITUIDS]: Make code unconditional.
2129 [!__ASSUME_32BITUIDS]: Remove conditional code.
2130 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2131 <kernel-features.h>.
2132 [__ASSUME_32BITUIDS]: Make code unconditional.
2133 [!__ASSUME_32BITUIDS]: Remove conditional code.
2134 * sysdeps/unix/sysv/linux/kernel-features.h
2135 (__ASSUME_SETRESUID_SYSCALL): Remove.
2136 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2137 (__ASSUME_32BITUIDS): Likewise.
2138 (__ASSUME_LDT_WORKS): Likewise.
2139 (__ASSUME_O_DIRECTORY): Likewise.
2140 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2141 architecture but not kernel version.
2142 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2143 (__ASSUME_MMAP2_SYSCALL): Likewise.
2144 (__ASSUME_STAT64_SYSCALL): Likewise.
2145 (__ASSUME_IPC64): Likewise.
2146 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2147 <kernel-features.h>.
2148 [__ASSUME_32BITUIDS]: Make code unconditional.
2149 [!__ASSUME_32BITUIDS]: Remove conditional code.
2150 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2151 <kernel-features.h>.
2152 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2154 132096]: Remove conditional code.
2155 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2157 <kernel-features.h>.
2158 [__ASSUME_32BITUIDS]: Make code unconditional.
2159 [!__ASSUME_32BITUIDS]: Remove conditional code.
2160 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2161 <kernel-features.h>.
2162 [__ASSUME_32BITUIDS]: Make code unconditional.
2163 [!__ASSUME_32BITUIDS]: Remove conditional code.
2164 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2165 <kernel-features.h>.
2166 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2167 unconditional.
2168 (__setresgid): Do not declare.
2169 [__ASSUME_32BITUIDS]: Make code unconditional.
2170 [!__ASSUME_32BITUIDS]: Remove conditional code.
2171 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2172 <kernel-features.h>.
2173 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2174 unconditional.
2175 (__setresuid): Do not declare.
2176 [__ASSUME_32BITUIDS]: Make code unconditional.
2177 [!__ASSUME_32BITUIDS]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2179 <kernel-features.h>.
2180 [__ASSUME_32BITUIDS]: Make code unconditional.
2181 [!__ASSUME_32BITUIDS]: Remove conditional code.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2183 <kernel-features.h>.
2184 [__ASSUME_32BITUIDS]: Make code unconditional.
2185 [!__ASSUME_32BITUIDS]: Remove conditional code.
2186
2187 2012-05-25 Richard Henderson <rth@twiddle.net>
2188
2189 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2190 dl_hwcap to ifunc resolver.
2191 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2192 elf_ifunc_invoke.
2193 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2194 dl_hwcap to ifunc resolver.
2195 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2196
2197 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2198
2199 [BZ #14153]
2200 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2201 for |x| <= 2**-26, not 2**-57.
2202 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2203 exception.
2204
2205 2012-05-24 Jeff Law <law@redhat.com>
2206
2207 * stdio-common/Makefile (tests): Add bug25.
2208 * stdio-common/bug25.c: New test.
2209
2210 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2211
2212 [BZ #13576]
2213 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2214 multiple of MALLOC_ALIGNMENT in size.
2215 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2216
2217 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2218
2219 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2220 Require >= 256.
2221 (FILENAME_MAX): Use macro-int-constant.
2222 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2223 (_IOFBF): Use macro-int-constant.
2224 (_IOLBF): Likewise.
2225 (_IONBF): Likewise.
2226 (SEEK_CUR): Likewise.
2227 (SEEK_END): Likewise.
2228 (SEEK_SET): Likewise.
2229 (TMP_MAX): Likewise.
2230 (EOF): Use macro-int-constant. Require < 0.
2231 (NULL): Use macro-constant. Require == 0.
2232 (stdin): Require type to be FILE *.
2233 (stdout): Likewise.
2234 (stderr): Likewise.
2235 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2236 macro-int-constant.
2237 (EXIT_SUCCESS): Likewise.
2238 (NULL): Use macro-constant. Require == 0.
2239 (RAND_MAX): Use macro-int-constant.
2240 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2241 [C99-based standards] (strtof): Require function.
2242 [C99-based standards] (strtold): Likewise.
2243 [C99-based standards] (strtoll): Likewise.
2244 [C99-based standards] (strtoull): Likewise.
2245 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2246 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2247 [ISO || ISO99 || ISO11] (math.h): Likewise.
2248 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2249 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2250 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2251
2252 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2253
2254 [BZ #14132]
2255 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2256 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2257 * intl/dgettext.c (DCGETTEXT): Likewise.
2258 * intl/gettext.c (DCGETTEXT): Likewise.
2259 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2260 * posix/regex_internal.h (gettext): Likewise.
2261 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2262 Remove declaration.
2263 * include/argz.h (__argz_count_internal)
2264 (__argz_stringify_internal): Remove declaration.
2265 (__argz_count, __argz_stringify): Declare hidden proto.
2266 * intl/dcgettext.c: Remove use of INTDEF.
2267 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2268 * string/argz-stringify.c: Likewise.
2269 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2270 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2271 Declare hidden proto.
2272 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2273 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2274 Declare hidden proto.
2275 * include/stdio.h (__asprintf_internal): Don't declare.
2276 (__asprintf): Don't define as macro. Declare hidden proto.
2277 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2278 (__fsetlocking): Declare hidden proto.
2279 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2280 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2281 hidden proto.
2282 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2283 (_IO_setlinebuf): Remove use of INTUSE.
2284 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2285 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2286 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2287 Remove declaration.
2288 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2289 (_IO_do_flush): Remove use of INTUSE.
2290 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2291 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2292 (_IO_adjust_column, _IO_least_wmarker)
2293 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2294 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2295 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2296 (_IO_default_doallocate, _IO_wdefault_doallocate)
2297 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2298 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2299 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2300 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2301 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2302 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2303 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2304 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2305 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2306 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2307 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2308 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2309 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2310 proto.
2311 (_IO_flush_all_internal, _IO_adjust_column_internal)
2312 (_IO_default_uflow_internal, _IO_default_finish_internal)
2313 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2314 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2315 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2316 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2317 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2318 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2319 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2320 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2321 (_IO_file_close_internal, _IO_file_close_it_internal)
2322 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2323 (_IO_file_init_internal, _IO_file_attach_internal)
2324 (_IO_file_fopen_internal, _IO_file_read_internal)
2325 (_IO_file_sync_internal, _IO_file_seek_internal)
2326 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2327 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2328 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2329 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2330 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2331 (_IO_list_all_internal, _IO_link_in_internal)
2332 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2333 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2334 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2335 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2336 (_IO_do_write_internal, _IO_padn_internal)
2337 (_IO_getline_info_internal, _IO_getline_internal)
2338 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2339 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2340 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2341 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2342 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2343 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2344 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2345 with libc_hidden_ver, remove use of INTUSE.
2346 * libio/genops.c: Likewise.
2347 * libio/freopen.c: Likewise.
2348 * libio/freopen64.c: Likewise.
2349 * libio/iofclose.c: Likewise.
2350 * libio/iofdopen.c: Likewise.
2351 * libio/iofflush.c: Likewise.
2352 * libio/iofflush_u.c: Likewise.
2353 * libio/iofgets.c: Likewise.
2354 * libio/iofgets_u.c: Likewise.
2355 * libio/iofopen.c: Likewise.
2356 * libio/iofopncook.c: Likewise.
2357 * libio/iofread.c: Likewise.
2358 * libio/iofread_u.c: Likewise.
2359 * libio/ioftell.c: Likewise.
2360 * libio/iofwrite.c: Likewise.
2361 * libio/iogetline.c: Likewise.
2362 * libio/iogets.c: Likewise.
2363 * libio/iogetwline.c: Likewise.
2364 * libio/iopadn.c: Likewise.
2365 * libio/iopopen.c: Likewise.
2366 * libio/ioseekoff.c: Likewise.
2367 * libio/ioseekpos.c: Likewise.
2368 * libio/iosetbuffer.c: Likewise.
2369 * libio/iosetvbuf.c: Likewise.
2370 * libio/ioungetc.c: Likewise.
2371 * libio/ioungetwc.c: Likewise.
2372 * libio/iovdprintf.c: Likewise.
2373 * libio/iovsprintf.c: Likewise.
2374 * libio/iovsscanf.c: Likewise.
2375 * libio/memstream.c: Likewise.
2376 * libio/obprintf.c: Likewise.
2377 * libio/oldfileops.c: Likewise.
2378 * libio/oldiofclose.c: Likewise.
2379 * libio/oldiofdopen.c: Likewise.
2380 * libio/oldiofopen.c: Likewise.
2381 * libio/oldiopopen.c: Likewise.
2382 * libio/oldstdfiles.c: Likewise.
2383 * libio/putc.c: Likewise.
2384 * libio/setbuf.c: Likewise.
2385 * libio/setlinebuf.c: Likewise.
2386 * libio/stdfiles.c: Likewise.
2387 * libio/strops.c: Likewise.
2388 * libio/vasprintf.c: Likewise.
2389 * libio/vscanf.c: Likewise.
2390 * libio/vsnprintf.c: Likewise.
2391 * libio/vswprintf.c: Likewise.
2392 * libio/wfiledoalloc.c: Likewise.
2393 * libio/wfileops.c: Likewise.
2394 * libio/wgenops.c: Likewise.
2395 * libio/wmemstream.c: Likewise.
2396 * libio/wstrops.c: Likewise.
2397 * libio/__fpurge.c: Likewise.
2398 * libio/__fsetlocking.c: Likewise.
2399 * assert/assert.c: Likewise.
2400 * debug/fgets_chk.c: Likewise.
2401 * debug/fgets_u_chk.c: Likewise.
2402 * debug/fread_chk.c: Likewise.
2403 * debug/fread_u_chk.c: Likewise.
2404 * debug/gets_chk.c: Likewise.
2405 * debug/obprintf_chk.c: Likewise.
2406 * debug/vasprintf_chk.c: Likewise.
2407 * debug/vdprintf_chk.c: Likewise.
2408 * debug/vsnprintf_chk.c: Likewise.
2409 * debug/vsprintf_chk.c: Likewise.
2410 * malloc/mtrace.c: Likewise.
2411 * misc/error.c: Likewise.
2412 * misc/syslog.c: Likewise.
2413 * stdio-common/asprintf.c: Likewise.
2414 * stdio-common/fxprintf.c: Likewise.
2415 * stdio-common/getw.c: Likewise.
2416 * stdio-common/isoc99_fscanf.c: Likewise.
2417 * stdio-common/isoc99_scanf.c: Likewise.
2418 * stdio-common/isoc99_vfscanf.c: Likewise.
2419 * stdio-common/isoc99_vscanf.c: Likewise.
2420 * stdio-common/isoc99_vsscanf.c: Likewise.
2421 * stdio-common/printf-prs.c: Likewise.
2422 * stdio-common/printf_fp.c: Likewise.
2423 * stdio-common/printf_fphex.c: Likewise.
2424 * stdio-common/printf_size.c: Likewise.
2425 * stdio-common/putw.c: Likewise.
2426 * stdio-common/scanf.c: Likewise.
2427 * stdio-common/sprintf.c: Likewise.
2428 * stdio-common/tmpfile.c: Likewise.
2429 * stdio-common/vfprintf.c: Likewise.
2430 * stdio-common/vfscanf.c: Likewise.
2431 * stdlib/strfmon_l.c: Likewise.
2432 * sunrpc/openchild.c: Likewise.
2433 * sunrpc/xdr_stdio.c: Likewise.
2434 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2435 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2436
2437 2012-05-24 Roland McGrath <roland@hack.frob.com>
2438
2439 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2440
2441 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2442 in the third column, to generate for the shared library an IFUNC
2443 that uses _dl_vdso_vsym.
2444 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2445 * Makeconfig (object-suffixes-noshared): New variable.
2446
2447 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2448 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2449 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2450 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2451
2452 [BZ #14132]
2453 * include/sys/time.h (__gettimeofday): Remove macro.
2454 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2455 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2456 Remove INTDEF.
2457 (__gettimeofday): Add libc_hidden_def.
2458 (gettimeofday): Add libc_hidden_weak.
2459 * sysdeps/mach/gettimeofday.c: Likewise.
2460 * sysdeps/posix/gettimeofday.c: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2464 (__gettimeofday_internal): Remove strong_alias.
2465 (__gettimeofday): Add libc_hidden_def.
2466 (gettimeofday): Add libc_hidden_weak.
2467 * sysdeps/unix/syscalls.list (gettimeofday):
2468 Remove __gettimeofday_internal alias.
2469
2470 2012-05-24 Daniel Jacobowitz <drow@false.org>
2471 H.J. Lu <hongjiu.lu@intel.com>
2472
2473 [BZ #12495]
2474 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2475 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2476 (largebin_index_32_big): New.
2477 (largebin_index): Use it for 16-byte alignment.
2478 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2479 correction with front_misalign.
2480
2481 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2485 Likewise.
2486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2487 Likewise.
2488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2489 Likewise.
2490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2491 Likewise.
2492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2493 Likewise.
2494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2495 Likewise.
2496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2497 Likewise.
2498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2499 Likewise.
2500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2501 Likewise.
2502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2503 Likewise.
2504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2505 Likewise.
2506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2507 Likewise.
2508
2509 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2510 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2511
2512 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2513
2514 [BZ #10846]
2515 [BZ #14036]
2516 * math/libm-test.inc (exp_test): Add test from bug 14036.
2517 (pow_test): Add test from bug 10846.
2518
2519 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2520 and other flags.
2521 (special_function): Do not include flags in test name.
2522 (parse_args): Likewise.
2523 * sysdeps/i386/fpu/libm-test-ulps: Update.
2524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2525 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2526 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2528
2529 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2530 exceptions.
2531 * math/libm-test.inc ("Philosophy"): Update comment about
2532 exception testing.
2533 (UNDERFLOW_EXCEPTION): New macro.
2534 (UNDERFLOW_EXCEPTION_OK): Likewise.
2535 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2536 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2537 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2538 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2539 (INVALID_EXCEPTION_OK): Update value.
2540 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2541 (OVERFLOW_EXCEPTION_OK): Likewise.
2542 (IGNORE_ZERO_INF_SIGN): Likewise.
2543 (test_exceptions): Handle underflow exceptions.
2544 (acos_test): Update for underflow exception expectations.
2545 (cexp_test): Likewise.
2546 (clog_test): Likewise.
2547 (clog10_test): Likewise.
2548 (csqrt_test): Likewise.
2549 (ctan_test): Likewise.
2550 (ctanh_test): Likewise.
2551 (exp_test): Likewise.
2552 (exp10_test): Likewise.
2553 (exp2_test): Likewise.
2554 (expm1_test): Likewise.
2555 (fma_test): Likewise.
2556 (j0_test): Likewise.
2557 (jn_test): Likewise.
2558 (nexttoward_test): Likewise.
2559 (pow_test): Likewise.
2560 (scalbn_test): Likewise.
2561 (scalbln_test): Likewise.
2562 (tan_test): Likewise.
2563 (y1_test): Likewise.
2564 * sysdeps/i386/fpu/libm-test-ulps: Update.
2565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2566
2567 2012-05-23 David S. Miller <davem@davemloft.net>
2568
2569 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2570 (__libc_sigaction): Remove unused local variables.
2571
2572 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2573
2574 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2575
2576 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2577
2578 mktime: avoid signed integer overflow
2579 * time/mktime.c (__mktime_internal): Do not mishandle the case
2580 where diff == INT_MIN.
2581
2582 mktime: simplify computation of average
2583 * time/mktime.c (ranged_convert): Use new time_t_avg function
2584 instead of rolling our own (probably-slower) code.
2585
2586 mktime: do not assume signed right shift propagates sign bit
2587 * time/mktime.c (isdst_differ): New static function.
2588 (__mktime_internal): No need to normalize tm_isdst now.
2589 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2590 tm_isdst values.
2591
2592 mktime: merge another wrapv change from gnulib
2593 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2594 from some compilers.
2595
2596 mktime: remove incorrect attempt at unusual arithmetics
2597 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2598 The code didn't really work on such machines anyway.
2599 (TYPE_MINIMUM): Assume two's complement.
2600 (twos_complement_arithmetic): Verify that long_int and time_t
2601 are two's complement (or unsigned, in the latter case).
2602
2603 mktime: check signed shifts on long_int and time_t, too
2604 * time/mktime.c (SHR): Check that shifts work as desired
2605 on the types long_int and time_t too, as SHR is used on
2606 such types.
2607
2608 mktime: do not assume 'long' is wide enough
2609 * time/mktime.c (verify): Move decl up.
2610 (long_int): New type.
2611 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2612 to remove assumption in the code that 'long' is wide enough to
2613 store year values. This assumption is not true on x32 and on
2614 some non-glibc platforms.
2615
2616 mktime: merge wrapv change from gnulib
2617 * time/mktime.c (WRAPV): New macro.
2618 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2619 (guess_time_tm, __mktime_internal): Do not assume that signed
2620 integer overflow wraps around; modern compilers generate code
2621 where this assumption is no longer valid.
2622
2623 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2626 Replace "jmp L(pseudo_end)" with "ret".
2627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2628 Likewise.
2629
2630 2012-05-23 Andreas Jaeger <aj@suse.de>
2631
2632 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2633 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2634
2635 2012-05-23 Andreas Jaeger <aj@suse.de>
2636 Maximilian Attems <max@stro.at>
2637
2638 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2639 New macros.
2640
2641 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2644 code so that pseudo_end is just ret and the stack pointer is
2645 correct also for static library in error case.
2646
2647 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2648
2649 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2650 move to syscalls.list.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2655
2656 * manual/install.texi (Running make install): Do not mention Linux
2657 kernel version for which pt_chown is not needed.
2658 (Linux): Do not mention problems with nscd with 2.0 kernels.
2659 * INSTALL: Regenerated.
2660
2661 2012-05-23 Andreas Jaeger <aj@suse.de>
2662
2663 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2664 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2665 macro.
2666 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2667 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2668 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2669 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2670 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2671 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2674 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2676 * sysdeps/unix/sysv/linux/bits/in.h
2677 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2678
2679 2012-05-22 Roland McGrath <roland@hack.frob.com>
2680
2681 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2682 (PREPARE_VERSION): Just use assert instead, it will be elided
2683 under [NDEBUG] anyway.
2684
2685 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 * sysdeps/unix/sysv/linux/Makefile: Include
2688 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2689 (sysdep_routines): Remove sysctl.
2690 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2691 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2692 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2693 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2694 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2695
2696 2012-05-22 Andreas Jaeger <aj@suse.de>
2697
2698 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2699 that pseudo_end is just ret and the stack pointer is correct also
2700 for static library in error case.
2701
2702 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2703
2704 [BZ #14122]
2705 * nss/nsswitch.c (defconfig_entries): New variable.
2706 (__nss_database_lookup): Don't leak defconfig entries.
2707 (nss_parse_service_list): Don't leak on error paths.
2708 (free_database_entries): New function.
2709 (free_defconfig): New function.
2710 (free_mem): Move common code to free_database_entries.
2711
2712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2715 Add arch_prctl.
2716 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2717
2718 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2719 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2721 New macro.
2722 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2723 (INTERNAL_SYSCALL_TYPES): Likewise.
2724 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2725 (LOAD_REGS_TYPES_[1-6]): Likewise.
2726 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2727 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2728
2729 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2730
2731 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2732 copysignl for GLIBC_2_0.
2733 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2734 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2736 logbl for GLIBC_2_0.
2737 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2738 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2739
2740 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2741
2742 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2743 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2744
2745 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2746 Use "neg %eax".
2747
2748 * time/mktime.c: Update copyright years.
2749
2750 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2751
2752 mktime: merge comment-quoting-style change from gnulib
2753 * time/mktime.c: Quote 'like this' in comments.
2754 The GNU coding standards suggest that we no longer quote `like this',
2755 as "`" and "'" are typically rendered asymmetrically nowadays.
2756 The typical gnulib style is to quote 'like this' when quoting
2757 code, and "like this" when quoting English.
2758
2759 * time/mktime.c (compile-command): Add "-I.".
2760
2761 mktime: merge mktime-internal.h change from gnulib
2762 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2763
2764 mktime: merge time_r change from gnulib
2765 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2766
2767 mktime: merge DEBUG change from gnulib
2768 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2769 case system <time.h> has a #define.
2770
2771 mktime: merge <sys/types.h> change from gnulib
2772 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2773 since <time.t> is now guaranteed to define time_t.
2774
2775 mktime: merge HAVE_CONFIG_H change from gnulib
2776 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2777
2778 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2779
2780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2781 Use "neg %eax".
2782
2783 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2784 __rlim_t cast.
2785 (struct rusage): Use anonymous union to pad each field to
2786 __syscall_slong_t.
2787
2788 2012-05-21 David S. Miller <davem@davemloft.net>
2789
2790 * Makefules (o-iterator): Remove .s cases.
2791 (compile-command.s): Delete.
2792 (COMPILE.s): Delete.
2793 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2794
2795 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2796
2797 * configure.in (libc_cv_predef_stack_protector): Only consider
2798 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2799 * configure: Regenerated.
2800
2801 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2804 New macro. Use R*LP on int and pointer.
2805 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2806 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2808 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2809
2810 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2811 [__WORDSIZE_TIME64_COMPAT32] instead of
2812 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2813 (struct utmp): Likewise.
2814 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2815 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2816 Renamed to ...
2817 (__WORDSIZE_TIME64_COMPAT32): This.
2818 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2819 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2820 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2822 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2823 (__WORDSIZE_TIME64_COMPAT32): New macro.
2824
2825 2012-05-21 Andreas Jaeger <aj@suse.de>
2826
2827 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2828 only if [SHARED]. Add prototype for __wcschr_ia32.
2829
2830 2012-05-21 Roland McGrath <roland@hack.frob.com>
2831
2832 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2833 of %rbp unmolested in the jmp_buf while mangling the low bits.
2834 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2835 unmolested high bits of %rbp while demangling the low bits.
2836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2837
2838 2012-05-21 Andreas Jaeger <aj@suse.de>
2839
2840 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2841 * sunrpc/svc_simple.c: Use it for registerrpc.
2842 * sunrpc/xcrypt.c: Use it for passwd2des.
2843
2844 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2845
2846 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2849 Don't define if [__SYSCALL_WORDSIZE != 32].
2850 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2851 New macro.
2852
2853 2012-05-21 Bruno Haible <bruno@clisp.org>
2854 Andreas Jaeger <aj@suse.de>
2855
2856 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2857 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2858 inptr and inend for must_buffer_ch.
2859 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2860 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2861 * stdio-common/Makefile (tests): Remove bug15.
2862 (bug15-ENV): Remove macro.
2863 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2864 anymore.
2865
2866 2012-05-19 Andreas Jaeger <aj@suse.de>
2867 Roland McGrath <roland@hack.frob.com>
2868
2869 * manual/contrib.texi: Completely rewritten. It contains now an
2870 alphabetical list of contributors and their contributions.
2871
2872 2012-05-21 Richard Henderson <rth@twiddle.net>
2873
2874 * misc/getauxval.c (__getauxval): Use unsigned long int.
2875 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2876 (getauxval): Use unsigned long int.
2877
2878 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2879
2880 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2881
2882 2012-05-21 Roland McGrath <roland@hack.frob.com>
2883
2884 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2885 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2886 __alignof__ (long double).
2887
2888 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2889
2890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2891
2892 2012-05-20 Richard Henderson <rth@twiddle.net>
2893
2894 * misc/getauxval.c: New file.
2895 * misc/sys/auxv.h: New file.
2896 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2897 (routines): Add getauxval.
2898 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2899 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2900 * elf/dl-sysdep.c (_dl_auxv): Remove.
2901 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2902 * elf/dl-support.c (_dl_auxv): New variable.
2903 (_dl_aux_init): Initialize it.
2904 * manual/startup.texi (Auxiliary Vector): New node.
2905 * sysdeps/generic/bits/hwcap.h: New file.
2906 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2907 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2908 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2909 * sysdeps/sparc/sysdep.h: ... here. Include it.
2910 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2911 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2913 Update.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2917 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2922
2923 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2924
2925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2926
2927 2012-05-19 David S. Miller <davem@davemloft.net>
2928
2929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2930
2931 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #14123]
2934 * math/s_ccosh.c: Include <float.h>
2935 (__ccosh): Avoid internal overflow calculating sinh and cosh
2936 values before multiplying by sin and cos values.
2937 * math/s_ccoshf.c: Likewise.
2938 * math/s_ccoshl.c: Likewise.
2939 * math/s_csin.c: Likewise.
2940 * math/s_csinf.c: Likewise.
2941 * math/s_csinl.c: Likewise.
2942 * math/s_csinh.c: Likewise.
2943 * math/s_csinhf.c: Likewise.
2944 * math/s_csinhl.c: Likewise.
2945 * math/libm-test.inc (ccos_test): Add more tests.
2946 (ccosh_test): Likewise.
2947 (csin_test): Likewise.
2948 (csinh_test): Likewise.
2949 * sysdeps/i386/fpu/libm-test-ulps: Update.
2950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2951
2952 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2953
2954 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2955 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2956
2957 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2958
2959 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2960
2961 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2962 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2963 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2964 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2965 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2966 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2967 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2968 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2969 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2970 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2971 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2972 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2973 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2974 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2975 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2976 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2977 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2978 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2979 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2980 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2981 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2982 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2983 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2984 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2985 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2986 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2987 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2988 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2989 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2990 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2991 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2992
2993 2012-05-18 Andreas Jaeger <aj@suse.de>
2994
2995 * csu/.gitignore: Delete.
2996
2997 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2998
2999 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3000 (timex): Use __syscall_slong_t.
3001
3002 2012-05-18 Andreas Jaeger <aj@suse.de>
3003 Carlos O'Donell <carlos_odonell@mentor.com>
3004
3005 * manual/install.texi (Configuring and compiling): Update
3006 description about files modified in the source directory.
3007 * INSTALL: Regenerated.
3008
3009 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3010
3011 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3012 value. Use "or" to set return value to -1.
3013 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3014 negate return value.
3015
3016 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3017
3018 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3019 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3020 failure if the compiler has Graphite support disabled.
3021 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3022 Likewise.
3023 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3024 CFLAGS-memmove.c): Likewise.
3025 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3026 Likewise.
3027
3028 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3029
3030 * sysdeps/x86_64/x32/_itoa.h: New file.
3031
3032 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3033 getdents system call only if kernel and user dirents have the
3034 same d_ino and d_off.
3035
3036 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3037 LLONG_MAX != LONG_MAX.
3038 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3039 (_fitoa_word): Likewise.
3040
3041 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3042 years.
3043 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3044 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3045 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3046
3047 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3048 include <bits/wordsize.h>. Check __x86_64__ instead of
3049 __WORDSIZE.
3050 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3051 if __x86_64__ is defined. Use anonymous union on fpstate.
3052
3053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3054 anonymous union.
3055
3056 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3057
3058 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3059 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3060 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3061 Refer to _rtld_local_ro instead of _rtld_global_ro.
3062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3063 Likewise.
3064 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3065 Likewise.
3066 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3067 Likewise.
3068 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3069 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3070 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3071
3072 * sysdeps/powerpc/powerpc32/dl-machine.c
3073 (__elf_machine_runtime_setup) [PROF]: Don't reference
3074 _dl_prof_resolve.
3075
3076 2012-05-18 Andreas Jaeger <aj@suse.de>
3077
3078 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3079 function only available for GCCs before 3.4 since GCC 3.4
3080 introduced a builtin.
3081 (lrint): Likewise.
3082 (llrintf): Likewise.
3083 (llrint): Likewise.
3084 (fmaxf): Likewise.
3085 (fmax): Likewise.
3086 (fminf): Likewise.
3087 (fmin): Likewise.
3088 (rint): Likewise.
3089 (rintf): Likewise.
3090 (nearbyint): Likewise.
3091 (nearbyintf): Likewise.
3092 (ceil): Likewise.
3093 (ceilf): Likewise.
3094 (floor): Likewise.
3095 (floorf): Likewise.
3096
3097 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3098
3099 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3100 on both fields and cast pointer to __syscall_ulong_t.
3101
3102 * bits/types.h (__fsword_t): New type.
3103 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3104 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3106 (__FSWORD_T_TYPE): Likewise.
3107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3108 (__FSWORD_T_TYPE): Likewise.
3109 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3110 (__FSWORD_T_TYPE): Likewise.
3111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3112 (__FSWORD_T_TYPE): Likewise.
3113 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3114 __SWORD_TYPE with __fsword_t.
3115 (statfs64): Likewise.
3116
3117 2012-05-17 David S. Miller <davem@davemloft.net>
3118
3119 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3120
3121 2012-05-17 Andreas Jaeger <aj@suse.de>
3122
3123 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3124 warning.
3125
3126 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3127
3128 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3129
3130 2012-05-17 Andreas Jaeger <aj@suse.de>
3131
3132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3133 when it is used.
3134
3135 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3136
3137 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3138
3139 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3140
3141 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3142 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3143
3144 2012-05-17 Andreas Jaeger <aj@suse.de>
3145 Carlos O'Donell <carlos_odonell@mentor.com>
3146
3147 [BZ #14059]
3148 * sysdeps/x86_64/multiarch/init-arch.h
3149 (bit_YMM_Usable): Rename to...
3150 (bit_AVX_Usable): ... this.
3151 (bit_FMA4_Usable): New macro.
3152 (bit_XMM_state): New macro.
3153 (bit_YMM_state): New macro.
3154 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3155 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3156 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3157 (CPUID_OSXSAVE): New macro.
3158 (CPUID_AVX): New macro.
3159 (CPUID_FMA4): New macro.
3160 (index_YMM_Usable): Rename to...
3161 (index_AVX_Usable): ... this.
3162 (HAS_AVX): Use HAS_ARCH_FEATURE.
3163 (HAS_FMA4): Likewise.
3164 (HAS_YMM_USABLE): Remove.
3165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3166 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3167 are present.
3168 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3169 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3170 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3171 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3172 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3173
3174 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3175
3176 * math/libm-test.c: Support platforms without multiple rounding modes.
3177 * math/bug-nextafter.c: Support platforms without FP exceptions.
3178 * math/bug-nexttoward.c: Likewise.
3179 * math/test-fenv.c: Likewise.
3180 * math/test-misc.c: Likewise.
3181 * stdlib/bug-getcontext.c: Likewise.
3182
3183 2012-05-17 Andreas Jaeger <aj@suse.de>
3184
3185 * manual/examples/search.c (critter_cmp): Change signature to
3186 avoid warnings.
3187 * manual/string.texi (Collation Functions): Likewise.
3188
3189 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * bits/types.h: Fold copyright years.
3192 * bits/typesizes.h: Likewise.
3193 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3197 * time/time.h: Likewise.
3198
3199 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3200
3201 [BZ #208]
3202 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3203 in instead of returning them. Return void.
3204 (__libc_mallinfo): Accumulate over all arenas.
3205 (__malloc_stats): Adjust for change in int_mallinfo interface.
3206
3207 2012-05-16 Roland McGrath <roland@hack.frob.com>
3208
3209 [BZ #10375]
3210 * configure.in (NM): Add AC_CHECK_TOOL for it.
3211 (libc_extra_cflags): New substituted variable.
3212 Check for -fstack-protector being used implicitly.
3213 * configure: Regenerated.
3214 * config.make.in (config-extra-cflags): New variable,
3215 gets @libc_extra_cflags@.
3216 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3217
3218 [BZ #10375]
3219 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3220 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3221 * configure: Regenerated.
3222 * config.make.in (CPPUNDEFS): New substituted variable.
3223 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3224 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3225 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3226
3227 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3228
3229 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3230 (mq_attr): Use __syscall_slong_t.
3231
3232 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3233
3234 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3235 Check __x86_64__ instead of __WORDSIZE.
3236 (_STAT_VER_LINUX): Likewise.
3237 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3238 __syscall_ulong_t and __syscall_slong_t.
3239 (stat64): Likewise.
3240
3241 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3242
3243 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3244
3245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3248
3249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3250
3251 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3252 __syscall_ulong_t.
3253
3254 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3255 include <bits/wordsize.h>. Check __x86_64__ instead of
3256 __WORDSIZE.
3257 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3258 defined.
3259 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3260
3261 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3262 include <bits/wordsize.h>. Check __x86_64__ instead of
3263 __WORDSIZE.
3264 (user_regs_struct): Use "__extension__ unsigned long long"
3265 instead of "unsigned long" if __x86_64__ is defined.
3266 (user): Likewise. Pad after pointer field if __ILP32__ is
3267 defined.
3268
3269 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3270
3271 * configure.in (makeinfo): Require version 4.5 or later. Allow
3272 versions 5 to 9.
3273 * configure: Regenerated.
3274 * manual/install.texi (texinfo): Increase version requirement to
3275 4.5 or later.
3276 * INSTALL: Regenerated.
3277
3278 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3279
3280 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3281
3282 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3283
3284 * sysdeps/x86_64/x32/ffs.c: New file.
3285
3286 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3287 __syscall_ulong_t.
3288 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3289 defined. Use __syscall_ulong_t.
3290 (shminfo): Use __syscall_ulong_t.
3291 (shm_info): Likewise.
3292
3293 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3294 __syscall_ulong_t.
3295
3296 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3297 <bits/wordsize.h>.
3298 (msgqnum_t): Use __syscall_ulong_t.
3299 (msglen_t): Likewise.
3300 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3301 __syscall_ulong_t.
3302
3303 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3304 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3305
3306 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3307
3308 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3309 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3310
3311 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3312 __syscall_slong_t.
3313
3314 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3315 include <bits/wordsize.h>. Check __x86_64__ instead of
3316 __WORDSIZE.
3317
3318 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3319 "unsigned long long int" if __x86_64__ is defined.
3320 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3321
3322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3323 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3324 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3325
3326 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3327 <stdint.h>.
3328 (GET_PC): Cast to uintptr_t first.
3329 (GET_FRAME): Likewise.
3330 (GET_STACK): Likewise.
3331
3332 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3333 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3334 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3336 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3338 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3339 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3340 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3341 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3343 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3344 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3345 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3346 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3347 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3348 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3349 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3351 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3353 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3355 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3357 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3358 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3359 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3360 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3361
3362 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3363
3364 * Makerules (+depfiles): Also collect depfiles from .oS in
3365 $(extra-objs).
3366 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3367 .oS, $(libnldbl-routines)).
3368
3369 * Makerules (native-compile-mkdep-flags): Define.
3370 * sunrpc/Makefile (extra-objs): Add $(addprefix
3371 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3372 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3373 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3374 calling $(make-target-directory).
3375
3376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3377
3378 * bits/types.h (__snseconds_t): Removed.
3379 * time/time.h (struct timespec): Replace __snseconds_t with
3380 __syscall_slong_t.
3381 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3382 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3383 Likewise.
3384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3385 (__SNSECONDS_T_TYPE): Likewise.
3386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3387 (__SNSECONDS_T_TYPE): Likewise.
3388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3389 (__SNSECONDS_T_TYPE): Likewise.
3390
3391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3392
3393 * sysdeps/mach/hurd/bits/typesizes.h
3394 (__SYSCALL_SLONG_TYPE): New macro.
3395 (__SYSCALL_ULONG_TYPE): Likewise.
3396
3397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3398
3399 * bits/types.h (__syscall_slong_t): New type.
3400 (__syscall_ulong_t): Likewise.
3401
3402 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3403 (__SYSCALL_ULONG_TYPE): Likewise.
3404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3405 (__SYSCALL_SLONG_TYPE): Likewise.
3406 (__SYSCALL_ULONG_TYPE): Likewise.
3407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3408 (__SYSCALL_SLONG_TYPE): Likewise.
3409 (__SYSCALL_ULONG_TYPE): Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3411 (__SYSCALL_SLONG_TYPE): Likewise.
3412 (__SYSCALL_ULONG_TYPE): Likewise.
3413
3414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3417 Add sigaltstack-offsets.sym.
3418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3419 <sigaltstack-offsets.h>.
3420 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3421 longjmp_msg pointer.
3422 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3423 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3424 signal stack.
3425 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3426
3427 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3428
3429 * elf/stackguard-macros.h: Remove file.
3430 * sysdeps/generic/stackguard-macros.h: New file.
3431 * sysdeps/i386/stackguard-macros.h: Likewise.
3432 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3433 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3434 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3435 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3436 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3437 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3438 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3439 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3440 <elf/stackguard-macros.h>.
3441
3442 [BZ #14109]
3443 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3444 __aligned__ in attribute.
3445 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3446 (gregset_t): Likewise.
3447
3448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3451 * sysdeps/x86_64/64/Implies-after: Here. New file.
3452 * sysdeps/x86_64/x32/Implies-after: New file.
3453
3454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3457 and access return value for _dl_profile_fixup. Use R10_LP to
3458 load frame size.
3459
3460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3463
3464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3467 * sysdeps/x86_64/x32/sysdep.h: New file.
3468
3469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3472 * sysdeps/x86_64/setjmp.S: Likewise.
3473
3474 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3475
3476 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3477 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3478 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3480 remove unused global constant.
3481
3482 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3483
3484 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3485 include of <not-cancel.h>.
3486
3487 2012-05-15 Roland McGrath <roland@hack.frob.com>
3488
3489 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3490
3491 2012-05-15 Jeff Law <law@redhat.com>
3492 Andreas Jaeger <aj@suse.de>
3493
3494 [BZ #13594]
3495 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3496 out from...
3497 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3498 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3499 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3500 code changing __hst_map_handle.map.
3501
3502 2012-05-15 Roland McGrath <roland@hack.frob.com>
3503
3504 * configure.in (sysnames): Look for Implies-before and Implies-after
3505 files.
3506 * configure: Regenerated.
3507
3508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3509
3510 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3511 8-byte data alignment with LP_SIZE alignment.
3512
3513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3516 into R10_LP.
3517
3518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3519
3520 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3521
3522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3523
3524 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3525 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3527 Likewise.
3528 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3529
3530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3531
3532 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3533 (stackinfo_sub_sp): Likewise.
3534
3535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3536
3537 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3538 RAX_LP.
3539
3540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3541
3542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3543 into R*_LP.
3544
3545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3548 sizes into R*_LP.
3549
3550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3551
3552 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3553
3554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3557 into R11_LP and load __x86_64_shared_cache_size_half into
3558 R8_LP.
3559
3560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3563 R8_LP.
3564
3565 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3566
3567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3568 logb for POWER7.
3569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3570 logbf for POWER7.
3571 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3572 logbl for POWER7.
3573 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3574 powerpc32/power7/fpu/s_logb.c via #include.
3575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3576 powerpc32/power7/fpu/s_logbf.c via #include.
3577 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3578 powerpc32/power7/fpu/s_logbl.c via #include.
3579
3580 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3581
3582 * README.libm: Remove file.
3583
3584 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3585
3586 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3587 count for x32. Use R*_LP and omit operand-size suffix.
3588
3589 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3590
3591 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3592 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3593 * sysdeps/x86_64/x32/shlib-versions: New file.
3594
3595 2012-05-14 Roland McGrath <roland@hack.frob.com>
3596
3597 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3598 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3599 Use _dl_fatal_printf instead.
3600
3601 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3602
3603 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3604 set if not set by the user. Do not allow for being unset.
3605 * sysdeps/unix/sysv/linux/configure: Regenerated.
3606
3607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3608
3609 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3610 the `q' suffix from lea and replace .quad with ASM_ADDR.
3611
3612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3615 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3616 instead of $17.
3617 (PTR_DEMANGLE): Likewise.
3618
3619 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3620
3621 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3622 (LP_OP): Likewise.
3623 (ASM_ADDR): Likewise.
3624 (RAX_LP): Likewise.
3625 (RBP_LP): Likewise.
3626 (RBX_LP): Likewise.
3627 (RCX_LP): Likewise.
3628 (RDI_LP): Likewise.
3629 (RSI_LP): Likewise.
3630 (RSP_LP): Likewise.
3631 (R8_LP): Likewise.
3632 (R9_LP): Likewise.
3633 (R10_LP): Likewise.
3634 (R10_LP): Likewise.
3635 (R11_LP): Likewise.
3636 (R12_LP): Likewise.
3637 (R13_LP): Likewise.
3638 (R14_LP): Likewise.
3639 (R15_LP): Likewise.
3640
3641 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3642
3643 * sysdeps/x86_64/x32/dl-machine.h: New file.
3644
3645 2012-05-14 Andreas Jaeger <aj@suse.de>
3646
3647 * manual/Makefile (subdir): Remove export of subdir.
3648 (all): Remove target.
3649 (.PHONY): Remove all from list.
3650 (mkinstalldirs): Remove.
3651 (.PHONY): Remove installdirs from list.
3652 ($(inst_infodir)/libc.info): Use make-target-directory.
3653 (installdirs): Remove.
3654 (subdir_%): Remove.
3655 (glibc-targets): Remove.
3656 (lib): Remove.
3657 (stubs): Remove.
3658 ($(objpfx)stubs ../po/manual.pot): Remove.
3659 ($(objpfx)stamp%): Remove.
3660 (make-target-directory): Remove.
3661 (subdir_install): Remove.
3662 (routines): Remove.
3663 (aux): Remove.
3664 (sources): Remove.
3665 (objects): Remove.
3666 (headers): Remove.
3667
3668 [BZ #13750]
3669 * manual/.gitignore: Remove, it's not needed anymore.
3670 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3671 all files in it.
3672 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3673 directory.
3674 (texis): Renamed to $(objpfx)texis.
3675 (texis-path): New, contains path to generated files.
3676 (chapters.%): Use texis-path for complete path, add extra argument
3677 libc-texinfo.sh.
3678 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3679 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3680 (summary,texi, stamp-summary): Use complete path of
3681 files. Generate files in build dir.
3682 (dir-add.texi): Build in build dir.
3683 (libm-err.texi,stamp-libm-err): Likewise.
3684 (version.texi, stamp-version): Likewise.
3685 (.%c.texi): Likewise.
3686 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3687 (mostlyclean): Remove target.
3688 (realclean): Remove target.
3689 (generated): Add new variable with contents from mostlyclean and
3690 realclean, remove entries duplicated in common-mostlyclean, add
3691 stamp-libm-err and stamp-version.
3692 (generated-dirs): Add libc directory.
3693 ($(inst_infodir)/libc.info): Install files from build dir.
3694
3695 * manual/install.texi (Configuring and compiling): Adjust since
3696 the info files are not part of the tar ball anymore.
3697
3698 2012-05-14 Andreas Jaeger <aj@suse.de>
3699
3700 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3701 variable.
3702
3703 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3704
3705 [BZ #13717]
3706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3707 to 2.2.0 where earlier.
3708 * sysdeps/unix/sysv/linux/configure: Regenerated.
3709 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3710 Remove conditional code.
3711 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3712 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3713 Remove conditional code.
3714 [!__NR_lchown]: Likewise.
3715 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3716 [__NR_lchown]: Likewise.
3717 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3718 comment referencing __ASSUME_LCHOWN_SYSCALL.
3719 * sysdeps/unix/sysv/linux/i386/sigaction.c
3720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3722 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3723 Remove conditional code.
3724 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3725 (__protocol_available): Remove #if 0 code.
3726 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3727 conditional code.
3728 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3729 * sysdeps/unix/sysv/linux/kernel-features.h
3730 (__ASSUME_GETCWD_SYSCALL): Don't define.
3731 (__ASSUME_REALTIME_SIGNALS): Likewise.
3732 (__ASSUME_PREAD_SYSCALL): Likewise.
3733 (__ASSUME_PWRITE_SYSCALL): Likewise.
3734 (__ASSUME_POLL_SYSCALL): Likewise.
3735 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3736 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3737 non-SPARC.
3738 (__ASSUME_SIOCGIFNAME): Don't define.
3739 (__ASSUME_MSG_NOSIGNAL): Likewise.
3740 (__ASSUME_SENDFILE): Define unconditionally.
3741 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3742 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3743 conditional code.
3744 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3745 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3746 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3747 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3748 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3749 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3750 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3752 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3755 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3761 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3764 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3765 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3767 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3768 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3770 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3771 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3773 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3774 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3775 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3776 Remove conditional code.
3777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3778 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3779 Remove conditional code.
3780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3781 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3782 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3783 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3784 Remove conditional code.
3785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3786 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3787 Remove conditional code.
3788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3789 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3790 Remove conditional code.
3791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3792 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3793 Remove conditional code.
3794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3795 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3796 Remove conditional code.
3797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3798 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3799 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3800 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3801 * sysdeps/unix/sysv/linux/sigaction.c
3802 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3803 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3804 * sysdeps/unix/sysv/linux/sigpending.c
3805 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3806 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3807 * sysdeps/unix/sysv/linux/sigprocmask.c
3808 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3809 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3810 * sysdeps/unix/sysv/linux/sigsuspend.c
3811 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3812 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3813 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3814 (__libc_missing_rt_sigs): Remove.
3815 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3816 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3817 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3818 Remove conditional code.
3819 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3820 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3821 return 1.
3822 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3823 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3824 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3825 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3826
3827 2012-05-14 Andreas Jaeger <aj@suse.de>
3828
3829 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3830 it's not used in glibc.
3831 (__coshm1): Likewise.
3832 (__acosh1p): Likewise.
3833 (__sgn): Likewise.
3834
3835 * manual/string.texi (Copying and Concatenation): Add missing
3836 variable in concat example.
3837 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3838
3839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 [BZ #14103]
3842 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3843 __builtin_clzl with __builtin_clzll.
3844
3845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 [BZ #14104]
3848 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3849 libc_freeres_ptr.
3850
3851 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3852
3853 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3854 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3855 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3856 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3857
3858 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3859
3860 * NEWS: Update ia64 info.
3861
3862 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3863
3864 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3865 used as bcopy.
3866
3867 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3868
3869 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3870 * sysdeps/unix/syscalls.list (dup3): Likewise.
3871 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3872 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3873
3874 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3875
3876 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3877 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3878
3879 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3880
3881 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3882 thread pointer.
3883 (TLS_IE): Use mov/add instead of movq/addq to load thread
3884 pointer.
3885 (TLS_GD_PREFIX): New.
3886 (TLS_GD): Use it.
3887
3888 2012-05-11 David S. Miller <davem@davemloft.net>
3889
3890 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3891 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3892 (_FPU_SETCW): Likewise.
3893
3894 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3895
3896 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3897 is 32-byte aligned.
3898
3899 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3900
3901 [BZ #11837]
3902 * iconvdata/gb18030.c: Update tables.
3903 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3904 characters specially.
3905 (BODY for TO_LOOP): Add encoding of missing ranges.
3906
3907 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3908
3909 [BZ #13673]
3910 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3911 * sysdeps/mach/hurd/dup3.c: Likewise.
3912 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3913 * sysdeps/powerpc/memmove.c:: Likewise.
3914
3915 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3918 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3919
3920 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 * elf/elf.h (R_X86_64_RELATIVE64): New.
3923 (R_X86_64_NUM): Updated.
3924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3925 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3926 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3927 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3928 tst-quad1pie tst-quad2pie
3929 (modules-names): Add tst-quadmod1 tst-quadmod2.
3930 ($(objpfx)tst-quad1): New dependency.
3931 ($(objpfx)tst-quad2): Likewise.
3932 ($(objpfx)tst-quad1pie): Likewise.
3933 ($(objpfx)tst-quad2pie): Likewise.
3934 * sysdeps/x86_64/tst-quad1.c: New file.
3935 * sysdeps/x86_64/tst-quad1pie.c: New file.
3936 * sysdeps/x86_64/tst-quad2.c: Likewise.
3937 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3938 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3939 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3940 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3941 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3942
3943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3944
3945 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3946 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3947 * streams/stropts.h (t_scalar_t): Define type.
3948
3949 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3950 (_PATH_PRESERVE): Set to "/var/lib".
3951 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3952
3953 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3954 instead of int.
3955
3956 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3957 if __dir_mkfile succeeded.
3958
3959 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3960 checking for _hurd_dtablesize. Unlock it right after having
3961 finished _hurd_dtable allocation.
3962
3963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3964
3965 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3966 * sysdeps/mach/hurd/configure: Regenerated.
3967 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3968 special-casing to...
3969 * sysdeps/gnu/configure.in: ... this new file.
3970 * sysdeps/unix/sysv/linux/configure: Regenerated.
3971 * sysdeps/gnu/configure: New generated file.
3972
3973 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3974 for Linux: use nsec instead of usec, as well as:
3975 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3976 members of type struct timespec.
3977 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3978 New macros.
3979 (struct stat64): Likewise.
3980 (_STATBUF_ST_NSEC): New macro.
3981 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3982
3983 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3984 __strtoul_internal rather than strtoul.
3985
3986 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3987
3988 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3989 and reject them.
3990
3991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3992
3993 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3994 which preserves existing values.
3995 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3996
3997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3998
3999 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4000 TIMEOUT values. Return EINVAL for NFDS values either negative or
4001 greater than FD_SETSIZE.
4002
4003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4004
4005 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4006 allocated, call __vm_protect to finish enabling the existing space, and
4007 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4008 allocate the remainder.
4009
4010 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4011
4012 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4013 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4014
4015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4016
4017 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4018 sysdeps/mach/hurd/readlink.c.
4019
4020 * posix/tst-sysconf.c (posix_options): Only use
4021 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4022 _POSIX_SYNCHRONIZED_IO when they are defined
4023 * sysdeps/mach/hurd/bits/posix_opt.h:
4024 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4025 (_XOPEN_REALTIME): Undefine macro.
4026 (_XOPEN_REALTIME_THREADS): Undefine macro.
4027 (_XOPEN_SHM): Undefine macro.
4028 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4029 macro to -1.
4030 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4031 macro to -1.
4032 (_POSIX_ASYNC_IO): Undefine macro.
4033 (_POSIX_PRIORITIZED_IO): Undefine macro.
4034 (_POSIX_SPIN_LOCKS): Define macro to -1.
4035
4036 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4037 SA_NODEFER, SA_RESETHAND.
4038 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4039 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4040 F_DUPFD_CLOEXEC.
4041
4042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4043
4044 * elf/Makefile (pldd-modules): Define unconditionally.
4045
4046 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4047
4048 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4049
4050 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4051
4052 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4053 Return ENOENT when name is empty.
4054 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4055
4056 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4057
4058 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4059
4060 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4061
4062 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4063
4064 Fix mlock in all cases except non-readable pages.
4065 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4066 instead of VM_PROT_ALL as parameter to __vm_wire function.
4067
4068 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4069 (__mkdir): When path is `/', just fail with EEXIST.
4070 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4071
4072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4073
4074 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4075 <sys/uio.h> (for writev).
4076 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4077 and <sys/param.h> (for MIN).
4078
4079 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4080
4081 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4082 REQUESTED_TIME. Properly set the remaining time and return EINTR
4083 if interrupted.
4084
4085 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4086
4087 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4088 Depend on against $(link-rpcuserlibs).
4089
4090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4091
4092 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4093 (__libc_stack_end): Do not use attribute_relro.
4094 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4095 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4096 to libthread-provided value.
4097 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4098 attribute_relro.
4099
4100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4101
4102 [BZ #3748]
4103 * bits/libc-lock.h (__libc_once_get): New macro.
4104 * sysdeps/mach/bits/libc-lock.h: Likewise.
4105 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4106 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4107 instead of using implementation details.
4108
4109 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4110 * libio/freopen.c: Likewise.
4111 * libio/freopen64.c: Likewise.
4112 * misc/syslog.c: Likewise.
4113 * nscd/connections.c: Likewise.
4114 * nscd/netgroupcache.c: Likewise.
4115 * sysdeps/posix/getcwd.c: Likewise.
4116
4117 2012-05-10 Roland McGrath <roland@hack.frob.com>
4118
4119 * math/w_ilogbf.c: Add #include <limits.h>.
4120
4121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4122
4123 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4124 path instead of returning without unlocking.
4125
4126 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4127 immediate-write ioctls.
4128 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4129
4130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4131
4132 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4133 __builtin_frame_address instead of making assumptions about the
4134 location of the return address relative to DATA. Force early load of
4135 the return address.
4136 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4137 __builtin_frame_address.
4138
4139 dup3 for GNU Hurd.
4140 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4141 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4142 implement dup3 and do some further code clean-ups.
4143 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4144 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4145
4146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4147
4148 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4149
4150 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4151 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4152 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4153 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4154 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4155 d->port.lock.
4156
4157 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4158 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4159 when handler == SIG_ERR, not when handler != SIG_ERR.
4160
4161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4162
4163 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4164 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4165 definitions.
4166
4167 accept4 for GNU Hurd.
4168 * include/sys/socket.h (__libc_accept4): New prototype.
4169 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4170 to implement __libc_accept4.
4171 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4172 __libc_accept4.
4173 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4174
4175 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4176 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4177 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4178 signal-defines.sym.
4179
4180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4181
4182 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4183
4184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4185
4186 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4187 assertion on O_CLOEXEC flag.
4188 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4189 * hurd/intern-fd.c: Likewise.
4190 * hurd/port2fd.c: Likewise.
4191
4192 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4193
4194 [BZ #3906]
4195 * bits/in.h (IPV6_PKTINFO): Define new macro.
4196 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4197
4198 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4199
4200 [BZ #13954]
4201 [BZ #13955]
4202 [BZ #13956]
4203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4205 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4206 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4209 * math/libm-test.inc (logb_test) : Additional logb tests.
4210
4211 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4212 Andreas Jaeger <aj@suse.de>
4213
4214 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4215 * configure: Regenerated.
4216 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4217 * config.make.in (link-obsolete-rpc): New substituted variable.
4218 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4219 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4220 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4221 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4222 so that libc.a contains the symbols.
4223 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4224 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4225 * sunrpc/auth_none.c: Likewise.
4226 * sunrpc/auth_unix.c: Likewise.
4227 * sunrpc/authdes_prot.c: Likewise.
4228 * sunrpc/authuxprot.c: Likewise.
4229 * sunrpc/clnt_gen.c: Likewise.
4230 * sunrpc/clnt_perr.c: Likewise.
4231 * sunrpc/clnt_raw.c: Likewise.
4232 * sunrpc/clnt_simp.c: Likewise.
4233 * sunrpc/clnt_tcp.c: Likewise.
4234 * sunrpc/clnt_udp.c: Likewise.
4235 * sunrpc/clnt_unix.c: Likewise.
4236 * sunrpc/des_crypt.c: Likewise.
4237 * sunrpc/des_soft.c: Likewise.
4238 * sunrpc/get_myaddr.c: Likewise.
4239 * sunrpc/key_call.c: Likewise.
4240 * sunrpc/key_prot.c: Likewise.
4241 * sunrpc/netname.c: Likewise.
4242 * sunrpc/pm_getmaps.c: Likewise.
4243 * sunrpc/pm_getport.c: Likewise.
4244 * sunrpc/pmap_clnt.c: Likewise.
4245 * sunrpc/pmap_prot.c: Likewise.
4246 * sunrpc/pmap_prot2.c: Likewise.
4247 * sunrpc/pmap_rmt.c: Likewise.
4248 * sunrpc/publickey.c: Likewise.
4249 * sunrpc/rpc_cmsg.c: Likewise.
4250 * sunrpc/rpc_common.c: Likewise.
4251 * sunrpc/rpc_dtable.c: Likewise.
4252 * sunrpc/rpc_prot.c: Likewise.
4253 * sunrpc/rpc_thread.c: Likewise.
4254 * sunrpc/rtime.c: Likewise.
4255 * sunrpc/svc.c: Likewise.
4256 * sunrpc/svc_auth.c: Likewise.
4257 * sunrpc/svc_raw.c: Likewise.
4258 * sunrpc/svc_run.c: Likewise.
4259 * sunrpc/svc_tcp.c: Likewise.
4260 * sunrpc/svc_udp.c: Likewise.
4261 * sunrpc/svc_unix.c: Likewise.
4262 * sunrpc/svcauth_des.c: Likewise.
4263 * sunrpc/xcrypt.c: Likewise.
4264 * sunrpc/xdr.c: Likewise.
4265 * sunrpc/xdr_array.c: Likewise.
4266 * sunrpc/xdr_float.c: Likewise.
4267 * sunrpc/xdr_intXX_t.c: Likewise.
4268 * sunrpc/xdr_mem.c: Likewise.
4269 * sunrpc/xdr_rec.c: Likewise.
4270 * sunrpc/xdr_ref.c: Likewise.
4271 * sunrpc/xdr_sizeof.c: Likewise.
4272 * sunrpc/xdr_stdio.c: Likewise.
4273
4274 2012-05-10 Roland McGrath <roland@hack.frob.com>
4275
4276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4277 change. Update copyright years.
4278
4279 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4280
4281 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4282
4283 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4284 Joseph Myers <joseph@codesourcery.com>
4285 Paul Pluzhnikov <ppluzhnikov@google.com>
4286
4287 [BZ #14012]
4288 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4289 requiring rpcgen.
4290 [cross-compiling] (extra-libs): Likewise.
4291 [cross-compiling] (extra-libs-others): Likewise.
4292 [cross-compiling] (librpcsvc-routines): Likewise.
4293 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4294 [cross-compiling] (omit-deps): Likewise.
4295 (sunrpc-CPPFLAGS): New variable.
4296 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4297 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4298 (cross-rpcgen-objs): New variable.
4299 (extra-objs): Append $(cross-rpcgen-objs).
4300 ($(cross-rpcgen-objs)): New rule.
4301 ($(objpfx)cross-rpcgen): Likewise.
4302 (rpcgen-cmd): Define to use $(built-program-file). Expand
4303 comment.
4304 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4305 ($(objpfx)x%.stmp): Likewise.
4306 * sunrpc/proto.h [IS_IN_build] (_): Define.
4307 [IS_IN_build] (_libc_intl_domainname): Likewise.
4308
4309 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4310
4311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4312 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4313 and R_X86_64_TPOFF64.
4314
4315 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4316
4317 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4318 sysdeps/unix/sysv/syscalls.list.
4319 (stime): Likewise.
4320 (utime): Likewise.
4321 * sysdeps/unix/sysv/syscalls.list: Remove file.
4322
4323 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4324
4325 [BZ #3440]
4326 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4327 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4328 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4329 (__LC_IDENTIFICATION): Make these macros useful in #if
4330 expressions, as required by C99.
4331
4332 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4333
4334 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4335 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4336 after this.
4337
4338 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4339
4340 * stdlib/longlong.h: Updated from GCC.
4341
4342 2012-05-09 Andreas Jaeger <aj@suse.de>
4343
4344 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4345 default is first entry.
4346 (run_mode): Set type.
4347 (main): Remove informal message about syslog.
4348 (options): Fix typo.
4349
4350 [BZ #14053]
4351 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4352 to asm.
4353 (lrint): Likewise.
4354 (llrintf): Likewise.
4355 (llrint): Likewise.
4356 (rint): Likewise.
4357 (rintf): Likewise.
4358 (nearbyint): Likewise.
4359 (nearbyintf): Likewise.
4360
4361 2012-05-09 Andreas Jaeger <aj@suse.de>
4362 Pedro Alves <palves@redhat.com>
4363
4364 * nscd/nscd.c (run_mode): Use enum.
4365 (main): Cleanup coding style issue.
4366
4367 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4368 Andreas Jaeger <aj@suse.de>
4369
4370 * nscd/nscd.c (go_background): Replaced with...
4371 (run_mode): ... this.
4372 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4373 (options): Add -F --foreground.
4374 (main): Implement it.
4375 (parse_opt): Parse it.
4376
4377 2012-05-09 Andreas Jaeger <aj@suse.de>
4378
4379 [BZ #14083]
4380 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4381 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4382 -Wconversion warning.
4383 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4384 Likewise.
4385
4386 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4387
4388 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4389 == 0.
4390 (LC_ALL): Use macro-int-constant.
4391 (LC_COLLATE): Likewise.
4392 (LC_CTYPE): Likewise.
4393 (LC_MESSAGES): Likewise.
4394 (LC_MONETARY): Likewise.
4395 (LC_NUMERIC): Likewise.
4396 (LC_TIME): Likewise.
4397 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4398 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4399 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4400 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4401 Specify type.
4402 [C99-based standards] (float_t): Expect type.
4403 [C99-based standards] (double_t): Expect type.
4404 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4405 type.
4406 [C99-based standards] (HUGE_VALL): Likewise.
4407 [C99-based standards] (INFINITY): Likewise.
4408 [C99-based standards] (NAN): Likewise.
4409 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4410 [C99-based standards] (FP_NAN): Likewise.
4411 [C99-based standards] (FP_NORMAL): Likewise.
4412 [C99-based standards] (FP_SUBNORMAL): Likewise.
4413 [C99-based standards] (FP_ZERO): Likewise.
4414 [C99-based standards] (FP_FAST_FMA): Use
4415 optional-macro-int-constant. Specify type. Require == 1.
4416 [C99-based standards] (FP_FAST_FMAF): Likewise.
4417 [C99-based standards] (FP_FAST_FMAL): Likewise.
4418 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4419 [C99-based standards] (FP_ILOGBNAN): Likewise.
4420 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4421 Specify type.
4422 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4423 [C99-based standards] (math_errhandling): Specify type.
4424 [ISO99 || ISO11] (signgam): Do not allow.
4425 [non-C99-based standards] (copysignf): Do not allow.
4426 [non-C99-based standards] (exp2f): Likewise.
4427 [non-C99-based standards] (log2f): Likewise.
4428 [non-C99-based standards] (modff): Allow.
4429 [non-C99-based standards] (erff): Do not allow.
4430 [non-C99-based standards] (erfcf): Likewise.
4431 [non-C99-based standards] (gammaf): Likewise.
4432 [non-C99-based standards] (hypotf): Likewise.
4433 [non-C99-based standards] (j0f): Likewise.
4434 [non-C99-based standards] (j1f): Likewise.
4435 [non-C99-based standards] (jnf): Likewise.
4436 [non-C99-based standards] (lgammaf): Likewise.
4437 [non-C99-based standards] (tgammaf): Likewise.
4438 [non-C99-based standards] (y0f): Likewise.
4439 [non-C99-based standards] (y1f): Likewise.
4440 [non-C99-based standards] (ynf): Likewise.
4441 [non-C99-based standards] (isnanf): Likewise.
4442 [non-C99-based standards] (acoshf): Likewise.
4443 [non-C99-based standards] (asinhf): Likewise.
4444 [non-C99-based standards] (atanhf): Likewise.
4445 [non-C99-based standards] (cbrtf): Likewise.
4446 [non-C99-based standards] (expm1f): Likewise.
4447 [non-C99-based standards] (ilogbf): Likewise.
4448 [non-C99-based standards] (log1pf): Likewise.
4449 [non-C99-based standards] (logbf): Likewise.
4450 [non-C99-based standards] (nextafterf): Likewise.
4451 [non-C99-based standards] (remainderf): Likewise.
4452 [non-C99-based standards] (rintf): Likewise.
4453 [non-C99-based standards] (scalbf): Likewise.
4454 [non-C99-based standards] (copysignl): Likewise.
4455 [non-C99-based standards] (exp2l): Likewise.
4456 [non-C99-based standards] (log2l): Likewise.
4457 [non-C99-based standards] (modfl): Allow.
4458 [non-C99-based standards] (erfl): Do not allow.
4459 [non-C99-based standards] (erfcl): Likewise.
4460 [non-C99-based standards] (gammal): Likewise.
4461 [non-C99-based standards] (hypotl): Likewise.
4462 [non-C99-based standards] (j0l): Likewise.
4463 [non-C99-based standards] (j1l): Likewise.
4464 [non-C99-based standards] (jnl): Likewise.
4465 [non-C99-based standards] (lgammal): Likewise.
4466 [non-C99-based standards] (tgammal): Likewise.
4467 [non-C99-based standards] (y0l): Likewise.
4468 [non-C99-based standards] (y1l): Likewise.
4469 [non-C99-based standards] (ynl): Likewise.
4470 [non-C99-based standards] (isnanl): Likewise.
4471 [non-C99-based standards] (acoshl): Likewise.
4472 [non-C99-based standards] (asinhl): Likewise.
4473 [non-C99-based standards] (atanhl): Likewise.
4474 [non-C99-based standards] (cbrtl): Likewise.
4475 [non-C99-based standards] (expm1l): Likewise.
4476 [non-C99-based standards] (ilogbl): Likewise.
4477 [non-C99-based standards] (log1pl): Likewise.
4478 [non-C99-based standards] (logbl): Likewise.
4479 [non-C99-based standards] (nextafterl): Likewise.
4480 [non-C99-based standards] (remainderl): Likewise.
4481 [non-C99-based standards] (rintl): Likewise.
4482 [non-C99-based standards] (scalbl): Likewise.
4483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4484 [non-C99-based standards] (FP_*): Do not allow.
4485 [C99-based standards] (FP_*): Change to
4486 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4487 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4488 allow.
4489 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4490 (SIG_ERR): Likewise.
4491 [X/Open-based standards] (SIG_HOLD): Likewise.
4492 (SIG_IGN): Likewise.
4493 (SIGABRT): Use macro-int-constant. Specify type. Require
4494 positive value.
4495 (SIGFPE): Likewise.
4496 (SIGILL): Likewise.
4497 (SIGINT): Likewise.
4498 (SIGSEGV): Likewise.
4499 (SIGTER): Likewise.
4500 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4501 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4502 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4503 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4504 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4505 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4506 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4507 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4508 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4509 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4510 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4511 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4512 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4513 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4514 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4515 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4516 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4517 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4518 [X/Open-based standards] (SIGTRAP): Likewise.
4519 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4520 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4521 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4522 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4523 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4524 allow.
4525
4526 2012-05-08 Ian Wienand <ianw@vmware.com>
4527
4528 [BZ #14080]
4529 * time/tzset.c (__tzset_parse_tz): Update default rules for
4530 daylight time changes in the Energy Policy Act of 2005.
4531
4532 2012-05-09 Andreas Jaeger <aj@suse.de>
4533
4534 [BZ #13983]
4535 * elf/ldconfig.c (parse_conf): Change string to make clear that
4536 ldconfig only issued a warning if ld.so.conf does not exist.
4537
4538 2012-05-08 David S. Miller <davem@davemloft.net>
4539
4540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4541 movxtod instead of popping the value on the stack.
4542
4543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4544
4545 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4546
4547 * config.h.in: Add HAVE_ARM_PCS_VFP.
4548
4549 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4550
4551 [BZ #13979]
4552 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4553 checking but the checks are disabled for any reason.
4554
4555 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4556
4557 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4558 and ELF64_R_TYPE with ELFW(R_TYPE).
4559
4560 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4561
4562 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4563 (ulimit): Likewise.
4564
4565 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4566 (settimeofday): Likewise.
4567
4568 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4569
4570 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4571 a struct th_u2 inside the union, and move tu_block/tu_code into
4572 a new th_u3 union of tu_block/tu_code inside of that. Move
4573 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4574 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4575 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4576 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4577 (th_stuff): Change to th_u1.tu_stuff.
4578 (th_data): Define.
4579 (th_msg): Change to th_u1.th_u2.tu_data.
4580
4581 2012-05-07 David S. Miller <davem@davemloft.net>
4582
4583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4584
4585 [BZ #14074]
4586 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4587 (SETUP_PIC_REG): Use it.
4588 (SETUP_PIC_REG_LEAF): Use it.
4589
4590 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4591
4592 [BZ #13885]
4593 [BZ #13923]
4594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4595 USE_AS_EXPM1L.
4596 (EXPL_FINITE): Likewise.
4597 (FLDLOG): Likewise.
4598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4599 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4600 e_expl.S.
4601 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4602 USE_AS_EXPM1L.
4603 (EXPL_FINITE): Likewise.
4604 (FLDLOG): Likewise.
4605 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4606 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4607 e_expl.S.
4608 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4609 test of -max_value argument for long double.
4610 * sysdeps/i386/fpu/libm-test-ulps: Update.
4611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4612
4613 2012-05-06 David S. Miller <davem@davemloft.net>
4614
4615 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4616 quad soft-float symbols whose references which are compiler
4617 generated.
4618 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4619
4620 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4621
4622 [BZ #13884]
4623 [BZ #13914]
4624 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4625 USE_AS_EXP10L.
4626 (EXPL_FINITE): Likewise.
4627 (FLDLOG): Likewise.
4628 (c0): Likewise.
4629 (c1): Likewise.
4630 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4631 Adjust comments for base varying.
4632 (__expl_finite): Change alias to EXPL_FINITE.
4633 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4634 e_expl.S.
4635 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4636 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4638 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4639 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4640 USE_AS_EXP10L.
4641 (EXPL_FINITE): Likewise.
4642 (FLDLOG): Likewise.
4643 (c0): Likewise.
4644 (c1): Likewise.
4645 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4646 Adjust comments for base varying.
4647 (__expl_finite): Change alias to EXPL_FINITE.
4648 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4649 tests for bugs.
4650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4651
4652 [BZ #14064]
4653 * math/libm-test.inc (check_float_internal): Correct ulp
4654 calculation for subnormal expected results.
4655
4656 2012-05-06 Andreas Jaeger <aj@suse.de>
4657
4658 * Makeconfig (+math-flags): New, set to -frounding-math.
4659 (+cflags): Add +math-flags so that all of glibc gets compiled with
4660 it.
4661
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4663
4664 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4665
4666 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4667 Disable one test.
4668
4669 [BZ #13787]
4670 [BZ #13922]
4671 [BZ #14036]
4672 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4673 (__ieee754_expl): Allow for and saturate large arguments.
4674 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4675 (u_threshold): Likewise.
4676 (__exp): Call __ieee754_exp before checking for overflow and
4677 underflow.
4678 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4679 (u_threshold): Likewise.
4680 (__expf): Call __ieee754_expf before checking for overflow and
4681 underflow.
4682 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4683 (u_threshold): Likewise.
4684 (__expl): Call __ieee754_expl before checking for overflow and
4685 underflow.
4686 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4687 (__ieee754_expl): Allow for and saturate large arguments.
4688 * math/libm-test.inc (exp_test): Add another test. Do not allow
4689 missing overflow exception on overflow.
4690 (expm1_test): Do not allow missing overflow exception on overflow.
4691
4692 * sysdeps/i386/fpu/e_expl.c: Move to ...
4693 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4694 rather than using inline asm.
4695 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4696 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4697 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4698
4699 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4700 (nice): Likewise.
4701 (poll): Likewise.
4702 (signal): Likewise.
4703 (time): Likewise.
4704 (times): Likewise.
4705
4706 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4707
4708 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4709 sysdeps/unix/common/syscalls.list.
4710 (fchmod): Likewise.
4711 (fchown): Likewise.
4712 (ftruncate): Likewise.
4713 (getrusage): Likewise.
4714 (gettimeofday): Likewise.
4715 (setpgid): Likewise.
4716 (setregid): Likewise.
4717 (setreuid): Likewise.
4718 (sigaction): Likewise.
4719 (truncate): Likewise.
4720 (vhangup): Likewise.
4721 * sysdeps/unix/common/syscalls.list: Remove file.
4722 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4723 * sysdeps/unix/sysv/linux/Implies: Likewise.
4724
4725 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4726
4727 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4729 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4730 Moved to ...
4731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4732 Here.
4733 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4734 to ...
4735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4736 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4737 to ...
4738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4739 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4740 to ...
4741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4742 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4743 to ...
4744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4745 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4746 to ...
4747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4748 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4749 to ...
4750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4751 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4752 to ...
4753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4754 Here.
4755 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4756 to ...
4757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4758 Here.
4759 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4760 to ...
4761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4762 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4763 Moved to ...
4764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4765 Here.
4766 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4767 to ...
4768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4769
4770 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4771
4772 * sysdeps/unix/common/bits/dirent.h: Remove file.
4773 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4774
4775 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4776 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4777 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4778 * sysdeps/unix/bsd/isatty.c: Likewise.
4779 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4780 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4781 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4782
4783 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784
4785 [BZ #13563]
4786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4787 long double comparison inaccuracies.
4788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4790
4791 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4792
4793 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4795
4796 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4797
4798 [BZ #14049]
4799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4800 nonzero digits before rounding a hex value.
4801 * stdlib/tst-strtod.c (tests): Add another test.
4802
4803 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4804
4805 * sysdeps/s390/fpu/libm-test-ulps: Update.
4806
4807 2012-05-03 Andreas Jaeger <aj@suse.de>
4808
4809 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4810 does not get optimized out.
4811 (malloc_opt_barrier): New.
4812
4813 2012-05-03 Andreas Jaeger <aj@suse.de>
4814 Roland McGrath <roland@hack.frob.com>
4815
4816 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4817 intermediate file deletion.
4818 (generated): Add .symlist files.
4819
4820 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4821
4822 [BZ #13775]
4823 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4824 Redirect under this condition.
4825 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4826 [__USE_GNU] (__dprintf_chk): Not under this condition.
4827 [__USE_GNU] (__vdprintf_chk): Likewise.
4828 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4829 under this condition.
4830 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4831 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4832 [__USE_XOPEN2K8] (vdprintf): Likewise.
4833 [__USE_GNU] (__dprintf_chk): Not under this condition.
4834 [__USE_GNU] (__vdprintf_chk): Likewise.
4835 [__USE_GNU] (dprintf): Likewise.
4836 [__USE_GNU] (vdprintf): Likewise.
4837
4838 2012-05-03 Roland McGrath <roland@hack.frob.com>
4839
4840 * elf/Makefile (common-generated): Set this instead of generated for
4841 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4842 $(all-built-dso)-derived lists.
4843
4844 2012-05-03 Andreas Jaeger <aj@suse.de>
4845
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847
4848 * FAQ: Removed.
4849 * FAQ.in: Likewise.
4850 * scripts/gen-FAQ.pl: Likewise.
4851 * manual/install.texi (Installation): Point to online location of
4852 FAQ.
4853 * Makefile (files-for-dist): Remove FAQ.
4854 (FAQ): Remove.
4855
4856 2012-05-02 Allan McRae <allan@archlinux.org>
4857
4858 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4859 (LDFLAGS-reldepmod5.so): Likewise.
4860 (LDFLAGS-reldep6mod1.so): Likewise.
4861 (LDFLAGS-reldep6mod4.so): Likewise.
4862 (LDFLAGS-reldep8mod3.so): Likewise.
4863 (LDFLAGS-unload4mod1.so): Likewise.
4864 (LDFLAGS-unload4mod2.so): Likewise.
4865 (LDFLAGS-tst-initorder): Likewise.
4866 (LDFLAGS-tst-initordera2.so): Likewise.
4867 (LDFLAGS-tst-initordera3.so): Likewise.
4868 (LDFLAGS-tst-initordera4.so): Likewise.
4869 (LDFLAGS-tst-initorderb2.so): Likewise.
4870 (LDFLAGS-noload): Likewise.
4871 (LDFLAGS-next): Likewise.
4872 (LDFLAGS-order2mod1.so): Likewise.
4873 (LDFLAGS-order2mod2.so): Likewise.
4874 (LDFLAGS-tst-initorder2): Likewise.
4875 (LDFLAGS-tst-initorder2a.so): Likewise.
4876 (LDFLAGS-tst-initorder2b.so): Likewise.
4877 (LDFLAGS-tst-initorder2c.so): Likewise.
4878 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4879
4880 2012-05-02 David S. Miller <davem@davemloft.net>
4881
4882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4883
4884 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4885
4886 [BZ #14055]
4887 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4888
4889 2012-05-02 Andreas Jaeger <aj@suse.de>
4890
4891 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4892 since we manipulate rounding mode.
4893 (CPPFLAGS-test-idouble.c): Likewise.
4894 (CPPFLAGS-test-ifloat.c): Likewise.
4895 (CFLAGS-test-ldouble.c): Likewise.
4896 (CFLAGS-test-double.c): Likewise.
4897 (CFLAGS-test-float.c): Likewise.
4898 (CFLAGS-test-misc.c): Likewise.
4899 (CFLAGS-test-test-fenv.c): Likewise.
4900
4901 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4902
4903 [BZ #2550]
4904 [BZ #2570]
4905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4906 comparisons to determine direction to adjust input.
4907
4908 2012-05-01 Roland McGrath <roland@hack.frob.com>
4909
4910 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4911 output to the target.
4912
4913 * scripts/localplt.awk: New file.
4914 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4915 (check-localplt-CFLAGS): Variable removed.
4916 ($(all-built-dso:=.jmprel)): New static pattern rule.
4917 (generated): Add those targets.
4918 (localplt-built-dso): New variable.
4919 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4920
4921 * elf/check-localplt.c: File removed.
4922
4923 * scripts/check-execstack.awk: New file.
4924 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4925 (check-execstack-CFLAGS): Variable removed.
4926 ($(objpfx)check-execstack.h): Target removed.
4927 ($(objpfx)execstack-default): New target.
4928 (generated): Add that instead of check-execstack.h.
4929 ($(all-built-dso:=.phdr)): New static pattern rule.
4930 (generated): Add those targets.
4931 * elf/check-execstack.c: File removed.
4932
4933 * scripts/check-textrel.awk: New file.
4934 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4935 (check-textrel-CFLAGS): Variable removed.
4936 (all-built-dso): Use := to define.o
4937 ($(all-built-dso:=.dyn)): New static pattern rule.
4938 (generated): Add those targets.
4939 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4940 * config.make.in (READELF): New substituted variable.
4941 * elf/check-textrel.c: File removed.
4942
4943 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4944
4945 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4946 allow.
4947 * conform/data/ctype.h-data [C99-based standards] (isblank):
4948 Expect function.
4949 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4950 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4952 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4953 Specify type. Require positive value.
4954 (EILSEQ): Likewise.
4955 (ERANGE): Likewise.
4956 [ISO || POSIX] (EILSEQ): Do not expect.
4957 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4958 Specify type. Require positive value.
4959 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4974 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4976 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4990 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4991 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4992 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4993 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4994 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4996 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4997 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4998 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4999 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5001 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5002 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5003 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5005 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5010 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5011 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5012 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5013 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5033 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5034 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5035 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5036 Require >= 2.
5037 (FLT_ROUNDS): Expect as macro, not constant.
5038 (FLT_MANT_DIG): Use macro-int-constant.
5039 (DBL_MANT_DIG): Likewise.
5040 (LDBL_MANT_DIG): Likewise.
5041 (FLT_DIG): Likewise.
5042 (DBL_DIG): Likewise.
5043 (LDBL_DIG): Likewise.
5044 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5045 (DBL_MIN_EXP): Likewise.
5046 (LDBL_MIN_EXP): Likewise.
5047 (FLT_MAX_EXP): Use macro-int-constant.
5048 (DBL_MAX_EXP): Likewise.
5049 (LDBL_MAX_EXP): Likewise.
5050 (FLT_MAX_10_EXP): Likewise.
5051 (DBL_MAX_10_EXP): Likewise.
5052 (LDBL_MAX_10_EXP): Likewise.
5053 (FLT_MAX): Use macro-constant.
5054 (DBL_MAX): Likewise.
5055 (LDBL_MAX): Likewise.
5056 (FLT_EPSILON): Use macro-constant. Give upper bound.
5057 (DBL_EPSILON): Likewise.
5058 (LDBL_EPSILON): Likewise.
5059 (FLT_MIN): Likewise.
5060 (DBL_MIN): Likewise.
5061 (LDBL_MIN): Likewise.
5062 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5063 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5064 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5065 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5066 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5067 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5068 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5069 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5070 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5071 [ISO11] (FLT_TRUE_MIN): Likewise.
5072 [ISO11] (LDBL_TRUE_MIN): Likewise.
5073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5074 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5075 (SCHAR_MIN): Use macro-int-constant. Specify type.
5076 (SCHAR_MAX): Likewise.
5077 (UCHAR_MAX): Likewise.
5078 (CHAR_MIN): Likewise.
5079 (CHAR_MAX): Likewise.
5080 (MB_LEN_MAX): Use macro-int-constant.
5081 (SHRT_MIN): Use macro-int-constant. Specify type.
5082 (SHRT_MAX): Likewise.
5083 (USHRT_MAX): Likewise.
5084 (INT_MAX): Likewise.
5085 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5086 bound negative.
5087 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5088 bound with "U".
5089 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5090 bound with "L".
5091 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5092 bound negative. Suffix upper bound with "L".
5093 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5094 bound with "UL".
5095 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5096 Specify type.
5097 [C99-based standards] (LLONG_MAX): Likewise.
5098 [C99-based standards] (ULLONG_MAX): Likewise.
5099 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5100 == 0.
5101 [ISO11] (max_align_t): Require type.
5102 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5103
5104 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5105 from $CFLAGS, without defining away __attribute__ calls.
5106 (checknamespace): Use $CFLAGS_namespace.
5107
5108 * conform/conformtest.pl (@keywords): Only include C99 keywords
5109 for standards based on C99 or C11.
5110
5111 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5112 Disable tests.
5113 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5114 UNIX98]: Likewise.
5115
5116 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5117 usability of symbols in #if.
5118
5119 * conform/conformtest.pl: If macro or constant types start
5120 "promoted:", expect the symbol to be of the following type
5121 promoted by the integer promotions.
5122
5123 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5124 in one place. Also handle "macro-constant".
5125
5126 * conform/conformtest.pl: Only accept expected macro values with
5127 "==". Parse all "macro" lines in one place.
5128 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5129
5130 * conform/conformtest.pl: Handle braced types on "constant" lines
5131 instead of handling "typed-constant".
5132 * conform/data/signal.h-data: Use "constant" instead of
5133 "typed-constant".
5134
5135 * conform/conformtest.pl: Handle "optional-" at start of lines in
5136 one place rather than duplicating several cases. Handle each
5137 format of "macro" line with initial "optional-".
5138
5139 * conform/conformtest.pl: Only accept expected constant or
5140 optional-constant values with "==". Parse all "constant" lines in
5141 one place. Parse all "optional-constant" lines in one place.
5142 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5143 * conform/data/fmtmsg.h-data: Likewise.
5144 * conform/data/netinet/in.h-data: Likewise.
5145 * conform/data/tar.h-data: Likewise.
5146 * conform/data/limits.h-data: Use "==" form on "constant" and
5147 "optional-constant" lines.
5148
5149 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5150 Use -std=c99 for XOPEN2K.
5151 (@knownproblems): Remove.
5152 (newtoken): Don't check %isknown.
5153
5154 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5155 Do not expect macro.
5156 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5168 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5169 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5186 [XPG3] (acosh): Likewise.
5187 [XPG3] (asinh): Likewise.
5188 [XPG3] (atanh): Likewise.
5189 [XPG3] (cbrt): Likewise.
5190 [XPG3] (expm1): Likewise.
5191 [XPG3] (ilogb): Likewise.
5192 [XPG3] (log1p): Likewise.
5193 [XPG3] (logb): Likewise.
5194 [XPG3] (nextafter): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5197 [XPG3] (remainder): Likewise.
5198 [XPG3] (rint): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5206 [UNIX98 || XOPEN2K] (scalb): Expect.
5207 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5208 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5288 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5289 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5290 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5291 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5292 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5293 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5294 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5304 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5305 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5306 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5307 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5308 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5309 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5310 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5311 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5312 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5313 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5314 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5315 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5316 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5317 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5318 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5319 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5322 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5344
5345 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5346 _XOPEN_SOURCE_EXTENDED for XPG4.
5347
5348 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5349
5350 * Makeconfig (localtime): Remove variable.
5351 (inst_localtime-file): Likewise.
5352
5353 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5354
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5356 Update.
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5358 Update.
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5360 Update.
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5362 Update.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5364 Update.
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5366 Update.
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5368 Update.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5370 Update.
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5372 Update.
5373
5374 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5375
5376 [BZ #2550]
5377 [BZ #2570]
5378 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5379 comparisons to determine direction to adjust input.
5380 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5381 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5382 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5383 Likewise.
5384 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5385 Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5387 Likewise.
5388 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5389 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5390 Likewise.
5391 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5392 Likewise.
5393 * math/libm-test.inc (nexttoward_test): Add more tests.
5394
5395 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5396
5397 [BZ #14040]
5398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5399 in version GLIBC_2.1, not GLIBC_2.0.
5400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5401 Likewise.
5402
5403 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5404
5405 [BZ #13942]
5406 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5407 (1 - x) * (1 + x).
5408 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5409 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5410 * math/libm-test.inc (acos_test): Add more tests.
5411 (asin_test): Likewise.
5412 * sysdeps/i386/fpu/libm-test-ulps: Update.
5413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5414
5415 [BZ #14034]
5416 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5417 of square root.
5418 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5419 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5420 * math/libm-test.inc (acos_test_tonearest): New function.
5421 (acos_test_towardzero): Likewise.
5422 (acos_test_downward): Likewise.
5423 (acos_test_upward): Likewise.
5424 (asin_test_tonearest): Likewise.
5425 (asin_test_towardzero): Likewise.
5426 (asin_test_downward): Likewise.
5427 (asin_test_upward): Likewise.
5428 (main): Call the new functions.
5429 * sysdeps/i386/fpu/libm-test-ulps: Update.
5430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5431
5432 [BZ #13884]
5433 [BZ #13924]
5434 * math/e_exp10.c: Include <float.h>.
5435 (__ieee754_exp10): Handle underflow here rather than multiplying
5436 large negative argument by M_LN10.
5437 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5438 of __ieee754_expf.
5439 * math/e_exp10l.c: Include <float.h>.
5440 (__ieee754_exp10l): Handle underflow here rather than multiplying
5441 large negative argument by M_LN10l.
5442 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5443 spurious overflow exception on underflow.
5444
5445 2012-04-29 Marek Polacek <polacek@redhat.com>
5446
5447 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5448 (__fortify_function): New macro.
5449 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5450 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5451 __extern_always_inline.
5452 * libio/bits/stdio2.h: Likewise.
5453 * libio/bits/stdio.h: Likewise.
5454 * string/string.h: Likewise.
5455 * string/bits/string3.h: Likewise.
5456 * include/stdio.h: Likewise.
5457 * stdlib/bits/stdlib.h: Likewise.
5458 * stdlib/stdlib.h: Likewise.
5459 * rt/bits/mqueue2.h: Likewise.
5460 * rt/mqueue.h: Likewise.
5461 * posix/bits/unistd.h: Likewise.
5462 * posix/unistd.h: Likewise.
5463 * io/bits/poll2.h: Likewise.
5464 * io/bits/fcntl2.h: Likewise.
5465 * io/fcntl.h: Likewise.
5466 * io/sys/poll.h: Likewise.
5467 * misc/bits/syslog.h: Likewise.
5468 * misc/bits/syslog-ldbl.h: Likewise.
5469 * misc/sys/syslog.h: Likewise.
5470 * socket/bits/socket2.h: Likewise.
5471 * socket/sys/socket.h: Likewise.
5472 * debug/tst-chk1.c: Likewise.
5473 * wcsmbs/bits/wchar2.h: Likewise.
5474 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5475 * wcsmbs/wchar.h: Likewise.
5476
5477 2012-04-29 Andreas Jaeger <aj@suse.de>
5478
5479 * Makerules (tests): Remove enable-check-abi protection.
5480 (check-abi-warn): Remove.
5481 (check-abi-%): Remove check-abi-warn usage.
5482
5483 * configure.in: Remove check-abi configure option.
5484 * configure: Regenerated.
5485 * config.make.in (enable-check-abi): Remove.
5486
5487 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5488
5489 [BZ #14033]
5490 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5491 double functions to double *_finite functions.
5492
5493 [BZ #13941]
5494 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5495 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5496 LDBL_MIN_EXP.
5497 * stdio-common/Makefile (tests): Add tst-sprintf3.
5498 * stdio-common/tst-sprintf3.c: New file.
5499
5500 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5501 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5502
5503 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5504
5505 * conform/conformtest.pl: Remove duplicate typed-constant
5506 handling.
5507
5508 2012-04-28 David S. Miller <davem@davemloft.net>
5509
5510 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5511 (check-abi-%): Remove AWK script prerequisite and explicit
5512 abilist directory.
5513 (check-abi): Rewrite to just diff the symlist with the abilist.
5514 (config-tls, config-abi-config): Delete, no longer used.
5515 (update-abi-%): Remove AWK script and explicit abilist directory.
5516 (update-abi): Rewrite to simply compare and conditionally copy the
5517 symlist and the sysdep abilist file. Remove update-abi-config
5518 checks.
5519 * abilist/ld.abilist: Remove.
5520 * abilist/libBrokenLocale.abilist: Remove.
5521 * abilist/libanl.abilist: Remove.
5522 * abilist/libcrypt.abilist: Remove.
5523 * abilist/libdl.abilist: Remove.
5524 * abilist/librt.abilist: Remove.
5525 * abilist/libthread_db.abilist: Remove.
5526 * abilist/libutil.abilist: Remove.
5527 * scripts/extract-abilist.awk: Remove.
5528 * scripts/merge-abilist.awk: Remove.
5529 * sysdeps/generic/libcidn.abilist: New file.
5530 * sysdeps/generic/libnss_compat.abilist: New file.
5531 * sysdeps/generic/libnss_db.abilist: New file.
5532 * sysdeps/generic/libnss_dns.abilist: New file.
5533 * sysdeps/generic/libnss_files.abilist: New file.
5534 * sysdeps/generic/libnss_hesiod.abilist: New file.
5535 * sysdeps/generic/libnss_nis.abilist: New file.
5536 * sysdeps/generic/libnss_nisplus.abilist: New file.
5537 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5538 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5539 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5540 file.
5541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5542 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5543 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5544 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5545 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5546 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5547 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5548 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5549 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5550 file.
5551 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5552 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5553 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5554 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5555 file.
5556 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5557 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5558 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5559 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5560 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5561 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5562 file.
5563 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5564 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5565 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5566 file.
5567 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5569 New file.
5570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5571 New file.
5572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5573 New file.
5574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5575 New file.
5576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5577 New file.
5578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5579 New file.
5580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5581 New file.
5582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5583 New file.
5584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5585 New file.
5586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5587 New file.
5588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5589 New file.
5590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5591 New file.
5592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5593 New file.
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5595 file.
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5597 New file.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5599 New file.
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5601 file.
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5603 New file.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5605 New file.
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5607 file.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5609 New file.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5611 New file.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5613 New file.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5615 New file.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5617 New file.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5619 New file.
5620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5622 file.
5623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5624 New file.
5625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5626 file.
5627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5628 file.
5629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5630 file.
5631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5632 file.
5633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5634 file.
5635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5636 New file.
5637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5638 file.
5639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5640 file.
5641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5642 New file.
5643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5644 file.
5645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5647 file.
5648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5649 New file.
5650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5651 file.
5652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5653 file.
5654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5655 file.
5656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5657 file.
5658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5659 file.
5660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5661 New file.
5662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5663 file.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5665 file.
5666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5667 New file.
5668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5669 file.
5670 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5671 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5672 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5673 file.
5674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5675 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5676 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5677 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5678 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5679 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5680 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5681 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5682 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5683 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5686 file.
5687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5688 New file.
5689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5690 file.
5691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5692 file.
5693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5694 file.
5695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5696 file.
5697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5698 file.
5699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5700 New file.
5701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5702 New file.
5703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5704 file.
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5706 New file.
5707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5708 file.
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5711 file.
5712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5713 New file.
5714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5715 file.
5716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5717 file.
5718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5719 file.
5720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5721 file.
5722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5723 file.
5724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5725 New file.
5726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5727 New file.
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5729 file.
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5731 New file.
5732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5733 file.
5734
5735 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5736
5737 * conform/conformtest.pl: Fix typo in handling typed-constant from
5738 allow-header.
5739
5740 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5741
5742 * README: Cut down references to pre-2.6 Linux kernels and
5743 Linuxthreads. Update lists of configurations in libc and ports
5744 and sort alphabetically. Say "or newer" with Linux kernel version
5745 requirements.
5746
5747 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5748
5749 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5750
5751 [BZ #887]
5752 * math/libm-test.inc (logb_test_downward): New test to expose
5753 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5754 rounding mode.
5755
5756 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5757
5758 [BZ #14027]
5759 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5760 to be done.
5761 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5762 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5763
5764 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5765
5766 * sysdeps/unix/i386/brk.S: Remove file.
5767 * sysdeps/unix/i386/dl-brk.S: Likewise.
5768 * sysdeps/unix/i386/pipe.S: Likewise.
5769 * sysdeps/unix/i386/sigreturn.S: Likewise.
5770 * sysdeps/unix/i386/syscall.S: Likewise.
5771 * sysdeps/unix/i386/vfork.S: Likewise.
5772 * sysdeps/unix/i386/wait.S: Likewise.
5773
5774 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5775 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5776
5777 * configure.in (arm*-none*): Do not allow without
5778 --enable-hacker-mode.
5779 (netbsd*): Remove case setting base_os.
5780 (386bsd*): Likewise.
5781 (freebsd*): Likewise.
5782 (bsdi*): Likewise.
5783 (osf*): Likewise.
5784 (sunos*): Likewise.
5785 (ultrix*): Likewise.
5786 (newsos*): Likewise.
5787 (dynix*): Likewise.
5788 (*bsd*): Likewise.
5789 (sysv*): Likewise.
5790 (isc*): Likewise.
5791 (esix*): Likewise.
5792 (sco*): Likewise.
5793 (minix*): Likewise.
5794 (irix4*): Likewise.
5795 (irix6*): Likewise.
5796 (solaris[2-9]*): Likewise.
5797 (none): Likewise.
5798 * configure: Regenerated.
5799
5800 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 [BZ #11521]
5803 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5804 overflow or cancellation in calculating denominator.
5805 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5807 down expression to avoid unexpected rounding in newer GCCs.
5808 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5809
5810 2012-04-26 David S. Miller <davem@davemloft.net>
5811
5812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5813 long-double compat symbols.
5814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5827
5828 2012-04-25 David S. Miller <davem@davemloft.net>
5829
5830 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5831 HWCAP_* values only after the memory barriers have been defined.
5832 (atomic_full_barrier): Define.
5833 (atomic_read_barrier): Define.
5834 (atomic_write_barrier): Define.
5835
5836 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5837
5838 * shlib-versions: Add libgcc_s version information.
5839 * sysdeps/generic/libgcc_s.h: Remove.
5840 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5841 libgcc_s.h.
5842 * sysdeps/gnu/unwind-resume.c: Likewise.
5843 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5844
5845 2012-04-25 David S. Miller <davem@davemloft.net>
5846
5847 * sysdeps/unix/sparc/brk.S: Delete.
5848 * sysdeps/unix/sparc/dl-brk.S: Delete.
5849 * sysdeps/unix/sparc/pipe.S: Delete.
5850 * sysdeps/unix/sparc/sysdep.S: Delete.
5851 * sysdeps/unix/sparc/sysdep.h: Delete.
5852 * sysdeps/unix/sparc/vfork.S: Delete.
5853 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5854 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5856 ret_ERRVAL, r0, r1, MOVE): Define.
5857 (JUMPTARGET): Remove.
5858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5859 sysdeps/unix/sparc/sysdep.h
5860 (ENTRY, END): Remove.
5861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5862
5863 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5864
5865 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5866 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5867 -DIS_IN_build.
5868
5869 * timezone/README: Update upstream location and email address for
5870 tzcode and tzdata.
5871 * timezone/zdump.c: Update from tzcode 2012b.
5872 * timezone/zic.c: Likewise.
5873
5874 * configure.in (libc_cv_as_needed): Remove test.
5875 * configure: Regenerated.
5876 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5877 conditional definition.
5878 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5879 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5880 * config.make.in (have-as-needed): Remove variable.
5881
5882 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5883 Paul Pluzhnikov <ppluzhnikov@google.com>
5884
5885 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5886 strings correctly.
5887
5888 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5889
5890 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5891 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5892 * sysdeps/sh/strlen.S: Likewise.
5893
5894 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5895
5896 * sysdeps/unix/fork.S: Remove file.
5897 * sysdeps/unix/i386/fork.S: Likewise.
5898 * sysdeps/unix/sparc/fork.S: Likewise.
5899
5900 * sysdeps/unix/system.c: Remove file.
5901 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5902
5903 * sysdeps/unix/getegid.S: Remove file.
5904 * sysdeps/unix/geteuid.S: Likewise.
5905
5906 2012-04-24 Roland McGrath <roland@hack.frob.com>
5907
5908 * scripts/check-localplt.awk: New file.
5909 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5910 of diff.
5911 * scripts/data/localplt-generic.data: Add a comment.
5912
5913 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5914 NODE when __dir_mkfile failed.
5915 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5916 Reported by Ludovic Courtès <ludo@gnu.org>.
5917
5918 2012-04-24 Andreas Jaeger <aj@suse.de>
5919
5920 * Makerules (common-clean): Also remove gen-as-const-headers
5921 files.
5922
5923 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5924
5925 * Makerules (native-compile): Do not change working directory for
5926 build. Use $(OUTPUT_OPTION) in command.
5927 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5928
5929 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5930
5931 [BZ #13886]
5932 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5933 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5934 * math/libm-test.inc (floor_test): Add more tests.
5935 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5936
5937 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5938
5939 * sysdeps/unix/getdents.c: Remove file.
5940 * sysdeps/unix/sysv/getdents.c: Likewise.
5941 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5942
5943 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5944 sysdeps/unix/mman/syscalls.list.
5945 (mmap): Likewise.
5946 (mprotect): Likewise.
5947 (msync): Likewise.
5948 (munmap): Likewise.
5949 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5950 * sysdeps/unix/mman/syscalls.list: Remove.
5951 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5952
5953 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5954 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5955 * configure: Regenerated.
5956 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5957 $(libgcc_s_suffix).
5958 * config.make.in (libgcc_s_suffix): Remove variable.
5959
5960 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5961
5962 * sysdeps/unix/sysv/gethostname.c: Move to ...
5963 * sysdeps/posix/gethostname.c: ... here.
5964
5965 * sysdeps/unix/execve.S: Remove file.
5966
5967 * sysdeps/unix/_exit.S: Remove file.
5968
5969 2012-04-23 Andreas Jaeger <aj@suse.de>
5970
5971 [BZ #13739]
5972 * manual/Makefile: Remove make dist support, there's no
5973 need for a stand-alone documentation tar ball.
5974 (TEXI2DVI): Define always, it's not in Makeconfig.
5975 (dist): Removed.
5976 (tar-it): Removed.
5977 (edition): Removed.
5978 (glibc-doc-$(edition).tar): Removed
5979 (%.Z): Removed.
5980 (%.gz): Removed.
5981 (%.uu): Removed.
5982 (ETAGS): Remove, it's in Makeconfig.
5983 (move-if-change): Remove, it's in Makeconfig.
5984
5985 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5986
5987 [BZ #13970]
5988 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5989 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5990 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5991 (strtod_l, strtof_l, strtold_l): Remove __wur.
5992 It is not necessarily an error to ignore strtol's return value.
5993 One can reliably look at the stored endptr to decide whether
5994 the number had valid syntax.
5995
5996 2012-04-21 Andreas Jaeger <aj@suse.de>
5997
5998 [BZ #13739]
5999 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6000
6001 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6002
6003 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6004 * sysdeps/unix/sysv/Versions: Remove file.
6005
6006 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6007
6008 [BZ #13927]
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6010
6011 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6012
6013 [BZ #7064]
6014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6015 version from __vm86.
6016
6017 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6018
6019 * sysdeps/unix/common/lxstat.c: Remove file.
6020 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6021
6022 * sysdeps/unix/sysv/Makefile: Remove file.
6023
6024 * sysdeps/unix/sysv/direct.h: Remove file.
6025
6026 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6027 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6028 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6029 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6030 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6031 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6032 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6033
6034 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6035
6036 * sysdeps/unix/xmknod.c: Remove file.
6037 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6038
6039 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6040
6041 * sysdeps/unix/sysv/i386/time.S: Remove file.
6042
6043 * sysdeps/unix/fxstat.c: Remove file.
6044 * sysdeps/unix/xstat.c: Likewise.
6045 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6046
6047 * sysdeps/unix/sysv/sigaction.c: Remove file.
6048
6049 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6050 (sysdep_headers): Remove variable.
6051 [termio.h not in sysdep_headers] (generated): Likewise.
6052 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6053 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6054 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6055 * sysdeps/unix/sysv/tcflow.c: Likewise.
6056 * sysdeps/unix/sysv/tcflush.c: Likewise.
6057 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6058 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6059 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6060 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6061 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6062
6063 * sysdeps/unix/siglist.c: Remove file.
6064
6065 * sysdeps/unix/getppid.S: Remove file.
6066
6067 * sysdeps/unix/mkdir.c: Remove file.
6068 * sysdeps/unix/rmdir.c: Likewise.
6069
6070 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6071
6072 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6073 ERR_MAX value.
6074 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6075 errlist-compat value.
6076
6077 2012-04-18 David S. Miller <davem@davemloft.net>
6078
6079 * sysdeps/generic/memcopy.h (reg_char): Delete.
6080 * debug/strcat_chk.c: Use char, not reg_char.
6081 * debug/strcpy_chk.c: Likewise.
6082 * debug/strncat_chk.c: Likewise.
6083 * debug/strncpy_chk.c: Likewise.
6084 * string/memchr.c: Likewise.
6085 * string/memrchr.c: Likewise.
6086 * string/rawmemchr.c: Likewise.
6087 * string/strcat.c: Likewise.
6088 * string/strchr.c: Likewise.
6089 * string/strchrnul.c: Likewise.
6090 * string/strcmp.c: Likewise.
6091 * string/strcpy.c: Likewise.
6092 * string/strncat.c: Likewise.
6093 * string/strncmp.c: Likewise.
6094 * string/strncpy.c: Likewise.
6095
6096 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6097
6098 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6099 __builtin_memcopy is called when src and dest ranges are known to not
6100 overlap.
6101
6102 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6103
6104 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6105 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6106 fwd_align_merge macro call.
6107 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6108 bwd_align_merge macro call.
6109 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6110
6111 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6112
6113 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6114 bwd_align_merge macros.
6115 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6116 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6117 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6118
6119 2012-04-18 David S. Miller <davem@davemloft.net>
6120
6121 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6122
6123 2012-04-18 Andreas Jaeger <aj@suse.de>
6124
6125 [BZ# 6794]
6126 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6127 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6128 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6129
6130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6131 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6132 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6133
6134 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6135 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6136 Adjust for changed ldbl-128 files.
6137
6138 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6139 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6140 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6141
6142 2012-04-17 David S. Miller <davem@davemloft.net>
6143
6144 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6145
6146 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6147
6148 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6149 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6150 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6151 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6152 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6153 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6154
6155 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6156
6157 [BZ #6794]
6158 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6159 * math/libm-test.inc: Add ilogb errno and exception tests.
6160 * math/w_ilogb.c: New file: ilogb wrapper.
6161 * math/w_ilogbf.c: New file: ilogbf wrapper.
6162 * math/w_ilogbl.c: New file: ilogbl wrapper.
6163 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6164 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6165 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6166 exception being thrown with 0.0 as argument.
6167 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6168 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6169 exception being thrown with 0.0 as argument.
6170 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6171 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6172 exception being thrown with 0.0 as argument.
6173 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6174 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6175 exception being thrown with 0.0 as argument.
6176 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6177 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6178 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6179 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6180 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6181 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6182 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6183 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6184 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6185
6186 2012-04-17 Petr Baudis <pasky@ucw.cz>
6187
6188 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6189 with altivec.
6190
6191 2012-04-16 Marek Polacek <polacek@redhat.com>
6192
6193 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6194
6195 2012-04-16 Marek Polacek <polacek@redhat.com>
6196
6197 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6198 operands of fdivp instruction.
6199
6200 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6203 * elf/tst-auditmod3b.c: Likewise.
6204 * elf/tst-auditmod4b.c: Likewise.
6205 * elf/tst-auditmod5b.c: Likewise.
6206 * elf/tst-auditmod6b.c: Likewise.
6207 * elf/tst-auditmod6c.c: Likewise.
6208 * elf/tst-auditmod7b.c: Likewise.
6209 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6210 * sysdeps/x86_64/preconfigure.in: Likewise.
6211 * sysdeps/x86_64/preconfigure: Regenerated.
6212
6213 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6214
6215 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6216 __ILP32__.
6217
6218 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6219
6220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6221 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6222
6223 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6224
6225 [BZ #13973]
6226 * locale/iso-639.def: Fix gl language name. Spotted by
6227 Yaron Shahrabani.
6228
6229 2012-04-12 Roland McGrath <roland@hack.frob.com>
6230
6231 [BZ #2074]
6232 * libio/libio.h (__io_write_fn): Update comment.
6233
6234 2012-04-12 Petr Baudis <pasky@ucw.cz>
6235
6236 [BZ #2074]
6237 * stdio.texi (Hook Functions): The user provided writer function
6238 is not allowed to return -1.
6239
6240 2012-04-11 David S. Miller <davem@davemloft.net>
6241
6242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6243
6244 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6245
6246 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6247 Add a leading slash to rtkaio.
6248
6249 2012-04-11 Jim Meyering <meyering@redhat.com>
6250
6251 [BZ #11959]
6252 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6253 It is not necessarily an error to ignore fwrite's return
6254 value. One can reliably use ferror to test for errors after
6255 the fact.
6256
6257 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 * bits/types.h (__snseconds_t): New type.
6260 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6261
6262 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6264 (__SNSECONDS_T_TYPE): Likewise.
6265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6266 (__SNSECONDS_T_TYPE): Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6268 (__SNSECONDS_T_TYPE): Likewise.
6269
6270 2012-04-10 Andreas Jaeger <aj@suse.de>
6271
6272 [BZ #2636]
6273 * manual/time.texi (Processor Time): Return type of times is
6274 elapsed real time since an arbitrary point in the past.
6275 (CPU Time): Move CLK_TCK from here...
6276 (Processor Time): ...to here. Correct description.
6277 * manual/conf.texi (Constants for Sysconf): Correct description of
6278 _SC_CLK_TCK.
6279
6280 2012-04-10 David S. Miller <davem@davemloft.net>
6281
6282 [BZ #13967]
6283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6284 where the is a gap between DT_REL(A) and DT_JMPREL.
6285
6286 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6287
6288 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6289 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6290 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6291
6292 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6293
6294 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6295 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6296 (dl_main): Handle --inhibit-cache.
6297 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6298 _dl_inhibit_cache.
6299 * elf/dl-load.c (_dl_map_object): Use it.
6300 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6301
6302 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6303
6304 [BZ #13872]
6305 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6306 (__ieee754_powl): Saturate large exponents rather than testing for
6307 overflow of y*log2(x).
6308 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6309 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6310 exceptions.
6311
6312 [BZ #11521]
6313 * math/s_ctan.c: Include <float.h>.
6314 (__ctan): Avoid internal overflow or cancellation in calculating
6315 denominator.
6316 * math/s_ctanf.c: Likewise.
6317 * math/s_ctanl.c: Likewise.
6318 * math/s_ctanh.c: Likewise.
6319 * math/s_ctanhf.c: Likewise.
6320 * math/s_ctanhl.c: Likewise.
6321 * math/libm-test.inc (ctan_test): Add more tests.
6322 (ctanh_test): Likewise.
6323 * sysdeps/i386/fpu/libm-test-ulps: Update.
6324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6325
6326 2012-04-09 Andreas Jaeger <aj@suse.de>
6327
6328 [BZ #6894]
6329 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6330 is an optional BSD extension.
6331
6332 [BZ #10254]
6333 * manual/stdio.texi (Opening Streams): Document additional fopen
6334 parameters.
6335
6336 2012-04-09 Roland McGrath <roland@hack.frob.com>
6337
6338 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6339 %eax without telling the compiler.
6340
6341 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6342
6343 [BZ # 13963]
6344 * manual/install.texi: Use sourceware.org.
6345
6346 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6347
6348 [BZ #13873]
6349 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6350 (__ieee754_pow): Generate overflow and underflow using huge*huge
6351 and tiny*tiny rather than just returning constant infinity or zero
6352 for large exponents.
6353 * math/libm-test.inc (pow_test): Require overflow exceptions for
6354 applicable cases of large exponents.
6355
6356 [BZ #706]
6357 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6358 (__ieee754_pow): Use iterative multiplication algorithm only for
6359 integer exponents with absolute value below 1024. Check for odd
6360 integer exponents when using algorithm for real exponents.
6361 * math/libm-test.inc (pow_test): Add more tests.
6362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6363
6364 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6365
6366 [BZ #13705]
6367 * math/libm-test.inc (exp_test): Do not allow overflow exception
6368 on underflow test.
6369
6370 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6371
6372 [BZ #13705]
6373 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6374 instead of __kernel_standard_f.
6375
6376 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6377
6378 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6379 * sysdeps/x86_64/memset_chk.S: Likewise.
6380
6381 2012-04-08 Andreas Jaeger <aj@suse.de>
6382
6383 [BZ #10153]
6384 * manual/startup.texi (Environment Access): Describe return value
6385 for putenv and setenv.
6386
6387 [BZ #6895]
6388 * manual/filesys.texi (Directory Entries): Add description for
6389 DT_LNK.
6390
6391 [BZ #6890]
6392 * manual/filesys.texi (Directory Entries): Clarify that it's file
6393 system not operating system in the description of DT_UNKNOWN.
6394
6395 [BZ #6578]
6396 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6397
6398 2012-04-08 Stephen Compall <s11@member.fsf.org>
6399
6400 [BZ #6649]
6401 * manual/llio.texi (Opening and Closing Files): Add cross
6402 reference to explain mode argument.
6403
6404 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6405
6406 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6407 * sysdeps/x86_64/memset_chk.S: Likewise.
6408
6409 2012-04-07 David S. Miller <davem@davemloft.net>
6410
6411 * elf/elf.h (R_SPARC_WDISP10): Define.
6412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6413 R_SPARC_SIZE32.
6414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6415 R_SPARC_SIZE64 and R_SPARC_H34.
6416
6417 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6418
6419 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6420 conditions and remove no longer applicable assertion.
6421
6422 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 * bits/byteswap.h: Include <features.h>.
6425 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6426 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6427
6428 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 * bits/byteswap.h (__bswap_16): Removed.
6431 Include <bits/byteswap-16.h> to get __bswap_16.
6432 * sysdeps/i386/bits/byteswap.h: Likewise.
6433 * sysdeps/s390/bits/byteswap.h: Likewise.
6434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6435 * bits/byteswap-16.h: New file.
6436 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6437 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6438 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6439 * string/Makefile (headers): Add bits/byteswap-16.h.
6440
6441 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6442
6443 [BZ #13895]
6444 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6445 extra indirection.
6446 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6447 * nss/tst-nss-static.c: New.
6448
6449 2012-04-06 Robert Millan <rmh@gnu.org>
6450
6451 [BZ #6486]
6452 * manual/llio.texi (File Position Primitive): lseek
6453 refers to WHENCE when it really means OFFSET.
6454
6455 2012-04-06 Andreas Jaeger <aj@suse.de>
6456
6457 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6458 strncmp declarations.
6459
6460 * abilist/libc.abilist: Add __poll and __ppoll.
6461
6462 2012-04-05 David S. Miller <davem@davemloft.net>
6463
6464 * scripts/check-local-headers.sh: Accept a host triplet in the
6465 path matched by the exclude regexp.
6466
6467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6468 definition.
6469 * sysdeps/powerpc/powerpc32/dl-machine.h
6470 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6471 * sysdeps/s390/s390-32/dl-machine.h
6472 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6473 * sysdeps/sparc/sparc32/dl-machine.h
6474 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6475 * sysdeps/sparc/sparc64/dl-machine.h
6476 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6477
6478 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6479 lazy binding.
6480 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6481 undefined symbol errors.
6482
6483 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6484 DT_NEEDED entries.
6485
6486 2012-04-05 Michael Matz <matz@suse.de>
6487
6488 [BZ #13592]
6489 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6490
6491 2012-04-05 Andreas Jaeger <aj@suse.de>
6492
6493 [BZ #13908]
6494 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6495 comment.
6496
6497 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6498
6499 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6500 which ROUND is no valid rounding mode.
6501
6502 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6503
6504 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6505 read again.
6506 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6507
6508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6509
6510 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6511 an exception using FPU order intentionally.
6512
6513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6514
6515 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6516 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6517 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6518 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6519
6520 2012-04-05 Simon Josefsson <simon@josefsson.org>
6521
6522 [BZ #12340]
6523 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6524 EINVAL when BUFLEN is too smal.
6525
6526 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6527
6528 [BZ #13553]
6529 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6530 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6531
6532 2012-04-03 Andreas Jaeger <aj@suse.de>
6533
6534 [BZ #13938]
6535 * manual/setjmp.texi (System V contexts): Fix sentence.
6536
6537 [BZ #13926]
6538 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6539 New macro for this case.
6540 [!__GNUC__] (__bswap_64): New inline function for this case.
6541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6542 * bits/byteswap.h: Likewise.
6543 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6544 ull, guard with __GLIBC_HAVE_LONG_LONG.
6545
6546 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6547 __GLIBC_HAVE_LONG_LONG.
6548
6549 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6550 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6551
6552 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6553
6554 [BZ #13691]
6555 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6556 inptr and inend, rather than using last_ch.
6557
6558 2012-04-02 David S. Miller <davem@davemloft.net>
6559
6560 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6561 * stdio-common/printf-parse.h (read_int): Change return type to
6562 'int', return -1 on INT_MAX overflow.
6563 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6564 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6565 overflows INT_MAX. Check for overflow of in-format-string precision
6566 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6567 SIZE_MAX not INT_MAX for integer overflow test.
6568 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6569 skip the construct in the format string but do not record anything.
6570 * stdio-common/bug22.c: Adjust to test both width/prevision
6571 INT_MAX overflow as well as total length INT_MAX overflow. Check
6572 explicitly for proper errno values.
6573
6574 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6575
6576 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6577 CHAR_MAX.
6578 * string/test-strcmp.c [! WIDE]: Likewise.
6579 * time/tst-mktime2.c: Likewise for INT_MAX.
6580 * string/test-string.h: #include <sys/param.h> for MIN.
6581
6582 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6583 * sysdeps/i386/init-first.c (init): Likewise.
6584 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6585 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6586 * sysdeps/sh/init-first.c (init): Likewise.
6587
6588 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6589
6590 * po/ru.po: Update from translation team.
6591 * po/vi.po: Likewise.
6592
6593 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6594
6595 * resolv/nss_dns/dns-host.c: Merge copyright years.
6596
6597 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6598
6599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6600 Optimize memcpy with prefetch if
6601 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6602 src, dst pointers have unequal 16 byte alignments.
6603
6604 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6605
6606 [BZ #13928]
6607 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6608 from a CNAME entry and return the minimum ttl for the query.
6609 (gaih_getanswer_slice): Likewise.
6610
6611 2012-03-30 Jeff Law <law@redhat.com>
6612
6613 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6614 due to long keys.
6615 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6616 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6617
6618 * resolv/nss_dns/dns-host.c: Update copyright year.
6619
6620 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6621
6622 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6623 requests to save a system call. Fix check that all bytes are sent.
6624
6625 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6626 comments for sendmmsg.
6627
6628 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6629
6630 [BZ #13691]
6631 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6632 with only 1 character between 0x0041 and 0x01b0.
6633 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6634 * wcsmbs/tst-mbsnrtowcs.c: New file.
6635
6636 2012-03-29 David S. Miller <davem@davemloft.net>
6637
6638 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6639 small copies by hand.
6640
6641 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6642
6643 [BZ #13761]
6644 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6645 _nss_compat_initgroups_dyn): Fall back to malloc/free
6646 for large group memberships.
6647
6648 2012-03-28 David S. Miller <davem@davemloft.net>
6649
6650 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6651 that branches into memcpy.
6652 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6655 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6657 bits.
6658 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6659 implementation too.
6660 * sysdeps/sparc/mempcpy.S: New file.
6661
6662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6663 the IFUNC routine in the libc case.
6664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6665
6666 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6667 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6668 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6669 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6670 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6671 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6672 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6673 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6674
6675 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6676 loop to 256 bytes instead of 64 bytes and fix test signedness.
6677
6678 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6679 * sysdeps/sparc/sparc32/Makefile: rather than here...
6680 * sysdeps/sparc/sparc64/Makefile: and here.
6681
6682 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6683
6684 * malloc/mallocbug.c: Avoid warnings about unused variables.
6685
6686 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6687
6688 [BZ #13760]
6689 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6690 in the right place. Discard and retry query if response is
6691 larger than input buffer size.
6692
6693 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6694
6695 [BZ #369]
6696 [BZ #2678]
6697 [BZ #3866]
6698 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6699 x for large integer exponent.
6700 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6701 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6702 sign of result as needed afterwards.
6703 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6704 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6705 result for underflowing pow the same as for overflow.
6706 (__kernel_standard_l): Handle powl overflow and underflow here
6707 rather than calling __kernel_standard.
6708 * math/libm-test.inc (pow_test): Add more tests.
6709
6710 [BZ #3868]
6711 [BZ #13879]
6712 [BZ #13910]
6713 [BZ #13911]
6714 [BZ #13912]
6715 [BZ #13913]
6716 [BZ #13915]
6717 [BZ #13916]
6718 [BZ #13917]
6719 [BZ #13918]
6720 [BZ #13919]
6721 [BZ #13920]
6722 [BZ #13921]
6723 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6724 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6725 (__kernel_standard_l): New function.
6726 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6727 __kernel_standard.
6728 * math/w_acosl.c (__acosl): Likewise.
6729 * math/w_asinl.c (__asinl): Likewise.
6730 * math/w_atan2l.c (__atan2l): Likewise.
6731 * math/w_atanhl.c (__atanhl): Likewise.
6732 * math/w_coshl.c (__coshl): Likewise.
6733 * math/w_exp10l.c (__exp10l): Likewise.
6734 * math/w_exp2l.c (__exp2l): Likewise.
6735 * math/w_fmodl.c (__fmodl): Likewise.
6736 * math/w_hypotl.c (__hypotl): Likewise.
6737 * math/w_j0l.c (__j0l, __y0l): Likewise.
6738 * math/w_j1l.c (__j1l, __y1l): Likewise.
6739 * math/w_jnl.c (__jnl, __ynl): Likewise.
6740 * math/w_lgammal.c (__lgammal): Likewise.
6741 * math/w_log10l.c (__log10l): Likewise.
6742 * math/w_log2l.c (__log2l): Likewise.
6743 * math/w_logl.c (__logl): Likewise.
6744 * math/w_powl.c (__powl): Likewise.
6745 * math/w_remainderl.c (__remainderl): Likewise.
6746 * math/w_scalbl.c (sysv_scalbl): Likewise.
6747 * math/w_sinhl.c (__sinhl): Likewise.
6748 * math/w_sqrtl.c (__sqrtl): Likewise.
6749 * math/w_tgammal.c (__tgammal): Likewise.
6750 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6751 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6752 * math/libm-test.inc (acos_test): Add more tests.
6753 (acosh_test): Likewise.
6754 (asin_test): Likewise.
6755 (atanh_test): Likewise.
6756 (exp_test): Likewise.
6757 (exp10_test): Likewise.
6758 (exp2_test): Likewise.
6759 (expm1_test): Likewise.
6760 (lgamma_test): Likewise.
6761 (log_test): Likewise.
6762 (log10_test): Likewise.
6763 (log1p_test): Likewise.
6764 (log2_test): Likewise.
6765 (pow_test): Do not allow some spurious overflow exceptions.
6766 (sqrt_test): Add more tests.
6767 (tgamma_test): Likewise.
6768 (y0_test): Likewise.
6769 (y1_test): Likewise.
6770 (yn_test): Likewise.
6771
6772 2012-03-27 Anton Blanchard <anton@samba.org>
6773
6774 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6775 MAP_HUGETLB.
6776 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6777 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6778 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6779
6780 2012-03-27 David S. Miller <davem@davemloft.net>
6781
6782 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6783
6784 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6785 have-as-vis3 check.
6786
6787 2012-03-27 Andreas Jaeger <aj@suse.de>
6788
6789 * sysdeps/x86_64/elf/configure.in: Moved to ...
6790 * sysdeps/x86_64/configure.in: ... here.
6791 * sysdeps/x86_64/elf/start.S: Moved to ...
6792 * sysdeps/x86_64/start.S: ... here.
6793 * sysdeps/x86_64/elf/configure: Delete.
6794
6795 * sysdeps/x86_64/configure.in: Merge contents from
6796 sysdeps/i386/configure.in (without i686 check).
6797
6798 * sysdeps/i386/elf/Versions: Merge into ...
6799 * sysdeps/i386/Versions: ... this.
6800 * sysdeps/i386/elf/Versions: Delete file.
6801 * sysdeps/i386/elf/start.S: Moved to ...
6802 * sysdeps/i386/start.S: ...here.
6803 * sysdeps/i386/elf/configure.in: Merge into...
6804 * sysdeps/i386/configure.in: ...here.
6805 * sysdeps/i386/elf/configure.in: Delete file.
6806 * sysdeps/i386/elf/configure: Delete file.
6807
6808 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6809 * debug/backtracesyms.c: ... here.
6810 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6811 * debug/backtracesymsfd.c: ... here.
6812 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6813 * sysdeps/generic/ifunc-sel.h: ... here.
6814
6815 * sysdeps/unix/i386/start.c: Delete file.
6816 * sysdeps/unix/sparc/start.c: Delete file.
6817 * sysdeps/unix/start.c: Delete file.
6818
6819 * sysdeps/sh/elf/configure.in: Moved to ...
6820 * sysdeps/sh/configure.in: ... here.
6821 * sysdeps/sh/elf/start.S: Moved to ...
6822 * sysdeps/sh/start.S: ... here.
6823 * sysdeps/sh/elf/configure: Delete file.
6824
6825 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6826 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6827 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6828 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6829 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6830 * sysdeps/powerpc/powerpc64/start.S: here.
6831 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6832 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6833 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6834 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6835 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6836
6837 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6838 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6839 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6840 * sysdeps/powerpc/powerpc32/start.S: ... here.
6841 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6842 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6843 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6844
6845 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6846 * sysdeps/powerpc/ifunc-sel.h: ... here.
6847 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6848 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6849
6850 * sysdeps/sparc/elf/configure.in: Moved to ...
6851 * sysdeps/sparc/configure.in: ... here.
6852 * sysdeps/sparc/elf/configure: Delete file.
6853 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6854 * sysdeps/sparc/sparc32/start.S: ... here.
6855 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6856 * sysdeps/sparc/sparc64/start.S: ... here.
6857 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6858 * sysdeps/sparc/sparc32/Makefile: ... this.
6859 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6860 * sysdeps/sparc/sparc64/Makefile: ... this.
6861
6862 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6863 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6864 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6865 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6866 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6867 * sysdeps/s390/s390-32/setjmp.S: ... here.
6868 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6869 * sysdeps/s390/s390-32/configure.in: ... here.
6870 * sysdeps/s390/s390-32/elf/configure: Delete file.
6871 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6872 * sysdeps/s390/s390-32/start.S: ... here.
6873
6874 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6875 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6876 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6877 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6878 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6879 * sysdeps/s390/s390-64/setjmp.S: ... here.
6880 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6881 * sysdeps/s390/s390-64/configure.in: ... here
6882 * sysdeps/s390/s390-64/elf/configure: Delete file.
6883 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6884 * sysdeps/s390/s390-64/start.S: ... here.
6885 * sysdeps/s390/s390-64/elf/configure: Delete.
6886
6887 * configure.in: Remove support for elf directories in sysdeps.
6888
6889 * configure: Regenerated.
6890 * sysdeps/i386/configure: Regenerated.
6891 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6892 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6893 * sysdeps/s390/s390-32/configure: Regenerated.
6894 * sysdeps/s390/s390-64/configure: Regenerated.
6895 * sysdeps/sh/configure: Regenerated.
6896 * sysdeps/sparc/configure: Regenerated.
6897 * sysdeps/x86_64/configure: Regenerated.
6898
6899 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6900
6901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6902
6903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6904 denormal result into account.
6905
6906 2012-03-25 Roland McGrath <roland@hack.frob.com>
6907
6908 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6909 Reported by Allan McRae <allan@archlinux.org>.
6910
6911 2012-03-23 Jeff Law <law@redhat.com>
6912
6913 * nss/getnssent.c (__nss_getent): Fix typo.
6914
6915 2012-03-23 David S. Miller <davem@davemloft.net>
6916
6917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6918
6919 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6920
6921 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6922 to pad to uint64_t for each field.
6923 (dl_tls_index): Replace unsigned long with uint64_t.
6924
6925 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6926 Paul Pluzhnikov <ppluzhnikov@google.com>
6927
6928 [BZ #6528]
6929 * grp/Makefile (otherlibs): Don't set it.
6930 * inet/Makefile (otherlibs): Likewise.
6931 * login/Makefile (otherlibs): Likewise.
6932 * nscd/Makefile (otherlibs): Likewise.
6933 * posix/Makefile (otherlibs): Likewise.
6934 * pwd/Makefile (otherlibs): Likewise.
6935 * rt/Makefile (otherlibs): Likewise.
6936 * sunrpc/Makefile (otherlibs): Likewise.
6937 * nss/Makefile (otherlibs): Likewise.
6938 Add libnss_files to routines and static-only-routines.
6939 ($(objpfx)getent): Remove rule.
6940 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6941 static-only-routines.
6942
6943 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6944
6945 [BZ #13892]
6946 * math/s_cexp.c: Include <float.h>.
6947 (__cexp): Handle exp result overflowing not necessarily
6948 overflowing both real and imaginary parts of result.
6949 * math/s_cexpf.c: Likewise.
6950 * math/s_cexpl.c: Likewise.
6951 * math/libm-test.inc (cexp_test): Add more tests.
6952 * sysdeps/i386/fpu/libm-test-ulps: Update.
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6954
6955 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6956
6957 * include/link.h (ELFW): New macro.
6958 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6959 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6960
6961 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6962
6963 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6964 with uint64_t.
6965
6966 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6967
6968 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6969 declaration.
6970 (struct La_x32_retval): Likewise.
6971
6972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6973
6974 * sysdeps/x86_64/preconfigure.in: New file.
6975 * sysdeps/x86_64/preconfigure: New generated file.
6976
6977 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6978
6979 [BZ #13824]
6980 * math/e_exp2l.c: Include <float.h>.
6981 (__ieee754_exp2l): Handle overflow and underflow cases
6982 separately. Only pass fractional part of argument to
6983 __ieee754_expl.
6984 * math/libm-test.inc (exp2_test): Add more tests.
6985
6986 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6987 negating x to take absolute value.
6988 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6989 Likewise.
6990 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6992 Likewise.
6993 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6994 computing low part if x was negated.
6995 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6996
6997 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6998
6999 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7000 la_x32_gnu_pltexit.
7001 (pltexit): Cast int_retval to ptrdiff_t.
7002 * elf/tst-auditmod3b.c: Likewise.
7003 * elf/tst-auditmod4b.c: Likewise.
7004 * elf/tst-auditmod5b.c: Likewise.
7005 * elf/tst-auditmod6b.c: Likewise.
7006 * elf/tst-auditmod6c.c: Likewise.
7007 * elf/tst-auditmod7b.c: Likewise.
7008
7009 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7010 and x32_gnu_pltexit.
7011
7012 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7013 __ELF_NATIVE_CLASS.
7014 (La_x32_regs): New macro.
7015 (La_x32_retval): Likewise.
7016 (la_x32_gnu_pltenter): New function prototype.
7017 (la_x32_gnu_pltexit): Likewise.
7018
7019 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7020
7021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7022 exponent.
7023
7024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7025
7026 * configure.in (libc_cv_cc_nofma): Check for option to disable
7027 generation of FMA instructions.
7028 * configure: Regenerate.
7029 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7030 * sysdeps/ieee754/dbl-64/Makefile: New file.
7031 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7032 Remove brandred-fma4.
7033 (CFLAGS-brandred-fma4.c): Remove.
7034 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7036 define.
7037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7038 define.
7039
7040 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7041
7042 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7043 LLONG_MAX != LONG_MAX.
7044 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7045 (_fitoa_word): Likewise.
7046 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7047 LLONG_MAX != LONG_MAX.
7048 * stdio-common/_itowa.h: Include <_itoa.h>.
7049 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7050 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7051 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7052 only if not defined.
7053 (_ITOA_WORD_TYPE): Likewise.
7054 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7055 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7056
7057 2012-03-21 David S. Miller <davem@davemloft.net>
7058
7059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7060
7061 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7062
7063 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7064 of x86_64 when setting libc_cv_slibdir, libdir and
7065 libc_cv_localedir.
7066 * sysdeps/unix/sysv/linux/configure: Regenerated.
7067
7068 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7069
7070 * manual/lang.texi (Old Varargs): Remove section.
7071 (How Variadic): Update menu.
7072 (va_start): Do not mention varargs.h.
7073
7074 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7075 Joseph Myers <joseph@codesourcery.com>
7076
7077 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7078 link test.
7079 * configure: Regenerated.
7080
7081 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7082
7083 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7084 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7085 conformtest.pl
7086
7087 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7088
7089 * NOTES: Remove.
7090 * Makefile (files-for-dist): Remove NOTES.
7091 (NOTES): Remove rule.
7092 * README: Don't refer to NOTES.
7093 * manual/creature.texi: Don't include macros.texi.
7094 * manual/intro.texi (creature.texi): Remove comment referring to
7095 NOTES.
7096
7097 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7098 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7099 * configure: Regenerated.
7100 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7101 LIBC_TRY_CC_OPTION.
7102 (libc_cv_as_i686): Likewise.
7103 (libc_cv_cc_avx): Likewise.
7104 (libc_cv_cc_sse2avx): Likewise.
7105 (libc_cv_cc_fma4): Likewise.
7106 (libc_cv_cc_novzeroupper): Likewise.
7107 * sysdeps/i386/configure: Regenerated.
7108
7109 [BZ #13883]
7110 * sysdeps/i386/fpu/s_cexp.S: Remove.
7111 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7112 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7113 * math/libm-test.inc (cexp_test): Add more tests.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7116
7117 2012-03-21 Allan McRae <allan@archlinux.org>
7118
7119 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7120
7121 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7122
7123 [BZ #13871]
7124 * math/w_exp2.c: Do not include <float.h>.
7125 (o_threshold, u_threshold): Remove.
7126 (__exp2): Calculate result before checking finiteness and calling
7127 __kernel_standard.
7128 * math/w_exp2f.c: Likewise.
7129 * math/w_exp2l.c: Likewise.
7130 * math/libm-test.inc (exp2_test): Require overflow exception for
7131 1e6 input.
7132
7133 [BZ #3866]
7134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7135 range of signed 64-bit integers before using fistpll. Remove
7136 checks for whether integers fit in mantissa bits.
7137 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7138 the range of signed 32-bit integers before using fistpl. Remove
7139 checks for whether integers fit in mantissa bits.
7140 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7141 (__ieee754_powl): Test for y outside the range of signed 64-bit
7142 integers before using fistpll. Reduce 64-bit values to 63-bit
7143 ones as needed.
7144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7145 divide-by-zero is raised for zero to large negative powers.
7146 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7147 (__ieee754_powl): Test for y outside the range of signed 64-bit
7148 integers before using fistpll. Reduce 64-bit values to 63-bit
7149 ones as needed.
7150 * math/libm-test.inc (pow_test): Add more tests.
7151
7152 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7153
7154 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7155 <stdio-common/_itoa.h>.
7156 * debug/segfault.c: Likewise.
7157 * elf/dl-cache.c: Likewise.
7158 * elf/dl-minimal.c: Likewise.
7159 * elf/dl-misc.c: Likewise.
7160 * elf/dl-sysdep.c: Likewise.
7161 * elf/dl-version.c: Likewise.
7162 * elf/rtld.c: Likewise.
7163 * hurd/hurdsock.c: Likewise.
7164 * hurd/lookup-retry.c: Likewise.
7165 * malloc/malloc.c: Likewise.
7166 * malloc/mtrace.c: Likewise.
7167 * nscd/nscd_getgr_r.c: Likewise.
7168 * nscd/nscd_getpw_r.c: Likewise.
7169 * nscd/nscd_getserv_r.c: Likewise.
7170 * posix/getopt_init.c: Likewise.
7171 * posix/wordexp.c: Likewise.
7172 * stdio-common/_itoa.c: Likewise.
7173 * stdio-common/printf_fphex.c: Likewise.
7174 * stdio-common/vfprintf.c: Likewise.
7175 * string/_strerror.c: Likewise.
7176 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7177 * sysdeps/i386/i686/hp-timing.h: Likewise.
7178 * sysdeps/mach/_strerror.c: Likewise.
7179 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7180 * sysdeps/mach/hurd/sethostid.c: Likewise.
7181 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7182 * sysdeps/mach/xpg-strerror.c: Likewise.
7183 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7184 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7185 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7186 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7187 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7188 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7189 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7190 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7191 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7192 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7193 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7194 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7195 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7196 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7200 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7201 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7202 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7203 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7204
7205 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7206
7207 * stdio-common/_itoa.h: Moved to ...
7208 * sysdeps/generic/_itoa.h: Here.
7209
7210 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7211
7212 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7213 instead of "_itoa.h" and "_itowa.h".
7214 * stdio-common/vfprintf.: Likewise.
7215
7216 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7217
7218 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7219 <bits/wordsize.h>.
7220 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7221 (__signbit): Likwise.
7222 (llrintf): Likwise.
7223 (llrint): Likwise.
7224
7225 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7226
7227 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7228 __WORDSIZE != 64.
7229
7230 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7231
7232 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7233 OVERFLOW_EXCEPTION_OK.
7234 * math/libm-test.inc ("Philosophy"): Update comment about
7235 exception testing.
7236 (OVERFLOW_EXCEPTION): Define.
7237 (OVERFLOW_EXCEPTION_OK): Likewise.
7238 (INVALID_EXCEPTION_OK): Renumber.
7239 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7240 (IGNORE_ZERO_INF_SIGN): Likewise.
7241 (test_exceptions): Handle FE_OVERFLOW.
7242 (exp10_test): Expect overflow exceptions.
7243 (exp2_test): Likewise.
7244 (expm1_test): Likewise.
7245 (nextafter_test): Likewise.
7246 (pow_test): Likewise.
7247 (scalbn_test): Likewise.
7248 (scalbln_test): Likewise.
7249
7250 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7251
7252 * sysdeps/x86_64/bits/atomic.h
7253 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7254 64bit integer.
7255 (atomic_exchange_acq): Likewise.
7256 (__arch_exchange_and_add_body): Likewise.
7257 (__arch_add_body): Likewise.
7258 (atomic_add_negative): Likewise.
7259 (atomic_add_zero): Likewise.
7260
7261 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7262
7263 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7264 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7265
7266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7267
7268 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7269 Check __x86_64__ instead of __WORDSIZE.
7270
7271 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7272
7273 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7274
7275 2012-03-19 David S. Miller <davem@davemloft.net>
7276
7277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7278
7279 * sysdeps/sparc/fpu/fenv_private.h: New file.
7280 * sysdeps/sparc/fpu/math_private.h: Use it.
7281 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7282 Remove.
7283 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7284 (libc_feholdexcept_setroundl): Remove.
7285 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7286 Remove.
7287 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7288 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7289
7290 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7291
7292 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7293 int64_t instead of long int.
7294 (INSERT_WORDS64): Likwise.
7295
7296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7297
7298 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7299 _Unwind_GetCFA return to _Unwind_Ptr first.
7300
7301 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7302
7303 [BZ #13629]
7304 * math/s_clog.c: Include <float.h>.
7305 (__clog): Scale large or subnormal inputs.
7306 * math/s_clogf.c: Likewise.
7307 * math/s_clogl.c: Likewise.
7308 * math/s_clog10.c: Include <float.h>.
7309 (M_LOG10_2): Define.
7310 (__clog10): Scale large or subnormal inputs.
7311 * math/s_clog10f.c: Likewise.
7312 * math/s_clog10l.c: Likewise.
7313 * math/libm-test.inc (clog_test): Add more tests.
7314 (clog10_test): Likewise.
7315 * sysdeps/i386/fpu/libm-test-ulps: Update.
7316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7317
7318 [BZ #11451]
7319 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7320 x and y.
7321 * math/libm-test.inc (atan2_test): Add another test.
7322
7323 * Makerules (common-objdir-compile): Remove.
7324 * sysdeps/unix/Makefile (config-generated): Do not add
7325 $(unix-generated) to variable.
7326 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7327 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7328 Remove rule.
7329 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7330 Likewise.
7331 [generic bits/local_lim.h] (before-compile): Do not append to
7332 variable.
7333 [generic bits/local_lim.h] (common-generated): Likewise.
7334 [generic sys/param.h] (before-compile): Do not append to variable.
7335 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7336 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7337 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7338 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7339 include.
7340 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7341 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7342 [generic sys/param.h] ($(addprefix
7343 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7344 [generic sys/param.h] (common-generated): Do not append to
7345 variable.
7346 [generic sys/param.h] (sysdep_headers): Likewise.
7347 [generic bits/errno.h] (before-compile): Do not append to
7348 variable.
7349 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7350 rule.
7351 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7352 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7353 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7354 [generic bits/errno.h] (common-generated): Do not append to
7355 variable.
7356 [generic bits/ioctls.h] (before-compile): Do not append to
7357 variable.
7358 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7359 rule.
7360 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7361 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7362 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7363 rule.
7364 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7365 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7366 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7367 [generic bits/ioctls.h] (common-generated): Do not append to
7368 variable.
7369 [generic sys/syscall.h] (syscall.h): Remove variable.
7370 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7371 rule.
7372 [generic sys/syscall.h] (before-compile): Do not append to
7373 variable.
7374 [generic sys/syscall.h] (common-generated): Likewise.
7375 * sysdeps/unix/errnos-tmpl.c: Remove file.
7376 * sysdeps/unix/errnos.awk: Likewise.
7377 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7378 * sysdeps/unix/ioctls.awk: Likewise.
7379 * sysdeps/unix/mk-local_lim.c: Likewise.
7380 * sysdeps/unix/snarf-ioctls: Likewise.
7381
7382 2012-03-19 Richard Henderson <rth@twiddle.net>
7383
7384 * sysdeps/i386/fpu/fenv_private.h: New file.
7385 * sysdeps/i386/fpu/math_private.h: Use it.
7386 (math_opt_barrier, math_force_eval): Remove.
7387 (libc_feholdexcept_setround_53bit): Remove.
7388 (libc_feupdateenv_53bit): Remove.
7389 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7390 (math_opt_barrier, math_force_eval): Remove.
7391 (libc_feholdexcept): Remove.
7392 (libc_feholdexcept_setround): Remove.
7393 (libc_fetestexcept, libc_fesetenv): Remove.
7394 (libc_feupdateenv_test): Remove.
7395 (libc_feupdateenv, libc_feholdsetround): Remove.
7396 (libc_feresetround): Remove.
7397
7398 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7399 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7400
7401 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7402 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7403 (libc_feupdateenv_testl): New.
7404 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7405 (libc_feupdateenv_testf): New.
7406 (libc_feupdateenv): Use libc_feupdateenv_test.
7407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7408 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7409
7410 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7411 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7412 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7413 (libc_feresetround_noex): New.
7414 (libc_feresetround_noexf): New.
7415 (libc_feresetround_noexl): New.
7416 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7417 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7418 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7419 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7420 SET_RESTORE_ROUND.
7421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7422 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7423 (__cos): Likewise.
7424 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7425 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7426 SET_RESTORE_ROUND_NOEX.
7427 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7428 SET_RESTORE_ROUND_NOEXF.
7429 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7430 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7431 (libc_feholdsetroundf): New.
7432 (libc_feresetround, libc_feresetroundf): New.
7433
7434 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7435 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7436 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7437
7438 * sysdeps/generic/math_private.h: Include <fenv.h>.
7439 (default_libc_feholdexcept): New.
7440 (default_libc_feholdexcept_setround): New.
7441 (default_libc_fesetenv, default_libc_feupdateenv): New.
7442 (libc_feholdexcept): Only define if undefined.
7443 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7444 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7445 (libc_feholdexcept_setroundl): Likewise.
7446 (libc_feholdexcept_setround_53bit): Likewise.
7447 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7448 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7449 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7450 (libc_feupdateenv_53bit): Likewise.
7451 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7452 (libc_feholdexcept): Convert from macro to inline function.
7453 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7454 (libc_fesetenv, libc_feupdateenv): Likewise.
7455
7456 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7457 not previously defined.
7458 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7459 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7460 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7461 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7462 * sysdeps/ieee754/flt-32/math_private.h: New file.
7463 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7464 math_private.h below SET_FLOAT_WORD.
7465 (__isnan, __isinf_ns, __finite): Remove.
7466 (__isnanf, __isinf_nsf, __finitef): Remove.
7467
7468 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7469
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7471
7472 2012-03-17 David S. Miller <davem@davemloft.net>
7473
7474 [BZ #6471]
7475 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7476 for 2.16.
7477
7478 2012-03-16 David S. Miller <davem@davemloft.net>
7479
7480 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7481 warnings.
7482
7483 [BZ #6471]
7484 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7485 properly.
7486 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7487 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7488 sysdep_routines when subdir is sysvipc.
7489 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7490 __getshmlba helper.
7491
7492 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7493
7494 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7495
7496 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7497 [__LP64__].
7498
7499 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7500
7501 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7502 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7503 (__lround): Renamed to ...
7504 (__llround): This. Replace long int with long long int.
7505 Define lround functions as aliases of llround functions.
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7507
7508 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7509
7510 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7511 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7512 adresses to uintptr_t. Replace "long int" and "unsigned long
7513 int" with "greg_t" on va_arg.
7514
7515 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7518 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7519
7520 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7521 Move e_machine check before EI_CLASS check. Handle x32
7522 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7523 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7524 SKIP_EM_IA_64 and include
7525 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7526
7527 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7528 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7529 (add_system_dir): New macro.
7530
7531 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7532 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7533
7534 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7535
7536 [BZ #2551]
7537 [BZ #2552]
7538 [BZ #2553]
7539 [BZ #2554]
7540 [BZ #2562]
7541 [BZ #2563]
7542 [BZ #2565]
7543 [BZ #2566]
7544 [BZ #2576]
7545 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7546 (y0): Likewise.
7547 * math/w_j0f.c (j0f): Likewise.
7548 (y0f): Likewise.
7549 * math/w_j0l.c (__j0l): Likewise.
7550 (__y0l): Likewise.
7551 * math/w_j1.c (j1): Likewise.
7552 (y1): Likewise.
7553 * math/w_j1f.c (j1f): Likewise.
7554 (y1f): Likewise.
7555 * math/w_j1l.c (__j1l): Likewise.
7556 (__y1l): Likewise.
7557 * math/w_jn.c (jn): Likewise.
7558 (yn): Likewise.
7559 * math/w_jnf.c (jnf): Likewise.
7560 (ynf): Likewise.
7561 * math/w_jnl.c (__jnl): Likewise.
7562 (__ynl): Likewise.
7563 * math/libm-test.inc (j0_test): Add more tests.
7564 (j1_test): Likewise.
7565 (jn_test): Likewise. Add trailing semicolon to existing test.
7566 (y0_test): Likewise.
7567 (y1_test): Likewise.
7568 * sysdeps/i386/fpu/libm-test-ulps: Update.
7569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7570
7571 [BZ #13851]
7572 [BZ #13854]
7573 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7574 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7575 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7576 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7577 (__tanl): Set errno for infinite argument.
7578 * sysdeps/i386/fpu/mptan.c: Remove.
7579 * sysdeps/i386/fpu/s_tan.S: Likewise.
7580 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7581 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7582 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7583 * math/libm-test.inc (tan_test): Add more tests and enable more
7584 tests for double and long double.
7585 * sysdeps/i386/fpu/libm-test-ulps: Update.
7586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7587
7588 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7589
7590 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7591 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7592
7593 2012-03-16 Roland McGrath <roland@hack.frob.com>
7594
7595 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7596 * configure.in: Use it for both main tree and add-ons.
7597 * configure: Regenerated.
7598
7599 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7602
7603 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7604
7605 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7606 in comment.
7607
7608 [BZ #13851]
7609 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7610 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7614 infinite argument.
7615 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7617 != 0 for prec == 2.
7618 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7619 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7620 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7621 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7622 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7623 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7624 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7625 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7626 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7627 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7628 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7629 * math/libm-test.inc (cos_test): Add more tests and enable more
7630 tests for long double.
7631 (sin_test): Likewise.
7632 (sincos_test): Likewise.
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7635
7636 2012-03-16 David S. Miller <davem@davemloft.net>
7637
7638 * sysdeps/sparc/fpu/math_private.h: New file.
7639
7640 2012-03-15 David S. Miller <davem@davemloft.net>
7641
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7643 file.
7644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7646 file.
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7653 sysdep routines.
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7655
7656 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7657 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7658
7659 * sysdeps/sparc/sparc-ifunc.h: New file.
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7661 sparc-ifunc.h
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7664 Likewise.
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7666 Likewise.
7667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7671 Likewise.
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7677 Likewise.
7678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7679 Likewise.
7680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7698 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7701 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7704
7705 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7706
7707 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7708 scaling.
7709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7710
7711 2012-03-15 Andreas Jaeger <aj@suse.de>
7712
7713 [BZ #13852]
7714 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7715 ieee754/flt-32 implementation for sin, cos and sincos.
7716 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7717 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7718 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7719 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7720 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7721 ieee754/flt-32 implementation for tan.
7722
7723 * math/libm-test.inc (cos_test): Enable some large input tests for
7724 float as well
7725 (sin_test): Likewise.
7726 (sincos_test): Likewise.
7727 (tan_test): Add tests for large input.
7728
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730
7731 2012-03-15 Andreas Jaeger <aj@suse.de>
7732
7733 [BZ #13658]
7734 * math/libm-test.inc (cos_test): Add more test cases.
7735 (sin_test): Likewise.
7736 (sincos_test): Likewise.
7737
7738 2012-03-15 Andreas Jaeger <aj@suse.de>
7739
7740 [BZ #13837]
7741 * math/libm-test.inc (cos_test): Add a test case for large input
7742 value.
7743 (sin_test): Likewise.
7744 (sincos_test): Likewise.
7745
7746 2012-03-15 Andreas Jaeger <aj@suse.de>,
7747 Joseph Myers <joseph@codesourcery.com>
7748
7749 [BZ #13658]
7750 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7751 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7752 * sysdeps/i386/fpu/branred.c: Likewise.
7753 * sysdeps/i386/fpu/dosincos.c: Likewise.
7754 * sysdeps/i386/fpu/mpa.c: Likewise.
7755 * sysdeps/i386/fpu/s_cos.S: Likewise.
7756 * sysdeps/i386/fpu/s_sin.S: Likewise.
7757 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7758 * sysdeps/i386/fpu/sincos32.c: Likewise.
7759
7760 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7761 Define.
7762 (libc_feupdateenv_53bit): Define.
7763 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7764 Define.
7765 (libc_feupdateenv_53bit): Define.
7766
7767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7768 53 bit (without extend i386 double precision).
7769
7770 * math/libm-test.inc (sincos_test): Add tests for large input.
7771 (sin): Likewise.
7772 (cos): Likewise.
7773
7774 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7775
7776 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7777
7778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7779
7780 2012-03-15 David S. Miller <davem@davemloft.net>
7781
7782 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7783 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7785 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7798 file.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7801 file.
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7804 file.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7807 file.
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7810 fmin/fmax sysdep routines.
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7812
7813 2012-03-14 David S. Miller <davem@davemloft.net>
7814
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7822 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7844 routines.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7846 file.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7849 file.
7850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7852 file.
7853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7855 file.
7856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7858 file.
7859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7861 file.
7862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7863 file.
7864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7865 file.
7866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7867 file.
7868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7869 New file.
7870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7871 file.
7872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7873 file.
7874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7876 file.
7877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7879 file.
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7882 file.
7883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7885 VIS3 routines.
7886
7887 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7888 New file.
7889
7890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7891
7892 * sysdeps/sparc/configure.in: New file.
7893 * sysdeps/sparc/configure: Generate.
7894 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7895 * configure: Regenerate.
7896 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7897 * config.make.in (have-as-vis3): New.
7898 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7899 available use -Av9d instead of -Av9a.
7900 * sysdeps/sparc/sparc64/Makefile: Likewise.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7903 New file.
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7905 file.
7906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7907 New file.
7908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7909 file.
7910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7911 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7914 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7915
7916 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7917 fzeros/fnegs to load 0x80000000 into a float register instead of
7918 using the stack.
7919 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7920
7921 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7922
7923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7924 bits/syscall.h.
7925 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7926 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7927 ($(inst_includedir)/bits/syscall.h): Remove rule.
7928 ($(objpfx)bits/syscall.d): Include instead of
7929 $(objpfx)syscall-list.d.
7930 (generated): Change syscall-list.h and syscall-list.d to
7931 bits/syscall.h and bits/syscall.d.
7932
7933 2012-03-14 Roland McGrath <roland@hack.frob.com>
7934
7935 [BZ #13846]
7936 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7937
7938 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7939
7940 [BZ #13841]
7941 * math/s_csqrt.c: Include <float.h>.
7942 (__csqrt): Scale large or subnormal inputs.
7943 * math/s_csqrtf.c: Likewise.
7944 * math/s_csqrtl.c: Likewise.
7945 * math/libm-test.inc (csqrt_test): Add more tests.
7946 * sysdeps/i386/fpu/libm-test-ulps: Update.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7948
7949 [BZ #13840]
7950 * math/libm-test.inc (hypot_test): Add more tests.
7951
7952 2012-03-13 David S. Miller <davem@davemloft.net>
7953
7954 [BZ #13840]
7955 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7956 double-precision for the calculation instead of scaling.
7957
7958 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7959
7960 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7961 manipulate bits before adding and subtracting TWO52[sx].
7962 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7964 Likewise.
7965 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7966
7967 2012-03-13 David S. Miller <davem@davemloft.net>
7968
7969 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7970 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7972 rtld-global-offsets.h
7973 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7974
7975 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7976 large parameters.
7977
7978 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7979
7980 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7981 'err' in the ifdef scope in which it is actually used.
7982
7983 * nss/nss_db/db-init.c: Include string.h
7984
7985 2012-03-12 David S. Miller <davem@davemloft.net>
7986
7987 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7988 masking out of the most significant byte of random value used.
7989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7990 Fix coding style in previous change.
7991
7992 * sysdeps/unix/sysv/linux/kernel-features.h
7993 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7994 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7995 expression.
7996 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7997 later.
7998
7999 2012-03-11 David S. Miller <davem@davemloft.net>
8000
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8002 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8004 for 'resultvar' otherwise things get truncated on 64-bit.
8005
8006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8007 Fix masking out of the most significant byte of random value used.
8008
8009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8010
8011 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8012
8013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8014
8015 2012-03-09 David S. Miller <davem@davemloft.net>
8016
8017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8018 variables with appropriate CPP guards.
8019 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8020 frame pointer, not the stack pointer. Correct layout comments. Fix test
8021 on resulting framesize and the management of the outregs buffer for pltexit.
8022 Preserve floating point return values across _dl_call_pltexit call.
8023 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8024 framesize and the management of the outregs buffer for pltexit.
8025 Preserve floating point return values across _dl_call_pltexit
8026 call.
8027 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8028 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8029 (print_exit): Fix format string for return register value.
8030
8031 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8032
8033 * sunrpc/Makefile (others): Add rpcgen.
8034 ($(objpfx)rpcgen): Remove special build rule and dependency on
8035 libc.
8036 * sunrpc/rpcgen.c: New file.
8037
8038 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8039
8040 [BZ #13673]
8041 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8042 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8043 * sysdeps/i386/crti.S: Likewise.
8044 * sysdeps/i386/crtn.S: Likewise.
8045 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8046 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8048 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8049 * sysdeps/sh/crti.S: Likewise.
8050 * sysdeps/sh/crtn.S: Likewise.
8051 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8052
8053 [BZ #13673]
8054 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8055 with URL.
8056 * locale/programs/locfile-kw.gperf: Likewise.
8057 * locale/programs/charmap-kw.h: Regenerated.
8058 * locale/programs/locfile-kw.h: Likewise.
8059
8060 [BZ #13673]
8061 * intl/plural.y: Replace FSF snail mail address with URL.
8062 * intl/plural.c: Regenerated.
8063
8064 2012-03-09 Richard Henderson <rth@twiddle.net>
8065
8066 * include/math_private.h: Remove file.
8067 * math/math_private.h: Move file ...
8068 * sysdeps/generic/math_private.h: ... here.
8069
8070 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8071 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8072 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8073
8074 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8075 and <math_private.h>.
8076 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8077 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8078 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8079 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8080 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8164 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8166 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8167 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8169 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8170 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8171 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8172 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8173 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8175 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8176 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8177 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8178 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8179 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8180 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8181 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8182 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8183 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8184 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8186 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8187 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8188 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8189 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8190 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8191 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8195 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8196 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8197 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8198 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8199 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8200 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8203 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8204 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8205 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8206 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8207 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8208 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8209 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8210 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8211 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8212 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8213 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8214 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8215 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8216 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8217 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8218 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8219 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8220 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8221 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8222 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8223 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8224 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8225 * sysdeps/ieee754/k_standard.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8341 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8345 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8348 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8375 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8386 * sysdeps/ieee754/s_lib_version.c: Likewise.
8387 * sysdeps/ieee754/s_matherr.c: Likewise.
8388 * sysdeps/ieee754/s_signgam.c: Likewise.
8389 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8390 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8391 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8392 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8393 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8394 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8395 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8396 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8397 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8398 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8399 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8400 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8401 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8402 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8403 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8404 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8405 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8406 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8407 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8408 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8410
8411 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8412
8413 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8414 * sunrpc/rpc_main.c: Likewise.
8415 * sunrpc/rpc_svcout.c: Likewise.
8416
8417 2012-03-09 David S. Miller <davem@davemloft.net>
8418
8419 * include/math_private.h: New file.
8420
8421 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8422
8423 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8424 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8425 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8426 from <bits/socket_type.h>.
8427 (enum __socket_type): Don't define here.
8428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8430 bits/socket_type.h.
8431
8432 [BZ #13566]
8433 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8434 checking __USE_GNU.
8435
8436 * Makerules ($(inst_includedir)/%.h): New rule.
8437 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8438 (install-others): Remove variable setting.
8439 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8440
8441 2012-03-08 Richard Henderson <rth@twiddle.net>
8442
8443 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8444 from macro to inline function; merge with the
8445 !__LIBC_INTERNAL_MATH_INLINES version.
8446 (__ieee754_sqrtf): Likewise.
8447
8448 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8449 to inline function.
8450 (__rintf, __floor, __floorf): Likewise.
8451
8452 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8453 macro to inline function.
8454 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8455
8456 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8457 not <math/math_private.h>.
8458
8459 2012-03-08 David S. Miller <davem@davemloft.net>
8460
8461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8462 copyright year.
8463 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8464
8465 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8466
8467 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8468 normalization.
8469 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8470 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8471
8472 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8473
8474 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8475 be defined individually, they must be defined as a block. Define
8476 S for printing a string instead of hidint the different by using a
8477 macro for adding the 'l'.
8478 * stdio-common/tst-fphex-wide.c: Adjust.
8479
8480 2012-03-07 Marek Polacek <polacek@redhat.com>
8481
8482 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8483
8484 2012-03-08 Marek Polacek <polacek@redhat.com>
8485
8486 [BZ #13806]
8487 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8488 * stdio-common/tst-fphex.c: Define a few macros to make the
8489 test reusable. Use them.
8490 * stdio-common/tst-fphex-wide.c: New file.
8491
8492 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8493
8494 [BZ #6911]
8495 * manual/macros.texi (gnusystems): New macro.
8496 (nongnusystems): Likewise.
8497 (gnulinuxhurdsystems): Likewise.
8498 (gnuhurdsystems): Likewise..
8499 (gnulinuxsystems): Likewise.
8500 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8501 variants of the GNU system, not "GNU system".
8502 * manual/conf.texi: Likewise.
8503 * manual/errno.texi: Likewise. Update example of errno macro
8504 expansion.
8505 * manual/filesys.texi: Likewise.
8506 (getumask): Document as specific to GNU/Hurd.
8507 * manual/install.texi: Likewise. Reword some references to
8508 GNU/Linux.
8509 * manual/intro.texi: Likewise.
8510 * manual/io.texi: Likewise.
8511 (File Name Portability): Detail which constraints are inapplicable
8512 to all GNU systems and which are only inapplicable to GNU/Hurd.
8513 * manual/job.texi: Likewise.
8514 * manual/llio.texi: Likewise.
8515 (O_NOCTTY): Document as present on GNU/Linux.
8516 * manual/maint.texi: Likewise.
8517 * manual/memory.texi: Likewise.
8518 * manual/pattern.texi: Likewise.
8519 * manual/pipe.texi: Likewise.
8520 * manual/process.texi: Likewise.
8521 * manual/resource.texi: Likewise.
8522 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8523 child on GNU/Hurd.
8524 * manual/setjmp.texi: Likewise.
8525 * manual/signal.texi: Likewise.
8526 * manual/startup.texi: Likewise.
8527 * manual/stdio.texi: Likewise.
8528 * manual/terminal.texi: Likewise.
8529 (ONLCR): Document as POSIX.
8530 (OXTABS): Document availability on GNU/Linux as XTABS.
8531 (ONOEOT): Document availability separately from other bits.
8532 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8533 * manual/time.texi: Likewise.
8534 * manual/users.texi: Likewise.
8535 * INSTALL: Regenerated.
8536 * sysdeps/gnu/errlist.c: Regenerated.
8537
8538 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8539 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8540 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8541 puts.
8542 * configure: Regenerated.
8543
8544 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8545
8546 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8547 default includes instead of AC_HEADER_CHECK.
8548 * sysdeps/i386/configure: Regenerated.
8549
8550 [BZ #10716]
8551 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8552 * math/s_cacoshf.c (__cacoshf): Likewise.
8553 * math/s_cacoshl.c (__cacoshl): Likewise.
8554 * math/s_casinh.c (__casinh): Set signs of result from argument.
8555 * math/s_casinhf.c (__casinhf): Likewise.
8556 * math/s_casinhl.c (__casinhl): Likewise.
8557 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8558 (casinh_test): Add more tests.
8559 * sysdeps/i386/fpu/libm-test-ulps: Update.
8560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8561
8562 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8563
8564 * po/zh_TW.po: Update from translation team.
8565
8566 * login/Makefile (distribute): Remove variable.
8567 * catgets/Makefile: Likewise.
8568 * mach/Makefile: Likewise.
8569 * malloc/Makefile: Likewise.
8570 * misc/Makefile: Likewise.
8571 * iconv/Makefile: Likewise.
8572 * nscd/Makefile: Likewise.
8573 * hurd/Makefile: Likewise.
8574 * manual/Makefile: Likewise.
8575 * locale/Makefile: Likewise.
8576 * intl/Makefile: Likewise.
8577 * conform/Makefile: Likewise.
8578 * nss/Makefile: Likewise.
8579 * time/Makefile: Likewise.
8580 * soft-fp/Makefile: Likewise.
8581 * dirent/Makefile: Likewise.
8582 * gmon/Makefile: Likewise.
8583 * po/Makefile: Likewise.
8584 * rt/Makefile: Likewise.
8585 * socket/Makefile: Likewise.
8586 * math/Makefile: Likewise.
8587 * signal/Makefile: Likewise.
8588 * debug/Makefile: Likewise.
8589 * elf/Makefile: Likewise.
8590 * timezone/Makefile: Likewise.
8591 * stdlib/Makefile: Likewise.
8592 * iconvdata/Makefile: Likewise.
8593 * sunrpc/Makefile: Likewise.
8594 * io/Makefile: Likewise.
8595 * argp/Makefile: Likewise.
8596 * inet/Makefile: Likewise.
8597 * hesiod/Makefile: Likewise.
8598 * grp/Makefile: Likewise.
8599 * csu/Makefile: Likewise.
8600 * wctype/Makefile: Likewise.
8601 * crypt/Makefile: Likewise.
8602 * libio/Makefile: Likewise.
8603 * string/Makefile: Likewise.
8604 * nis/Makefile: Likewise.
8605 * resolv/Makefile: Likewise.
8606 * stdio-common/Makefile: Likewise.
8607 * wcsmbs/Makefile: Likewise.
8608 * dlfcn/Makefile: Likewise.
8609 * posix/Makefile: Likewise.
8610
8611 [BZ #6959]
8612 * timezone/Makefile: Don't install timezone files, just the programs
8613 and scripts.
8614
8615 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8616
8617 * nss/databases.def: Add missing gshadow entry.
8618
8619 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8620
8621 2012-03-06 Marek Polacek <polacek@redhat.com>
8622
8623 [BZ #13726]
8624 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8625 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8626 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8627 * stdio-common/tst-long-dbl-fphex.c: New file.
8628
8629 2012-03-06 David S. Miller <davem@davemloft.net>
8630
8631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8632 (set_obp_int): New function.
8633 (get_obp_int): New function.
8634 (__get_clockfreq_via_dev_openprom): Likewise.
8635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8636 Avoid unused variable warnings on 'val' and use builtin_expect.
8637 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8638 __builtin_expect.
8639 (INLINE_CLONE_SYSCALL): Likewise.
8640
8641 2012-03-05 David S. Miller <davem@davemloft.net>
8642
8643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8644
8645 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8646
8647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8648
8649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8650 only for |x| >= 40.
8651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8652
8653 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8654
8655 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8656 Replace gettimeofday with __vdso_gettimeofday.
8657
8658 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8659 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8660 __vdso_clock_gettime and __vdso_getcpu.
8661
8662 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8663 time with __vdso_time.
8664
8665 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8666
8667 * manual/lang.texi (size_t): Note types to which size_t may be
8668 equivalent with the GNU C Library, but do not describe when
8669 differences between them are significant.
8670
8671 2012-03-05 Andreas Jaeger <aj@suse.de>
8672
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674
8675 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8676
8677 [BZ #3976]
8678 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8679 (__ieee754_pow): Save and restore rounding mode and use
8680 round-to-nearest for main computations.
8681 * math/libm-test.inc (pow_test_tonearest): New function.
8682 (pow_test_towardzero): Likewise.
8683 (pow_test_downward): Likewise.
8684 (pow_test_upward): Likewise.
8685 (main): Call the new functions.
8686 * sysdeps/i386/fpu/libm-test-ulps: Update.
8687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8688
8689 [BZ #3976]
8690 * math/libm-test.inc (cosh_test_tonearest): New function.
8691 (cosh_test_towardzero): Likewise.
8692 (cosh_test_downward): Likewise.
8693 (cosh_test_upward): Likewise.
8694 (sinh_test_tonearest): Likewise.
8695 (sinh_test_towardzero): Likewise.
8696 (sinh_test_downward): Likewise.
8697 (sinh_test_upward): Likewise.
8698 (main): Call the new functions.
8699 * sysdeps/i386/fpu/libm-test-ulps: Update.
8700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8701
8702 2012-03-05 Tom de Vries <tom@codesourcery.com>
8703
8704 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8705 default stack guard is set in last bytes.
8706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8707
8708 2012-03-05 Kees Cook <keescook@chromium.org>
8709
8710 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8711
8712 [BZ #13656]
8713 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8714 possibly allocate from heap instead of stack.
8715 * stdio-common/bug-vfprintf-nargs.c: New file.
8716 * stdio-common/Makefile (tests): Add nargs overflow test.
8717
8718 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8719
8720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8721
8722 2012-03-03 Marek Polacek <polacek@redhat.com>
8723
8724 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8725 * math/math_private.h: Likewise.
8726 * stdlib/tst-strtod.c: Likewise.
8727 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8728 * sysdeps/x86_64/bits/atomic.h: Likewise.
8729
8730 2012-03-02 David S. Miller <davem@davemloft.net>
8731
8732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8736 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8737 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8738 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8739 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8740
8741 2012-03-02 Roland McGrath <roland@hack.frob.com>
8742
8743 [BZ #13792]
8744 * manual/examples/README: New file, says the example source files
8745 can be used under GPL>=2.
8746 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8747 line containing just "*/".
8748 * manual/examples/add.c: Add copyright header (GPL>=2).
8749 * manual/examples/argp-ex1.c: Likewise.
8750 * manual/examples/argp-ex2.c: Likewise.
8751 * manual/examples/argp-ex3.c: Likewise.
8752 * manual/examples/argp-ex4.c: Likewise.
8753 * manual/examples/atexit.c: Likewise.
8754 * manual/examples/db.c: Likewise.
8755 * manual/examples/dir.c: Likewise.
8756 * manual/examples/dir2.c: Likewise.
8757 * manual/examples/execinfo.c: Likewise.
8758 * manual/examples/filecli.c: Likewise.
8759 * manual/examples/filesrv.c: Likewise.
8760 * manual/examples/fmtmsgexpl.c: Likewise.
8761 * manual/examples/genpass.c: Likewise.
8762 * manual/examples/inetcli.c: Likewise.
8763 * manual/examples/inetsrv.c: Likewise.
8764 * manual/examples/isockad.c: Likewise.
8765 * manual/examples/longopt.c: Likewise.
8766 * manual/examples/memopen.c: Likewise.
8767 * manual/examples/memstrm.c: Likewise.
8768 * manual/examples/mkfsock.c: Likewise.
8769 * manual/examples/mkisock.c: Likewise.
8770 * manual/examples/mygetpass.c: Likewise.
8771 * manual/examples/pipe.c: Likewise.
8772 * manual/examples/popen.c: Likewise.
8773 * manual/examples/rprintf.c: Likewise.
8774 * manual/examples/search.c: Likewise.
8775 * manual/examples/select.c: Likewise.
8776 * manual/examples/setjmp.c: Likewise.
8777 * manual/examples/sigh1.c: Likewise.
8778 * manual/examples/sigusr.c: Likewise.
8779 * manual/examples/stpcpy.c: Likewise.
8780 * manual/examples/strdupa.c: Likewise.
8781 * manual/examples/strftim.c: Likewise.
8782 * manual/examples/strncat.c: Likewise.
8783 * manual/examples/subopt.c: Likewise.
8784 * manual/examples/swapcontext.c: Likewise.
8785 * manual/examples/termios.c: Likewise.
8786 * manual/examples/testopt.c: Likewise.
8787 * manual/examples/testpass.c: Likewise.
8788 * manual/examples/timeval_subtract.c: Likewise.
8789
8790 [BZ #13792]
8791 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8792 function to ...
8793 * manual/timeval_subtract.c.texi: ... here, new file.
8794
8795 2012-03-02 David S. Miller <davem@davemloft.net>
8796
8797 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8798
8799 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8800
8801 [BZ #3976]
8802 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8803 (__sin): Save and restore rounding mode and use round-to-nearest
8804 for all computations.
8805 (__cos): Save and restore rounding mode and use round-to-nearest
8806 for all computations.
8807 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8808 <fenv.h>.
8809 (tan): Save and restore rounding mode and use round-to-nearest for
8810 all computations.
8811 * math/libm-test.inc (cos_test_tonearest): New function.
8812 (cos_test_towardzero): Likewise.
8813 (cos_test_downward): Likewise.
8814 (cos_test_upward): Likewise.
8815 (sin_test_tonearest): Likewise.
8816 (sin_test_towardzero): Likewise.
8817 (sin_test_downward): Likewise.
8818 (sin_test_upward): Likewise.
8819 (tan_test_tonearest): Likewise.
8820 (tan_test_towardzero): Likewise.
8821 (tan_test_downward): Likewise.
8822 (tan_test_upward): Likewise.
8823 (main): Call the new functions.
8824 * sysdeps/i386/fpu/libm-test-ulps: Update.
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8826
8827 [BZ #10135]
8828 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8829 small n, then large n, before computing and testing k+n.
8830 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8832 Likewise.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8834 Likewise.
8835 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8836 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8837 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8838 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8843 * math/libm-test.inc (scalbn_test): Add more tests.
8844 (scalbln_test): Likewise.
8845
8846 * manual/filesys.texi (mode_t): Describe constraints on size and
8847 signedness, not exact equivalence to a particular type.
8848 (ino_t): Likewise.
8849 (ino64_t): Likewise.
8850 (dev_t): Likewise.
8851 (nlink_t): Likewise.
8852 (blkcnt_t): Likewise.
8853 (blkcnt64_t): Likewise.
8854 * manual/llio.texi (off_t): Likewise.
8855
8856 [BZ #3976]
8857 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8858 (__ieee754_exp): Save and restore rounding mode and use
8859 round-to-nearest for all computations.
8860 * math/libm-test.inc (exp_test_tonearest): New function.
8861 (exp_test_towardzero): Likewise.
8862 (exp_test_downward): Likewise.
8863 (exp_test_upward): Likewise.
8864 (main): Call the new functions.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8867
8868 2012-03-01 Chris Demetriou <cgd@google.com>
8869
8870 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8871 have predictable order.
8872
8873 2012-03-01 David S. Miller <davem@davemloft.net>
8874
8875 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8876
8877 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8878 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8879 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8880 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8881
8882 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8883 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8884 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8886 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8887 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8888 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8889 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8890 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8891
8892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8893
8894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8895 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8896 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8897
8898 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8899 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8900 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8901 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8902 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8905 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8906 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8909 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8911 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8914 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8915 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8916 * sysdeps/sparc/elf/configure: Regenerated.
8917
8918 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8919
8920 * configure.in (AS, LD): Require binutils 2.20 or later.
8921 * configure: Regenerated.
8922 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8923 as required minimum version.
8924 * INSTALL: Regenerated.
8925
8926 [BZ #2541]
8927 [BZ #4108]
8928 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8929 before squaring exponent.
8930 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8931 bottom long double and 27 bits of top long double before squaring
8932 exponent.
8933 * math/libm-test.inc (erfc_test): Add more tests.
8934 * sysdeps/i386/fpu/libm-test-ulps: Update.
8935 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8937
8938 2012-03-01 Kai Tietz <ktietz@redhat.com>
8939
8940 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8941 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8942 containing bit-fields.
8943 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8944 * soft-fp/single.h (_FP_UNION_S): Likewise.
8945 * soft-fp/double.h (_FP_UNION_D): Likewise.
8946
8947 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8948
8949 [BZ #13786]
8950 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8951 not include ../strcmp.S.
8952 [USE_AS_STRNCASECMP_L]: Likewise.
8953 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8954 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8955 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8956 (__strncasecmp_l_ia32): Define as alias to
8957 __strncasecmp_l_nonascii.
8958
8959 [BZ #5794]
8960 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8963
8964 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966
8967 2012-02-29 Jeff Law <law@redhat.com>
8968
8969 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8970 out of bounds read.
8971
8972 2012-02-29 Marek Polacek <polacek@redhat.com>
8973
8974 [BZ #13706]
8975 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8976 * elf/Makefile: Add rules to run tst-unused-dep.out.
8977
8978 2012-02-28 David S. Miller <davem@davemloft.net>
8979
8980 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8981 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8984 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8985 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8986
8987 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8988
8989 * math/libm-test.inc (llround_test): Move one test from
8990 lround_test. Use TEST_f_L in moved test.
8991 (lround_test): Move misplaced test to llround_test. Add testcase
8992 from bug 2561.
8993
8994 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8995
8996 * sysdeps/x86_64/fpu/e_expf.S: New file.
8997 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8998
8999 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9000
9001 [BZ #13637]
9002 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9003 of remain_len that may cause incomplete multi-byte character and
9004 false match.
9005 * posix/bug-regex33.c: New file.
9006 * posix/Makefile (tests): Add bug-regex33.
9007
9008 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9009
9010 * manual/macros.texi: New file.
9011 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9012 * manual/libc.texinfo: Include macros.texi.
9013 * manual/creatute.texi: Likewise.
9014 * manual/install.texi: Likewise.
9015 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9016 @glibcadj{} in references to the GNU C Library.
9017 * manual/charset.texi: Likewise.
9018 * manual/conf.texi: Likewise.
9019 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9020 when not using those macros.
9021 * manual/creature.texi: Likewise.
9022 * manual/crypt.texi: Likewise.
9023 * manual/errno.texi: Likewise.
9024 * manual/filesys.texi: Likewise.
9025 * manual/header.texi: Likewise.
9026 * manual/install.texi: Likewise.
9027 * manual/intro.texi: Likewise.
9028 * manual/io.texi: Likewise.
9029 * manual/job.texi: Likewise.
9030 * manual/lang.texi: Likewise.
9031 * manual/libc.texiinfo: Likewise.
9032 * manual/llio.texi: Likewise.
9033 * manual/locale.texi: Likewise.
9034 * manual/maint.texi: Likewise.
9035 * manual/math.texi: Likewise.
9036 * manual/memory.texi: Likewise.
9037 * manual/message.texi: Likewise.
9038 * manual/nss.texi: Likewise.
9039 * manual/pattern.texi: Likewise.
9040 * manual/process.texi: Likewise.
9041 * manual/resource.texi: Likewise.
9042 * manual/search.texi: Likewise.
9043 * manual/setjmp.texi: Likewise.
9044 * manual/signal.texi: Likewise.
9045 * manual/socket.texi: Likewise.
9046 * manual/startup.texi: Likewise.
9047 * manual/stdio.texi: Likewise.
9048 * manual/string.texi: Likewise.
9049 * manual/sysinfo.texi: Likewise.
9050 * manual/syslog.texi: Likewise.
9051 * manual/terminal.texi: Likewise.
9052 * manual/time.texi: Likewise.
9053 * manual/users.texi: Likewise.
9054 * INSTALL: Regenerated.
9055 * NOTES: Regenerated.
9056 * sysdeps/gnu/errlist.c: Regenerated.
9057
9058 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9059
9060 * include/dirent.h: Include <dirstream.h> before
9061 <dirent/dirent.h>.
9062
9063 2012-02-28 David S. Miller <davem@davemloft.net>
9064
9065 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9066 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9068 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9069
9070 2012-02-27 David S. Miller <davem@davemloft.net>
9071
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9076
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9078 frame pointer instead of stack pointer relative arg slot.
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9080 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9081 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9082
9083 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9084
9085 [BZ #3992]
9086 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9087
9088 2012-02-27 David S. Miller <davem@davemloft.net>
9089
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9094 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9095 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9096 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9097 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9098
9099 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9100
9101 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9102 later. Allow versions 5-9.
9103 * configure: Regenerated.
9104 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9105 required minimum version and 4.6 as recommended version. Do not
9106 mention bugs in GCC 2.7 and 2.8.
9107 * INSTALL: Regenerated.
9108
9109 2012-02-27 David S. Miller <davem@davemloft.net>
9110
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9117 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9118 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9119
9120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9121 manipulate bits before adding and subtracting TWO112[sx].
9122 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9123
9124 2012-02-27 Roland McGrath <roland@hack.frob.com>
9125
9126 [BZ #13775]
9127 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9128 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9129 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9130 being in POSIX, because they are in 1003.1-2008.
9131
9132 * rt/tst-aio.c: Include <fcntl.h>.
9133 * rt/tst-aio7.c: Likewise.
9134 * rt/tst-aio64.c: Likewise.
9135
9136 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9137
9138 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9139
9140 * manual/install.texi (--with-headers): Describe headers as
9141 interface headers, not private headers.
9142 (Specific advice for GNU/Linux systems): Describe use of headers
9143 from "make headers_install", not private headers from older
9144 kernels.
9145 * INSTALL: Regenerated.
9146 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9147 Change to 2.6.19.
9148 * sysdeps/unix/sysv/linux/configure: Regenerated.
9149
9150 * manual/llio.texi (fclean): Remove documentation.
9151
9152 * manual/Makefile (libc-texi-generated): New variable. Include
9153 version.texi.
9154 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9155 $(libc-texi-generated), not duplicated list of files.
9156 (version.texi, stamp-version): New rules.
9157 (realclean): Remove $(libc-texi-generated), not individual files
9158 from that list. Do not remove dir-add.texinfo.
9159 * manual/libc.texinfo: Comment out uses of edition numbers and
9160 references to printed manual. Remove last-updated dates.
9161 (EDITION): Comment out.
9162 (ISBN): Likewise.
9163 (VERSION, UPDATED): Remove.
9164 (version.texi): Include.
9165
9166 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9167
9168 * sysdeps/posix/spawni.c: Include <signal.h>.
9169 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9170 * sysdeps/pthread/aio_fsync.c: Likewise.
9171
9172 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9173
9174 * conform/Makefile (tests): Run only when not cross-compiling and
9175 when fast-check is not defined.
9176
9177 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9178 * conform/data/limits.h-data: Fixes for POSIX2008.
9179 * conform/run-conformtest.sh: Run all tests.
9180 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9181 headers.
9182 * include/bits/dlfcn.h: Likewise.
9183 * include/langinfo.h: Likewise.
9184 * include/monetary.h: Likewise.
9185 * include/sys/poll.h: Likewise.
9186
9187 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9188 for __USE_GNU.
9189 * posix/spawn.h: Define __need_sigset_t.
9190 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9191 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9192 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9193 to get sigevent_t only.
9194 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9195 only for __USE_GNU.
9196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9197 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9198 process_vm_writev only for __USE_GNU.
9199 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9200
9201 * conform/Makefile: For now ignore errors from run-conformtest.
9202 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9203 POSIX to avoid namespace pollution. Don't prepend headers.
9204 * conform/data/aio.h-data: Fixes for POSIX testing.
9205 * conform/data/fcntl.h-data: Likewise.
9206 * conform/data/glob.h-data: Likewise.
9207 * conform/data/grp.h-data: Likewise.
9208 * conform/data/pthread.h-data: Likewise.
9209 * conform/data/pwd.h-data: Likewise.
9210 * conform/data/signal.h-data: Likewise.
9211 * conform/data/spawn.h-data: Likewise.
9212 * conform/data/stdio.h-data: Likewise.
9213 * conform/data/stdlib.h-data: Likewise.
9214 * conform/data/stropts.h-data: Likewise.
9215 * conform/data/sys/mman.h-data: Likewise.
9216 * conform/data/sys/stat.h-data: Likewise.
9217 * conform/data/sys/types.h-data: Likewise.
9218 * conform/data/sys/wait.h-data: Likewise.
9219 * conform/data/time.h-data: Likewise.
9220 * conform/data/unistd.h-data: Likewise.
9221 * conform/data/utime.h-data: Likewise.
9222
9223 * io/sys/stat.h: fchmod was always in POSIX.
9224 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9225 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9226 * rt/aio.h: Define __need_timespec before including <time.h>.
9227 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9228 struct. Add forward declaration of pthread_attr_t and use it in
9229 sigevent.
9230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9232 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9233 always remove CLK_TCK definition.
9234
9235 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9236
9237 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9238
9239 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9240
9241 * conform/run-conformtest.sh: New file.
9242 * conform/Makefile: Run run-conformtest for tests.
9243 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9244 support.
9245
9246 * conform/data/uchar.h-data: New file.
9247 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9248 * conform/data/arpa/inet.h-data: Likewise.
9249 * conform/data/assert.h-data: Likewise.
9250 * conform/data/complex.h-data: Likewise.
9251 * conform/data/cpio.h-data: Likewise.
9252 * conform/data/ctype.h-data: Likewise.
9253 * conform/data/dirent.h-data: Likewise.
9254 * conform/data/dlfcn.h-data: Likewise.
9255 * conform/data/errno.h-data: Likewise.
9256 * conform/data/fcntl.h-data: Likewise.
9257 * conform/data/float.h-data: Likewise.
9258 * conform/data/fmtmsg.h-data: Likewise.
9259 * conform/data/fnmatch.h-data: Likewise.
9260 * conform/data/ftw.h-data: Likewise.
9261 * conform/data/glob.h-data: Likewise.
9262 * conform/data/grp.h-data: Likewise.
9263 * conform/data/iconv.h-data: Likewise.
9264 * conform/data/inttypes.h-data: Likewise.
9265 * conform/data/langinfo.h-data: Likewise.
9266 * conform/data/libgen.h-data: Likewise.
9267 * conform/data/limits.h-data: Likewise.
9268 * conform/data/locale.h-data: Likewise.
9269 * conform/data/math.h-data: Likewise.
9270 * conform/data/monetary.h-data: Likewise.
9271 * conform/data/mqueue.h-data: Likewise.
9272 * conform/data/ndbm.h-data: Likewise.
9273 * conform/data/net/if.h-data: Likewise.
9274 * conform/data/netdb.h-data: Likewise.
9275 * conform/data/netinet/in.h-data: Likewise.
9276 * conform/data/nl_types.h-data: Likewise.
9277 * conform/data/poll.h-data: Likewise.
9278 * conform/data/pthread.h-data: Likewise.
9279 * conform/data/pwd.h-data: Likewise.
9280 * conform/data/regex.h-data: Likewise.
9281 * conform/data/sched.h-data: Likewise.
9282 * conform/data/search.h-data: Likewise.
9283 * conform/data/semaphore.h-data: Likewise.
9284 * conform/data/setjmp.h-data: Likewise.
9285 * conform/data/signal.h-data: Likewise.
9286 * conform/data/spawn.h-data: Likewise.
9287 * conform/data/stdarg.h-data: Likewise.
9288 * conform/data/stdio.h-data: Likewise.
9289 * conform/data/stdlib.h-data: Likewise.
9290 * conform/data/string.h-data: Likewise.
9291 * conform/data/strings.h-data: Likewise.
9292 * conform/data/stropts.h-data: Likewise.
9293 * conform/data/sys/ipc.h-data: Likewise.
9294 * conform/data/sys/mman.h-data: Likewise.
9295 * conform/data/sys/msg.h-data: Likewise.
9296 * conform/data/sys/resource.h-data: Likewise.
9297 * conform/data/sys/select.h-data: Likewise.
9298 * conform/data/sys/sem.h-data: Likewise.
9299 * conform/data/sys/shm.h-data: Likewise.
9300 * conform/data/sys/socket.h-data: Likewise.
9301 * conform/data/sys/stat.h-data: Likewise.
9302 * conform/data/sys/statvfs.h-data: Likewise.
9303 * conform/data/sys/time.h-data: Likewise.
9304 * conform/data/sys/timeb.h-data: Likewise.
9305 * conform/data/sys/times.h-data: Likewise.
9306 * conform/data/sys/types.h-data: Likewise.
9307 * conform/data/sys/uio.h-data: Likewise.
9308 * conform/data/sys/un.h-data: Likewise.
9309 * conform/data/sys/utsname.h-data: Likewise.
9310 * conform/data/sys/wait.h-data: Likewise.
9311 * conform/data/syslog.h-data: Likewise.
9312 * conform/data/tar.h-data: Likewise.
9313 * conform/data/termios.h-data: Likewise.
9314 * conform/data/utime.h-data: Likewise.
9315 * conform/data/utmpx.h-data: Likewise.
9316 * conform/data/varargs.h-data: Likewise.
9317 * conform/data/wchar.h-data: Likewise.
9318 * conform/data/wctype.h-data: Likewise.
9319 * conform/data/wordexp.h-data: Likewise.
9320
9321 * include/stropts.h: New file.
9322 * include/uchar.h: New file.
9323 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9324 * include/assert.h: Likewise.
9325 * include/ctype.h: Likewise.
9326 * include/dirent.h: Likewise.
9327 * include/dlfcn.h: Likewise.
9328 * include/fcntl.h: Likewise.
9329 * include/fnmatch.h: Likewise.
9330 * include/glob.h: Likewise.
9331 * include/grp.h: Likewise.
9332 * include/libio.h: Likewise.
9333 * include/locale.h: Likewise.
9334 * include/math.h: Likewise.
9335 * include/net/if.h: Likewise.
9336 * include/netdb.h: Likewise.
9337 * include/netinet/in.h: Likewise.
9338 * include/pthread.h: Likewise.
9339 * include/pwd.h: Likewise.
9340 * include/regex.h: Likewise.
9341 * include/sched.h: Likewise.
9342 * include/search.h: Likewise.
9343 * include/setjmp.h: Likewise.
9344 * include/signal.h: Likewise.
9345 * include/stdio.h: Likewise.
9346 * include/stdlib.h: Likewise.
9347 * include/string.h: Likewise.
9348 * include/sys/cdefs.h: Likewise.
9349 * include/sys/mman.h: Likewise.
9350 * include/sys/msg.h: Likewise.
9351 * include/sys/resource.h: Likewise.
9352 * include/sys/select.h: Likewise.
9353 * include/sys/socket.h: Likewise.
9354 * include/sys/stat.h: Likewise.
9355 * include/sys/statvfs.h: Likewise.
9356 * include/sys/time.h: Likewise.
9357 * include/sys/times.h: Likewise.
9358 * include/sys/uio.h: Likewise.
9359 * include/sys/utsname.h: Likewise.
9360 * include/sys/wait.h: Likewise.
9361 * include/termios.h: Likewise.
9362 * include/time.h: Likewise.
9363 * include/ulimit.h: Likewise.
9364 * include/unistd.h: Likewise.
9365 * include/utime.h: Likewise.
9366 * include/wchar.h: Likewise.
9367 * include/wctype.h: Likewise.
9368 * include/wordexp.h: Likewise.
9369
9370 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9371
9372 * time/time.h: TIME_UTC must be a macro.
9373 Make timespec_get available for ISO C11 only as well.
9374
9375 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9376
9377 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9378 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9379
9380 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9381
9382 * configure.in: Use -o not -a in test for unsupported multi-arch.
9383
9384 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9385
9386 * manual/texinfo.tex: Update to version 2012-01-19.16.
9387
9388 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9389
9390 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9391
9392 2012-02-24 Roland McGrath <roland@hack.frob.com>
9393
9394 [BZ #13738]
9395 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9396 * manual/fdl-1.3.texi: New file.
9397 * manual/fdl-1.1.texi: File removed.
9398
9399 [BZ #13738]
9400 * manual/libc.texinfo (FDL_VERSION): New @set.
9401 Use it for mention of FDL in cover text.
9402 (Documentation License): Use it in @include file name.
9403
9404 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9405 Roland McGrath <roland@hack.frob.com>
9406
9407 [BZ #5461]
9408 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9409 not LONG_LONG_MAX and LONG_LONG_MIN.
9410 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9411 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9412 name.
9413 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9414
9415 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9416
9417 [BZ #2547]
9418 [BZ #11365]
9419 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9420 manipulate bits before adding and subtracting TWO23[sx].
9421 * math/libm-test.inc (nearbyint_test): Add more tests.
9422
9423 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9424
9425 [BZ #2548]
9426 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9427 bits before adding and subtracting TWO23[sx].
9428 * math/libm-test.inc (rint_test): Add more tests.
9429 (rint_test_tonearest): Likewise.
9430 (rint_test_towardzero): Likewise.
9431 (rint_test_downward): Likewise.
9432 (rint_test_upward: Likewise.
9433
9434 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9435
9436 [BZ #10110]
9437 * include/stdc-predef.h: New file. Extracted from features.h.
9438 * include/features.h: Include stdc-predef.h.
9439 * Makefile (headers): Add stdc-predef.h.
9440 * CONFORMANCE (Compiler limitations): Update.
9441
9442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9443
9444 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9445
9446 2012-02-21 David S. Miller <davem@davemloft.net>
9447
9448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9450
9451 2012-02-20 David S. Miller <davem@davemloft.net>
9452
9453 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9454 using a normal save/restore sequence, rather than allocating a
9455 dummy stack frame just to store a frame pointer and restore.
9456 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9457
9458 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9459
9460 * manual/install.texi: Fix stray word in line-wrapped comment.
9461
9462 2012-02-20 David S. Miller <davem@davemloft.net>
9463
9464 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9465 both binutils and gcc support GOTDATA.
9466
9467 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9468 "rd %pc" in the PIC register setup sequences.
9469
9470 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9471 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9472 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9473 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9474 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9479 (SYSCALL_ERROR_HANDLER): Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9481 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9483 (SYSCALL_ERROR_HANDLER): Likewise.
9484
9485 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9486 (HAVE_GCC_GOTDATA): New.
9487 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9488 relocation support in both binutils and gcc.
9489 * sysdeps/sparc/elf/configure: Regenerate.
9490
9491 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9492 * sysdeps/sparc/sparc32/elf/configure: Delete.
9493 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9494 * sysdeps/sparc/sparc64/elf/configure: Delete.
9495 * sysdeps/sparc/elf/configure.in: New file.
9496 * sysdeps/sparc/elf/configure: Generate.
9497
9498 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9499 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9500 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9501 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9502 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9503
9504 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9505
9506 * manual/install.texi: Do not mention specific glibc version
9507 numbers.
9508 * manual/libc.texinfo (VERSION, UPDATED): Update.
9509 (@copying): Use @copyright{} and range of years.
9510
9511 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9512
9513 [BZ #13695]
9514 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9515 [crti.S not in sysdirs] (generated): Do not append.
9516 [crti.S not in sysdirs] (omit-deps): Likewise.
9517 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9518 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9519 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9520 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9521 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9522 Likewise.
9523 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9524 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9525 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9526 * csu/defs.awk: Remove file.
9527 * sysdeps/generic/initfini.c: Likewise.
9528 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9529 variable.
9530 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9531 Likewise.
9532
9533 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9534
9535 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9536 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9537 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9538 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9540 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9541 <bits/epoll.h>.
9542 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9543 (__EPOLL_PACKED): Define to empty if not defined by
9544 <bits/epoll.h>.
9545 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9547 bits/epoll.h.
9548
9549 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9550
9551 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9552 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9553 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9554 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9555 <bits/timerfd.h>.
9556 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9558 bits/timerfd.h.
9559
9560 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9561
9562 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9563 in C locale.
9564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9565 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9566 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9568
9569 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9570
9571 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9573
9574 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9575
9576 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9577 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9578 defined.
9579 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9580 Likewise.
9581 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9582 entry for 2.16.
9583
9584 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9585
9586 * math/w_acos.c: Use non-signaling floating-point comparisons.
9587 * math/w_acosf.c: Likewise.
9588 * math/w_acosh.c: Likewise.
9589 * math/w_acoshf.c: Likewise.
9590 * math/w_acoshl.c: Likewise.
9591 * math/w_acosl.c: Likewise.
9592 * math/w_asin.c: Likewise.
9593 * math/w_asinf.c: Likewise.
9594 * math/w_asinl.c: Likewise.
9595 * math/w_atanh.c: Likewise.
9596 * math/w_atanhf.c: Likewise.
9597 * math/w_atanhl.c: Likewise.
9598 * math/w_exp2.c: Likewise.
9599 * math/w_exp2f.c: Likewise.
9600 * math/w_exp2l.c: Likewise.
9601 * math/w_j0.c: Likewise.
9602 * math/w_j0f.c: Likewise.
9603 * math/w_j0l.c: Likewise.
9604 * math/w_j1.c: Likewise.
9605 * math/w_j1f.c: Likewise.
9606 * math/w_j1l.c: Likewise.
9607 * math/w_jn.c: Likewise.
9608 * math/w_jnf.c: Likewise.
9609 * math/w_log.c: Likewise.
9610 * math/w_log10.c: Likewise.
9611 * math/w_log10f.c: Likewise.
9612 * math/w_log10l.c: Likewise.
9613 * math/w_log2.c: Likewise.
9614 * math/w_log2f.c: Likewise.
9615 * math/w_log2l.c: Likewise.
9616 * math/w_logf.c: Likewise.
9617 * math/w_logl.c: Likewise.
9618 * math/w_sqrt.c: Likewise.
9619 * math/w_sqrtf.c: Likewise.
9620 * math/w_sqrtl.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9623 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9624 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9625 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9626
9627 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9628
9629 [BZ #9739]
9630 * manual/string.texi (strnlen): Use correct parameter name in
9631 equivalent expression.
9632
9633 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9634
9635 [BZ #11174]
9636 * manual/users.texi (seteuid): Consistently use neweuid for
9637 argument name.
9638
9639 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9640
9641 [BZ #13704]
9642 * manual/nss.texi (Services in the NSS configuration): Correct
9643 list of services in example configuration file.
9644
9645 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9646
9647 [BZ #11322]
9648 * manual/arith.texi: Remove statements about negative zero
9649 behaving identically to zero.
9650
9651 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9652
9653 [BZ #5993]
9654 * manual/install.texi: Do not document upgrading from libc5.
9655
9656 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9657
9658 [BZ #4596]
9659 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9660
9661 2012-02-18 David S. Miller <davem@davemloft.net>
9662
9663 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9664 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9665 %o7 across the call.
9666 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9667 instead.
9668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9669 SETUP_PIC_REG_LEAF.
9670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9671 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9672 * sysdeps/sparc/crtn.S: Likewise.
9673
9674 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9675
9676 * aout/Makefile: Remove.
9677
9678 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9679
9680 [BZ #13058]
9681 * manual/examples/argp-ex1.c (main): Format definition in GNU
9682 style.
9683 * manual/examples/argp-ex2.c (main): Likewise.
9684 * manual/examples/argp-ex3.c (main): Likewise.
9685 * manual/examples/argp-ex4.c (main): Likewise.
9686 * manual/examples/longopt.c (main): Use new-style prototype
9687 definition.
9688 * manual/examples/strncat.c (main): Specify return type and use
9689 (void) for arguments.
9690 * manual/examples/subopt.c (main): Use char **argv argument.
9691
9692 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9693
9694 [BZ #5077]
9695 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9696 rounding modes.
9697
9698 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9699
9700 [BZ #6907]
9701 * manual/string.texi (strchr): Change when strchrnul is
9702 recommended.
9703
9704 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9705
9706 [BZ #174]
9707 * manual/locale.texi (setlocale): Document LOCPATH.
9708
9709 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9710
9711 [BZ #10210]
9712 * manual/process.texi (execle): Move @dots{} before last argument.
9713
9714 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9715
9716 [BZ #12047]
9717 * manual/charset.texi (Generic Charset Conversion): Fix typo
9718 (LC_TYPE -> LC_CTYPE).
9719
9720 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9721
9722 [BZ #5805]
9723 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9724 (scalbnf): Likewise.
9725 (scalbnl): Likewise.
9726 (scalbln): Likewise.
9727 (scalblnf): Likewise.
9728 (scalblnl): Likewise.
9729 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9730 (vwarnx): Likewise.
9731 (verr): Likewise.
9732 (verrx): Likewise.
9733 * manual/filesys.texi (telldir): Use braces around return type.
9734 * manual/llio.texi (mmap): Add space after comma.
9735 (mmap64): Likewise.
9736 * manual/math.texi (jn): Use @var{} on parameter names.
9737 (jnf): Likewise.
9738 (jnl): Likewise.
9739 (yn): Likewise.
9740 (ynf): Likewise.
9741 (ynl): Likewise.
9742 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9743 line.
9744 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9745 "...".
9746 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9747 (sched_get_priority_max): Likewise.
9748 * manual/signal.texi (sigvec): Add space after comma.
9749 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9750 names.
9751 (if_indextoname): Likewise.
9752 (if_freenameindex): Likewise.
9753 (sendto): Use ',' instead of '.' in prototype.
9754 * manual/startup.texi (syscall): Use @dots{} instead of literal
9755 "...".
9756 * manual/stdio.texi (__fpending): Separate initial words of
9757 paragraph from @deftypefun line.
9758 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9759 "...".
9760 (vsyslog): Use @var{} on parameter names.
9761 * manual/terminal.texi (stty): Use @var{} on parameter names.
9762 * manual/users.texi (getutmp): Use @var{} on parameter names.
9763 (getutmpx): Likewise.
9764
9765 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9766
9767 [BZ #6884]
9768 * manual/stdio.texi (fopen): Fix typos in description of
9769 ",ccs=STRING".
9770
9771 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9772
9773 [BZ #4026]
9774 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9775 get clock_id definition.
9776
9777 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9778
9779 [BZ #4822]
9780 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9781 (madvise): Cast every argument to void on its own.
9782
9783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9784
9785 [BZ #9902]
9786 * manual/startup.texi (Exit Status): Fix typo.
9787
9788 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9789
9790 [BZ #10140]
9791 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9792 * manual/examples/argp-ex2.c: Likewise.
9793 * manual/examples/argp-ex3.c: Likewise.
9794
9795 2012-02-16 Richard Henderson <rth@redhat.com>
9796
9797 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9798 * sysdeps/s390/s390-32/initfini.c: Remove.
9799 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9800 * sysdeps/s390/s390-64/initfini.c: Remove.
9801
9802 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9803
9804 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9805 compiler output for sysdeps/generic/initfini.c.
9806 * sysdeps/sh/elf/initfini.c: Remove file.
9807
9808 2012-02-16 David S. Miller <davem@davemloft.net>
9809
9810 [BZ #11494]
9811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9812
9813 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9814 * sysdeps/sparc/crti.S: New file.
9815 * sysdeps/sparc/crtn.S: New file.
9816 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9817 * sysdeps/sparc/sparc64/Makefile: Likewise.
9818
9819 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9820
9821 [BZ #3335]
9822 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9823
9824 2012-02-15 Roland McGrath <roland@hack.frob.com>
9825
9826 [BZ #4822]
9827 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9828
9829 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9830 (write, read, close): Likewise.
9831 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9832
9833 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9834
9835 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9836 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9838 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9839 <bits/signalfd.h>.
9840 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9842 bits/signalfd.h.
9843
9844 2012-02-14 Marek Polacek <polacek@redhat.com>
9845
9846 * sysdeps/x86_64/crti.S: New file.
9847 * sysdeps/x86_64/crtn.S: New file.
9848 * sysdeps/x86_64/elf/initfini.c: Remove file.
9849
9850 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9851
9852 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9853 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9854 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9855 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9856 <bits/inotify.h>.
9857 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9859 bits/inotify.h.
9860
9861 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9862
9863 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9864 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9866 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9867 <bits/eventfd.h>.
9868 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9870 bits/eventfd.h.
9871
9872 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9873
9874 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9875 __feraiseexcept instead of feraiseexcept.
9876
9877 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9878 nanosleep invocations.
9879 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9880 strings, and add error checking for a nanosleep invocations.
9881
9882 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9883
9884 Replace FSF snail mail address with URLs, as per GNU coding standards.
9885 Most of the snail mail addresses were wrong anyway, and omitting
9886 them makes the source code easier to maintain. Almost all of the
9887 changes are to license notices and to locale LC_IDENTIFICATION
9888 addresses, except for this one:
9889 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9890 not its snail mail address.
9891
9892 2012-02-09 Richard Henderson <rth@twiddle.net>
9893
9894 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9895 of kernel-features.h.
9896
9897 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9898
9899 2012-02-08 Marek Polacek <polacek@redhat.com>
9900
9901 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9902 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9903 * sysdeps/gnu/_G_config.h: Likewise.
9904 * sysdeps/generic/_G_config.h: Likewise.
9905
9906 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9907
9908 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9909 tests.
9910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9911
9912 * sysdeps/powerpc/powerpc32/crti.S: New file.
9913 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9914 * sysdeps/powerpc/powerpc64/crti.S: New file.
9915 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9916
9917 * Makeconfig (have-initfini): Don't set.
9918 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9919 * configure.in (nopic_initfini): Don't substitute.
9920 * config.h.in (HAVE_INITFINI): Don't #undef.
9921 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9922 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9923
9924 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9925
9926 Support crti.S and crtn.S provided directly by architectures.
9927 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9928 [crti.S in sysdirs] (omit-deps): Likewise.
9929 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9930 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9931 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9932 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9933 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9934 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9935 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9936 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9937 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9938 compiler output for sysdeps/generic/initfini.c.
9939 * sysdeps/i386/elf/Makefile: Remove file.
9940 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9941
9942 2012-02-07 Marek Polacek <polacek@redhat.com>
9943
9944 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9945 * sysdeps/gnu/_G_config.h: Likewise.
9946 * sysdeps/mach/hurd/_G_config.h: Likewise.
9947
9948 2012-02-07 Marek Polacek <polacek@redhat.com>
9949
9950 * math/Makefile (tests): Add tst-CMPLX2.
9951 * math/tst-CMPLX2.c: New file.
9952
9953 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9954
9955 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9956
9957 * math/libm-test.inc (jn_test): Add missing L suffix.
9958
9959 2012-02-06 Marek Polacek <polacek@redhat.com>
9960
9961 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9962 * sysdeps/i386/fpu/e_powf.S: Likewise.
9963 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9964 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9966 * sysdeps/i386/fpu/e_pow.S: Likewise.
9967 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9969 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9970 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9971 * sysdeps/i386/fpu/e_log2.S: Likewise.
9972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9973 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9974 * sysdeps/i386/fpu/e_powl.S: Likewise.
9975 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9976 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9977 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9978 * sysdeps/i386/fpu/e_logl.S: Likewise.
9979 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9980 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9981 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9982 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9984 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9985 * sysdeps/i386/fpu/e_log.S: Likewise.
9986 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9987 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9988 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9989 * sysdeps/i386/fpu/e_logf.S: Likewise.
9990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9991 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9992 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9993 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9994 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9995 * sysdeps/i386/fpu/e_log10.S: Likewise.
9996 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9998 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9999 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10001 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10002 * sysdeps/i386/asm-syntax.h: Likewise.
10003 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10004 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10005 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10006 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10007 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10009 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10010 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10011 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10012 * sysdeps/powerpc/sysdep.h: Likewise.
10013 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10014 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10015
10016 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10017
10018 [BZ #411]
10019 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10020
10021 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10022
10023 * sysdeps/i386/sysdep.h: Include <features.h>.
10024 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10025 version.
10026
10027 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10028
10029 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10030 Define.
10031 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10032 LOAD_PIC_REG_STR.
10033
10034 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10035
10036 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10037 (SETUP_PIC_REG): Use GET_PC_THUNK.
10038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10039 macro.
10040
10041 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10042
10043 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10044 for non-PIC compilation.
10045 (SETUP_PIC_REG): Add .p2align directive.
10046 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10047 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10048 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10049 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10050 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10051 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10052 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10053 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10054 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10055 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10056 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10057 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10058 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10059 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10060 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10061 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10062 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10063 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10064 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10065 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10066 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10067 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10068 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10069 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10070 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10072 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10074 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10075 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10076 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10077 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10078 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10079 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10080 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10081 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10082 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10083 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10084 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10085 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10086 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10087
10088 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10089
10090 * math/tst-CMPLX.c: Include <stdio.h>.
10091
10092 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10093
10094 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10095 float.
10096 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10097 * sysdeps/sparc/bits/mathdef.h: Likewise.
10098
10099 2012-01-31 Marek Polacek <polacek@redhat.com>
10100
10101 * libio/libio.h: Don't define _PARAMS.
10102 * locale/programs/config.h: Don't define PARAMS.
10103 * stdlib/strtol_l.c: Likewise.
10104 (__strtol_l): Remove PARAMS from the prototype.
10105
10106 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10107
10108 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10109 names. Just use the correct names. Remove unnecessary wrapper
10110 functions.
10111 * malloc/arena.c: Likewise.
10112 * malloc/hooks.c: Likewise.
10113
10114 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10115 ARENA_TEST says not to. Simplify test for creation of a new arena.
10116 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10117
10118 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10119
10120 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10121 into tail calls.
10122 (update_get_addr): New function.
10123 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10124 GET_ADDR_MODULE parameter.
10125
10126 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10127
10128 * crypt/cert.c: Remove __STDC__ conditionals.
10129 * crypt/crypt-entry.c: Likewise.
10130 * crypt/crypt_util.c: Likewise.
10131 * libio/filedoalloc.c: Likewise.
10132 * libio/fileops.c: Likewise.
10133 * libio/genops.c: Likewise.
10134 * libio/iofclose.c: Likewise.
10135 * libio/iofdopen.c: Likewise.
10136 * libio/iofopen.c: Likewise.
10137 * libio/iofopen64.c: Likewise.
10138 * libio/iogetdelim.c: Likewise.
10139 * libio/iopopen.c: Likewise.
10140 * libio/obprintf.c: Likewise.
10141 * libio/oldfileops.c: Likewise.
10142 * libio/oldiofclose.c: Likewise.
10143 * libio/oldiofdopen.c: Likewise.
10144 * libio/oldiofopen.c: Likewise.
10145 * libio/oldiopopen.c: Likewise.
10146 * libio/wfiledoalloc.c: Likewise.
10147 * libio/wgenops.c: Likewise.
10148 * locale/programs/xmalloc.c: Likewise.
10149 * misc/syslog.c: Likewise.
10150 * stdio-common/xbug.c: Likewise.
10151 * string/memchr.c: Likewise.
10152 * string/memcmp.c: Likewise.
10153 * string/memrchr.c: Likewise.
10154 * string/rawmemchr.c: Likewise.
10155 * sysdeps/posix/getcwd.c: Likewise.
10156 * time/strftime_l.c: Likewise.
10157
10158 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10159
10160 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10161 * config.make.in (config-cflags-sse2avx): Define.
10162 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10163 Fix typo.
10164
10165 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10166
10167 * scripts/config.guess: Update from upstream config git repository.
10168 * scripts/config.sub: Likewise.
10169
10170 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10171
10172 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10173 (EM_NUM): Update.
10174 (R_TILEPRO_*, R_TILEGX_*): New macros.
10175
10176 * scripts/firstversions.awk: Fix bug in version range handling.
10177
10178 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10179
10180 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10181
10182 * include/sys/epoll.h: New file.
10183 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10184 libc_hidden_def.
10185
10186 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10187
10188 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10189 Avoid unnecessary __WORDSIZE == 64 test.
10190 (fmaxf): Use VEX format if possible.
10191 (fmax): Likewise.
10192 (fminf): Likewise.
10193 (fmin): Likewise.
10194
10195 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10196 * math/math_private.h: Remove libc_fegetround* and
10197 libc_fesetround*.
10198 * sysdeps/i386/configure.in: Check for -msse2avx.
10199 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10200 also if SSE2AVX is defined.
10201 Remove libc_fegetround* and libc_fesetround*.
10202 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10203 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10205 of HAS_YMM_USABLE.
10206 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10211
10212 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10213
10214 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10215
10216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10217 size is not set.
10218 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10219
10220 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10221
10222 [BZ #13618]
10223 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10224 relocation.
10225 * Makeconfig (libm): Define.
10226 * elf/Makefile: Add rules to build and run tst-relsort1.
10227 * elf/tst-relsort1.c: New file.
10228 * elf/tst-relsort1mod1.c: New file.
10229 * elf/tst-relsort1mod2.c: New file.
10230
10231 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10232
10233 * math/s_ldexp.c: Remove __STDC__ conditionals.
10234 * math/s_ldexpf.c: Likewise.
10235 * math/s_ldexpl.c: Likewise.
10236 * math/s_nextafter.c: Likewise.
10237 * math/s_nexttowardf.c: Likewise.
10238 * math/s_significand.c: Likewise.
10239 * math/s_significandf.c: Likewise.
10240 * math/s_significandl.c: Likewise.
10241 * math/w_jnl.c: Likewise.
10242 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10243 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10244 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10245 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10246 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10261 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10262 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10263 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10268 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10269 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10270 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10271 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10272 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10273 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10274 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10276 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10277 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10278 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10279 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10280 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10281 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10282 * sysdeps/ieee754/k_standard.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10344 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10349 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10362 * sysdeps/ieee754/s_matherr.c: Likewise.
10363 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10364 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10365 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10367
10368 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10369
10370 * crypt/md5.h: Remove __STDC__ conditionals.
10371 * libio/libioP.h: Likewise.
10372 * locale/programs/config.h: Likewise.
10373 * sysdeps/generic/sysdep.h: Likewise.
10374 * sysdeps/i386/asm-syntax.h: Likewise.
10375 * sysdeps/s390/asm-syntax.h: Likewise.
10376 * sysdeps/unix/sysdep.h: Likewise.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10379
10380 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10381
10382 * libio/libio.h: Remove __STDC__ conditionals.
10383 * malloc/obstack.h: Likewise.
10384 * math/complex.h: Likewise.
10385 * math/math.h: Likewise.
10386 * sysdeps/generic/_G_config.h: Likewise.
10387 * sysdeps/gnu/_G_config.h: Likewise.
10388 * sysdeps/mach/hurd/_G_config.h: Likewise.
10389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10390 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10391 * sysdeps/sparc/bits/mathdef.h: Likewise.
10392
10393 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10394
10395 [BZ #13583]
10396 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10397 Clean up HAS_* macros.
10398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10399 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10400 possible.
10401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10402 HAS_AVX.
10403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10404 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10406 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10408
10409 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10410
10411 * elf/tst-unique3.cc (gets): Remove declaration.
10412 * elf/tst-unique3lib.cc (gets): Likewise.
10413 * elf/tst-unique3lib2.cc (gets): Likewise.
10414 * elf/tst-unique4.cc (gets): Likewise.
10415
10416 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10417
10418 * include/stdio.h: Add C++ protection. Add gets declarations and
10419 definitions.
10420 * debug/tst-chk1.c: Don't declare gets here.
10421 * stdio-common/tst-gets.c: Likewise.
10422
10423 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10424
10425 * posix/glob: Remove directory.
10426
10427 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10428
10429 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10430
10431 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10432
10433 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10434 of the non-standard EPFNOSUPPORT.
10435
10436 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10437
10438 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10439 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10440 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10441
10442 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10443
10444 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10445
10446 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10447
10448 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10449 transient errors.
10450 * nscd/grpcache.c (cache_addgr): Likewise.
10451 * nscd/hstcache.c (cache_addhst): Likewise.
10452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10453 * nscd/pwdcache.c (cache_addpw): Likewise.
10454 * nscd/servicescache.c (cache_addserv): Likewise.
10455
10456 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10457
10458 * malloc/malloc.c: Various cleanups.
10459 * malloc/hooks.c: Likewise.
10460
10461 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10462 * stdlib/bug-fmtmsg1.c: New file.
10463
10464 * stdlib/fmtmsg.c (init): Add missing unlock.
10465 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10466
10467 2012-01-12 Marek Polacek <polacek@redhat.com>
10468
10469 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10470 and _GNU_SOURCE.
10471
10472 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10473
10474 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10475 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10476 macro to ensure uniqueness of label name.
10477 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10478 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10479
10480 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10481
10482 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10483
10484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10485 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10486 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10488
10489 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10490
10491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10492
10493 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10494 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10495 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10496
10497 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10498
10499 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10500 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10503
10504 * math/bits/math-finite.h: Add ldexp support.
10505
10506 2012-01-10 Marek Polacek <polacek@redhat.com>
10507
10508 * locale/programs/localedef.h (show_archive_content): Add noreturn
10509 attribute.
10510
10511 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10512
10513 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10514
10515 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10516
10517 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10518
10519 * io/Makefile (headers): Add bits/poll2.h.
10520
10521 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10522
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10524 typo #include statement.
10525
10526 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10527
10528 * include/sys/cdefs.h: Define __attribute_alloc_size.
10529 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10530 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10531 * elf/pldd.c: Likewise.
10532 * iconv/iconv_charmap.c: Likewise.
10533 * iconv/iconvconfig.c: Likewise.
10534 * iconv/strtab.c: Likewise.
10535 * locale/programs/locale.c: Likewise.
10536 * locale/programs/localedef.h: Likewise.
10537 * locale/programs/simple-hash.c: Likewise.
10538 * nscd/nscd.h: Likewise.
10539 * nss/makedb.c: Likewise.
10540 * sysdeps/generic/ldconfig.h: Likewise.
10541 * locale/programs/localedef.c: Remove xmalloc prototype.
10542 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10543
10544 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10545
10546 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10547 appropriate.
10548
10549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10550
10551 * math/Makefile (tests): Add tst-CMPLX.
10552 * math/tst-CMPLX.c: New file.
10553
10554 * math/complex.h (CMPLXL): Fix typo.
10555
10556 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10557 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10558 GLIBC_2.16.
10559 * debug/tst-chk1.c: Add poll and ppoll tests.
10560 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10561 * include/sys/poll.h: Add hidden proto for ppoll.
10562 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10563 * sysdeps/mach/hurd/ppoll.c: Likewise.
10564 * io/ppoll.c: Likewise.
10565 * debug/poll_chk.c: New file.
10566 * debug/ppoll_chk.c: New file.
10567 * include/bits/poll2.h: New file.
10568 * io/bits/poll2.h: New file.
10569
10570 [BZ #1350]
10571 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10572
10573 * configure.in: static is always set to yes. Remove.
10574 * config.make.in: Don't set build-static.
10575 * Makeconfig: Remove use of build-static.
10576 * dlfcn/Makefile: Likewise.
10577 * elf/Makefile: Likewise.
10578 * math/Makefile: Likewise.
10579 * misc/Makefile: Likewise.
10580 * nptl/Makefile: Likewise.
10581 * sysdeps/mach/hurd/Makefile: Likewise.
10582
10583 * configure.in: PWD_P is not used anymore.
10584 * config.make.in: Remove PWD_P entry.
10585
10586 * configure.in: Remove last remnants of RANLIB.
10587 No need to check for signed size_t anymore.
10588 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10589 and IA-64.
10590 Remove __builtin_expect test because we require at least gcc 3.4.
10591 * aclocal.m4: Likewise.
10592
10593 * wcsmbs/mbrtoc16.c: Implement using towc function.
10594 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10595 * wcsmbs/wcsmbsload.c: Likewise.
10596 * iconv/gconv_simple.c: Likewise.
10597 * iconv/gconv_int.h: Likewise.
10598 * iconv/gconv_builtin.h: Likewise.
10599 * iconv/iconv_prog.c: Remove CHAR16 handling.
10600
10601 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10602
10603 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10604
10605 * configure.in: Remove --with-elf and --enable-bounded options.
10606 Dont set base_machine for ia64. More non-ELF conditions removed.
10607 Remove testing and setting of leading underscore information.
10608 * config.make.in (build-bounded): Set to no.
10609 * config.h.in: Remove NO_UNDERSCORES entry.
10610 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10611 them.
10612 * csu/start.c: Remove !NO_UNDERSCORE code.
10613 * locale/localeinfo.h: Likewise.
10614 * sysdeps/generic/machine-gmon.h: Likewise.
10615 * sysdeps/generic/sysdep.h: Likewise.
10616 * sysdeps/i386/sysdep.h: Likewise.
10617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10618 * sysdeps/mach/sysdep.h: Likewise.
10619 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10621 * sysdeps/sh/sysdep.h: Likewise.
10622 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10623 * sysdeps/unix/i386/sysdep.S: Likewise.
10624 * sysdeps/unix/sparc/start.c: Likewise.
10625 * sysdeps/unix/sparc/sysdep.S: Likewise.
10626 * sysdeps/unix/sparc/sysdep.h: Likewise.
10627 * sysdeps/unix/start.c: Likewise.
10628 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10629 * sysdeps/x86_64/sysdep.h: Likewise.
10630
10631 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10632
10633 [BZ #13553]
10634 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10635 for non-gcc.
10636 * argp/argp-fmtstream.h: Use const instead __const.
10637 * argp/argp.h: Likewise.
10638 * assert/assert.h: Likewise.
10639 * bits/fenv.h: Likewise.
10640 * bits/sched.h: Likewise.
10641 * bits/sigset.h: Likewise.
10642 * bits/sigthread.h: Likewise.
10643 * catgets/nl_types.h: Likewise.
10644 * conform/data/pthread.h-data: Likewise.
10645 * crypt/crypt-private.h: Likewise.
10646 * crypt/crypt.h: Likewise.
10647 * crypt/crypt_util.c: Likewise.
10648 * ctype/ctype.h: Likewise.
10649 * debug/execinfo.h: Likewise.
10650 * debug/mbsnrtowcs_chk.c: Likewise.
10651 * debug/mbsrtowcs_chk.c: Likewise.
10652 * debug/wcsnrtombs_chk.c: Likewise.
10653 * debug/wcsrtombs_chk.c: Likewise.
10654 * debug/wcstombs_chk.c: Likewise.
10655 * dirent/dirent.h: Likewise.
10656 * dlfcn/dlfcn.h: Likewise.
10657 * elf/neededtest4.c: Likewise.
10658 * grp/grp.h: Likewise.
10659 * gshadow/gshadow.h: Likewise.
10660 * iconv/gconv.h: Likewise.
10661 * iconv/gconv_int.h: Likewise.
10662 * iconv/gconv_simple.c: Likewise.
10663 * iconv/iconv.h: Likewise.
10664 * iconv/loop.c: Likewise.
10665 * iconv/skeleton.c: Likewise.
10666 * include/aio.h: Likewise.
10667 * include/aliases.h: Likewise.
10668 * include/argz.h: Likewise.
10669 * include/arpa/inet.h: Likewise.
10670 * include/assert.h: Likewise.
10671 * include/dirent.h: Likewise.
10672 * include/dlfcn.h: Likewise.
10673 * include/execinfo.h: Likewise.
10674 * include/fcntl.h: Likewise.
10675 * include/fenv.h: Likewise.
10676 * include/glob.h: Likewise.
10677 * include/grp.h: Likewise.
10678 * include/libintl.h: Likewise.
10679 * include/mntent.h: Likewise.
10680 * include/netdb.h: Likewise.
10681 * include/pwd.h: Likewise.
10682 * include/rpc/netdb.h: Likewise.
10683 * include/sched.h: Likewise.
10684 * include/search.h: Likewise.
10685 * include/shadow.h: Likewise.
10686 * include/signal.h: Likewise.
10687 * include/stdio.h: Likewise.
10688 * include/stdlib.h: Likewise.
10689 * include/string.h: Likewise.
10690 * include/sys/socket.h: Likewise.
10691 * include/sys/stat.h: Likewise.
10692 * include/sys/statfs.h: Likewise.
10693 * include/sys/statvfs.h: Likewise.
10694 * include/sys/syslog.h: Likewise.
10695 * include/sys/time.h: Likewise.
10696 * include/sys/uio.h: Likewise.
10697 * include/time.h: Likewise.
10698 * include/unistd.h: Likewise.
10699 * include/utmp.h: Likewise.
10700 * include/wchar.h: Likewise.
10701 * include/wctype.h: Likewise.
10702 * inet/aliases.h: Likewise.
10703 * inet/arpa/inet.h: Likewise.
10704 * inet/netinet/ether.h: Likewise.
10705 * inet/netinet/in.h: Likewise.
10706 * intl/libintl.h: Likewise.
10707 * io/bits/fcntl2.h: Likewise.
10708 * io/fcntl.h: Likewise.
10709 * io/ftw.h: Likewise.
10710 * io/sys/poll.h: Likewise.
10711 * io/sys/stat.h: Likewise.
10712 * io/sys/statfs.h: Likewise.
10713 * io/sys/statvfs.h: Likewise.
10714 * io/utime.h: Likewise.
10715 * libio/bits/stdio.h: Likewise.
10716 * libio/bits/stdio2.h: Likewise.
10717 * libio/libio.h: Likewise.
10718 * libio/libioP.h: Likewise.
10719 * libio/stdio.h: Likewise.
10720 * locale/lc-ctype.c: Likewise.
10721 * locale/locale.h: Likewise.
10722 * login/utmp.h: Likewise.
10723 * malloc/arena.c: Likewise.
10724 * malloc/malloc.c: Likewise.
10725 * malloc/malloc.h: Likewise.
10726 * malloc/mcheck.c: Likewise.
10727 * malloc/mtrace.c: Likewise.
10728 * math/bits/mathcalls.h: Likewise.
10729 * math/fenv.h: Likewise.
10730 * math/math_private.h: Likewise.
10731 * misc/bits/error.h: Likewise.
10732 * misc/bits/syslog.h: Likewise.
10733 * misc/err.h: Likewise.
10734 * misc/error.h: Likewise.
10735 * misc/fstab.h: Likewise.
10736 * misc/mntent.h: Likewise.
10737 * misc/regexp.h: Likewise.
10738 * misc/search.h: Likewise.
10739 * misc/sgtty.h: Likewise.
10740 * misc/sys/mman.h: Likewise.
10741 * misc/sys/syslog.h: Likewise.
10742 * misc/sys/uio.h: Likewise.
10743 * misc/sys/xattr.h: Likewise.
10744 * misc/ttyent.h: Likewise.
10745 * nis/rpcsvc/ypclnt.h: Likewise.
10746 * nss/nss.h: Likewise.
10747 * posix/bits/unistd.h: Likewise.
10748 * posix/fnmatch.h: Likewise.
10749 * posix/glob.h: Likewise.
10750 * posix/sched.h: Likewise.
10751 * posix/spawn.h: Likewise.
10752 * posix/sys/wait.h: Likewise.
10753 * posix/unistd.h: Likewise.
10754 * posix/wordexp.h: Likewise.
10755 * pwd/pwd.h: Likewise.
10756 * resolv/netdb.h: Likewise.
10757 * resource/sys/resource.h: Likewise.
10758 * rt/aio.h: Likewise.
10759 * rt/bits/mqueue2.h: Likewise.
10760 * rt/mqueue.h: Likewise.
10761 * shadow/shadow.h: Likewise.
10762 * signal/signal.h: Likewise.
10763 * socket/send.c: Likewise.
10764 * socket/sendto.c: Likewise.
10765 * socket/sys/socket.h: Likewise.
10766 * stdio-common/printf.h: Likewise.
10767 * stdlib/bits/stdlib.h: Likewise.
10768 * stdlib/fmtmsg.h: Likewise.
10769 * stdlib/monetary.h: Likewise.
10770 * stdlib/stdlib.h: Likewise.
10771 * stdlib/ucontext.h: Likewise.
10772 * streams/stropts.h: Likewise.
10773 * string/argz.h: Likewise.
10774 * string/bits/string2.h: Likewise.
10775 * string/string.h: Likewise.
10776 * string/strings.h: Likewise.
10777 * sunrpc/rpc/auth.h: Likewise.
10778 * sunrpc/rpc/auth_des.h: Likewise.
10779 * sunrpc/rpc/clnt.h: Likewise.
10780 * sunrpc/rpc/netdb.h: Likewise.
10781 * sunrpc/rpc/pmap_clnt.h: Likewise.
10782 * sunrpc/rpc/xdr.h: Likewise.
10783 * sysdeps/generic/inttypes.h: Likewise.
10784 * sysdeps/generic/net/if.h: Likewise.
10785 * sysdeps/generic/sys/swap.h: Likewise.
10786 * sysdeps/gnu/net/if.h: Likewise.
10787 * sysdeps/gnu/utmpx.h: Likewise.
10788 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10789 * sysdeps/i386/i486/bits/string.h: Likewise.
10790 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10791 * sysdeps/s390/bits/string.h: Likewise.
10792 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10793 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10794 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10795 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10796 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10797 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10798 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10799 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10800 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10801 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10802 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10803 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10804 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10805 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10806 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10807 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10808 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10814 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10815 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10816 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10817 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10818 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10820 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10821 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10822 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10823 * sysvipc/sys/ipc.h: Likewise.
10824 * sysvipc/sys/msg.h: Likewise.
10825 * sysvipc/sys/sem.h: Likewise.
10826 * sysvipc/sys/shm.h: Likewise.
10827 * termios/termios.h: Likewise.
10828 * time/sys/time.h: Likewise.
10829 * time/time.h: Likewise.
10830 * wcsmbs/bits/wchar2.h: Likewise.
10831 * wcsmbs/uchar.h: Likewise.
10832 * wcsmbs/wchar.h: Likewise.
10833 * wctype/wctype.h: Likewise.
10834
10835 [BZ #13551]
10836 * Makeconfig: Remove all but ELF support including AIX support.
10837 * Makerules: Likewise.
10838 * config.h.in: Likewise.
10839 * config.make.in: Likewise.
10840 * configure: Likewise.
10841 * configure.in: Likewise.
10842 * csu/Makefile: Likewise.
10843 * csu/version.c: Likewise.
10844 * debug/Makefile: Likewise.
10845 * dlfcn/Makefile: Likewise.
10846 * elf/Makefile: Likewise.
10847 * extra-lib.mk: Likewise.
10848 * iconv/Makefile: Likewise.
10849 * include/libc-symbols.h: Likewise.
10850 * include/shlib-compat.h: Likewise.
10851 * resolv/Makefile: Likewise.
10852 * resolv/res_libc.c: Likewise.
10853 * rt/Makefile: Likewise.
10854 * sysdeps/i386/asm-syntax.h: Likewise.
10855 * sysdeps/i386/sysdep.h: Likewise.
10856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10857 * sysdeps/mach/sysdep.h: Likewise.
10858 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10859 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10860 * sysdeps/s390/asm-syntax.h: Likewise.
10861 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10863 * sysdeps/sh/sysdep.h: Likewise.
10864 * sysdeps/unix/sparc/sysdep.h: Likewise.
10865 * sysdeps/wordsize-32/divdi3.c: Likewise.
10866 * sysdeps/x86_64/sysdep.h: Likewise.
10867
10868 * argp/Versions: Remove _argp_unlock_xxx.
10869
10870 [BZ #13559]
10871 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10872 * abilist/libBrokenLocale.abilist: Likewise.
10873 * abilist/libanl.abilist: Likewise.
10874 * abilist/libc.abilist: Likewise.
10875 * abilist/libcrypt.abilist: Likewise.
10876 * abilist/libdl.abilist: Likewise.
10877 * abilist/libm.abilist: Likewise.
10878 * abilist/libnsl.abilist: Likewise.
10879 * abilist/libpthread.abilist: Likewise.
10880 * abilist/libresolv.abilist: Likewise.
10881 * abilist/librt.abilist: Likewise.
10882 * abilist/libthread_db.abilist: Likewise.
10883 * abilist/libutil.abilist: Likewise.
10884 * abilist/libnss_db.abilist: New file.
10885
10886 * scripts/abilist.awk: Add support for indirect functions.
10887
10888 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10889
10890 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10891
10892 * shlib-versions: Remove entries for ports architectures.
10893
10894 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10895 files in ports.
10896 * elf/stackguard-macros.h: Remove support for IA-64.
10897 * elf/tst-auditmod1.c: Likewise.
10898 * sysdeps/generic/ldsodefs.h: Likewise.
10899
10900 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10901 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10902 configure files.
10903
10904 [BZ #13552]
10905 * configure.in: Remove --enable-omitfp support.
10906 * FAQ.in: Adjust.
10907 * config.make.in: Likewise.
10908 * Makeconfig: Likewise.
10909 * manual/install.texi: Likewise.
10910
10911 In case anyone cares, the IA-64 architecture could move to ports.
10912 * sysdeps/ia64/*: Removed.
10913 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10914 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10915
10916 [BZ #13555]
10917 * configure.in: Remove entries for unsupported architectures.
10918
10919 [BZ #13533]
10920 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10921 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10922 routines.
10923 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10924 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10925 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10926 fall back to using wcrtomb.
10927 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10928 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10929 renaming.
10930 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10931 * wcsmbs/tst-c16c32-1.c: New file.
10932
10933 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10934 local variable.
10935
10936 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10937
10938 * elf/tst-unique3.cc: Add explicit declaration of gets.
10939 * elf/tst-unique3lib.cc: Likewise.
10940 * elf/tst-unique3lib2.cc: Likewise.
10941 * elf/tst-unique4.cc: Likewise.
10942
10943 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10944
10945 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10946
10947 [BZ #13566]
10948 * assert/assert.h (static_assert): Don't define for C++.
10949 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10950 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10951
10952 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10953
10954 * iconv/loop.c (single loop): Fix assertion in storing of
10955 remaining bytes.
10956
10957 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10958
10959 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10960
10961 * posix/getconf.c: Update copyright year.
10962 * nss/getent.c: Likewise.
10963 * nss/makedb.c: Likewise.
10964 * iconv/iconvconfig.c: Likewise.
10965 * iconv/iconv_prog.c: Likewise.
10966 * elf/ldconfig.c: Likewise.
10967 * elf/pldd.c: Likewise.
10968 * elf/sotruss.ksh: Likewise.
10969 * catgets/gencat.c: Likewise.
10970 * csu/version.c: Likewise.
10971 * elf/ldd.bash.in: Likewise.
10972 * elf/sprof.c (print_version): Likewise.
10973 * locale/programs/locale.c: Likewise.
10974 * locale/programs/localedef.c: Likewise.
10975 * login/programs/pt_chown.c: Likewise.
10976 * nscd/nscd.c (print_version): Likewise.
10977 * debug/xtrace.sh: Likewise.
10978 * malloc/memusage.sh: Likewise.
10979 * malloc/mtrace.pl: Likewise.
10980 * debug/catchsegv.sh: Likewise.
10981
10982 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10983
10984 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10985 pure attribute.
10986
10987 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10988
10989 [BZ #13533]
10990 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10991 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10992 transformations.
10993 * iconv/gconv_int.h: Likewise.
10994 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10995 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10996 from libc for GLIBC_2.16.
10997 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10998 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10999 * wcsmbs/uchar.h: Really define mbstate_t.
11000 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11001 * wcsmbs/c16rtomb.c: New file.
11002 * wcsmbs/mbrtoc16.c: New file.
11003 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11004 for C/POSIX locale.
11005 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11006 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11007
11008 * wcsmbs/wchar.h: Add missing __restrict.
11009
11010 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11011
11012 [BZ #13532]
11013 * time/Makefile (routines): Add timespec_get.
11014 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11015 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11016 timespec for ISO C11.
11017 * time/timespec_get.c: New file.
11018 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11019 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11020
11021 [BZ #13531]
11022 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11023 * stdlib/stdlib.h: Declare aligned_alloc.
11024 * Versions.def: Add GLIBC_2.16 for libc.
11025 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11026
11027 [BZ 13527]
11028 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11029 ISO C11.
11030
11031 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11032 code.
11033
11034 [BZ #13528]
11035 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11036
11037 [BZ #13529]
11038 * assert/assert.h (static_assert): Define.
11039
11040 * version.h: Update for 2.16 development version.
11041
11042 [BZ #13526]
11043 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11044 _ISOC11_SOURCE.
11045
11046 * version.h (RELEASE): Bump for 2.15 release.
11047 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11048
11049 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11050 Patch by Marek Polacek <mpolacek@redhat.com>.
11051
11052 * bits/byteswap.h: Protect long long constants with __extension__.
11053 * sysdeps/i386/bits/byteswap.h: Likewise.
11054 * sysdeps/ia64/bits/byteswap.h: Likewise.
11055 * sysdeps/s390/bits/byteswap.h: Likewise.
11056 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11057
11058 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11059
11060 [BZ #13540]
11061 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11062 destination buffer.
11063 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11064
11065 2011-12-23 Marek Polacek <polacek@redhat.com>
11066
11067 * elf/dl-addr.c (determine_info): Add inline keyword.
11068 * elf/tst-auditmod4b.c (check_avx): Likewise.
11069 * elf/tst-auditmod6b.c (check_avx): Likewise.
11070 * elf/tst-auditmod6c.c (check_avx): Likewise.
11071 * elf/tst-auditmod7b.c (check_avx): Likewise.
11072
11073 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11074
11075 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11076 !__SSE_MATH__.
11077
11078 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11079
11080 [BZ #13540]
11081 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11082 processing for last bytes.
11083
11084 2011-08-06 Bruno Haible <bruno@clisp.org>
11085
11086 [BZ #13061]
11087 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11088 U+0385, not to U+1FEE.
11089
11090 [BZ #13062]
11091 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11092 entry for U+00A5 U+0301.
11093
11094 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11095
11096 [BZ #13166]
11097 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11098 buffer for the output is too small.
11099
11100 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11101 optimization.
11102
11103 [BZ #13185]
11104 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11105 SSE flags if possible.
11106
11107 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11108
11109 [BZ #13540]
11110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11111 processing for last bytes.
11112
11113 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11114
11115 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11116 (syscall-list-default-options, syscall-list-default-condition)
11117 (syscall-list-includes): Define.
11118 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11119 list of ABIs and options and #if conditions for each ABI. Do not
11120 handle common syscalls between ABIs specially.
11121 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11122 Remove.
11123 (syscall-list-variants, syscall-list-32bit-options)
11124 (syscall-list-32bit-condition, syscall-list-64bit-options)
11125 (syscall-list-64bit-condition): Define.
11126 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11127 (syscall-list-variants, syscall-list-32bit-options)
11128 (syscall-list-32bit-condition, syscall-list-64bit-options)
11129 (syscall-list-64bit-condition): Define.
11130 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11131 Remove.
11132 (syscall-list-variants, syscall-list-32bit-options)
11133 (syscall-list-32bit-condition, syscall-list-64bit-options)
11134 (syscall-list-64bit-condition): Define.
11135 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11136 Remove.
11137 (syscall-list-variants, syscall-list-32bit-options)
11138 (syscall-list-32bit-condition, syscall-list-64bit-options)
11139 (syscall-list-64bit-condition): Define.
11140
11141 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11142
11143 * locale/iso-639.def: Add brx entry.
11144
11145 [BZ #13328]
11146 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11147 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11148
11149 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11150 __feraiseexcept_renamed.
11151
11152 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11153
11154 [BZ #13538]
11155 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11156 EPOLLET with unsigned values.
11157 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11159
11160 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11161 to large cancellation.
11162 * math/s_cacoshf.c: Likewise.
11163 * math/s_cacoshl.c: Likewise.
11164
11165 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11166
11167 [BZ #13305]
11168 [BZ #12786]
11169 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11170 * math/s_cacoshf.c: Likewise.
11171 * math/s_cacoshl.c: Likewise.
11172
11173 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11174
11175 [BZ #13439]
11176 * iconv/gconv.h: Define __GCONV_SWAP.
11177 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11178 * iconvdata/utf-16.c: Likewise.
11179 * iconvdata/utf-32.c: Likewise.
11180
11181 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11182
11183 [BZ #13524]
11184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11185 numerator after shifting it by one limb.
11186
11187 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11188
11189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11190 under [__USE_EXTERN_INLINES].
11191
11192 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11193
11194 [BZ #13446]
11195 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11196
11197 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11198
11199 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11200 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11201 optimized code.
11202 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11203 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11204 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11205 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11206 for strncasecmp/strncasecmp_l compilation.
11207 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11208 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11209
11210 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11211
11212 [BZ #13484]
11213 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11214 of __asm__.
11215
11216 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11217
11218 [BZ #13506]
11219 * time/tzfile.c (__tzfile_read): Check values from file header.
11220
11221 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11222
11223 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11224 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11225 * powerpc/powerpc32/dl-start.S: Likewise.
11226 * powerpc/powerpc32/elf/start.S: Likewise.
11227 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11228 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11229 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11230 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11231 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11232 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11233 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11234 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11235 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11236 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11237 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11238 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11239 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11240 * powerpc/powerpc32/memset.S: Likewise.
11241 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11242 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11243 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11244 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11245 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11246 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11247 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11248 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11249 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11250 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11251 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11252 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11253 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11254
11255 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11256
11257 * math/libm-test.inc: Added more nearbyint tests.
11258 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11260 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11262
11263 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11264
11265 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11266 FD_CLOEXEC.
11267
11268 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11269
11270 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11271 Add wcscpy-ssse3 wcscpy-c.
11272 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11273 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11274 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11275 * sysdeps/x86_64/wcschr.S: New file.
11276 * sysdeps/x86_64/wcsrchr.S: New file.
11277 * string/test-strcmp.c: Remove checking of wcscmp function for
11278 wrong alignments.
11279 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11280 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11281 wcsrchr-sse2 wcsrchr-c.
11282 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11283 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11284 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11285 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11286 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11287 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11288 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11289 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11290 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11291 * wcsmbc/wcschr.c (WCSCHR): New macro.
11292
11293 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11294
11295 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11296 * wcsmbs/test-wcsrchr.c: New file.
11297 * string/test-strrchr.c: Add wcsrchr support.
11298 (WIDE): New macro.
11299 * wcsmbs/test-wcscpy.c: New file.
11300 * string/test-strcpy.c: Add wcscpy support.
11301 (WIDE): New macro.
11302
11303 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11304
11305 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11306 the inner loop.
11307
11308 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11309
11310 [BZ #13472]
11311 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11312
11313 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11314
11315 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11316 Minor optimizations.
11317
11318 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11319 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11320 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11321
11322 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11323
11324 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11325 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11326 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11327 for gcc to avoid warnings.
11328 * inet/Makefile (tests): Add tst-checks.
11329 * inet/tst-checks.c: New file.
11330
11331 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11332 warning.
11333
11334 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11335 __wmemcmp_sse2.
11336
11337 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11338 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11339
11340 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11341
11342 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11343
11344 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11345 problem.
11346
11347 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11348
11349 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11350
11351 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11352 conditional on GCC version.
11353 (__arch_compare_and_exchange_val_8_acq)
11354 (__arch_compare_and_exchange_val_16_acq)
11355 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11356 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11357 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11358
11359 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11360
11361 * sysdeps/sh/backtrace.c: New file.
11362
11363 2011-12-02 Andreas Schwab <schwab@redhat.com>
11364
11365 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11366 parenthesis.
11367
11368 2011-12-01 Andreas Schwab <schwab@redhat.com>
11369
11370 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11371 falling back to utime.
11372
11373 2011-11-30 Andreas Schwab <schwab@redhat.com>
11374
11375 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11376 expectations for float.
11377
11378 2011-11-29 Andreas Schwab <schwab@redhat.com>
11379
11380 * locale/weight.h (findidx): Add parameter len.
11381 * locale/weightwc.h (findidx): Likewise.
11382 * posix/fnmatch_loop.c (FCT): Adjust caller.
11383 * posix/regcomp.c (build_equiv_class): Likewise.
11384 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11385 * posix/regexec.c (check_node_accept_bytes): Likewise.
11386 * string/strcoll_l.c (STRCOLL): Likewise.
11387 * string/strxfrm_l.c (STRXFRM): Likewise.
11388
11389 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11390
11391 * Makefile.in: Remove CVSOPT handling.
11392 * configure.in: Remove use of AC_REVISION.
11393 * iconvdata/Makefile (distribute): No need to filter out CVS.
11394 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11395 handling.
11396
11397 2011-11-16 Andreas Schwab <schwab@redhat.com>
11398
11399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11400 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11401 [USE_AS_STRNCASECMP_L]: Likewise.
11402 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11403 NO_TLS_DIRECT_SEG_REFS.
11404 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11405 Fix argument offsets for non-PIC.
11406 [USE_AS_STRNCASECMP_L]: Likewise.
11407 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11408 NO_TLS_DIRECT_SEG_REFS.
11409
11410 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11411
11412 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11413 O_CLOEXEC.
11414 * locale/loadlocale.c (_nl_load_locale): Likewise.
11415
11416 2011-11-15 Andreas Schwab <schwab@redhat.com>
11417
11418 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11419 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11420 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11421 (SYSCALL_GETTIME): Set errno on error.
11422
11423 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11424 count references to noai6ai_cached.
11425
11426 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11427
11428 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11429
11430 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11431 FD_CLOEXEC for /proc/self/maps.
11432
11433 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11434 FD_CLOEXEC for /proc/meminfo.
11435
11436 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11437 gai.conf.
11438
11439 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11440 FD_CLOEXEC for given file.
11441
11442 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11443
11444 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11445 FD_CLOEXEC for /etc/hosts.
11446 (_gethtent): Likewise.
11447
11448 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11449
11450 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11451 cancellation and set FD_CLOEXEC for /etc/netgroup.
11452
11453 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11454 reading /etc/publickey.
11455
11456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11457 allow cancellation when reading /etc/group.
11458
11459 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11460 cancellation.
11461 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11462
11463 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11464 when using data file.
11465
11466 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11467
11468 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11469 (write_nis_obj): Use "c" and "e" in fopen.
11470
11471 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11472
11473 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11474
11475 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11476
11477 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11478
11479 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11480 locale.alias.
11481
11482 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11483
11484 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11485
11486 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11487
11488 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11489 file parsing and set FD_CLOEXEC.
11490
11491 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11492
11493 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11494
11495 2011-11-14 Andreas Schwab <schwab@redhat.com>
11496
11497 * malloc/arena.c (arena_get2): Don't call reused_arena when
11498 _int_new_arena failed.
11499
11500 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11501
11502 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11503 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11505 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11508 to compile strcasecmp and strncasecmp.
11509 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11510 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11511
11512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11513
11514 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11515
11516 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11517 locale-defines.sym to gen-as-const-headers.
11518 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11519 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11520 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11521 to compile strcasecmp and strncasecmp.
11522 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11523 strcasecmp_l and strncasecmp_l.
11524 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11525 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11526 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11527 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11528 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11529 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11530 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11531 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11532 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11533 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11534 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11535
11536 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11537
11538 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11539 result of SYSDEP_GETTIME_CPU to retval.
11540 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11541 parameter list to macro. Remove trailing semicolon. Adjust users.
11542
11543 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11544 variable.
11545
11546 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11547 mantissa words.
11548 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11549
11550 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11551 from unused variable.
11552
11553 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11554 DWARF definitions.
11555 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11556 for assembling.
11557
11558 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11559 over namespaces.
11560
11561 * sunrpc/rpc_prot.c (rejected): Fix case value.
11562
11563 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11564 unsigned long long int to avoid warnings in shift.
11565
11566 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11567 of use of trans.
11568 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11569 variable tmp.
11570
11571 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11572 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11574
11575 * nis/nis_table.c (nis_list): Use variable of correct type for
11576 result of __follow_path call.
11577
11578 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11579
11580 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11581 of math functions ceil, trunc, floor, round, and sqrt, when
11582 avaliable on the platform.
11583 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11584 name clash.
11585 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11586 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11587 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11588
11589 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11590
11591 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11592 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11593
11594 2011-11-11 Roland McGrath <roland@hack.frob.com>
11595
11596 * include/unistd.h: Fix __readlink return type.
11597 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11598
11599 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11600
11601 * stdlib/ucontext.h: Undo last change for makecontext.
11602
11603 2011-11-11 Andreas Schwab <schwab@redhat.com>
11604
11605 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11606
11607 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11608 * setjmp/setjmp.h: Mark functions as non-leaf.
11609 * setjmp/bits/setjmp2.h: Likewise.
11610 * stdlib/ucontext.h: Likewise.
11611
11612 2011-11-10 Andreas Schwab <schwab@redhat.com>
11613
11614 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11615 (reused_arena): Don't check arena limit.
11616 (arena_get2): Atomically check arena limit.
11617
11618 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11619
11620 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11621 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11622
11623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11624 instructions.
11625
11626 2011-11-07 Andreas Schwab <schwab@redhat.com>
11627
11628 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11629 handler when locking.
11630
11631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11632 Fix size of allocated buffer.
11633
11634 2011-11-04 Andreas Schwab <schwab@redhat.com>
11635
11636 [BZ #10103]
11637 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11638 declarations for long double functions.
11639 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11640
11641 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11642
11643 2011-11-03 Andreas Schwab <schwab@redhat.com>
11644
11645 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11646 installed.
11647
11648 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11649 is disabled.
11650
11651 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11652
11653 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11654
11655 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11656
11657 * include/alloca.h (stackinfo_alloca_round): Define.
11658 (extend_alloca): Use it.
11659 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11660 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11661 here.
11662
11663 * scripts/check-local-headers.sh: Ignore libaudit.h.
11664
11665 * nscd/Makefile (extra-objs): Make recursively expanded.
11666
11667 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11668
11669 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11671
11672 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11673 * posix/tst-rfc3484-2.c: Likewise.
11674 * posix/tst-rfc3484-3.c: Likewise.
11675
11676 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11677 process_vm_writev.
11678 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11679 process_vm_writev.
11680 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11681 process_vm_writev from libc using GLIBC_2.15 version.
11682
11683 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11684
11685 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11686
11687 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11688 stack usage.
11689
11690 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11691
11692 [BZ #13367]
11693 * nss/getent.c (initgroups_keys): Show error message in case no group
11694 names are given.
11695
11696 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11697 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11698 __bump_nl_timestamp.
11699 * nscd/connections (nscd_init): When host database is served open
11700 netlink socket and request notification about configuration changes.
11701 (main_loop_poll): Track netlink file descriptor and bump timestamp
11702 in case data becomes available.
11703 (main_loop_epoll): Likewise.
11704 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11705 (database_pers_head): Add extra_data fileds.
11706 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11707 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11708 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11709 Adjust caller.
11710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11711 in6ai data, call __free_in6ai.
11712 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11713 Add -DHAVE_NETLINK.
11714 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11715 interface information. Reuse previous data if netlink timestamp
11716 is not changed.
11717 (__bump_nl_timestamp): New function.
11718 (__free_in6ai): New function.
11719
11720 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11721
11722 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11723 close_not_cancel_no_status here.
11724 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11725
11726 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11727
11728 [BZ #13276]
11729 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11730 return value.
11731
11732 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11733 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11734 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11735
11736 2011-07-03 Andreas Jaeger <aj@suse.de>
11737
11738 [BZ #10709]
11739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11740 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11741 * math/libm-test.inc (sin_test): Add test case.
11742
11743 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11744
11745 [BZ #13337]
11746 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11747 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11748
11749 * elf/chroot_canon.c (chroot_canon): Cleanups.
11750
11751 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11752
11753 [BZ #13335]
11754 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11755 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11756
11757 * string/test-strchr.c: Make usable for strchrnul testing.
11758 * string/test-strchrnul.c: New file.
11759 * string/Makefile (strop-tests): Add strchrnul.
11760
11761 * po/it.po: Update from translation team.
11762 * po/es.po: Likewise.
11763
11764 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11765
11766 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11767 the three constants needed as parameters. Drop the others.
11768 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11769 __m128i_strloadu_tolower.
11770 Create and initialize variable zero and use it in all the places
11771 where _mm_setzero_si128 was used.
11772
11773 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11774 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11775 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11777 anymore.
11778 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11779 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11780 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11781 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11782 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11783 __mpranred, __mptan.
11784 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11785 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11786 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11787 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11790 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11791 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11792 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11793
11794 2011-10-28 Andreas Schwab <schwab@redhat.com>
11795
11796 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11797 redefine if SHARED.
11798 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11799
11800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11801 wide char related routines to wcsmbs subdir.
11802
11803 2011-10-27 Andreas Schwab <schwab@redhat.com>
11804
11805 [BZ #13344]
11806 * misc/sys/cdefs.h (__THROWNL): Define.
11807 * posix/unistd.h: Use __THREADNL instead of __THREAD
11808 for memory synchronization functions.
11809
11810 2011-10-26 Roland McGrath <roland@hack.frob.com>
11811
11812 [BZ #13349]
11813 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11814 doesn't exist.
11815 * manual/stdio.texi (Obstack Streams): Node removed.
11816
11817 2011-10-26 Andreas Schwab <schwab@redhat.com>
11818
11819 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11820 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11821 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11822
11823 * math/math_private.h (math_force_eval): Allow non-addressable
11824 arguments.
11825 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11826
11827 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11828
11829 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11830 file is not needed.
11831
11832 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11833 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11834 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11835 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11836 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11837 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11838 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11839 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11840 Add AVX variants.
11841 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11842 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11843 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11844 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11845 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11846 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11847 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11848 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11849 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11850 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11851 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11852 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11854 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11855 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11856 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11858 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11859 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11860
11861 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11862 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11863
11864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11865 place. Use VEX encoding when compiling for AVX.
11866
11867 2011-10-25 Andreas Schwab <schwab@redhat.com>
11868
11869 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11870 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11871
11872 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11873
11874 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11875
11876 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11877 useless if() expression.
11878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11887 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11888 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11889 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11890 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11891 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11892 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11893 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11894 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11896 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11897
11898 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11899
11900 2011-10-25 Andreas Schwab <schwab@redhat.com>
11901
11902 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11903 condition.
11904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11905
11906 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11907
11908 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11909 .text section. Avoid duplicate constants.
11910 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11918 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11920 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11921 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11922 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11923 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11926 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11927 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11934 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11935 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11936 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11937 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11938 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11939 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11940 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11950 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11951 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11952 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11954 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11955
11956 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11957
11958 * sysdeps/x86_64/dla.h: Move to ...
11959 * sysdeps/x86_64/fpu/dla.h: ...here.
11960 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11961 situations. Use __builtin_fma only for gcc 4.6 and up.
11962
11963 * config.make.in: Add have-mfma4 entry.
11964 * configure.in: Substitute libc_cv_cc_fma4.
11965 * math/Makefile (dbl-only-routines): Add sincostab.
11966 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11967 Use __sincostab not sincos.
11968 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11969 name is a macro.
11970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11974 using __copysign.
11975 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11976 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11977 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11978 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11979 and __inv.
11980 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11981 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11982 __copysign.
11983 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11984 define aliases when function name is a macro.
11985 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11986 sysdeps/ieee754/dbl-64/sincos.tbl.
11987 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11988 fma4-enabled routines.
11989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11990 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11991 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11992 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11993 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11994 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11995 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11996 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11998 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11999 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12000 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12001 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12002 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12003 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12004 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12005 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12006 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12007 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12008 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12009 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12010 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12011 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12012 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12013 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12016 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12017 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12018 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12019
12020 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12021 rename.
12022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12030
12031 2011-10-24 Andreas Schwab <schwab@redhat.com>
12032
12033 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12034
12035 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12036
12037 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12038
12039 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12040 prediction.
12041 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12042
12043 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12044 Remove unused variable magic_bits.
12045 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12046
12047 * string/strnlen.c: Define and use STRNLEN macro.
12048 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12049 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12051 * wcsmbs/wcslen.c: Define and use WCSLEN.
12052 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12053 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12054 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12055 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12056 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12057 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12058 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12059
12060 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12061
12062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12063 strnlen-sse2-no-bsf.
12064 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12065 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12066 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12067 Add strnlen support.
12068 (USE_AS_STRNLEN): New macro.
12069 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12071 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12072 * sysdeps/x86_64/wcslen.S: New file.
12073
12074 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12075
12076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12077 XMM-moves are used for copying on small sizes.
12078
12079 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12080
12081 * wcsmbs/Makefile (strop-tests): Add wcschr.
12082 * wcsmbs/test-wcschr.c: New file.
12083 * string/test-strchr.c: Update.
12084 Add wcschr support.
12085 (WIDE): New macro.
12086
12087 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12088
12089 * wcsmbs/Makefile (strop-tests): Add wcslen.
12090 * wcsmbs/test-wcslen.c: New file.
12091 * string/test-strlen.c: Update.
12092 Add wcslen support.
12093 (WIDE): New macro.
12094
12095 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12096
12097 * po/it.po: Update from translation team.
12098
12099 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12100
12101 * sysdeps/x86_64/wcscmp.S: Update.
12102 Fix wrong comparison semantics.
12103 wcscmp shall use signed comparison not unsigned.
12104 Don't use substraction to avoid overflow bug.
12105 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12106 * wcsmbc/wcscmp.c: Likewise.
12107 * string/test-strcmp.c: Likewise.
12108 Add new tests to check cases with negative values.
12109
12110 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12111
12112 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12113 * sysdeps/x86_64/dla.h: ...here. New file.
12114 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12123
12124 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12125
12126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12127 __ynl_finite aliases.
12128
12129 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12130
12131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12132
12133 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12134 define DLA_FMA.
12135 [DLA_FMA] (EMULV): Use DLA_FMA.
12136 [DLA_FMA] (MUL12): Use EMULV.
12137 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12138 that are not needed.
12139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12146
12147 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 * math/s_nan.c: Undef __nan.
12150 * math/s_nanf.c: Undef __nanf.
12151 * math/s_nanl.c: Undef __nanl.
12152 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12153 "math_private.h".
12154
12155 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12156
12157 * math/s_catan.c: Add branch predictions.
12158 * math/s_catanf.c: Likewise.
12159 * math/s_catanh.c: Likewise.
12160 * math/s_catanhf.c: Likewise.
12161 * math/s_catanhl.c: Likewise.
12162 * math/s_catanl.c: Likewise.
12163 * math/s_cexp.c: Likewise.
12164 * math/s_cexpf.c: Likewise.
12165 * math/s_cexpl.c: Likewise.
12166 * math/s_clog.c: Likewise.
12167 * math/s_clog10.c: Likewise.
12168 * math/s_clog10f.c: Likewise.
12169 * math/s_clog10l.c: Likewise.
12170 * math/s_clogf.c: Likewise.
12171 * math/s_clogl.c: Likewise.
12172 * math/s_csqrt.c: Likewise.
12173 * math/s_csqrtf.c: Likewise.
12174 * math/s_csqrtl.c: Likewise.
12175 * math/s_ctanf.c: Likewise.
12176 * math/s_ctanh.c: Likewise.
12177 * math/s_ctanhf.c: Likewise.
12178 * math/s_ctanhl.c: Likewise.
12179 * math/s_ctanl.c: Likewise.
12180
12181 * math/math_private.h: Define __nan, __nanf, __nanl.
12182 * math/s_cacosh.c: Include <math_private.h>.
12183 * math/s_cacoshl.c: Likewise.
12184 * math/s_casinh.c: Likewise.
12185 * math/s_casinhf.c: Likewise.
12186 * math/s_casinhl.c: Likewise.
12187 * math/s_ccos.c: Rely entire on ccosh.
12188 * math/s_ccosf.c: Rely entire on ccoshf.
12189 * math/s_ccosl.c: Rely entirely on ccoshl.
12190 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12191 Remove tests for FE_INVALID.
12192 * math/s_ccoshf.c: Likewise.
12193 * math/s_ccoshl.c: Likewise.
12194 * math/s_csin.c: Likewise.
12195 * math/s_csinf.c: Likewise.
12196 * math/s_csinh.c Likewise.
12197 * math/s_csinhf.c: Likewise.
12198 * math/s_csinhl.c: Likewise.
12199 * math/s_csinl.c: Likewise.
12200 * math/s_ctan.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12202 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12203 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12204
12205 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12206
12207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12208 compilation problems.
12209
12210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12211 __builtin_expect.
12212
12213 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12214
12215 * sysdeps/i386/configure.in: Test for -mfma4 option.
12216 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12217 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12218 COMMON_CPUID_INDEX_80000001.
12219 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12220 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12221 use it if FMA3 is not supported.
12222 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12223
12224 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12225 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12226
12227 2011-10-20 Andreas Schwab <schwab@redhat.com>
12228
12229 [BZ #12892]
12230 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12231 it would create a cycle with a link time dependency.
12232
12233 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12234
12235 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12236 instruction.
12237 * string/Makefile (strop-tests): Add rawmemchr.
12238 * string/test-rawmemchr.c: New file.
12239
12240 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12242 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12243 when compiling str{,n}casecmp and when AVX is available. Hook up
12244 new optimized code in initializers.
12245
12246 2011-10-19 Andreas Schwab <schwab@redhat.com>
12247
12248 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12249 __feraiseexcept instead of feraiseexcept.
12250
12251 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12252
12253 * math/math_private.h: Define defaults for libc_fetestexcept and
12254 libc_feupdateenv.
12255 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12256 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12257 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12258 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12259 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12260 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12261 libc_fetestexcept and libc_feupdateenv.
12262
12263 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12264 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12265 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12266 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12267 libc_feholdexcept_setround.
12268
12269 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12270 Add s_nearbyint-c and s_nearbyintf-c.
12271 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12272 nearbyintf inlines.
12273 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12275 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12276 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12277
12278 * math/math_private.h: Define defaults for libc_fegetround,
12279 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12280 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12281 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12283 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12284 standard functions.
12285 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12286 Remove comments and hacks for old compiler versions.
12287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12288 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12289 libc_feholdexceptl.
12290
12291 2011-10-18 Andreas Schwab <schwab@redhat.com>
12292
12293 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12294 (__feraiseexcept_renamed): Add __NTH.
12295 (feraiseexcept): Add __NTH. Rename local variables to fix
12296 namespace violations.
12297
12298 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12299
12300 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12301
12302 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12303
12304 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12305 recently added interfaces.
12306 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12307
12308 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12309 about macro parameter expansion.
12310
12311 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12312 __NO_MATH_INLINES is defined. Cleanups.
12313
12314 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12315 and __floorf is target has SSE4.1.
12316 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12317 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12318 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12319 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12320
12321 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12322 name.
12323 (floorf): Likewise.
12324
12325 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12326
12327 2011-10-17 Andreas Schwab <schwab@redhat.com>
12328
12329 * misc/sys/cdefs.h: Fix last change.
12330
12331 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12332 database lookup.
12333
12334 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12335
12336 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12337
12338 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12344 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12345 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12346 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12347 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12348 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12349 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12350 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12351 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12352 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12353 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12354 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12355 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12356 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12357 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12359 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12360
12361 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12362 ceil, ceilf, floor, floorf.
12363
12364 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12365 Perform IRELATIVE relocations last.
12366
12367 * elf/do-rel.h: Add another parameter nrelative, replacing the
12368 local variable with the same name. Change name of the function
12369 to end in Rel or Rela (uppercase).
12370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12371 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12372 elf_dynamic_do_##reloc function.
12373
12374 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12375
12376 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12377 is sufficient, at least on modern CPUs.
12378
12379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12380
12381 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12382 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12383
12384 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12385 __expl_finite.
12386 * math/bits/math-finite.h: Add entries for exp.
12387 * math/e_expl.c: Add __*_finite alias.
12388 * sysdeps/i386/fpu/e_exp.S: Likewise.
12389 * sysdeps/i386/fpu/e_expf.S: Likewise.
12390 * sysdeps/i386/fpu/e_expl.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12392 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12396 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12397 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12398
12399 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12400 is sufficient, at least on modern CPUs.
12401
12402 * ctype/ctype-info.c (__ctype_init): Define.
12403 * include/ctype.h (__ctype_init): Declare.
12404 (__ctype_b_loc): The variable is always initialized.
12405 (__ctype_toupper_loc): Likewise.
12406 (__ctype_tolower_loc): Likewise.
12407 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12408 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12409
12410 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12411
12412 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12413
12414 * configure.in: Also look in $cxxmachine/include for C++ system
12415 headers.
12416
12417 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12418
12419 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12420 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12421 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12422 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12423 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12424 (USE_AS_WMEMCMP): New macro.
12425 Fixing indents.
12426 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12427 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12428 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12429 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12431 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12432 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12433 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12434 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12435 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12436 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12437 (USE_AS_WMEMCMP): New macro.
12438 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12439 * sysdeps/string/test-memcmp.c: Update.
12440 Fix simple_wmemcmp.
12441 Add new tests.
12442 * wcsmbs/wmemcmp.c: Update.
12443 (WMEMCMP): New macro.
12444 Fix overflow bug.
12445
12446 2011-10-12 Andreas Jaeger <aj@suse.de>
12447
12448 [BZ #13268]
12449 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12450
12451 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12452
12453 * libio/iofwide.c (do_length): Avoid warning.
12454
12455 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12456
12457 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12458
12459 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12460
12461 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12462 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12463 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12464 * sysdeps/i386/i686/fpu/e_log.S: New file.
12465 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12466 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12467
12468 * ctype/ctype.h: Add support for inlined isXXX functions when
12469 compiling C++ code.
12470
12471 2011-10-14 Andreas Schwab <schwab@redhat.com>
12472
12473 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12474
12475 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12476
12477 2011-10-13 Roland McGrath <roland@hack.frob.com>
12478
12479 [BZ #13291]
12480 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12481
12482 2011-10-13 Andreas Schwab <schwab@redhat.com>
12483
12484 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12485 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12486 feraiseexcept.
12487
12488 * sysdeps/x86_64/memrchr.S: Check for zero size.
12489
12490 * string/stratcliff.c: Add memrchr tests.
12491
12492 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12493
12494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12495 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12496 rawmemchr-sse2 rawmemchr-sse2-bsf.
12497 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12498 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12499 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12500 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12501 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12502 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12503 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12504 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12505 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12506 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12507 * string/memrchr.c (MEMRCHR): New macro.
12508
12509 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12510
12511 Add integration with gcc's -ffinite-math-only and optimize wrapper
12512 functions in libm.
12513 * Versions.def: Define GLIBC_2.15 version for libm.
12514 * math/Makefile (headers): Add bits/math-finite.h.
12515 * math/bits/math-finite.h: New file.
12516 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12517 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12518 * math/e_acoshl.c: Add __*_finite alias.
12519 * math/e_acosl.c: Likewise.
12520 * math/e_asinl.c: Likewise.
12521 * math/e_atan2l.c: Likewise.
12522 * math/e_atanhl.c: Likewise.
12523 * math/e_coshl.c: Likewise.
12524 * math/e_exp10.c: Likewise.
12525 * math/e_exp10f.c: Likewise.
12526 * math/e_exp10l.c: Likewise.
12527 * math/e_exp2l.c: Likewise.
12528 * math/e_fmodl.c: Likewise.
12529 * math/e_gammal_r.c: Likewise.
12530 * math/e_hypotl.c: Likewise.
12531 * math/e_j0l.c: Likewise.
12532 * math/e_j1l.c: Likewise.
12533 * math/e_jnl.c: Likewise.
12534 * math/e_lgammal_r.c: Likewise.
12535 * math/e_log10l.c: Likewise.
12536 * math/e_log2l.c: Likewise.
12537 * math/e_logl.c: Likewise.
12538 * math/e_powl.c: Likewise.
12539 * math/e_sinhl.c: Likewise.
12540 * math/e_sqrtl.c: Likewise.
12541 * math/e_scalb.c: Completely rewritten and optimized.
12542 * math/e_scalbf.c: Likewise.
12543 * math/e_scalbl.c: Likewise.
12544 * math/w_acos.c: Likewise.
12545 * math/w_acosf.c: Likewise.
12546 * math/w_acosl.c: Likewise.
12547 * math/w_acosh.c: Likewise.
12548 * math/w_acoshf.c: Likewise.
12549 * math/w_acoshl.c: Likewise.
12550 * math/w_asin.c: Likewise.
12551 * math/w_asinf.c: Likewise.
12552 * math/w_asinl.c: Likewise.
12553 * math/w_atan2.c: Likewise.
12554 * math/w_atan2f.c: Likewise.
12555 * math/w_atan2l.c: Likewise.
12556 * math/w_atanh.c: Likewise.
12557 * math/w_atanhf.c: Likewise.
12558 * math/w_atanhl.c: Likewise.
12559 * math/w_exp10.c: Likewise.
12560 * math/w_exp10f.c: Likewise.
12561 * math/w_exp10l.c: Likewise.
12562 * math/w_fmod.c: Likewise.
12563 * math/w_fmodf.c: Likewise.
12564 * math/w_fmodl.c: Likewise.
12565 * math/w_j0.c: Likewise.
12566 * math/w_j0f.c: Likewise.
12567 * math/w_j0l.c: Likewise.
12568 * math/w_j1.c: Likewise.
12569 * math/w_j1f.c: Likewise.
12570 * math/w_j1l.c: Likewise.
12571 * math/w_jn.c: Likewise.
12572 * math/w_jnf.c: Likewise.
12573 * math/w_log.c: Likewise.
12574 * math/w_logf.c: Likewise.
12575 * math/w_logl.c: Likewise.
12576 * math/w_log10.c: Likewise.
12577 * math/w_log10f.c: Likewise.
12578 * math/w_log10l.c: Likewise.
12579 * math/w_log2.c: Likewise.
12580 * math/w_log2f.c: Likewise.
12581 * math/w_log2l.c: Likewise.
12582 * math/w_pow.c: Likewise.
12583 * math/w_powf.c: Likewise.
12584 * math/w_powl.c: Likewise.
12585 * math/w_remainder.c: Likewise.
12586 * math/w_remainderf.c: Likewise.
12587 * math/w_remainderl.c: Likewise.
12588 * math/w_scalb.c: Likewise.
12589 * math/w_scalbf.c: Likewise.
12590 * math/w_scalbl.c: Likewise.
12591 * math/w_sqrt.c: Likewise.
12592 * math/w_sqrtf.c: Likewise.
12593 * math/w_sqrtl.c: Likewise.
12594 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12595 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12596 used.
12597 * math/math_private.h: Declare __kernel_standard_f.
12598 * math/w_cosh.c: Remove cruft and optimize a bit.
12599 * math/w_coshf.c: Likewise.
12600 * math/w_coshl.c: Likewise.
12601 * math/w_exp2.c: Likewise.
12602 * math/w_exp2f.c: Likewise.
12603 * math/w_exp2l.c: Likewise.
12604 * math/w_hypot.c: Likewise.
12605 * math/w_hypotf.c: Likewise.
12606 * math/w_hypotl.c: Likewise.
12607 * math/w_lgamma.c: Likewise.
12608 * math/w_lgamma_r.c: Likewise.
12609 * math/w_lgammaf.c: Likewise.
12610 * math/w_lgammaf_r.c: Likewise.
12611 * math/w_lgammal.c: Likewise.
12612 * math/w_lgammal_r.c: Likewise.
12613 * math/w_sinh.c: Likewise.
12614 * math/w_sinhf.c: Likewise.
12615 * math/w_sinhl.c: Likewise.
12616 * math/w_tgamma.c: Likewise.
12617 * math/w_tgammaf.c: Likewise.
12618 * math/w_tgammal.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12621 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12622 Minor optimizations. Pretty printing. Remove cruft.
12623 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12625 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12627 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12628 * sysdeps/i386/fpu/e_asin.S: Likewise.
12629 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12630 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12631 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12632 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12633 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12634 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12635 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12636 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12637 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12638 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12639 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12640 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12641 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12642 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12643 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12644 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12645 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12646 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12647 * sysdeps/i386/fpu/e_log.S: Likewise.
12648 * sysdeps/i386/fpu/e_log10.S: Likewise.
12649 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12651 * sysdeps/i386/fpu/e_log2.S: Likewise.
12652 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12653 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12654 * sysdeps/i386/fpu/e_logf.S: Likewise.
12655 * sysdeps/i386/fpu/e_logl.S: Likewise.
12656 * sysdeps/i386/fpu/e_pow.S: Likewise.
12657 * sysdeps/i386/fpu/e_powf.S: Likewise.
12658 * sysdeps/i386/fpu/e_powl.S: Likewise.
12659 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12660 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12661 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12662 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12663 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12664 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12665 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12666 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12667 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12689 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12692 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12693 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12694 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12695 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12696 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12697 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12699 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12700 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12701 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12702 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12703 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12704 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12706 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12707 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12710 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12711 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12751 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12753 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12754 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12756 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12759 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12760 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12761 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12762 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12763 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12764 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12765 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12766 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12767 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12768 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12769 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12770 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12771 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12772 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12773 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12774 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12776 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12777 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12778 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12779 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12780 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12781 (__isnanf): Likewise.
12782 (__isinf_ns): Likewise.
12783 (__isinf_nsf): Likewise.
12784 (__finite): Likewise.
12785 (__finitef): Likewise.
12786 (__ieee754_sqrt): Define as macro.
12787 (__ieee754_sqrtf): Define as macro.
12788 (__ieee754_sqrtl): Define as macro.
12789 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12790 inlined copy.
12791 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12792 __FINITE_MATH_ONLY__ consistent.
12793 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12794
12795 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12796
12797 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12798 of rawmemchr.
12799
12800 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12801
12802 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12803
12804 * po/ja.po: Update from translation team.
12805
12806 2011-10-08 Roland McGrath <roland@hack.frob.com>
12807
12808 * locale/programs/locarchive.c (prepare_address_space): New function.
12809 (create_archive, enlarge_archive, open_archive): Use it.
12810
12811 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12812 inside [SHARED], where it is used.
12813
12814 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12815
12816 * nss/getent.c (netgroup_keys): Remove unused variable.
12817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12818
12819 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12820
12821 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12822 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12823 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12824 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12825 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12826 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12827 * math/Makefile (libm-calls): Add s_isinf_ns.
12828 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12829 * math/multc3.c: Likewise.
12830 * math/s_casin.c: Likewise.
12831 * math/s_casinf.c: Likewise.
12832 * math/s_casinl.c: Likewise.
12833 * math/s_ccos.c: Likewise.
12834 * math/s_ccosf.c: Likewise.
12835 * math/s_ccosl.c: Likewise.
12836 * math/s_ctan.c: Likewise.
12837 * math/s_ctanf.c: Likewise.
12838 * math/s_ctanh.c: Likewise.
12839 * math/s_ctanhf.c: Likewise.
12840 * math/s_ctanhl.c: Likewise.
12841 * math/s_ctanl.c: Likewise.
12842 * math/w_fmod.c: Likewise.
12843 * math/w_fmodf.c: Likewise.
12844 * math/w_fmodl.c: Likewise.
12845 * math/w_remainder.c: Likewise.
12846 * math/w_remainderf.c: Likewise.
12847 * math/w_remainderl.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12849 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12850 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12852 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12853 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12854 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12855 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12856
12857 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12858 of the number.
12859 * stdio-common/printf_fphex.c: Likewise.
12860 * stdio-common/printf_size.c: Likewise.
12861
12862 * math/e_exp10.c: Include math_private.h using <...> not "...".
12863 * math/e_exp10f.c: Likewise.
12864 * math/e_exp10l.c: Likewise.
12865 * math/e_exp2l.c: Likewise.
12866 * math/e_j0l.c: Likewise.
12867 * math/e_j1l.c: Likewise.
12868 * math/e_jnl.c: Likewise.
12869 * math/e_lgammal_r.c: Likewise.
12870 * math/e_rem_pio2l.c: Likewise.
12871 * math/e_scalb.c: Likewise.
12872 * math/e_scalbf.c: Likewise.
12873 * math/e_scalbl.c: Likewise.
12874 * math/k_cosl.c: Likewise.
12875 * math/k_sinl.c: Likewise.
12876 * math/k_tanl.c: Likewise.
12877 * math/s_cacoshf.c: Likewise.
12878 * math/s_catan.c: Likewise.
12879 * math/s_catanf.c: Likewise.
12880 * math/s_catanh.c: Likewise.
12881 * math/s_catanhf.c: Likewise.
12882 * math/s_catanhl.c: Likewise.
12883 * math/s_catanl.c: Likewise.
12884 * math/s_ccosh.c: Likewise.
12885 * math/s_ccoshf.c: Likewise.
12886 * math/s_ccoshl.c: Likewise.
12887 * math/s_cexp.c: Likewise.
12888 * math/s_cexpf.c: Likewise.
12889 * math/s_cexpl.c: Likewise.
12890 * math/s_clog.c: Likewise.
12891 * math/s_clog10.c: Likewise.
12892 * math/s_clog10f.c: Likewise.
12893 * math/s_clog10l.c: Likewise.
12894 * math/s_clogf.c: Likewise.
12895 * math/s_clogl.c: Likewise.
12896 * math/s_csin.c: Likewise.
12897 * math/s_csinf.c: Likewise.
12898 * math/s_csinh.c: Likewise.
12899 * math/s_csinhf.c: Likewise.
12900 * math/s_csinhl.c: Likewise.
12901 * math/s_csinl.c: Likewise.
12902 * math/s_csqrt.c: Likewise.
12903 * math/s_csqrtf.c: Likewise.
12904 * math/s_csqrtl.c: Likewise.
12905 * math/s_ctan.c: Likewise.
12906 * math/s_ctanf.c: Likewise.
12907 * math/s_ctanh.c: Likewise.
12908 * math/s_ctanhf.c: Likewise.
12909 * math/s_ctanhl.c: Likewise.
12910 * math/s_ctanl.c: Likewise.
12911 * math/s_ldexp.c: Likewise.
12912 * math/s_ldexpf.c: Likewise.
12913 * math/s_ldexpl.c: Likewise.
12914 * math/s_significand.c: Likewise.
12915 * math/s_significandf.c: Likewise.
12916 * math/s_significandl.c: Likewise.
12917 * math/w_acos.c: Likewise.
12918 * math/w_acosf.c: Likewise.
12919 * math/w_acosh.c: Likewise.
12920 * math/w_acoshf.c: Likewise.
12921 * math/w_acoshl.c: Likewise.
12922 * math/w_acosl.c: Likewise.
12923 * math/w_asin.c: Likewise.
12924 * math/w_asinf.c: Likewise.
12925 * math/w_asinl.c: Likewise.
12926 * math/w_atan2.c: Likewise.
12927 * math/w_atan2f.c: Likewise.
12928 * math/w_atan2l.c: Likewise.
12929 * math/w_atanh.c: Likewise.
12930 * math/w_atanhf.c: Likewise.
12931 * math/w_atanhl.c: Likewise.
12932 * math/w_cosh.c: Likewise.
12933 * math/w_coshf.c: Likewise.
12934 * math/w_coshl.c: Likewise.
12935 * math/w_dremf.c: Likewise.
12936 * math/w_exp10.c: Likewise.
12937 * math/w_exp10f.c: Likewise.
12938 * math/w_exp10l.c: Likewise.
12939 * math/w_exp2.c: Likewise.
12940 * math/w_exp2f.c: Likewise.
12941 * math/w_fmod.c: Likewise.
12942 * math/w_fmodf.c: Likewise.
12943 * math/w_fmodl.c: Likewise.
12944 * math/w_hypot.c: Likewise.
12945 * math/w_hypotf.c: Likewise.
12946 * math/w_hypotl.c: Likewise.
12947 * math/w_j0.c: Likewise.
12948 * math/w_j0f.c: Likewise.
12949 * math/w_j0l.c: Likewise.
12950 * math/w_j1.c: Likewise.
12951 * math/w_j1f.c: Likewise.
12952 * math/w_j1l.c: Likewise.
12953 * math/w_jn.c: Likewise.
12954 * math/w_jnf.c: Likewise.
12955 * math/w_jnl.c: Likewise.
12956 * math/w_lgamma.c: Likewise.
12957 * math/w_lgamma_r.c: Likewise.
12958 * math/w_lgammaf.c: Likewise.
12959 * math/w_lgammaf_r.c: Likewise.
12960 * math/w_lgammal.c: Likewise.
12961 * math/w_lgammal_r.c: Likewise.
12962 * math/w_log.c: Likewise.
12963 * math/w_log10.c: Likewise.
12964 * math/w_log10f.c: Likewise.
12965 * math/w_log10l.c: Likewise.
12966 * math/w_log2.c: Likewise.
12967 * math/w_log2f.c: Likewise.
12968 * math/w_log2l.c: Likewise.
12969 * math/w_logf.c: Likewise.
12970 * math/w_logl.c: Likewise.
12971 * math/w_pow.c: Likewise.
12972 * math/w_powf.c: Likewise.
12973 * math/w_powl.c: Likewise.
12974 * math/w_remainder.c: Likewise.
12975 * math/w_remainderf.c: Likewise.
12976 * math/w_remainderl.c: Likewise.
12977 * math/w_scalb.c: Likewise.
12978 * math/w_scalbf.c: Likewise.
12979 * math/w_scalbl.c: Likewise.
12980 * math/w_sinh.c: Likewise.
12981 * math/w_sinhf.c: Likewise.
12982 * math/w_sinhl.c: Likewise.
12983 * math/w_sqrt.c: Likewise.
12984 * math/w_sqrtf.c: Likewise.
12985 * math/w_sqrtl.c: Likewise.
12986 * math/w_tgamma.c: Likewise.
12987 * math/w_tgammaf.c: Likewise.
12988 * math/w_tgammal.c: Likewise.
12989
12990 * po/ja.po: Update from translation team.
12991
12992 2011-09-29 Andreas Jaeger <aj@suse.de>
12993
12994 [BZ #13179]
12995 * sunrpc/netname.c (netname2host): Fix logic.
12996
12997 [BZ #6779]
12998 [BZ #6783]
12999 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13000 correctly.
13001 * math/w_remainder.c (__remainder): Likewise.
13002 * math/w_remainderf.c (__remainderf): Likewise.
13003 * math/libm-test.inc (remainder_test): Add test cases.
13004
13005 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13006
13007 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13008 sdiv_qrnnd.
13009
13010 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13011
13012 * string/test-memcmp.c: Avoid unncessary #defines.
13013 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13014
13015 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13016
13017 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13018 Use new sse2 version for core i3 - i7 as it's faster
13019 than sse42 version.
13020 (bit_Prefer_PMINUB_for_stringop): New.
13021 * sysdeps/x86_64/rawmemchr.S: Update.
13022 Replace with faster SSE2 version.
13023 * sysdeps/x86_64/memrchr.S: New file.
13024 * sysdeps/x86_64/memchr.S: Update.
13025 Replace with faster SSE2 version.
13026
13027 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13028
13029 * elf/dl-load.c (lose): Add cast to avoid warning.
13030
13031 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13032
13033 * po/ca.po: Update from translation team.
13034
13035 * inet/getnetgrent_r.c: Hook up nscd.
13036 * nscd/Makefile (routines): Add nscd_netgroup.
13037 (nscd-modules): Add netgroupcache.
13038 (CFLAGS-netgroupcache.c): Define.
13039 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13040 (cache_search): Add const to second parameter.
13041 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13042 INNETGR.
13043 (dbs): Add netgrdb entry.
13044 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13045 (verify_persistent_db): Handle netgrdb.
13046 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13047 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13048 GETFDNETGR.
13049 (netgroup_response_header): Define.
13050 (innetgroup_response_header): Define.
13051 (datahead): Add netgroup_response_header and innetgroup_response_header
13052 elements.
13053 * nscd/nscd.conf: Add entries for netgroup cache.
13054 * nscd/nscd.h (dbtype): Add netgrdb.
13055 (_PATH_NSCD_NETGROUP_DB): Define.
13056 (netgroup_iov_disabled): Declare.
13057 (xmalloc, xcalloc, xrealloc): Move declarations here.
13058 (cache_search): Adjust prototype.
13059 Add netgroup-related prototypes.
13060 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13061 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13062 (__nscd_innetgr): Declare.
13063 * nscd/selinux.c (perms): Use access_vector_t as element type and
13064 add netgroup-related initializers.
13065 * nscd/netgroupcache.c: New file.
13066 * nscd/nscd_netgroup.c: New file.
13067 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13068 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13069 For four parameters use innetgr.
13070 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13071 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13072 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13073 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13074
13075 * nscd/connections.c (register_traced_file): Don't register file
13076 for disabled databases.
13077
13078 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13079
13080 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13081
13082 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13083 from tree and freeing node.
13084
13085 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13086
13087 * nss/nsswitch.c (__nss_database_lookup): Handle
13088 nss_parse_service_list out of memory case.
13089
13090 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13091
13092 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13093 out of memory case.
13094
13095 2011-10-04 Andreas Schwab <schwab@redhat.com>
13096
13097 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13098 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13099 pass it down.
13100 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13101 elf_machine_rela, elf_machine_lazy_rel.
13102 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13103 (ELF_DYNAMIC_DO_REL): Likewise.
13104 (ELF_DYNAMIC_DO_RELA): Likewise.
13105 (ELF_DYNAMIC_RELOCATE): Likewise.
13106 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13107 to ELF_DYNAMIC_DO_REL.
13108 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13109 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13110 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13111 elf_machine_rela.
13112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13113 skip_ifunc, don't call ifunc function if non-zero.
13114 (elf_machine_rela): Likewise.
13115 (elf_machine_lazy_rel): Likewise.
13116 (elf_machine_lazy_rela): Likewise.
13117 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13118 (elf_machine_lazy_rel): Likewise.
13119 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13120 Likewise.
13121 (elf_machine_lazy_rel): Likewise.
13122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13123 Likewise.
13124 (elf_machine_lazy_rel): Likewise.
13125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13126 (elf_machine_lazy_rel): Likewise.
13127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13128 (elf_machine_lazy_rel): Likewise.
13129 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13130 (elf_machine_lazy_rel): Likewise.
13131 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13132 (elf_machine_lazy_rel): Likewise.
13133 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13134 (elf_machine_lazy_rel): Likewise.
13135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13136 (elf_machine_lazy_rel): Likewise.
13137
13138 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13139
13140 * nss/nss_files/files-init.c (_nss_files_init): Use static
13141 initialization for all the *_traced_file variables.
13142
13143 2011-09-28 Andreas Schwab <schwab@redhat.com>
13144
13145 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13146
13147 2011-09-27 Roland McGrath <roland@hack.frob.com>
13148
13149 [BZ #13226]
13150 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13151
13152 2011-09-27 Andreas Schwab <schwab@redhat.com>
13153
13154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13155 Reread the line before reparsing it.
13156
13157 2011-09-26 Andreas Schwab <schwab@redhat.com>
13158
13159 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13160
13161 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13162 Maxim Kuvyrkov <maxim@codesourcery.com>
13163 Joseph Myers <joseph@codesourcery.com>
13164
13165 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13166 if needed for __stack_chk_guard.
13167
13168 2011-09-19 Roland McGrath <roland@hack.frob.com>
13169
13170 * sysdeps/posix/spawni.c (script_execute): Always define it.
13171 It will be optimized away if unused.
13172 (maybe_script_execute): New function.
13173 (__spawni): Call it.
13174
13175 * Makerules: Don't include tls.make.
13176 (config-tls): Always set to thread.
13177 * tls.make.c: File removed.
13178
13179 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13180
13181 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13182 * config.make.in (CPPFLAGS-config): New substituted variable.
13183
13184 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13185
13186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13187
13188 [BZ #13192]
13189 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13190 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13191
13192 2011-09-15 Roland McGrath <roland@hack.frob.com>
13193
13194 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13195 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13197 (CALL_FAIL): Likewise.
13198 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13199 (CALL_FAIL): Macro removed.
13200 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13201
13202 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13203
13204 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13205 for __FINITE_MATH_ONLY__ == 1.
13206
13207 2011-09-15 Andreas Schwab <schwab@redhat.com>
13208
13209 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13210 __ieee754_sqrt instead of sqrt.
13211 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13212 __ieee754_sqrtf instead of sqrtf.
13213 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13214 __floorf instead of floorf.
13215 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13216 __floorf, __truncf instead of floorf, truncf.
13217
13218 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13219
13220 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13221
13222 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13223 __extern_always_inline.
13224 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13225 32-bit.
13226
13227 2011-09-14 Andreas Schwab <schwab@redhat.com>
13228
13229 * elf/rtld.c (dl_main): Also relocate in dependency order when
13230 doing symbol dependency testing.
13231
13232 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13233
13234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13235 Always define `refsym'.
13236
13237 2011-09-13 Andreas Schwab <schwab@redhat.com>
13238
13239 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13240 (__FD_ELT): Renamed from __FDELT.
13241 * misc/bits/select2.h (__FD_ELT): Likewise.
13242 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13243 __FD_MASK instead of __FDELT, __FDMASK.
13244 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13245 Likewise.
13246 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13247 Likewise.
13248
13249 * elf/Makefile (gen-ldd): Fix pattern.
13250
13251 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13252 (init_tls): Likewise.
13253
13254 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13255
13256 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13257
13258 2011-09-12 Andreas Schwab <schwab@redhat.com>
13259
13260 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13261 `struct cmsghdr *' instead of `void *'.
13262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13263 Likewise.
13264
13265 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13266
13267 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13268 if non-absolute.
13269 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13270 ldd_rewrite_script.
13271
13272 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13273
13274 * configure.in: Remove --with-tls option.
13275 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13276 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13277 out in case it is missing.
13278 * sysdeps/ia64/elf/configure.in: Likewise.
13279 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13280 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13281 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13282 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13283 * sysdeps/sh/elf/configure.in: Likewise.
13284 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13285 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13286 * sysdeps/x86_64/elf/configure.in: Likewise.
13287 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13288 * sysdeps/mach/hurd/tls.h: Likewise.
13289
13290 [BZ #13067]
13291 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13292
13293 [BZ #13090]
13294 * configure.in: Fix use of AC_INIT.
13295
13296 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13297
13298 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13299
13300 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13301 __set_errno.
13302 * malloc/hooks.c: Likewise.
13303
13304 [BZ #11929]
13305 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13306 variables statically.
13307 (narenas): Initialize.
13308 (list_lock): Initialize.
13309 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13310 initializtion of main_arena and list_lock. Small cleanups.
13311 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13312 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13313 Add initializers to main_arena and mp_.
13314 (malloc_state): Remove pagesize member. Change all users to use
13315 GLRO(dl_pagesize).
13316
13317 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13318 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13319 is always initialized.
13320
13321 * malloc/malloc.c: Removed unused configurations and dead code.
13322 * malloc/arena.c: Likewise.
13323 * malloc/hooks.c: Likewise.
13324 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13325
13326 * include/tls.h: Removed. USE___THREAD must always be defined.
13327 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13328 * elf/dl-libc.c: Likewise.
13329 * elf/dl-tsd.c: Likewise.
13330 * include/errno.h: Likewise.
13331 * include/netdb.h: Likewise.
13332 * include/resolv.h: Likewise.
13333 * inet/herrno-loc.c: Likewise.
13334 * inet/herrno.c: Likewise.
13335 * malloc/arena.c: Likewise.
13336 * malloc/hooks.c: Likewise.
13337 * malloc/malloc.c: Likewise.
13338 * resolv/res-state.c: Likewise.
13339 * resolv/res_libc.c: Likewise.
13340 * sysdeps/i386/dl-machine.h: Likewise.
13341 * sysdeps/ia64/dl-machine.h: Likewise.
13342 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13343 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13344 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13345 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13346 * sysdeps/sh/dl-machine.h: Likewise.
13347 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13348 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13349 * sysdeps/unix/i386/sysdep.S: Likewise.
13350 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13351 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13356 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13360 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13361 * sysdeps/x86_64/dl-machine.h: Likewise.
13362 * tls.make.c: Likewise.
13363
13364 * configure.in: Remove --with-__thread option. Make tests for
13365 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13366 tls_model attribute fail if no support is available. Remove
13367 USE_IN_LIBIO.
13368 * Makeconfig: Adjust for dropped configure option. All features are
13369 now mandatory.
13370 * Makerules: Likewise.
13371 * Versions.def: Likewise.
13372 * argp/argp-fmtstream.c: Likewise.
13373 * argp/argp-fmtstream.h: Likewise.
13374 * argp/argp-help.c: Likewise.
13375 * assert/assert.c: Likewise.
13376 * config.h.in: Likewise.
13377 * config.make.in: Likewise.
13378 * configure: Likewise.
13379 * configure.in: Likewise.
13380 * csu/Versions: Likewise.
13381 * csu/init.c: Likewise.
13382 * elf/tst-audit2.c: Likewise.
13383 * elf/tst-tls10.c: Likewise.
13384 * elf/tst-tls10.h: Likewise.
13385 * elf/tst-tls11.c: Likewise.
13386 * elf/tst-tls12.c: Likewise.
13387 * elf/tst-tls14.c: Likewise.
13388 * elf/tst-tlsmod11.c: Likewise.
13389 * elf/tst-tlsmod12.c: Likewise.
13390 * elf/tst-tlsmod13.c: Likewise.
13391 * elf/tst-tlsmod13a.c: Likewise.
13392 * elf/tst-tlsmod14a.c: Likewise.
13393 * elf/tst-tlsmod15b.c: Likewise.
13394 * elf/tst-tlsmod16a.c: Likewise.
13395 * elf/tst-tlsmod16b.c: Likewise.
13396 * elf/tst-tlsmod7.c: Likewise.
13397 * elf/tst-tlsmod8.c: Likewise.
13398 * elf/tst-tlsmod9.c: Likewise.
13399 * gmon/gmon.c: Likewise.
13400 * grp/fgetgrent_r.c: Likewise.
13401 * grp/putgrent.c: Likewise.
13402 * hurd/fopenport.c: Likewise.
13403 * include/libc-symbols.h: Likewise.
13404 * include/tls.h: Likewise.
13405 * intl/gettextP.h: Likewise.
13406 * intl/loadinfo.h: Likewise.
13407 * locale/global-locale.c: Likewise.
13408 * locale/localeinfo.h: Likewise.
13409 * mach/devstream.c: Likewise.
13410 * malloc/arena.c: Likewise.
13411 * malloc/set-freeres.c: Likewise.
13412 * misc/err.c: Likewise.
13413 * misc/getttyent.c: Likewise.
13414 * misc/mntent_r.c: Likewise.
13415 * posix/getopt.c: Likewise.
13416 * posix/wordexp.c: Likewise.
13417 * pwd/fgetpwent_r.c: Likewise.
13418 * resolv/Versions: Likewise.
13419 * resolv/res_hconf.c: Likewise.
13420 * shadow/fgetspent_r.c: Likewise.
13421 * shadow/putspent.c: Likewise.
13422 * stdio-common/printf_fphex.c: Likewise.
13423 * stdio-common/tmpfile.c: Likewise.
13424 * stdlib/abort.c: Likewise.
13425 * stdlib/fmtmsg.c: Likewise.
13426 * sunrpc/auth_unix.c: Likewise.
13427 * sunrpc/clnt_perr.c: Likewise.
13428 * sunrpc/clnt_tcp.c: Likewise.
13429 * sunrpc/clnt_udp.c: Likewise.
13430 * sunrpc/clnt_unix.c: Likewise.
13431 * sunrpc/openchild.c: Likewise.
13432 * sunrpc/svc_simple.c: Likewise.
13433 * sunrpc/svc_tcp.c: Likewise.
13434 * sunrpc/svc_udp.c: Likewise.
13435 * sunrpc/svc_unix.c: Likewise.
13436 * sunrpc/xdr.c: Likewise.
13437 * sunrpc/xdr_array.c: Likewise.
13438 * sunrpc/xdr_rec.c: Likewise.
13439 * sunrpc/xdr_ref.c: Likewise.
13440 * sunrpc/xdr_stdio.c: Likewise.
13441
13442 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13443
13444 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13445
13446 2011-07-03 Andreas Jaeger <aj@suse.de>
13447
13448 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13449 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13450 regenerate with gen-libm-tests.pl.
13451
13452 2010-05-12 Petr Baudis <pasky@suse.cz>
13453
13454 [BZ #11589]
13455 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13456 around j0() zero points by switching to j1().
13457 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13461
13462 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13463
13464 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13465 instead of 0.
13466 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13467 instead of 0. .
13468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13469 Patch in part by Pavel Roskin <proski@gnu.org>.
13470
13471 [BZ #13138]
13472 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13473 realloc.
13474 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13475 Free memory block if necessary.
13476
13477 [BZ #12847]
13478 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13479 be NULL. Don't lock in this case.
13480
13481 2011-09-09 Roland McGrath <roland@hack.frob.com>
13482
13483 * elf/elf.h (ELFOSABI_GNU): New macro.
13484 (ELFOSABI_LINUX): Define to that.
13485
13486 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13487
13488 * string/strncat.c (strncat): Undef the symbol in case it has been
13489 defined in bits/string.h.
13490
13491 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13492
13493 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13494
13495 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13496 link map.
13497
13498 2011-08-17 Andreas Jaeger <aj@suse.de>
13499
13500 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13501
13502 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13503 Ian Lance Taylor <iant@google.com>
13504
13505 * math/libm-test.inc (lround_test): New testcase.
13506 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13507
13508 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13509
13510 * Makefile: Remove support for automatic cvs check-ins.
13511 * Makerules: Likewise.
13512 * config.make.in: Likewise.
13513 * configure.in: Likewise.
13514 * intl/Makefile: Likewise.
13515 * locale/Makefile: Likewise.
13516 * po/Makefile: Likewise.
13517 * posix/Makefile: Likewise.
13518 * sysdeps/gnu/Makefile: Likewise.
13519 * sysdeps/mach/hurd/Makefile: Likewise.
13520 * sysdeps/sparc/sparc32/Makefile: Likewise.
13521
13522 [BZ #13118]
13523 * posix/Makefile (bug-regex32-ENV): Define.
13524 Patch by John Stanley <jpsinthemix@verizon.net>.
13525
13526 * misc/Makefile (headers): Add bits/select2.h.
13527 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13528 * misc/bits/select2.h: New file.
13529 * include/bits/select2.h: New file.
13530 * debug/Makefile (routines): Add fdelt_chk.
13531 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13532 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13533 FD_ISSET.
13534 * debug/fdelt_chk.c: New file.
13535
13536 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13537 * wcsmbs/test-wmemcmp.c: Likewise.
13538 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13539 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13540
13541 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13542
13543 * string/Makefile (strop-tests): Add memcmp.
13544 * string/test-wmemcmp.c: New file.
13545 * string/test-memcmp.c: Add wmemcmp support.
13546
13547 2011-09-08 Roland McGrath <roland@hack.frob.com>
13548
13549 [BZ #13153]
13550 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13551 2011-07-19 change.
13552
13553 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13554 garbage value in a __mach_port_mod_refs call in the cases of the
13555 task-self and thread-self ports.
13556
13557 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13558
13559 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13560
13561 2011-09-08 Andreas Schwab <schwab@redhat.com>
13562
13563 * elf/dl-load.c (lose): Check for non-null L.
13564
13565 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13566
13567 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13568
13569 * elf/dl-libc.c (dlerror_run): Pass back error code from
13570 dl_catch_error.
13571
13572 [BZ #13123]
13573 * elf/dl-load.c (lose): Free l_origin if it is valid.
13574
13575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13576 names.
13577 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13578 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13580 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13581 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13582 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13583
13584 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13585
13586 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13587 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13588 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13589 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13590 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13591 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13592 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13593 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13594 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13595 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13596
13597 2011-08-15 Alan Modra <amodra@gmail.com>
13598
13599 [BZ #13092]
13600 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13601 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13602 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13603 ppc_mcount to static-only-routines.
13604 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13605 __mcount_internal.
13606 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13607 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13608
13609 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13610
13611 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13612 for finite and infinity parameters.
13613
13614 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13615
13616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13617 and add nop instructions for throughput optimization.
13618 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13619
13620 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13621
13622 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13623 aligned copy for power7 with vector-scalar instructions.
13624 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13625
13626 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13627
13628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13629 AVX check.
13630
13631 2011-09-07 Andreas Schwab <schwab@redhat.com>
13632
13633 [BZ #13144]
13634 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13635 last change.
13636
13637 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13638
13639 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13640 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13641 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13642 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13643 clock_gettime.
13644
13645 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13646
13647 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13648 Forgot to demangle the pointer.
13649
13650 * sysdeps/i386/sysdep.h: Define atom_text_section.
13651 * sysdeps/x86_64/sysdep.h: Likewise.
13652 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13653 section with atom_text_section.
13654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13656 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13658 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13659
13660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13661 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13662 already be defined. Change to take two parameters and don't assign
13663 result to variable. Adjust all users.
13664 Define INTERNAL_GETTIME if not already defined.
13665 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13666 call.
13667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13668 HAVE_CLOCK_GETTIME_VSYSCALL.
13669 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13670
13671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13672 gettimeofday vsyscall, just use time.
13673
13674 2011-09-06 Andreas Schwab <schwab@redhat.com>
13675
13676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13677 <errno.h>.
13678
13679 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13680
13681 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13682 syscall on x86-64.
13683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13684 syscall.
13685 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13687 syscall if possible.
13688
13689 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13690
13691 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13692 e_ident. Don't pass to find_mapsXX.
13693 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13694
13695 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13696
13697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13698 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13699 * sysdeps/x86_64/multiarch/strchr.S: Update.
13700 Check bit_slow_BSF bit.
13701 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13702 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13703 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13704
13705 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13706
13707 [BZ #13134]
13708 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13709 before glibc 2.15.
13710 (tryshell): Define.
13711 (__spawni): Change last parameter to be flag. Test
13712 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13713 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13714 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13715 * posix/spawni.c: Likewise.
13716 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13717 * posix/spawnp.c: Likewise. Change normal version to use
13718 SPAWN_XFLAGS_USE_PATH.
13719 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13720 SPAWN_XFLAGS_TRY_SHELL.
13721
13722 [BZ #13150]
13723 * posix/glob.h: Remove gcc 1.x support.
13724
13725 [BZ #13068]
13726 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13727
13728 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13729
13730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13731 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13732 strrchr-sse2-bsf
13733 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13734 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13735 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13737 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13738 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13739
13740 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13741
13742 * sysdeps/x86_64/wcscmp.S: New file.
13743
13744 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13745 wcscmp-c wcscmp-sse2
13746 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13747 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13748 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13749 * wcsmbs/wcscmp.c: Allow renaming.
13750
13751 2011-09-05 David S. Miller <davem@davemloft.net>
13752
13753 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13754 stack slot, rather than the struct return pointer slot.
13755 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13756 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13758 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13759
13760 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13761
13762 * po/ja.po: Update from translation team.
13763
13764 [BZ #13144]
13765 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13766 kernel in 64-bit binaries.
13767
13768 2011-09-01 David S. Miller <davem@davemloft.net>
13769
13770 * elf/elf.h (HWCAP_SPARC_*): Move to..
13771 * sysdeps/sparc/sysdep.h: this new file and add new values.
13772 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13773 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13774 _DL_HWCAP_COUNT to 24.
13775 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13776 entries.
13777 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13778 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13779 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13781 instead of magic constants.
13782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13783
13784 2011-08-31 David S. Miller <davem@davemloft.net>
13785
13786 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13788 Reimplement to do errno handling inline.
13789 (SYSCALL_ERROR_HANDLER): New macro.
13790 (__SYSCALL_STRING): Do not do errno handling in asm.
13791 (__CLONE_SYSCALL_STRING): Delete.
13792 (__INTERNAL_SYSCALL_STRING): Delete.
13793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13794 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13795 (PSEUDO): Reimplement to do errno handling inline.
13796 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13797 (SYSCALL_ERROR_HANDLER): New macro.
13798 (__SYSCALL_STRING): Do not do errno handling in asm.
13799 (__CLONE_SYSCALL_STRING): Delete.
13800 (__INTERNAL_SYSCALL_STRING): Delete.
13801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13802 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13803 i386.
13804 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13805 (inline_syscall*): Add 'err' argument.
13806 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13807 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13808 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13809 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13810
13811 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13812 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13813
13814 2011-08-30 Andreas Schwab <schwab@redhat.com>
13815
13816 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13817
13818 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13819
13820 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13821 directive.
13822
13823 2011-08-24 David S. Miller <davem@davemloft.net>
13824
13825 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13826
13827 2011-08-24 Andreas Schwab <schwab@redhat.com>
13828
13829 * elf/Makefile: Add rules to build and run unload8 test.
13830 * elf/unload8.c: New file.
13831 * elf/unload8mod1.c: New file.
13832 * elf/unload8mod1x.c: New file.
13833 * elf/unload8mod2.c: New file.
13834 * elf/unload8mod3.c: New file.
13835
13836 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13837 it wasn't used.
13838
13839 2011-08-23 David S. Miller <davem@davemloft.net>
13840
13841 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13842 subtract stack bias.
13843 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13844 %sp not %fp in calculations.
13845 (_JMPBUF_UNWINDS_ADJ): Likewise.
13846
13847 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13848 (aio_suspend): Call it to force an exception region around the
13849 AIO_MISC_WAIT() invocation.
13850
13851 2011-08-23 Andreas Schwab <schwab@redhat.com>
13852
13853 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13854 backslash.
13855
13856 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13857
13858 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13859 protection macro.
13860 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13861 and <dl-machine.h>.
13862 (Elf64_FuncDesc): Remove.
13863
13864 2011-08-22 David S. Miller <davem@davemloft.net>
13865
13866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13867 sigaltstack check, add missing cfi directives.
13868 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13869 missing cfi directives, and sigaltstack handling.
13870
13871 2011-08-16 Andreas Schwab <schwab@redhat.com>
13872
13873 [BZ #11724]
13874 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13875 object is seen twice.
13876 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13877
13878 * elf/Makefile (distribute): Add tst-initorder2.c.
13879 (tests): Add tst-initorder2.
13880 (modules-names): Add tst-initorder2a tst-initorder2b
13881 tst-initorder2c tst-initorder2d. Add rules to build them.
13882 ($(objpfx)tst-initorder2.out): New rule.
13883 * elf/tst-initorder2.c: New file.
13884 * elf/tst-initorder2.exp: New file.
13885
13886 2011-08-22 Andreas Schwab <schwab@redhat.com>
13887
13888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13889
13890 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13891 dependencies back to end of function.
13892
13893 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13894 $(elfobjdir)/ld.so.
13895
13896 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13897
13898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13899 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13901 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13902 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13903 of __vdso_gettimeofday.
13904 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13905 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13906 attribute_hidden.
13907 (_libc_vdso_platform_setup): Remove initialization of
13908 __vdso_gettimeofday and __vdso_time.
13909
13910 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13911
13912 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13913 and fgetc_unlocked.
13914 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13915 getc_unlocked.
13916
13917 * elf/dl-open.c (add_to_global): Report additions to the global scope
13918 for LD_DEBUG=scopes.
13919 (dl_open_worker): Also print scope of newly loaded dependencies.
13920 (_dl_show_scope): Indicate if there is no scope.
13921
13922 [BZ #13114]
13923 * stdio-common/Makefile (tests): Add bug24.
13924 * stdio-common/bug24.c: New file.
13925
13926 2011-08-19 Andreas Jaeger <aj@suse.de>
13927
13928 [BZ #13114]
13929 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13930 non-existant file when using close-on-exec mode.
13931
13932 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13933
13934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13935 the very first instruction.
13936
13937 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13938 the CFI state in the end.
13939 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13940 inclusion of dl-trampoline.h.
13941 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13942
13943 2011-08-19 Andreas Schwab <schwab@redhat.com>
13944
13945 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13946 expectations for long double.
13947
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13949 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13950
13951 2011-08-14 David S. Miller <davem@davemloft.net>
13952
13953 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13954 artificual limit depends upon the system page size.
13955
13956 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13957
13958 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13959 * resolv/Makefile: Define CFLAGS-libresolv.
13960
13961 2011-08-17 Andreas Schwab <schwab@redhat.com>
13962
13963 * nss/makedb.c (compute_tables): Make variables used in nested
13964 function static.
13965
13966 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13967
13968 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13969 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13970 if buffer was too small.
13971
13972 * elf/pldd.c (main): Attach to all threads in the process.
13973 Rewrite /proc handling to use *at functions.
13974
13975 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13976
13977 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13978 specifies first scope to show.
13979 (dl_open_worker): Update callers. Move printing scope of new
13980 object to before the relocation.
13981 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13982 * sysdeps/generic/ldsodefs.h: Update declaration.
13983
13984 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13985 string for the scope number.
13986
13987 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13988
13989 * nscd/servicescache.c (cache_addserv): Make sure written is always
13990 initialized.
13991
13992 2011-08-14 Roland McGrath <roland@hack.frob.com>
13993
13994 * sysdeps/i386/i486/bits/atomic.h
13995 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13996 statement expression, so as to suppress "set but not used" warning.
13997 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13998
13999 * string/strncat.c (STRNCAT): Use prototype definition.
14000
14001 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14002 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14003 -Iprograms here.
14004 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14005 (localedef-modules): Add localedef.
14006 (locale-modules): Add locale.
14007
14008 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14009 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14010 to avoid a warning.
14011
14012 2011-08-14 David S. Miller <davem@davemloft.net>
14013
14014 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14015 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14016
14017 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14018
14019 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14020 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14021 * elf/rtld.c (dl_main): Set l_name of vDSO.
14022 Call _dl_show_scope when DL_DEBUG_SCOPES.
14023 (process_dl_debug): Recognize scopes flag and also set it for all.
14024 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14025 Declare _dl_show_scope.
14026
14027 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14028 (do_dlopen): Pass caller_dlopen to dl_open.
14029 (__libc_dlopen_mode): Initialize caller_dlopen.
14030
14031 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14032 of libc. Make tolower call locale-independent. Optimize a bit by
14033 using isdigit instead of isalnum.
14034 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14035
14036 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14037
14038 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14039 was a dependency or dynamically loaded.
14040
14041 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14042
14043 * intl/l10nflist.c: Allow architecture-specific pop function.
14044 * sysdeps/x86_64/l10nflist.c: New file.
14045
14046 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14047 classification.
14048
14049 2011-08-10 Andreas Schwab <schwab@redhat.com>
14050
14051 * include/dirent.h: Add libc_hidden_proto for scandirat and
14052 scandirat64. Don't declare __scandirat64.
14053 * dirent/scandirat.c: Add libc_hidden_def.
14054 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14055 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14056
14057 2011-08-10 David S. Miller <davem@davemloft.net>
14058
14059 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14060 enum.
14061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14062 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14063 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14064
14065 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14066
14067 * Versions.def [libc]: Add GLIBC_2.15.
14068 * dirent/Makefile (routines): Add scandirat and scandirat64.
14069 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14070 GLIBC_2.15.
14071 * dirent/dirent.h: Declare scandirat and scandirat64.
14072 * dirent/scandirat.c: New file.
14073 * dirent/scandirat64.c: New file.
14074 * sysdeps/wordsize-64/scandirat.c: New file.
14075 * sysdeps/wordsize-64/scandirat64.c: New file.
14076 * dirent/opendir.c: Define opendirat.
14077 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14078 using scandirat.
14079 * dirent/scandir64.c: Adjust for scandir.c change.
14080 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14081 __scandirat64, and __scandir_cancel_handler.
14082 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14083 additional parameter and use openat instead of open (outside of ld.so).
14084 Add new __opendir as wrapper around __opendirat.
14085 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14086 here without requiring old scandirat implementation.
14087
14088 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14089
14090 * dirent/scandir.c (cancel_handler): Renamed to
14091 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14092 defined. Adjust users.
14093 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14094 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14095
14096 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14097
14098 * string/test-string.h (IMPL): Use __STRING to expand name and then
14099 stringify it.
14100
14101 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14102 of cleanups.
14103
14104 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14105
14106 * string/Makefile: Update.
14107 (strop-tests): Append strncat.
14108 * string/test-wcscmp.c: New file.
14109 New comprehensive test for wcscmp.
14110 * string/test-strcmp.c: Update.
14111 (WIDE): New define.
14112
14113 2011-07-22 Andreas Schwab <schwab@redhat.com>
14114
14115 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14116 line.
14117
14118 2011-07-26 Andreas Schwab <schwab@redhat.com>
14119
14120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14121 encoding to ACE if AI_IDN.
14122
14123 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14124
14125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14126 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14127
14128 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14129
14130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14131 Fix overflow bug in strncat.
14132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14133
14134 * string/test-strncat.c: Update.
14135 Add new tests for checking overflow bugs.
14136
14137 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14138
14139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14140 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14141 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14142 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14143 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14144 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14145 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14146 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14147 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14148
14149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14150 (USE_AS_STRCAT): Define.
14151 Add strcat and strncat support.
14152 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14153
14154 2011-07-25 Andreas Schwab <schwab@redhat.com>
14155
14156 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14157 __n bigger than INT_MAX+1.
14158 (__strncmp_g): Likewise.
14159
14160 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14161
14162 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14163 * libio/stido.h: Likewise.
14164
14165 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14166 (AF_NFC): Define.
14167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14168 (AF_NFC): Define.
14169
14170 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14173 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14175
14176 [BZ #13021]
14177 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14178 installed.
14179
14180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14181 typo.
14182 (_dl_x86_64_save_sse): Likewise.
14183
14184 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14185
14186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14187 OSXSAVE.
14188 (_dl_x86_64_save_sse): Likewise.
14189
14190 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14191
14192 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14193
14194 2011-07-21 Andreas Schwab <schwab@redhat.com>
14195
14196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14197 change.
14198 (_dl_x86_64_save_sse): Use correct AVX check.
14199
14200 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14201
14202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14203 bug in strncpy/strncat.
14204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14205
14206 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14207
14208 * string/tester.c (test_strcat): Add tests for different alignments
14209 of source and destination.
14210 (test_strncat): Likewise.
14211
14212 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14213
14214 [BZ #12852]
14215 * posix/glob.c (glob): Check passed in values before using them in
14216 expressions to avoid some overflows.
14217 (glob_in_dir): Likewise.
14218
14219 [BZ #13007]
14220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14221 check for AVX enablement so that we don't crash with old kernels and
14222 new hardware.
14223 * elf/tst-audit4.c: Add same checks here.
14224 * elf/tst-audit6.c: Likewise.
14225
14226 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14227
14228 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14229
14230 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14231
14232 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14233
14234 * po/cs.po: Update from translation team.
14235 * po/bg.po: Likewise.
14236
14237 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14238
14239 * misc/sys/cdefs.h: Add support for const attribute.
14240 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14241 to gnu_dev_{major,minor,makedev} functions.
14242
14243 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14244
14245 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14246
14247 2011-07-20 Andreas Schwab <schwab@redhat.com>
14248
14249 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14250 strlen results.
14251
14252 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14253
14254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14255 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14256 register in order to avoid conflicts with the soft frame pointer
14257 being held in r11 when necessary.
14258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14259 (INTERNAL_VSYSCALL_NCS): Likewise.
14260
14261 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14262
14263 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14264 * elf/dl-fini.c (_dl_fini): Adjust caller.
14265 * elf/dl-close.c (_dl_close_worker): Likewise.
14266 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14267
14268 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14269
14270 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14271 "aux_cache->nlibs < 0".
14272
14273 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14274 in the reload-count case.
14275
14276 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14277
14278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14279 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14280 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14281 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14282 * sysdeps/x86_64/multiarch/strcat.S: New file.
14283 * sysdeps/x86_64/multiarch/strncat.S: New file.
14284 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14285 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14286 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14287 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14289 (USE_AS_STRCAT): Define.
14290 Add strcat and strncat support.
14291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14292 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14293 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14294 * string/strncat.c: Update.
14295 (USE_AS_STRNCAT): Define.
14296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14297 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14298 and i7.
14299 * sysdeps/x86_64/multiarch/init-arch.h
14300 (bit_Prefer_PMINUB_for_stringop): New.
14301 (index_Prefer_PMINUB_for_stringop): Likewise.
14302 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14303 bit_Prefer_PMINUB_for_stringop.
14304
14305 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14306
14307 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14308 buffer64.
14309 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14310 of casting of buffer.
14311 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14312 buffer32 and buffer64.
14313 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14314 writes instead of casting of buffer.
14315 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14316 buffer32.
14317 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14318 casting of buffer.
14319
14320 2011-07-19 Andreas Schwab <schwab@redhat.com>
14321
14322 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14323
14324 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14325
14326 * nscd/nscd.c (termination_handler): Don't do anything for a database
14327 if it has not yet been initialized.
14328
14329 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14330
14331 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14332
14333 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14334
14335 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14336
14337 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14338
14339 * po/nl.po: Update from translation team.
14340 * po/sv.po: Likewise.
14341
14342 2011-07-16 Roland McGrath <roland@hack.frob.com>
14343
14344 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14345 now disallowed by GCC.
14346
14347 * configure.in (use-default-link): Default to yes if a test -shared
14348 link meets our qualifications.
14349 * configure: Regenerated.
14350
14351 * config.make.in (output-format): New variable.
14352 * configure.in: Check for ld --print-output-format support.
14353 * configure: Regenerated.
14354 * Makerules ($(common-objpfx)format.lds)
14355 [$(output-format) != unknown]: Just use $(output-format),
14356 instead of the linker-script munging.
14357
14358 2011-07-14 Roland McGrath <roland@hack.frob.com>
14359
14360 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14361 of $(common-objpfx)shlib.lds.
14362 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14363
14364 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14365 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14366
14367 * configure.in (-z relro check): Adjust test code to add a large
14368 writable data section after it.
14369 * configure: Regenerated.
14370
14371 2011-07-11 Roland McGrath <roland@hack.frob.com>
14372
14373 * configure.in (-z relro check): Fix test code to make the variable
14374 truly const.
14375 * configure: Regenerated.
14376
14377 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14378
14379 * nscd/nscd.h (struct traced_file): Define.
14380 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14381 elements. Add traced_files.
14382 (inotify_fd): Declare.
14383 (register_traced_file): Declare.
14384 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14385 (inotify_fd): Export.
14386 (resolv_conf_descr): Remove.
14387 (nscd_init): Move inotify descriptor creation to main.
14388 Don't register files for notification here.
14389 (register_traced_file): New function.
14390 (invalidate_cache): Don't use reset_res to determine whether to call
14391 res_init, go through the list of registered files.
14392 (main_loop_poll): The inotify descriptors are now stored in the
14393 structures for the traced files.
14394 (main_loop_epoll): Likewise
14395 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14396 to __nss_disable_nscd.
14397 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14398 for a database anymore. Check the records for all the registered
14399 files instead.
14400 * nss/Makefile (libnss_files-routines): Add files-init.
14401 (libnss_db-routines): Add db-init.
14402 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14403 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14404 * nss/nss_db/db-init.c: New file.
14405 * nss/nss_files/files-init.c: New file.
14406 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14407 __nss_lookup_function.
14408 (__nss_lookup_function): Call nss_load_library.
14409 (nss_load_all_libraries): New function.
14410 (__nss_disable_nscd): Take parameter with callback function for files
14411 to register. Set is_nscd. Load all the DSOs for the NSS modules
14412 used for the cached services.
14413 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14414 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14415 options for features to all the files in nscd.
14416
14417 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14418
14419 2011-07-10 Roland McGrath <roland@hack.frob.com>
14420
14421 * csu/elf-init.c (__libc_csu_init): Comment typo.
14422
14423 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14424
14425 * po/pl.po: Update from translation team.
14426 * po/ja.po: Likewise.
14427 * po/ru.po: Likewise.
14428 * po/ko.po: Likewise.
14429 * po/fr.po: Likewise.
14430
14431 2011-07-09 Roland McGrath <roland@hack.frob.com>
14432
14433 * configure.in (.ctors/.dtors header and trailer check):
14434 Use an empirical test on a built program.
14435 * configure: Regenerated.
14436
14437 * configure.in (-z relro check): Use an empirical test on a built DSO.
14438 Detect, but do not require, on ia64.
14439 * configure: Regenerated.
14440
14441 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14442 Update tests that use readelf to use $READELF instead.
14443 * configure: Regenerated.
14444
14445 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14446
14447 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14448 if the result is not used.
14449
14450 2011-07-05 Andreas Jaeger <aj@suse.de>
14451
14452 [BZ#9696]
14453 * stdlib/tst-strtod.c: Add testcase.
14454
14455 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14456
14457 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14458 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14459 The latter has a higher limit. Take additional parameter to pass to
14460 the new function.
14461 (__pathconf): Pass file to __statfs_link_max.
14462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14463 __statfs_link_max.
14464 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14465 __statfs_link_max.
14466
14467 [BZ #12868]
14468 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14470 Handle Lustre.
14471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14472 (__statfs_filesize_max): Likewise.
14473 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14474
14475 2011-07-05 Andreas Jaeger <aj@suse.de>
14476
14477 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14478
14479 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14480
14481 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14482 `status' variable.
14483 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14484 Likewise.
14485
14486 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14487
14488 * Makefile (strop-tests): Add strncat.
14489 * string/test-strncat.c: New file.
14490
14491 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14492
14493 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14494
14495 2011-06-21 Andreas Jaeger <aj@suse.de>
14496
14497 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14498 Copy rule from iconvdata/Makefile.
14499
14500 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14501
14502 [BZ #12922]
14503 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14504 but no long options are defined, just return 'W'.
14505
14506 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14507
14508 [BZ #9696]
14509 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14510
14511 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14512
14513 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14514 netgroups to read.
14515 (innetgr): Likewise.
14516
14517 2011-07-05 Roland McGrath <roland@hack.frob.com>
14518
14519 * config.make.in (install_root): Default to $(DESTDIR).
14520
14521 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14522
14523 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14524
14525 2011-07-02 Roland McGrath <roland@hack.frob.com>
14526
14527 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14528
14529 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14530 containing directory rather than embedding absolute directory names.
14531
14532 * scripts/check-local-headers.sh: Rewritten using awk.
14533 Match by word, not by line. Print error messages for matches.
14534 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14535
14536 * Makerules [shlib-lds-flags empty]:
14537 ($(common-objpfx)libc_pic.opts): New target.
14538 ($(common-objpfx)libc_pic.os.clean): New target.
14539 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14540
14541 * config.make.in (OBJCOPY): New variable.
14542 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14543 * configure: Regenerated.
14544
14545 * config.make.in (use-default-link): New variable.
14546 * configure.in (use_default_link): Grok --with-default-link to set it.
14547 * configure: Regenerated.
14548 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14549 (shlib-lds, shlib-lds-flags): Define to empty.
14550
14551 * Makerules (shlib-lds): New variable.
14552 (shlib-lds-flags): New variable.
14553 (build-shlib, build-moduile, build-module-asneeded): Use it.
14554 ($(common-objpfx)libc.so): Use $(shlib-lds).
14555 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14556 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14557
14558 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14559 DT_FLAGS/DT_FLAGS_1 with zero flags.
14560
14561 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14562 linker script munging.
14563
14564 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14565
14566 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14567 as 128-bit value.
14568 * crypt/sha512.c (sha512_process_block): Perform total addition using
14569 128-bit if possible.
14570 (__sha512_finish_ctx): Likewise.
14571 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14572 as 64-bit value.
14573 * crypt/sha256.c (SWAP64): Define.
14574 (sha256_process_block): Perform total addition using 64-bit if
14575 possible.
14576 (__sha256_finish_ctx): Likewise.
14577
14578 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14579
14580 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14581 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14582 * nscd/hstcache.c (cache_addhst): Likewise.
14583 * nscd/grpcache.c (cache_addgr): Likewise.
14584 * nscd/aicache.c (addhstaiX): Likewise
14585 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14586
14587 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14588
14589 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14590 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14591 * nscd/hstcache.c (cache_addhst): Likewise.
14592 * nscd/grpcache.c (cache_addgr): Likewise.
14593 * nscd/aicache.c (addhstaiX): Likewise
14594
14595 2011-07-01 Andreas Schwab <schwab@redhat.com>
14596
14597 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14598 domain only when needed.
14599
14600 2011-06-30 Andreas Schwab <schwab@redhat.com>
14601
14602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14603 is always restored.
14604
14605 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14606
14607 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14608 are re-adding the entry.
14609 * nscd/servicescache.c (cache_addserv): Likewise.
14610
14611 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14612
14613 * sysdeps/generic/dl-irel.h: fix protection against multiple
14614 inclusions.
14615 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14616
14617 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14618
14619 [BZ #12935]
14620 * malloc/memusage.sh: Fix quoting in message.
14621 * debug/xtrace.sh: Likewise.
14622
14623 * configure.in: Remove support for --experimental-malloc option, make
14624 it the default.
14625 * config.make.in: Likewise.
14626 * malloc/Makefile: Likewise.
14627
14628 2011-06-27 Andreas Schwab <schwab@redhat.com>
14629
14630 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14631 two-byte characters.
14632
14633 2011-06-27 Roland McGrath <roland@hack.frob.com>
14634
14635 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14636 AC_CACHE_CHECK invocation.
14637 * configure: Regenerated.
14638
14639 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14640
14641 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14642
14643 [BZ #12350]
14644 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14645 bit from old_res_options.
14646
14647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14648
14649 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14650 value type for setfct.
14651
14652 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14655 __gettimeofday instead of gettimeofday.
14656
14657 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14658
14659 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14660
14661 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14662
14663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14664
14665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14666 info.
14667
14668 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14669
14670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14671 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14672 strcpy-sse2-unaligned strncpy-sse2-unaligned
14673 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14674 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14675 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14676 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14677 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14679 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14680 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14681 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14682 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14683 (STRCPY): Support SSE2 and SSSE3 versions.
14684
14685 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14686
14687 [BZ #12874]
14688 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14689 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14690 kernels which artificially limit size of requests.
14691
14692 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14693
14694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14695 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14696 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14697 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14698 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14699 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14700 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14701 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14704 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14705 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14706 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14707 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14708 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14710 Enable unaligned load optimization for Intel Core i3, i5 and i7
14711 processors.
14712 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14713 Define.
14714 (index_Fast_Unaligned_Load): Define.
14715 (HAS_FAST_UNALIGNED_LOAD): Define.
14716
14717 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14718
14719 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14720
14721 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14722
14723 [BZ #12907]
14724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14725 until it is clear that the information is realy needed.
14726 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14727
14728 2011-06-22 Andreas Schwab <schwab@redhat.com>
14729
14730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14731
14732 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14733
14734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14735 /sys/devices/system/cpu/online if it is usable.
14736
14737 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14738 reading the information from the /proc filesystem to once a second.
14739
14740 2011-06-21 Andreas Jaeger <aj@suse.de>
14741
14742 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14743 NULL after inclusion of kernel headers.
14744
14745 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14746
14747 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14748 calls to internal_setent.
14749
14750 [BZ #12885]
14751 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14752 addresses using gethostbyname4_r ignore IPv4 addresses.
14753
14754 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14755 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14756
14757 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14758
14759 2011-06-20 David S. Miller <davem@davemloft.net>
14760
14761 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14762 inclusions.
14763 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14764
14765 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14766 (elf_irel): Use it.
14767 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14768 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14769 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14770 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14771 * sysdeps/x86_64/dl-irel.h: Likewise.
14772
14773 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14774 * elf/dl-sym.c: Likewise.
14775
14776 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14777
14778 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14779 need to dereference resplen2.
14780
14781 2011-06-14 Andreas Schwab <schwab@redhat.com>
14782
14783 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14784
14785 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14786
14787 * Makeconfig: Define vardbdir and inst_vardbdir.
14788 * nss/Makefile: Add rules to install db-Makefile.
14789
14790 * nss/nss_db/db-XXX.c: Cleanup.
14791
14792 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14793 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14794 GLIBC_PRIVATE.
14795 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14796 * nss/makedb.c: Implement -g option to specify that value strings
14797 are generated and should not be added to table iterated over for
14798 get*ent calls.
14799 * nss/nss_db/db-initgroups.c: New file.
14800
14801 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14802 interface.
14803
14804 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14805 (internal_getgrouplist): Adjust to name change.
14806 Update use_initgroups_entry if this is not the first call.
14807 * nss/databases.def: Add initgroups entry.
14808
14809 * nss/makedb.c (compute_tables): Check result of multiple hash table
14810 sizes to minimize maximum chain length.
14811
14812 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14813
14814 * Versions.def: Add entry for libnss_db.
14815 * shlib-versions: Likewise.
14816 * nss/Makefile: Add rules to build libnss_db.
14817 * nss/Versions: Add libnss_db information. Organize libnss_files
14818 entries better.
14819 * nss/db-Makefile: Add gshadow support. Change rules for the new
14820 makedb progra. Some minor improvements to generate smaller files.
14821 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14822 here from...
14823 * nss/makedb.c: ...here.
14824 Improve database format to be smaller and require less memory at
14825 runtime.
14826 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14827 db anymore.
14828 * nss/nss_db/db-netgrp.c: Likewise.
14829 * nss/nss_db/db-open.c: Likewise.
14830 * nss/nss_files/flies-XXX.x: Adjust comments.
14831 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14832 * nss/nss_files/files-grp.c: Likewise.
14833 * nss/nss_files/files-hosts.c: Likewise.
14834 * nss/nss_files/files-network.c: Likewise.
14835 * nss/nss_files/files-proto.c: Likewise.
14836 * nss/nss_files/files-pwd.c: Likewise.
14837 * nss/nss_files/files-rpc.c: Likewise.
14838 * nss/nss_files/files-service.c: Likewise.
14839 * nss/nss_files/files-sgrp.c: Likewise.
14840 * nss/nss_files/files-spwd.c: Likewise.
14841 * nss/nss_db/db-alias.c: Removed.
14842 * nss/nss_db/dummy-db.h: Removed.
14843
14844 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14845
14846 * nss/makedb.c: Rewritten to not use database library.
14847 * nss/Makefile: Update to build new makedb program.
14848
14849 2011-06-14 Andreas Jaeger <aj@suse.de>
14850
14851 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14852 memset declaration.
14853
14854 2011-06-10 Andreas Schwab <schwab@redhat.com>
14855
14856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14857 tmpbuf.
14858
14859 2011-06-10 Roland McGrath <roland@hack.frob.com>
14860
14861 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14862 * elf/Makefile ($(objpfx)ld.so): Likewise.
14863
14864 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14865 Don't list ld.so twice in dependencies.
14866
14867 * posix/bug-regex31.c: Include <stdlib.h>.
14868
14869 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14870
14871 * nis/nss_compat/compat-spwd.c
14872 (getspent_next_nss_netgr): Remove unused variable.
14873 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14874
14875 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14876 nonmembers" output to use the right array.
14877
14878 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14879
14880 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14881
14882 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14883 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14884 * catgets/gencat.c (read_input_file): Likewise.
14885 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14886
14887 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14888 variable definition inside #if's controlling its use.
14889
14890 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14891
14892 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14893
14894 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14895
14896 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14897 unreachable code.
14898
14899 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14900
14901 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14902 * configure: Regenerated.
14903
14904 * Makerules: Revert last change.
14905 * elf/Makefile: Likewise.
14906
14907 2011-06-09 Roland McGrath <roland@hack.frob.com>
14908
14909 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14910 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14911 (reloc-link): Likewise.
14912
14913 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14914
14915 * elf/Makefile: Add rules to build pldd.
14916 * elf/pldd.c: New file.
14917 * elf/pldd-xx.c: New file.
14918
14919 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14920
14921 * version.h: Update for 2.15 development version.
14922
14923 2011-06-07 David S. Miller <davem@davemloft.net>
14924
14925 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14926 ifuncs.
14927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14928 elf_machine_lazy_rel): Likewise.
14929 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14930 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14931 elf_machine_lazy_rel): Likewise.
14932 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14933 dl_hwcap via passed in argument.
14934 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14935 Likewise.
14936
14937 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14938
14939 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14940
14941 2011-06-06 Roland McGrath <roland@hack.frob.com>
14942
14943 [BZ #12849]
14944 * manual/fdl-1.1.texi: New file, verbatim from:
14945 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14946 * manual/lgpl-2.1.texi: New file, verbatim from:
14947 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14948 * manual/Makefile (licenses): New variable, list those new file names.
14949 (texis): Use it.
14950 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14951
14952 * manual/fdl.texi: File removed.
14953 * manual/lesser.texi: File removed.
14954 * manual/libc.texinfo (Copying, Documentation License):
14955 Use new @include file names, put @appendix directive before @include.
14956
14957 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14958
14959 [BZ #12841]
14960 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14961 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14962 (mq_open): Add __NTH.
14963
14964 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14965
14966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14967 Assume Intel Core i3/i5/i7 processor if AVX is available.
14968
14969 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14970
14971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14972 typo.
14973
14974 2011-05-31 Andreas Schwab <schwab@redhat.com>
14975
14976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14977 memory. Use alloca_account. Fix memory leak when retrying.
14978
14979 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14980
14981 * version.h (RELEASE): Bump for 2.14 release.
14982 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14983
14984 * config.make.in (RANLIB): Remove entry.
14985
14986 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14987
14988 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14989 (libc.pot): Work around missing support for .ksh extension in xgettext.
14990
14991 [BZ #12684]
14992 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14993 if both request failed.
14994 (send_dg): In case of server errors clear resplen or *resplen2.
14995
14996 [BZ #12454]
14997 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14998 when there are multiple maps.
14999 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15000 (_dl_fini): Remove test here.
15001
15002 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15003
15004 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15005
15006 [BZ #12350]
15007 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15008 bit from old_res_options.
15009 (gaih_inet): Likewise.
15010
15011 [BZ #11099]
15012 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15013 as signed.
15014
15015 * resolv/res_init.c (res_setoptions): Make the code more compact.
15016
15017 [BZ #11558]
15018 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15019 set RES_USEVC.
15020
15021 [BZ #11634]
15022 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15023
15024 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15025
15026 [BZ #11781]
15027 * malloc/malloc.h: Declare malloc hook variables as volatile.
15028
15029 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15030 in last patch.
15031
15032 [BZ #11799]
15033 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15034 raise in the comment.
15035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15036 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15037 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15038
15039 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15040
15041 [BZ #12811]
15042 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15043 grow the buffers more if it already has to be sufficient.
15044 (build_wcs_upper_buffer): Likewise.
15045 * posix/regexec.c (check_matching): Likewise.
15046 (clean_state_log_if_needed): Likewise.
15047 (extend_buffers): Don't enlarge buffers beyond size of the input
15048 buffer.
15049 Patches mostly by Emil Wojak <emil@wojak.eu>.
15050 * posix/bug-regex32.c: New file.
15051 * posix/Makefile (tests): Add bug-regex32.
15052
15053 * locale/findlocale.c (_nl_find_locale): Return right away if
15054 _nl_explode_name failed.
15055 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15056
15057 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15058
15059 * debug/xtrace.sh: Unify messages.
15060 * malloc/memusage.sh: Likewise.
15061
15062 [BZ #12813]
15063 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15064 time symbol from vDSO. Substitute with vsyscall if not available.
15065 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15066 __vdso_time.
15067
15068 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15069 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15070 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15071 Add sendmmsg and internal_sendmmsg.
15072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15073 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15074 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15075
15076 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15077 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15079
15080 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15081
15082 [BZ #12813]
15083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15084 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15085 available.
15086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15087 __vdso_getcpu.
15088
15089 [BZ #12814]
15090 * iconvdata/Makefile (tests): Add bug-iconv9.
15091 * iconvdata/bug-iconv9.c: New file.
15092
15093 2011-05-27 Andreas Schwab <schwab@redhat.com>
15094
15095 [BZ #12814]
15096 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15097
15098 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15099
15100 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15101 (struct user_regs_struct): Change intcs field back to cs.
15102
15103 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15104
15105 * po/ja.po: Update from translation team.
15106
15107 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15108
15109 [BZ #12795]
15110 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15111 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15112
15113 2011-05-20 Andreas Schwab <schwab@redhat.com>
15114
15115 * stdlib/longlong.h: Update from GCC.
15116
15117 2011-05-23 Andreas Schwab <schwab@redhat.com>
15118
15119 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15120 parameter name.
15121 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15122 Add parameter name.
15123 (__sysconf): Pass it down.
15124
15125 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15126
15127 [BZ #12671]
15128 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15129 some situations.
15130 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15131 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15132 add in in __libc_use_alloca calls. Adjust callers.
15133 (glob): Use malloc in some situations.
15134
15135 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15136 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15137 pltexit.
15138
15139 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15140
15141 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15142 and CLOCK_BOOTTIME_ALARM.
15143
15144 [BZ #12782]
15145 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15146 is returned.
15147
15148 * string/_strerror.c (__strerror_r): Print negative errors as signed
15149 numbers.
15150
15151 [BZ #12777]
15152 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15153 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15154 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15155
15156 * configure.in: Fix typo in redirection and correct removal of test
15157 files in two cases.
15158
15159 [BZ #12788]
15160 * locale/setlocale.c (new_composite_name): Fix test to check for
15161 identical name of all categories.
15162
15163 [BZ #12792]
15164 * libio/filedoalloc.c (local_isatty): New function.
15165 (_IO_file_doallocate): Use local_isatty.
15166 * stdio-common/perror.c (perror): In case a new stream is used
15167 forward the stream error.
15168 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15169 error flag.
15170
15171 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15172
15173 [BZ #11869]
15174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15175 alloca.
15176 * include/alloca.h (extend_alloca_account): Define.
15177
15178 [BZ #11857]
15179 * posix/regex.h: Fix comments with documentation of user-accessible
15180 fields after compilation and describe correct free'ing of pattern
15181 after re_compile_pattern.
15182 Patch by Reuben Thomas <rrt@sc3d.org>.
15183
15184 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15185
15186 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15187 and -mno-altivec to prevent the compiler from using Altivec and/or
15188 VSX instructions when the corresponding registers are not available.
15189
15190 2011-05-19 Andreas Schwab <schwab@redhat.com>
15191
15192 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15193
15194 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15195
15196 * libio/freopen.c (freopen): Use __dup2, not dup2.
15197 * libio/freopen64.c (freopen64): Likewise.
15198
15199 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15200
15201 [BZ #12775]
15202 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15203 * math/Makefile (tests): Add test-powl.
15204 (CFLAGS-test-powl.c): Define.
15205 * math/test-powl.c: New file.
15206
15207 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15208
15209 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15210
15211 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15212
15213 [BZ #11837]
15214 * iconvdata/gb18030.c: Update to GB18020-2005.
15215
15216 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15217
15218 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15219 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15220 Patch by Aharon Robbins <arnold@skeeve.com>.
15221
15222 [BZ #11892]
15223 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15224 on the stack.
15225
15226 [BZ #11895]
15227 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15228 through underflows.
15229
15230 [BZ #12766]
15231 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15232 point to strings before performing equality test for error_one_per_line
15233 mode.
15234
15235 [BZ #11697]
15236 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15237
15238 [BZ #11820]
15239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15240 (struct user_fpregs_struct): Avoid __uint*_t types.
15241
15242 [BZ #6420]
15243 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15244 symbol info. Use it instead of calling _dl_addr locally.
15245 (lock_and_info): New function.
15246 (tr_freehook): Call lock_and_info and pass symbol info as additional
15247 parameter to tr_where.
15248 (tr_mallochook): Likewise.
15249 (tr_reallochook): Likewise.
15250 (tr_memalignhook): Likewise.
15251
15252 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15253 used and couldn't be at all thread-safe.
15254
15255 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15256
15257 * libio/freopen.c (freopen): Don't close old file descriptor
15258 before the new one is opened. Instead dup the new file descriptor
15259 to the old one after the new stream is created.
15260 * libio/freopen64.c (freopen64): Likewise.
15261 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15262 * libio/fileops.c (_IO_new_file_close_it): Handle new
15263 _IO_FLAGS2_NOCLOSE flag.
15264 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15265 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15266 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15267 _IO_FLAGS2_NOCLOSE flag.
15268 * include/unistd.h: Add hidden_proto for dup3.
15269 Define __have_dup3.
15270 * io/dup3.c: Define hidden symbol.
15271 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15272
15273 [BZ #7101]
15274 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15275 when an incomplete long option is used.
15276 * posix/tst-getopt_long1.c: New file.
15277 * posix/Makefile (tests): Add tst-getopt_long1.
15278
15279 [BZ #10138]
15280 * scripts/config.guess: Update from autoconf-2.68.
15281 * scripts/config.sub: Likewise.
15282
15283 [BZ #10157]
15284 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15285 tests into ...
15286 (has_cpuclock): ...this. New function.
15287 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15288 macro here based on has_cpuclock code.
15289
15290 [BZ #10149]
15291 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15292 First byte (not low byte) is now always NUL.
15293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15294
15295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15296 Use non-cancelable interfaces.
15297
15298 [BZ #9809]
15299 * locale/iso-639.def: Add entry for Sorani.
15300
15301 [BZ #11901]
15302 * include/stdlib.h: Move include protection to the right place.
15303 Define abort_msg_s. Declare __abort_msg with it.
15304 * stdlib/abort.c (__abort_msg): Adjust type.
15305 * assert/assert.c (__assert_fail_base): New function. Majority
15306 of code from __assert_fail. Allocate memory for __abort_msg with
15307 mmap.
15308 (__assert_fail): Now call __assert_fail_base.
15309 * assert/assert-perr.c: Remove bulk of implementation. Use
15310 __assert_fail_base.
15311 * include/assert.hL Declare __assert_fail_base.
15312 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15313 mmap.
15314 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15315
15316 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15317
15318 [BZ #11952]
15319 [BZ #12453]
15320 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15321 until all modules are registered in the DTV.
15322 * elf/Makefile: Add rules to build and run tst-tls19.
15323 * elf/tst-tls19.c: New file.
15324 * elf/tst-tls19mod1.c: New file.
15325 * elf/tst-tls19mod2.c: New file.
15326 * elf/tst-tls19mod3.c: New file.
15327 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15328
15329 [BZ #12083]
15330 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15331 correctly.
15332
15333 [BZ #12601]
15334 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15335 two-byte sequence errors.
15336 * iconvdata/Makefile (tests): Add bug-iconv8.
15337 * iconvdata/bug-iconv8.c: New file.
15338
15339 [BZ #12626]
15340 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15341 buf2 definition.
15342
15343 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15344
15345 [BZ #12432]
15346 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15347 (dummy_getcfa): New function.
15348 (init): Get _Unwind_GetCFA address, use dummy if not found.
15349 (backtrace_helper): In recursion check, also check whether CFA changes.
15350 (__backtrace): Completely initialize arg.
15351
15352 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15353 storing incomplete byte sequence in state object. Avoid testing for
15354 guaranteed too small input if we know there is enough data available.
15355
15356 2011-05-11 Andreas Schwab <schwab@redhat.com>
15357
15358 * Makeconfig (+link-pie): Indent.
15359 * Rules (binaries-pie): Define if $(have-fpie) and
15360 $(build-shared).
15361 (binaries-shared): Also filter out $(binaries-pie).
15362 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15363 * nscd/Makefile (others-pie): Add nscd.
15364 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15365 ($(objpfx)nscd): Remove command override.
15366 * login/Makefile (others-pie): Add pt_chown.
15367 ($(objpfx)pt_chown): Remove command override.
15368 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15369 remove command overrides.
15370
15371 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15372
15373 * libio/tst_putwc.c: Fix error messages.
15374
15375 [BZ #12724]
15376 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15377 currently writing and seek to current position when not.
15378 * libio/Makefile (tests): Add bug-fclose1.
15379 * libio/bug-fclose1.c: New file.
15380
15381 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15382
15383 [BZ #12511]
15384 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15385 don't set DF_1_NODELETE here.
15386 (do_lookup_x): When entering new entry test for copy relocation
15387 and if necessary set DF_1_NODELETE flag.
15388 * elf/tst-unique4.cc: New file.
15389 * elf/tst-unique4.h: New file.
15390 * elf/tst-unique4lib.cc: New file.
15391 * elf/Makefile: Add rules to build and run tst-unique4.
15392 Patch by Piotr Bury <pbury@goahead.com>.
15393
15394 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15395
15396 [BZ #12052]
15397 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15398
15399 [BZ #12625]
15400 * misc/mntent_r.c (addmntent): Flush the stream after the output
15401
15402 [BZ #12393]
15403 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15404 (is_trusted_path_normalize): Skip initial colon. Append slash
15405 to empty buffer. Duplicate is_trusted_path code but allow
15406 constructed patch to be prefix.
15407 (is_dst): Allow $ORIGIN followed by /.
15408 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15409 Correct testing of result of is_trusted_path_normalize
15410 (decompose_rpath): Fix warning.
15411
15412 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15413
15414 [BZ #11257]
15415 * grp/initgroups.c (internal_getgrouplist): When we found the service
15416 list through the initgroups entry in nsswitch.conf do not always
15417 continue on a successful lookup. Don't always use the
15418 __nss_group_database value if it is set.
15419 * nss/nsswitch.conf (initgroups): Change action for successful db
15420 lookup to continue for compatibility.
15421
15422 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15423
15424 [BZ #11532]
15425 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15426 and CP774 modules.
15427 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15428 and CP774 modules.
15429 * iconvdata/tst-tables.sh: Likewise.
15430 * iconvdata/cp770.c: New file.
15431 * iconvdata/cp771.c: New file.
15432 * iconvdata/cp772.c: New file.
15433 * iconvdata/cp773.c: New file.
15434 * iconvdata/cp774.c: New file.
15435 * iconvdata/testdata/CP770: New file.
15436 * iconvdata/testdata/CP770..UTF8: New file.
15437 * iconvdata/testdata/CP771: New file.
15438 * iconvdata/testdata/CP771..UTF8: New file.
15439 * iconvdata/testdata/CP772: New file.
15440 * iconvdata/testdata/CP772..UTF8: New file.
15441 * iconvdata/testdata/CP773: New file.
15442 * iconvdata/testdata/CP773..UTF8: New file.
15443 * iconvdata/testdata/CP774: New file.
15444 * iconvdata/testdata/CP774..UTF8: New file.
15445
15446 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15447 END CHARMAP line.
15448 * iconvdata/gen-8bit-gap.sh: Likewise.
15449 * iconvdata/gen-8bit.sh: Likewise.
15450
15451 * locale/iso-639.def: Add ary entry.
15452
15453 [BZ #11258]
15454 * locale/C-translit.h.in: Add U20A1 transliteration.
15455
15456 [BZ #12178]
15457 * locale/iso-639.def: Add wae entry.
15458 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15459
15460 [BZ #12545]
15461 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15462 for n.
15463
15464 [BZ #12711]
15465 * locale/C-translit.h.in: Add entry for U20B9.
15466 Patch by pravin.d.s@gmail.com.
15467
15468 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15469
15470 [BZ #12713]
15471 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15472 ENAMETOOLONG use generic getcwd.
15473 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15474 in rtld. Use *stat64.
15475 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15476 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15477 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15478 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15479 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15480 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15481 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15482 __fstatat64 macros.
15483 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15484 * dirent/rewinddir.c: Add libc_hidden_def.
15485 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15486 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15487
15488 * include/dirent.h (__alloc_dir): Add flags parameter.
15489 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15490 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15491 __alloc_dir.
15492 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15493 from fdopendir if O_CLOEXEC is already set.
15494
15495 2011-03-15 Alan Modra <amodra@gmail.com>
15496
15497 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15498 l_tls_firstbyte_offset non-zero. Save padding offset in
15499 l_tls_firstbyte_offset for later use.
15500 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15501 freeing static tls block.
15502
15503 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15504
15505 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15506 where #ifdef was intended. The intent is to prevent ARG_MAX from
15507 being defined by the kernel headers.
15508
15509 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15510
15511 [BZ #12734]
15512 * resolv/resolv.h: Define RES_NOTLDQUERY.
15513 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15514 no-tld-query and set RES_NOTLDQUERY.
15515 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15516 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15517 modern BIND to search name as TLD unless forbidden.
15518
15519 2011-05-07 Petr Baudis <pasky@suse.cz>
15520 Ulrich Drepper <drepper@gmail.com>
15521
15522 [BZ #12393]
15523 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15524 (is_trusted_path): ...to here.
15525 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15526 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15527 using is_trusted_path_normalize() in setuid scripts.
15528
15529 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15530
15531 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15532 __BEGIN/__END_DECLS.
15533
15534 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15535
15536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15537 NSS_STATUS_NOTFOUND if no record was found.
15538
15539 2011-05-05 Andreas Schwab <schwab@redhat.com>
15540
15541 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15542 (headers-not-in-tirpc): Remove rpc/netdb.h
15543 * resolv/netdb.h: Revert last change.
15544
15545 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15546
15547 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15548 circular dependency between libgcc.a and libc.a.
15549
15550 2011-05-05 Andreas Schwab <schwab@redhat.com>
15551
15552 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15553 * nis/Makefile: Don't install rpcsvc/*.
15554 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15555 instead of <rpc/types.h>.
15556 (MAXHOSTNAMELEN): Define.
15557
15558 2011-05-03 Andreas Schwab <schwab@redhat.com>
15559
15560 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15561
15562 2011-04-28 Maciej Babinski <mbabinski@google.com>
15563
15564 [BZ #12714]
15565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15566 gethostbyname4_r when IPv6 results are possible.
15567
15568 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15569
15570 [BZ #12723]
15571 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15572 _PC_PIPE_BUF handling.
15573
15574 2011-04-30 Bruno Haible <bruno@clisp.org>
15575
15576 [BZ #12717]
15577 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15578 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15579 to 'int'.
15580 * inet/getnameinfo.c (getnameinfo): Likewise.
15581
15582 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15583
15584 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15585 to groups setting in database lookup.
15586 * nss/nsswitch.conf: Add initgroups entry.
15587
15588 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15589
15590 [BZ #12685]
15591 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15592 mode string.
15593 Patch by Eric Blake <eblake@redhat.com>.
15594
15595 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15596
15597 * sunrpc/Makefile (need-export-routines): Add svc_run.
15598 (routines): Remove svc_run.
15599 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15600 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15601 * sunrpc/svc_run.c (svc_run): Likewise.
15602 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15603
15604 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15605
15606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15607 problem in reallocation in last patch.
15608
15609 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15610
15611 * sunrpc/Makefile: Move inclusion of Rules.
15612
15613 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15614
15615 * nss/nss_files/files-initgroups.c: New file.
15616 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15617 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15618 _nss_files_initgroups_dyn.
15619
15620 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15621
15622 * elf/elf.h (R_ARM_IRELATIVE): Define.
15623
15624 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15625
15626 * po/ru.po: Update from translation team.
15627
15628 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15629
15630 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15631 dependencies.
15632
15633 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15634
15635 [BZ #12653]
15636 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15637 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15640 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15641
15642 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15643
15644 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15645 differing bytes.
15646 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15649
15650 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15651
15652 [BZ #12420]
15653 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15654 storing it.
15655 * stdlib/bug-getcontext.c: New file.
15656 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15657
15658 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15659
15660 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15661 instructions into .machine "z9-109".
15662 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15663 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15664
15665 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15666
15667 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15668 between environment variables and auxiliary vector.
15669
15670 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15671
15672 * Makefile: Add rules to build linkobj/libc.so.
15673 * include/libc-symbols.h: Define libc_hidden_nolink.
15674 * include/rpc/auth.h: Mark functions which are to be hidden.
15675 * include/rpc/auth_des.h: Likewise.
15676 * include/rpc/auth_unix.h: Likewise.
15677 * include/rpc/clnt.h: Likewise.
15678 * include/rpc/des_crypt.h: Likewise.
15679 * include/rpc/key_prot.h: Likewise.
15680 * include/rpc/pmap_clnt.h: Likewise.
15681 * include/rpc/pmap_prot.h: Likewise.
15682 * include/rpc/pmap_rmt.h: Likewise.
15683 * include/rpc/rpc_msg.h: Likewise.
15684 * include/rpc/svc.h: Likewise.
15685 * include/rpc/svc_auth.h: Likewise.
15686 * include/rpc/xdr.h: Likewise.
15687 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15688 * nss/Makefile: Likewise.
15689 * sunrpc/Makefile: Don't install headers. Build library with normal
15690 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15691 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15692 for the compat linking library. Remove use of INTDEF/INTUSE.
15693 * sunrpc/auth_none.c: Likewise.
15694 * sunrpc/auth_unix.c: Likewise.
15695 * sunrpc/authdes_prot.c: Likewise.
15696 * sunrpc/authuxprot.c: Likewise.
15697 * sunrpc/clnt_gen.c: Likewise.
15698 * sunrpc/clnt_perr.c: Likewise.
15699 * sunrpc/clnt_raw.c: Likewise.
15700 * sunrpc/clnt_simp.c: Likewise.
15701 * sunrpc/clnt_tcp.c: Likewise.
15702 * sunrpc/clnt_udp.c: Likewise.
15703 * sunrpc/clnt_unix.c: Likewise.
15704 * sunrpc/des_crypt.c: Likewise.
15705 * sunrpc/des_soft.c: Likewise.
15706 * sunrpc/get_myaddr.c: Likewise.
15707 * sunrpc/key_call.c: Likewise.
15708 * sunrpc/key_prot.c: Likewise.
15709 * sunrpc/netname.c: Likewise.
15710 * sunrpc/pm_getmaps.c: Likewise.
15711 * sunrpc/pm_getport.c: Likewise.
15712 * sunrpc/pmap_clnt.c: Likewise.
15713 * sunrpc/pmap_prot.c: Likewise.
15714 * sunrpc/pmap_prot2.c: Likewise.
15715 * sunrpc/pmap_rmt.c: Likewise.
15716 * sunrpc/publickey.c: Likewise.
15717 * sunrpc/rpc_cmsg.c: Likewise.
15718 * sunrpc/rpc_common.c: Likewise.
15719 * sunrpc/rpc_dtable.c: Likewise.
15720 * sunrpc/rpc_prot.c: Likewise.
15721 * sunrpc/rpc_thread.c: Likewise.
15722 * sunrpc/rtime.c: Likewise.
15723 * sunrpc/svc.c: Likewise.
15724 * sunrpc/svc_auth.c: Likewise.
15725 * sunrpc/svc_authux.c: Likewise.
15726 * sunrpc/svc_raw.c: Likewise.
15727 * sunrpc/svc_run.c: Likewise.
15728 * sunrpc/svc_simple.c: Likewise.
15729 * sunrpc/svc_tcp.c: Likewise.
15730 * sunrpc/svc_udp.c: Likewise.
15731 * sunrpc/svc_unix.c: Likewise.
15732 * sunrpc/svcauth_des.c: Likewise.
15733 * sunrpc/xcrypt.c: Likewise.
15734 * sunrpc/xdr.c: Likewise.
15735 * sunrpc/xdr_array.c: Likewise.
15736 * sunrpc/xdr_float.c: Likewise.
15737 * sunrpc/xdr_intXX_t.c: Likewise.
15738 * sunrpc/xdr_mem.c: Likewise.
15739 * sunrpc/xdr_rec.c: Likewise.
15740 * sunrpc/xdr_ref.c: Likewise.
15741 * sunrpc/xdr_sizeof.c: Likewise.
15742 * sunrpc/xdr_stdio.c: Likewise.
15743
15744 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15745
15746 [BZ #12650]
15747 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15748 * sysdeps/ia64/dl-tls.h: Likewise.
15749 * sysdeps/powerpc/dl-tls.h: Likewise.
15750 * sysdeps/s390/dl-tls.h: Likewise.
15751 * sysdeps/sh/dl-tls.h: Likewise.
15752 * sysdeps/sparc/dl-tls.h: Likewise.
15753 * sysdeps/x86_64/dl-tls.h: Likewise.
15754 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15755
15756 2011-03-14 Andreas Schwab <schwab@redhat.com>
15757
15758 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15759 rpath element also skip the following colon.
15760 (expand_dynamic_string_token): Add is_path parameter and pass
15761 down to DL_DST_REQUIRED and _dl_dst_substitute.
15762 (decompose_rpath): Call expand_dynamic_string_token with
15763 non-zero is_path. Ignore empty rpaths.
15764 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15765 with zero is_path.
15766
15767 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15768
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15770 Make cancelable.
15771
15772 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15773
15774 [BZ #12655]
15775 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15776 Patch by Filipe David Manana <fdmanana@apache.org>.
15777
15778 2011-04-07 Andreas Schwab <schwab@redhat.com>
15779
15780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15781 Maintain aligned stack.
15782 (CHECK_RSP): Remove unused macro.
15783
15784 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15785
15786 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15788
15789 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15790
15791 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15792
15793 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15794
15795 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15796
15797 [BZ #12518]
15798 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15799 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15800 * sysdeps/x86_64/memmove.c: New file.
15801 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15802 (memcpy): Renamed to ...
15803 (__new_memcpy): This.
15804 (memcpy): Provide GLIBC_2_14 memcpy.
15805 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15806 (memcpy): Provide GLIBC_2_2_5 memcpy.
15807
15808 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15809
15810 [BZ #12631]
15811 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15812
15813 2011-03-30 Andreas Schwab <schwab@redhat.com>
15814
15815 * misc/syncfs.c: New file.
15816 * misc/Makefile (routines): Add syncfs.
15817 * posix/unistd.h: Declare syncfs.
15818 * sysdeps/unix/syscalls.list: Add syncfs.
15819
15820 2011-04-01 Andreas Schwab <schwab@redhat.com>
15821
15822 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15823 open_by_handle_at.
15824 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15825 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15829 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15831
15832 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15833
15834 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15835 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15836 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15841
15842 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15843 sync_file_range.c with -fexceptions.
15844 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15845 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15846 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15847 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15848 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15849 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15851 sync_file_range as cancellation point
15852 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15853 now a wrapper around __call_sync_file_range with cancellation handling.
15854 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15855 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15856 function name to __call_sync_file_range.
15857 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15858 Add call_sync_file_range.
15859
15860 2011-04-01 Andreas Schwab <schwab@redhat.com>
15861
15862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15863 bits/timex.h.
15864
15865 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15866
15867 * iconv/iconv.h: Fix typo in comment.
15868 * io/fcntl.h: Likewise.
15869 * libio/stdio.h: Likewise.
15870 * posix/spawn.h: Likewise.
15871 * posix/unistd.h: Likewise.
15872 * stdlib/stdlib.h: Likewise.
15873 * time/time.h: Likewise.
15874 * wcsmbs/wchar.h: Likewise.
15875
15876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15877 open_by_handle): Add.
15878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15879 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15880 Augment a few comments.
15881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15886 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15887 open_by_handle.
15888
15889 * io/fcntl.h (AT_EMPTY_PATH): Define.
15890
15891 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15892
15893 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15894 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15895 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15896 to...
15897 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15898 * Versions.def: Add GLIBC_2.14.
15899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15900 Export.
15901
15902 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15903
15904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15905 round counter.
15906 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15907
15908 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15909
15910 [BZ #12597]
15911 * string/test-strncmp.c (do_page_test): New function.
15912 (check2): Likewise.
15913 (test_main): Call check2.
15914 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15915
15916 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15917
15918 [BZ #12587]
15919 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15920 Handle cache information in CPU leaf 4.
15921 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15922
15923 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15924
15925 [BZ #12583]
15926 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15927 character representation.
15928 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15929
15930 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15931
15932 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15933 END(__isnan) to END(__isnanf) to match function entry point/label
15934 EALIGN(__isnanf,...).
15935
15936 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15937
15938 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15939
15940 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15941
15942 [BZ #12510]
15943 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15944 copy from the symbol referenced in the relocation to initialize the
15945 used variable.
15946 Patch by Piotr Bury <pbury@goahead.com>.
15947 * elf/Makefile: Add rules to build and tst-unique3.
15948 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15949 * elf/tst-unique3.cc: New file.
15950 * elf/tst-unique3.h: New file.
15951 * elf/tst-unique3lib.cc: New file.
15952 * elf/tst-unique3lib2.cc: New file.
15953
15954 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15955
15956 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15957
15958 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15959 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15960 to _start.
15961
15962 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15963
15964 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15965 to-be-loaded object along a path to loader is ld.so.
15966
15967 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15968 Ulrich Drepper <drepper@gmail.com>
15969
15970 * sysdeps/x86_64/memset.S: After aligning destination, code
15971 branches to different locations depending on the value of
15972 misalignment, when multiarch is enabled. Fix this.
15973
15974 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15975
15976 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15977 Set _x86_64_preferred_memory_instruction for AMD processsors.
15978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15979 Set bit_Prefer_SSE_for_memop for AMD processors.
15980
15981 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15982
15983 * libio/fmemopen.c (fmemopen): Optimize a bit.
15984
15985 2011-03-03 Andreas Schwab <schwab@redhat.com>
15986
15987 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15988
15989 2011-03-03 Roland McGrath <roland@redhat.com>
15990
15991 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15992
15993 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15994
15995 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15996 __bzero_ultra1 instead of __memset_ultra1.
15997
15998 2011-02-23 Andreas Schwab <schwab@redhat.com>
15999 Ulrich Drepper <drepper@gmail.com>
16000
16001 [BZ #12509]
16002 * include/link.h (struct link_map): Add l_orig_initfini.
16003 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16004 returning unsuccessfully.
16005 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16006 close of a file loaded at startup, restore the original l_initfini
16007 list.
16008 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16009 list, store the pointer.
16010 * elf/Makefile ($(objpfx)noload-mem): New rule.
16011 (noload-ENV): Define.
16012 (tests): Add $(objpfx)noload-mem.
16013 * elf/noload.c: Include <memcheck.h>.
16014 (main): Call mtrace. Close all opened handles.
16015
16016 2011-02-17 Andreas Schwab <schwab@redhat.com>
16017
16018 [BZ #12454]
16019 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16020 dependencies are missing.
16021
16022 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16023
16024 Fix __if_freereq crash: Unlike the generic version which uses free,
16025 Hurd needs munmap.
16026 * sysdeps/mach/hurd/ifreq.h: New file.
16027
16028 2011-01-27 Petr Baudis <pasky@suse.cz>
16029 Ulrich Drepper <drepper@gmail.com>
16030
16031 [BZ 12445]#
16032 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16033 to extend_alloca().
16034 * stdio-common/bug23.c: New file.
16035 * stdio-common/Makefile (tests): Add bug23.
16036
16037 2010-09-28 Andreas Schwab <schwab@redhat.com>
16038 Ulrich Drepper <drepper@gmail.com>
16039
16040 [BZ #12489]
16041 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16042 before performing relro protection. At old place add assertion
16043 to make sure nothing changed.
16044
16045 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16046 Glauber de Oliveira Costa <glommer@gmail.com>
16047
16048 * elf/elf.h: Add new ARM TLS relocs.
16049
16050 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16051
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16053 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16054 cast from r3.
16055 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16056 'tests' variable.
16057 * sysdeps/wordsize-64/tst-writev.c: New file.
16058
16059 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16060
16061 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16062 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16063 insns in _dl_start to prevent a TOC reference before relocs are
16064 resolved.
16065
16066 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16067
16068 [BZ #12469]
16069 * Makeconfig: Remove RANLIB definition.
16070 * Makerules: Don't use RANLIB.
16071 * aclocal.m4: Remove ranlib test.
16072 * configure.in: No need to check for ranlib.
16073 * elf/rtld-Rules: Don't use RANLIB.
16074
16075 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16076
16077 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16078 protection macro.
16079 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16080 inclusion protection macro.
16081
16082 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16083 SIGRTMIN and SIGRTMAX and print information in that case only when
16084 SIGRTMIN is defined.
16085
16086 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16087
16088 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16089 arginfo fn returning -1.
16090
16091 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16092 and thousands string is zero terminated.
16093
16094 2011-02-03 Andreas Schwab <schwab@redhat.com>
16095
16096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16097 sysdeps/unix/sysv/linux/bits/socket.h.
16098
16099 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16100
16101 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16102 (__CPU_COUNT): Remove old macros.
16103 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16104 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16105 (__CPU_ALLOC, __CPU_FREE): Add macros.
16106 (__sched_cpualloc, __sched_cpufree): Add declarations.
16107
16108 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16109
16110 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16111 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16112 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16113 (readdhstai): Return value of addhstaiX call.
16114 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16115 (addgrbyX): Return value returned by cache_addgr.
16116 (readdgrbyname): Return value returned by addgrbyX.
16117 (readdgrbygid): Likewise.
16118 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16119 (addpwbyX): Return value returned by cache_addpw.
16120 (readdpwbyname): Return value returned by addhstbyX.
16121 (readdpwbyuid): Likewise.
16122 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16123 (addservbyX): Return value returned by cache_addserv.
16124 (readdservbyname): Return value returned by addservbyX:
16125 (readdservbyport): Likewise.
16126 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16127 (addhstbyX): Return value returned by cache_addhst.
16128 (readdhstbyname): Return value returned by addhstbyX.
16129 (readdhstbyaddr): Likewise.
16130 (readdhstbynamev6): Likewise.
16131 (readdhstbyaddrv6): Likewise.
16132 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16133 (readdinitgroups): Return value returned by addinitgroupsX.
16134 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16135 (prune_cache): Keep track of timeout value of re-added entries.
16136 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16137 * nscd/nscd.h: Adjust prototypes of readd* functions.
16138
16139 2011-02-04 Roland McGrath <roland@redhat.com>
16140
16141 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16142 (nis_stats): Likewise.
16143 * nis/nis_modify.c (nis_modify): Likewise.
16144 * nis/nis_remove.c (nis_remove): Likewise.
16145 * nis/nis_add.c (nis_add): Likewise.
16146
16147 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16148
16149 * posix/fnmatch_loop.c: Add some consts.
16150
16151 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16152
16153 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16154
16155 [BZ #12460]
16156 * config.make.in (config-cflags-novzeroupper): Define.
16157 * configure.in: Substitute libc_cv_cc_novzeroupper.
16158 * elf/Makefile (AVX-CFLAGS): Define.
16159 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16160 (CFLAGS-tst-auditmod4a.c): Likewise.
16161 (CFLAGS-tst-auditmod4b.c): Likewise.
16162 (CFLAGS-tst-auditmod6b.c): Likewise.
16163 (CFLAGS-tst-auditmod6c.c): Likewise.
16164 (CFLAGS-tst-auditmod7b.c): Likewise.
16165 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16166
16167 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16168
16169 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16170 function to the callback.
16171 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16172
16173 2011-02-02 Andreas Schwab <schwab@redhat.com>
16174
16175 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16176 of errno.
16177
16178 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16179
16180 [BZ #11724]
16181 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16182 of constructors.
16183 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16184 of destructors.
16185 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16186
16187 [BZ #11724]
16188 * elf/Makefile: Add rules to build and run new test.
16189 * elf/tst-initorder.c: New file.
16190 * elf/tst-initorder.exp: New file.
16191 * elf/tst-initordera1.c: New file.
16192 * elf/tst-initordera2.c: New file.
16193 * elf/tst-initordera3.c: New file.
16194 * elf/tst-initordera4.c: New file.
16195 * elf/tst-initorderb1.c: New file.
16196 * elf/tst-initorderb2.c: New file.
16197 * elf/tst-order-a1.c: New file.
16198 * elf/tst-order-a2.c: New file.
16199 * elf/tst-order-a3.c: New file.
16200 * elf/tst-order-a4.c: New file.
16201 * elf/tst-order-b1.c: New file.
16202 * elf/tst-order-b2.c: New file.
16203 * elf/tst-order-main.c: New file.
16204 New test case by George Gensure <werkt0@gmail.com>.
16205
16206 2010-10-01 Andreas Schwab <schwab@redhat.com>
16207
16208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16209 decoding ACE if AI_CANONIDN.
16210
16211 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16212
16213 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16214
16215 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16216
16217 * version.h (RELEASE): Bump for 2.13 release.
16218 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16219
16220 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16221
16222 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16223 MADV_NOHUGEPAGE.
16224 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16226 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16230
16231 * posix/getconf.c: Update copyright year.
16232 * catgets/gencat.c: Likewise.
16233 * csu/version.c: Likewise.
16234 * debug/catchsegv.sh: Likewise.
16235 * debug/xtrace.sh: Likewise.
16236 * elf/ldconfig.c: Likewise.
16237 * elf/ldd.bash.in: Likewise.
16238 * elf/sprof.c (print_version): Likewise.
16239 * iconv/iconv_prog.c: Likewise.
16240 * iconv/iconvconfig.c: Likewise.
16241 * locale/programs/locale.c: Likewise.
16242 * locale/programs/localedef.c: Likewise.
16243 * malloc/memusage.sh: Likewise.
16244 * malloc/mtrace.pl: Likewise.
16245 * nscd/nscd.c (print_version): Likewise.
16246 * nss/getent.c: Likewise.
16247
16248 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16249 PF_CAIF, and PF_ALG.
16250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16251
16252 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16253
16254 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16255 (modules-names): Use them.
16256 (ifunc-test-modules, ifunc-pie-tests): Define.
16257 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16258 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16259 (test-extras): Likewise.
16260 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16261 $(compile-command.c).
16262 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16263 (all-built-dso): Define.
16264 (check-textrel.out, check-execstack.out): Depend on it.
16265
16266 * configure.in: Don't override --enable-multi-arch.
16267
16268 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16269
16270 [BZ #6812]
16271 * nscd/hstcache.c (tryagain): Define.
16272 (cache_addhst): Return tryagain not notfound for temporary errors.
16273 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16274 failed.
16275
16276 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16277
16278 [BZ #10563]
16279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16280 to make the syscall.
16281 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16282
16283 [BZ #12378]
16284 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16285 and fall back to matching as normal character if the string ends before
16286 the matching ']' is found. This is what POSIX requires.
16287 * posix/testfnm.c: Adjust test result.
16288 * posix/globtest.sh: Adjust test result. Add new test.
16289 * posix/tst-fnmatch.input: Likewise.
16290 * posix/tst-fnmatch2.c: Add new test.
16291
16292 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16293
16294 * elf/Makefile (check-execstack): Revert last change. Depend on
16295 check-execstack.h.
16296 (check-execstack.h): New target.
16297 (generated): Add check-execstack.h.
16298 * elf/check-execstack.c: Include "check-execstack.h".
16299 (main): Revert last change.
16300 (handle_file): Return zero if GNU_STACK is absent and
16301 DEFAULT_STACK_PERMS doesn't include PF_X.
16302
16303 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16304
16305 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16306 in child fails because the descriptor is already closed.
16307 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16308 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16309 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16310
16311 [BZ #12397]
16312 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16313 syscall.
16314
16315 [BZ #10484]
16316 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16317 temporary buffer used to handle multi lookups locally.
16318 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16319
16320 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16321
16322 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16323 loader is ld.so.
16324
16325 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16326
16327 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16328 alignment for SSE2.
16329
16330 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16331
16332 [BZ #12394]
16333 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16334 characters. When rounding increased number of integer digits recompute
16335 number of groups.
16336 * stdio-common/tst-grouping.c: New file.
16337 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16338
16339 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16340
16341 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16342 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16343
16344 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16345 void.
16346 * bits/select.h: Likewise.
16347
16348 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16349
16350 * po/ja.po: Update from translation team.
16351
16352 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16353
16354 [BZ #11155]
16355 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16356 implementation just like for lxstat, fxstatat, et al.
16357
16358 2010-12-27 Jim Meyering <meyering@redhat.com>
16359
16360 [BZ #12348]
16361 * posix/regexec.c (build_trtable): Return failure indication upon
16362 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16363
16364 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16365
16366 [BZ #12201]
16367 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16368 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16369 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16370 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16371
16372 [BZ #12207]
16373 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16374
16375 [BZ #12204]
16376 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16377 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16378
16379 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16380
16381 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16382 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16383 script has SORT_BY_INIT_PRIORITY.
16384 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16385 NO_CTORS_DTORS_SECTIONS is defined.
16386 * elf/soinit.c: Likewise.
16387 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16388 NO_CTORS_DTORS_SECTIONS is defined.
16389 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16390 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16391 * sysdeps/sh/init-first.c: Likewise.
16392 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16393
16394 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16395
16396 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16397 always use the slow path.
16398
16399 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16400
16401 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16402 similar rule which adds the sysdep directories to the header search in
16403 order to pick up the correct platform stackinfo.h.
16404 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16405 perform test if it is, otherwise return successfully without testing.
16406 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16407 DEFAULT_STACK_PERMS define in stackinfo.h.
16408 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16409 defined in stackinfo.h.
16410 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16411 DEFAULT_STACK_PERMS defined in stackinfo.h.
16412 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16413 * sysdeps/ia64/stackinfo.h: Likewise.
16414 * sysdeps/s390/stackinfo.h: Likewise.
16415 * sysdeps/sh/stackinfo.h: Likewise.
16416 * sysdeps/sparc/stackinfo.h: Likewise.
16417 * sysdeps/x86_64/stackinfo.h: Likewise.
16418 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16419 PF_X for powerpc64. Retain PF_X for powerpc32.
16420
16421 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16422
16423 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16424 accurately.
16425 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16426 GETDENTS_64BIT_ALIGNED.
16427
16428 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16429
16430 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16431
16432 2010-12-10 Andreas Schwab <schwab@redhat.com>
16433
16434 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16435 _GNU_SOURCE.
16436
16437 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16438 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16439 Remove __restrict.
16440 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16441 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16442
16443 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16444
16445 [BZ #11655]
16446 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16447 are initialized.
16448
16449 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16450
16451 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16452
16453 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16454
16455 * po/it.po: Update from translation team.
16456
16457 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16458
16459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16460 unused codes.
16461
16462 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16463
16464 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16465
16466 2010-11-24 Andreas Schwab <schwab@redhat.com>
16467
16468 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16469 specially.
16470 (gaih_getanswer_slice): Likewise.
16471
16472 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16473
16474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16475
16476 2010-05-31 Petr Baudis <pasky@suse.cz>
16477
16478 [BZ #11149]
16479 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16480 silently even in the chroot mode.
16481
16482 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16483
16484 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16485 last patch a bit. Pretty printing
16486
16487 2010-05-31 Petr Baudis <pasky@suse.cz>
16488
16489 [BZ #10085]
16490 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16491 initialization of skip_initgroups_dyn.
16492
16493 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16494
16495 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16496 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16497
16498 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16499
16500 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16501
16502 2010-11-11 Andreas Schwab <schwab@redhat.com>
16503
16504 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16505 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16506 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16507 ($(objpfx)tst-fnmatch-mem): New rule.
16508 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16509 * posix/tst-fnmatch.c (main): Call mtrace.
16510
16511 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16512
16513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16514 Support Intel processor model 6 and model 0x2c.
16515
16516 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16517
16518 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16519 signed comparison.
16520
16521 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16522
16523 [BZ #12205]
16524 * string/test-strncasecmp.c (check_result): New function.
16525 (do_one_test): Use it.
16526 (check1): New function.
16527 (test_main): Use it.
16528 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16529 Support strcasecmp and strncasecmp.
16530
16531 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16532
16533 [BZ #12194]
16534 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16535 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16536
16537 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16538
16539 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16540 IFUNC support.
16541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16542 memset-x86-64.
16543 * sysdeps/x86_64/multiarch/bzero.S: New file.
16544 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16545 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16546 * sysdeps/x86_64/multiarch/memset.S: New file.
16547 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16549 Set bit_Prefer_SSE_for_memop for Intel processors.
16550 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16551 Define.
16552 (index_Prefer_SSE_for_memop): Define.
16553 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16554
16555 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16556
16557 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16558 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16559
16560 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16561
16562 [BZ #12191]
16563 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16564 (__x86_64_raw_data_cache_size_half): Likewise.
16565 (__x86_64_raw_shared_cache_size): Likewise.
16566 (__x86_64_raw_shared_cache_size_half): Likewise.
16567
16568 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16569 (__x86_64_raw_data_cache_size_half): Likewise.
16570 (__x86_64_raw_shared_cache_size): Likewise.
16571 (__x86_64_raw_shared_cache_size_half): Likewise.
16572 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16573 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16574 and __x86_64_raw_shared_cache_size_half. Round
16575 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16576 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16577 to multiple of 256 bytes.
16578
16579 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16580
16581 [BZ #12167]
16582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16583 of inacessible symlinks. Verify result of symlink before returning it.
16584 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16585 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16586
16587 2010-10-28 Erich Ritz <erichritz@gmail.com>
16588
16589 * math/math.h (isinf): Fix typo in comment.
16590
16591 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16592
16593 * po/da.po: Update from translation team.
16594
16595 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16596
16597 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16598 is added to the list.
16599
16600 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16601 Ulrich Drepper <drepper@gmail.com>
16602
16603 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16604 the global list here. Move code to...
16605 (_dl_add_to_namespace_list): ...here. New function.
16606 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16607 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16608 * elf/dl-load.c (lose): Don't remove the element from the list.
16609 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16610 (_dl_map_object): Likewise.
16611
16612 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16613
16614 [BZ #12159]
16615 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16616 into all bytes of SSE register.
16617 Patch by Richard Li <richardpku@gmail.com>.
16618
16619 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16620
16621 [BZ #12140]
16622 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16623 perturbing.
16624
16625 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16626
16627 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16628 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16630 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16632 submachine.
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16634
16635 2010-10-22 Andreas Schwab <schwab@redhat.com>
16636
16637 * include/dlfcn.h (__RTLD_SECURE): Define.
16638 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16639 mode & __RTLD_SECURE instead.
16640 (open_path): Rename preloaded parameter to secure.
16641 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16642 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16643 * elf/dl-deps.c (openaux): Likewise.
16644 * elf/rtld.c (struct map_args): Remove is_preloaded.
16645 (map_doit): Don't use it.
16646 (dl_main): Likewise.
16647 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16648 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16649
16650 2010-09-09 Andreas Schwab <schwab@redhat.com>
16651
16652 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16653 (sysd-rules-targets): Remove duplicates.
16654 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16655 rtld-%.$o dependency.
16656
16657 2010-10-18 Andreas Schwab <schwab@redhat.com>
16658
16659 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16660 _dl_map_object do it.
16661
16662 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16663
16664 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16665 fast fma builtins, define the macros in the C99 standard.
16666 (FP_FAST_FMAF): Likewise.
16667 (FP_FAST_FMAL): Likewise.
16668 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16669
16670 * bits/mathdef.h: Update copyright year.
16671 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16672
16673 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16674
16675 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16676 builtins, define the macros in the C99 standard.
16677 (FP_FAST_FMAF): Likewise.
16678 (FP_FAST_FMAL): Likewise.
16679 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16680 multiply/add.
16681 (FP_FAST_FMAF): Likewise.
16682
16683 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16684
16685 [BZ #3268]
16686 * math/libm-test.inc (fma_test): Some new testcases.
16687 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16688 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16689 y and infinite z. Do multiplication by C already in long double.
16690 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16692 y and infinite z. Do bitwise or of inexact bit into u.d.
16693 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16694 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16695 * sysdeps/i386/fpu/s_fma.S: Removed.
16696 * sysdeps/i386/fpu/s_fmal.S: Removed.
16697
16698 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16699
16700 [BZ #3268]
16701 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16703 computation is not scheduled after fetestexcept. Fix value
16704 of minimum denormal long double.
16705
16706 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16707
16708 [BZ #3268]
16709 * math/libm-test.inc (fma_test): Add some more tests.
16710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16711 correctly.
16712
16713 2010-10-15 Andreas Schwab <schwab@redhat.com>
16714
16715 * scripts/data/localplt-s390-linux-gnu.data: New file.
16716 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16717
16718 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16719
16720 [BZ #3268]
16721 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16722 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16723 instead of dbl-64.
16724 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16725 inlines.
16726 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16728 if one of x and y is very large and the other is subnormal.
16729 * sysdeps/s390/fpu/s_fmaf.c: New file.
16730 * sysdeps/s390/fpu/s_fma.c: New file.
16731 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16732 * sysdeps/powerpc/fpu/s_fma.S: New file.
16733 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16734 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16735 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16736
16737 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16738
16739 [BZ #3268]
16740 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16741 fma tests.
16742 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16743 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16744 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16745 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16746 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16747 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16749
16750 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16751
16752 [BZ #12078]
16753 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16754 * posix/bug-regex31.input: Add test case.
16755
16756 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16757
16758 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16759 * posix/bug-regex31.input: New file.
16760
16761 [BZ #12078]
16762 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16763 (parse_sub_exp): Fix last change, use postorder.
16764
16765 * posix/bug-regex31.c: New file.
16766 * posix/Makefile: Add rules to build and run bug-regex31.
16767
16768 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16769
16770 [BZ #12078]
16771 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16772
16773 [BZ #12108]
16774 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16775 to have entries in sys_siglist.
16776
16777 [BZ #12093]
16778 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16779 be NULL.
16780
16781 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16782
16783 [BZ #3268]
16784 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16785 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16786 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16787 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16788 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16789 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16790 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16791 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16792 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16793 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16794 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16795 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16796 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16797 * math/ftestexcept.c (fetestexcept): Likewise.
16798 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16799 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16800 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16801 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16802 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16803 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16805
16806 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16807
16808 [BZ #12107]
16809 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16810 newline.
16811
16812 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16813
16814 * string/bug-strstr1.c: New file.
16815 * string/Makefile: Add rules to build and run bug-strstr1.
16816
16817 2010-10-05 Eric Blake <eblake@redhat.com>
16818
16819 [BZ #12092]
16820 * string/str-two-way.h (two_way_long_needle): Always clear memory
16821 when skipping input due to the shift table.
16822
16823 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16824
16825 [BZ #12005]
16826 * malloc/mcheck.c: Handle large requests.
16827
16828 [BZ #12077]
16829 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16830 for strncmp and strncasecmp.
16831 * string/stratcliff.c: Add tests for strcmp and strncmp.
16832 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16833
16834 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16835
16836 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16837 __set_fpscr.
16838
16839 2010-09-30 Andreas Jaeger <aj@suse.de>
16840
16841 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16842 (CGROUP_SUPER_MAGIC): Define.
16843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16844 Handle btrfs and cgroup file systems.
16845 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16846 Likewise.
16847
16848 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16849
16850 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16851 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16852
16853 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16854
16855 [BZ #12067]
16856 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16857 trying to locate the ELF header.
16858
16859 2010-09-27 Andreas Schwab <schwab@redhat.com>
16860
16861 [BZ #11611]
16862 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16863 Mask out sign-bit copies when constructing f_fsid.
16864
16865 2010-09-24 Petr Baudis <pasky@suse.cz>
16866
16867 * debug/stack_chk_fail_local.c: Add missing licence exception.
16868 * debug/warning-nop.c: Likewise.
16869
16870 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16871
16872 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16873 implementing getdents64 using getdents syscall, set d_type if
16874 __ASSUME_GETDENTS32_D_TYPE.
16875
16876 2010-09-16 Andreas Schwab <schwab@redhat.com>
16877
16878 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16879 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16880
16881 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16882
16883 [BZ #12037]
16884 * posix/unistd.h: Undo change of feature selection for ftruncate from
16885 2010-01-11.
16886
16887 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16888
16889 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16890 detection.
16891
16892 2010-09-20 Andreas Schwab <schwab@redhat.com>
16893
16894 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16895 fanotify_mark.
16896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16897
16898 2010-09-14 Andreas Schwab <schwab@redhat.com>
16899
16900 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16901 variables after CHECK_SP call.
16902 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16903
16904 2010-09-13 Andreas Schwab <schwab@redhat.com>
16905 Ulrich Drepper <drepper@redhat.com>
16906
16907 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16908 re-relocationg ld.so.
16909 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16910 _dl_init_paths call.
16911 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16912 here anymore.
16913
16914 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16915
16916 * resolv/res_init.c (__res_vinit): Count the default server we added.
16917
16918 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16919 Ulrich Drepper <drepper@redhat.com>
16920
16921 [BZ #11968]
16922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16923 (____longjmp_chk): Use %ebx for saving value across system call.
16924 Add unwind info.
16925
16926 2010-09-06 Andreas Schwab <schwab@redhat.com>
16927
16928 * manual/Makefile: Don't mix pattern rules with normal rules.
16929
16930 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16931
16932 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16933 operation.
16934 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16935 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16936 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16937 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16939 Likewise.
16940
16941 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16942
16943 [BZ #11979]
16944 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16945 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16946
16947 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16948
16949 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16950 * sysdeps/x86_64/addmul_1.S: Likewise.
16951 * sysdeps/x86_64/lshift.S: Likewise.
16952 * sysdeps/x86_64/mul_1.S: Likewise.
16953 * sysdeps/x86_64/rshift.S: Likewise.
16954 * sysdeps/x86_64/sub_n.S: Likewise.
16955 * sysdeps/x86_64/submul_1.S: Likewise.
16956
16957 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16958
16959 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16960 Define __sched_param instead of SCHED_* and sched_param when
16961 <bits/sched.h> is included with __need_schedparam defined.
16962 * bits/sched.h [__need_schedparam]
16963 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16964 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16965 (__defined_schedparam): Define to 1.
16966 (__sched_param): New structure, identical to sched_param.
16967 (__need_schedparam): Undefine.
16968
16969 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16970
16971 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16972 (epoll_create1): Declare.
16973
16974 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16975
16976 2010-08-31 Andreas Schwab <schwab@redhat.com>
16977
16978 [BZ #7066]
16979 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16980 shifting retval into place.
16981
16982 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16983
16984 * nis/rpcsvc/nis.h: Update copyright notice.
16985 * nis/rpcsvc/nis.x: Likewise.
16986 * nis/rpcsvc/nis_callback.h: Likewise.
16987 * nis/rpcsvc/nis_callback.x: Likewise.
16988 * nis/rpcsvc/nis_object.x: Likewise.
16989 * nis/rpcsvc/nis_tags.h: Likewise.
16990 * nis/rpcsvc/yp.h: Likewise.
16991 * nis/rpcsvc/yp.x: Likewise.
16992 * nis/rpcsvc/ypupd.h: Likewise.
16993 * nis/yp_xdr.c: Likewise.
16994 * nis/ypupdate_xdr.c: Likewise.
16995
16996 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16997 mainly the body of pmap_getport. Add parameters to specify timeouts.
16998 (pmap_getport): Use __libc_rpc_getport.
16999 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17000 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17001 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17002
17003 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17004
17005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17006 fanotify_mark.
17007
17008 2010-08-27 Roland McGrath <roland@redhat.com>
17009
17010 * sysdeps/i386/i686/multiarch/Makefile
17011 (CFLAGS-varshift.c): New variable.
17012
17013 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17014
17015 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17016 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17017
17018 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17019
17020 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17021
17022 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17023
17024 * sysdeps/x86_64/strlen.S: Unroll the loop.
17025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17026 strlen-sse2 strlen-sse2-bsf.
17027 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17028 __strlen_no_bsf if bit_Slow_BSF is set.
17029 (__strlen_sse42): Removed.
17030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17031 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17032
17033 2010-08-25 Roland McGrath <roland@redhat.com>
17034
17035 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17036 * sysdeps/x86_64/multiarch/varshift.c: New file.
17037 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17038 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17039 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17040 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17041
17042 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17043
17044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17045 strlen-sse2 strlen-sse2-bsf.
17046 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17047 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17048 (__strlen_sse2): Removed.
17049 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17052 bit_Slow_BSF for Atom.
17053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17054 (index_Slow_BSF): Define.
17055 (HAS_SLOW_BSF): Define.
17056
17057 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17058
17059 [BZ #10851]
17060 * resolv/res_init.c (__res_vinit): When no server address at all
17061 is given default to loopback.
17062
17063 2010-08-24 Roland McGrath <roland@redhat.com>
17064
17065 * configure.in: Remove config-name.h generation.
17066 * configure: Regenerated.
17067 * config-name.in: File removed.
17068 * scripts/config-uname.sh: New file.
17069 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17070 ($(objdir)config-name.h): New target.
17071
17072 * sunrpc/rpc_parse.h: Avoid nested comment.
17073
17074 2010-08-24 Richard Henderson <rth@redhat.com>
17075 Ulrich Drepper <drepper@redhat.com>
17076 H.J. Lu <hongjiu.lu@intel.com>
17077
17078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17080 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17081 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17082 _mm_alignr_epi8 with _mm_loadu_si128.
17083 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17084 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17085 (__m128i_shift_right): Removed.
17086 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17087 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17088 * sysdeps/x86_64/multiarch/varshift.h: New file.
17089 * sysdeps/x86_64/multiarch/varshift.S: New file.
17090
17091 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17092
17093 * configure.in: Move assembler checks to before sysdep dir checking.
17094
17095 2010-08-20 Petr Baudis <pasky@suse.cz>
17096
17097 * LICENSES: Sync the sunrpc license.
17098
17099 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17100
17101 * sunrpc/auth_des.c: Update copyright notice once again.
17102 * sunrpc/auth_none.c: Likewise.
17103 * sunrpc/auth_unix.c: Likewise.
17104 * sunrpc/authdes_prot.c: Likewise.
17105 * sunrpc/authuxprot.c: Likewise.
17106 * sunrpc/bindrsvprt.c: Likewise.
17107 * sunrpc/clnt_gen.c: Likewise.
17108 * sunrpc/clnt_perr.c: Likewise.
17109 * sunrpc/clnt_raw.c: Likewise.
17110 * sunrpc/clnt_simp.c: Likewise.
17111 * sunrpc/clnt_tcp.c: Likewise.
17112 * sunrpc/clnt_udp.c: Likewise.
17113 * sunrpc/clnt_unix.c: Likewise.
17114 * sunrpc/des_crypt.c: Likewise.
17115 * sunrpc/des_soft.c: Likewise.
17116 * sunrpc/get_myaddr.c: Likewise.
17117 * sunrpc/getrpcport.c: Likewise.
17118 * sunrpc/key_call.c: Likewise.
17119 * sunrpc/key_prot.c: Likewise.
17120 * sunrpc/openchild.c: Likewise.
17121 * sunrpc/pm_getmaps.c: Likewise.
17122 * sunrpc/pm_getport.c: Likewise.
17123 * sunrpc/pmap_clnt.c: Likewise.
17124 * sunrpc/pmap_prot.c: Likewise.
17125 * sunrpc/pmap_prot2.c: Likewise.
17126 * sunrpc/pmap_rmt.c: Likewise.
17127 * sunrpc/rpc/auth.h: Likewise.
17128 * sunrpc/rpc/auth_unix.h: Likewise.
17129 * sunrpc/rpc/clnt.h: Likewise.
17130 * sunrpc/rpc/des_crypt.h: Likewise.
17131 * sunrpc/rpc/key_prot.h: Likewise.
17132 * sunrpc/rpc/netdb.h: Likewise.
17133 * sunrpc/rpc/pmap_clnt.h: Likewise.
17134 * sunrpc/rpc/pmap_prot.h: Likewise.
17135 * sunrpc/rpc/pmap_rmt.h: Likewise.
17136 * sunrpc/rpc/rpc.h: Likewise.
17137 * sunrpc/rpc/rpc_des.h: Likewise.
17138 * sunrpc/rpc/rpc_msg.h: Likewise.
17139 * sunrpc/rpc/svc.h: Likewise.
17140 * sunrpc/rpc/svc_auth.h: Likewise.
17141 * sunrpc/rpc/types.h: Likewise.
17142 * sunrpc/rpc/xdr.h: Likewise.
17143 * sunrpc/rpc_clntout.c: Likewise.
17144 * sunrpc/rpc_cmsg.c: Likewise.
17145 * sunrpc/rpc_common.c: Likewise.
17146 * sunrpc/rpc_cout.c: Likewise.
17147 * sunrpc/rpc_dtable.c: Likewise.
17148 * sunrpc/rpc_hout.c: Likewise.
17149 * sunrpc/rpc_main.c: Likewise.
17150 * sunrpc/rpc_parse.c: Likewise.
17151 * sunrpc/rpc_parse.h: Likewise.
17152 * sunrpc/rpc_prot.c: Likewise.
17153 * sunrpc/rpc_sample.c: Likewise.
17154 * sunrpc/rpc_scan.c: Likewise.
17155 * sunrpc/rpc_scan.h: Likewise.
17156 * sunrpc/rpc_svcout.c: Likewise.
17157 * sunrpc/rpc_tblout.c: Likewise.
17158 * sunrpc/rpc_util.c: Likewise.
17159 * sunrpc/rpc_util.h: Likewise.
17160 * sunrpc/rpcinfo.c: Likewise.
17161 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17162 * sunrpc/rpcsvc/key_prot.x: Likewise.
17163 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17164 * sunrpc/rpcsvc/mount.x: Likewise.
17165 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17166 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17167 * sunrpc/rpcsvc/rex.x: Likewise.
17168 * sunrpc/rpcsvc/rstat.x: Likewise.
17169 * sunrpc/rpcsvc/rusers.x: Likewise.
17170 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17171 * sunrpc/rpcsvc/spray.x: Likewise.
17172 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17173 * sunrpc/rtime.c: Likewise.
17174 * sunrpc/svc.c: Likewise.
17175 * sunrpc/svc_auth.c: Likewise.
17176 * sunrpc/svc_authux.c: Likewise.
17177 * sunrpc/svc_raw.c: Likewise.
17178 * sunrpc/svc_run.c: Likewise.
17179 * sunrpc/svc_simple.c: Likewise.
17180 * sunrpc/svc_tcp.c: Likewise.
17181 * sunrpc/svc_udp.c: Likewise.
17182 * sunrpc/svc_unix.c: Likewise.
17183 * sunrpc/svcauth_des.c: Likewise.
17184 * sunrpc/xcrypt.c: Likewise.
17185 * sunrpc/xdr.c: Likewise.
17186 * sunrpc/xdr_array.c: Likewise.
17187 * sunrpc/xdr_float.c: Likewise.
17188 * sunrpc/xdr_mem.c: Likewise.
17189 * sunrpc/xdr_rec.c: Likewise.
17190 * sunrpc/xdr_ref.c: Likewise.
17191 * sunrpc/xdr_sizeof.c: Likewise.
17192 * sunrpc/xdr_stdio.c: Likewise.
17193
17194 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17195 handling.
17196
17197 2010-08-19 Andreas Schwab <schwab@redhat.com>
17198
17199 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17200
17201 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17202
17203 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17204 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17205 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17206 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17207 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17208 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17209 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17210 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17211 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17212 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17213 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17214 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17215 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17216 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17217
17218 2010-07-26 Anton Blanchard <anton@samba.org>
17219
17220 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17221 * malloc/arena.c (heap_trim): Likewise.
17222
17223 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17224
17225 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17226 here. Not...
17227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17228 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17229
17230 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17231
17232 * sysdeps/i386/elf/Makefile: New file.
17233
17234 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17235
17236 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17237 from fanotify_init.
17238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17240
17241 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17242
17243 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17244 of strncasecmp_l.
17245 * sysdeps/multiarch/strcmp.S: Likewise.
17246
17247 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17248
17249 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17250 strncase_l-nonascii.
17251 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17252 Add strncase_l-ssse3.
17253 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17254 * sysdeps/x86_64/strcmp.S: Likewise.
17255 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17256 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17257 * sysdeps/x86_64/strncase.S: New file.
17258 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17259 * sysdeps/x86_64/strncase_l.S: New file.
17260 * string/Makefile (strop-tests): Add strncasecmp.
17261 * string/test-strncasecmp.c: New file.
17262
17263 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17264 warning.
17265
17266 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17267 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17268
17269 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17270
17271 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17272
17273 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17274
17275 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17276 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17277 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17278
17279 2010-05-01 Alan Modra <amodra@gmail.com>
17280
17281 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17282 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17283 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17284 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17285 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17286 tidying. Don't tail-call __sigjmp_save for static lib.
17287 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17288 save location.
17289 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17290 (CALL_MCOUNT): Add eh info, and nop after bl.
17291 (TAIL_CALL_SYSCALL_ERROR): New macro.
17292 (PSEUDO_RET): Use it.
17293 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17294 Correct save location of integer regs and cr.
17295 (_dl_profile_resolve): Correct cr save location. Delete nops
17296 after bl when SHARED. Reduce cfi size a little by better
17297 placement of cfi directives.
17298 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17299 make a stack frame. Instead use parm save area as a temp.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17301 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17303 Don't make a stack frame for parent, use parm save area.
17304 Increase child stack frame to 112 bytes. Don't save unused reg,
17305 and adjust reg usage. Set up cfi on error recovery and
17306 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17308 (__makecontext): Add dummy nop after jump to exit.
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17310 Use correct parm save area and cr save, reduce stack frame.
17311 Correct cfi for possible PSEUDO_RET frame setup.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17313 Branch to local label emitted by PSEUDO_RET rather than
17314 __syscall_error.
17315
17316 2010-08-12 Andreas Schwab <schwab@redhat.com>
17317
17318 [BZ #11904]
17319 * locale/programs/locale.c (print_assignment): New function.
17320 (show_locale_vars): Use it.
17321
17322 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17323
17324 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17325 field.
17326 (struct statfs64): Likewise.
17327 (_STATFS_F_FLAGS): Define.
17328 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17330 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17331 (ST_VALID): Define locally.
17332 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17333 __statvfs_getflags, use the provided value.
17334 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17335 __ASSUME_STATFS_F_FLAGS.
17336
17337 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17338
17339 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17340 Add sys/fanotify.h.
17341 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17342 fanotify_mask for GLIBC_2.13.
17343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17344 fanotify_init and fanotify_mark.
17345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17346 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17347
17348 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17349 Add prlimit.
17350 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17351 prlimit64 for GLIBC_2.13.
17352 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17353 prlimit64.
17354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17355 syscall.
17356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17358 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17360 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17361 add prlimit alias.
17362 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17363
17364 [BZ #11903]
17365 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17366 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17367
17368 * nss/Makefile: Add rules to build and run tst-nss-test1.
17369 * shlib-versions: Add entry for libnss_test1.
17370 * nss/nss_test1.c: New file.
17371 * nss/tst-nss-test1.c: New file.
17372
17373 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17374 (__nss_configure_lookup): Set appropriate entry in
17375 __nss_configure_lookup to true.
17376 * nss/nsswitch.h: Define enum with indeces of databases in
17377 databases and __nss_database_custom arrays. Declare
17378 __nss_database_custom.
17379 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17380 to avoid using nscd when custom rules are installed.
17381 * nss/getXXbyYY_r.c: Likewise.
17382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17383
17384 * nss/nss_files/files-parse.c: Whitespace fixes.
17385
17386 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17387
17388 [BZ #11883]
17389 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17390 * posix/fnmatch_loop.c: Likewise.
17391
17392 2010-07-17 Andi Kleen <ak@linux.intel.com>
17393
17394 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17395 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17396 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17397 * Versions.def [GLIBC_2.13]: Add.
17398
17399 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17400
17401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17402 Also fail if tpwd after pwuid call is NULL.
17403
17404 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17405
17406 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17407 when converting to ms.
17408
17409 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17410
17411 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17412 EOPNOTSUPP errors with ENOTTY.
17413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17414 EOPNOTSUPP errors with ENOTTY.
17415
17416 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17417
17418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17419 Add strcasecmp_l-ssse3.
17420 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17421 strcasecmp.
17422 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17423 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17424 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17425
17426 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17427
17428 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17429
17430 * string/Makefile (strop-tests): Add strcasecmp.
17431 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17432 strcasecmp_l-nonascii.
17433 (gen-as-const-headers): Add locale-defines.sym.
17434 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17435 * sysdeps/x86_64/strcasecmp.S: New file.
17436 * sysdeps/x86_64/strcasecmp_l.S: New file.
17437 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17438 * sysdeps/x86_64/locale-defines.sym: New file.
17439 * string/test-strcasecmp.c: New file.
17440
17441 * string/test-strcasestr.c: Test both ends of the range of characters.
17442 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17443
17444 2010-07-29 Roland McGrath <roland@redhat.com>
17445
17446 [BZ #11856]
17447 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17448
17449 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17450
17451 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17452 for ld.so.
17453
17454 2010-07-27 Andreas Schwab <schwab@redhat.com>
17455
17456 * manual/memory.texi (Malloc Tunable Parameters): Document
17457 M_PERTURB.
17458
17459 2010-07-26 Roland McGrath <roland@redhat.com>
17460
17461 [BZ #11840]
17462 * configure.in (-fgnu89-inline check): Set and substitute
17463 gnu89_inline, not libc_cv_gnu89_inline.
17464 * configure: Regenerated.
17465 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17466
17467 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17468
17469 * string/test-strnlen.c: New file.
17470 * string/Makefile (strop-tests): Add strnlen.
17471 * string/tester.c (test_strnlen): Add a few more test cases.
17472 * string/tst-strlen.c: Better error reporting.
17473
17474 * sysdeps/x86_64/strnlen.S: New file.
17475
17476 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17477
17478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17479 lower-latency instructions.
17480
17481 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17482
17483 * string/test-strcasestr.c: New file.
17484 * string/test-strstr.c: New file.
17485 * string/Makefile (strop-tests): Add strstr and strcasestr.
17486 * string/str-two-way.h: Don't undefine MAX.
17487 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17488
17489 2010-07-21 Andreas Schwab <schwab@redhat.com>
17490
17491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17492 strcasestr-nonascii.
17493 (CFLAGS-strcasestr-nonascii.c): Define.
17494 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17496 Remove unused attribute.
17497
17498 2010-07-20 Roland McGrath <roland@redhat.com>
17499
17500 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17501 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17502 ld.so.cache was broken. With it, there is no way to disable dsocaps
17503 like LD_HWCAP_MASK can disable hwcaps.
17504
17505 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17506
17507 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17508
17509 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17510
17511 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17512 call in strcasestr.
17513 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17514 __strcasestr_sse42_nonascii.
17515 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17516 strcasestr-nonascii.c.
17517 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17518
17519 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17520
17521 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17522 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17523 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17524 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17525
17526 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17527
17528 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17529 fcntl.
17530
17531 2010-07-06 Andreas Schwab <schwab@redhat.com>
17532
17533 [BZ #11577]
17534 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17535 dl_signal_cerror.
17536
17537 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17538
17539 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17540 _PC_PIPE_BUF using F_GETPIPE_SZ.
17541
17542 2010-07-05 Roland McGrath <roland@redhat.com>
17543
17544 * manual/arith.texi (Rounding Functions): Fix rint description
17545 implicit in round description.
17546
17547 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17548
17549 * elf/Makefile: Fix linking for a few tests to make recent linker
17550 happy.
17551
17552 2010-06-30 Andreas Schwab <schwab@redhat.com>
17553
17554 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17555 $(common-objpfx)libc_nonshared.a.
17556
17557 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17558
17559 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17560 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17561 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17562 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17563 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17564 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17565 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17566 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17581 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17582 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17583 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17584 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17585 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17586 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17587 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17588 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17589 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17590 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17591 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17592 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17607
17608 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17609
17610 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17611 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17612 * string/memmove.c (memmove): Renamed to ...
17613 (MEMMOVE): ...this. Default to memmove.
17614 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17615 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17616 (END_CHK): Define.
17617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17618 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17619 mempcpy-ssse3-back memmove-ssse3-back.
17620 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17623 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17624 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17625 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17626 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17627 * sysdeps/x86_64/multiarch/memmove.c: New file.
17628 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17629 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17630 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17631 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17632 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17634 Define.
17635 (index_Fast_Copy_Backward): Define.
17636 (HAS_ARCH_FEATURE): Define.
17637 (HAS_FAST_REP_STRING): Define.
17638 (HAS_FAST_COPY_BACKWARD): Define.
17639
17640 2010-06-21 Andreas Schwab <schwab@redhat.com>
17641
17642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17643 Restore proper fallback handling.
17644
17645 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17646
17647 [BZ #11701]
17648 * posix/group_member.c (__group_member): Correct checking loop.
17649
17650 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17651 OOM in getpwuid_r correctly. Return error number when the caller
17652 should return, otherwise -1.
17653 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17654 call returning > 0 value.
17655 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17656
17657 2010-06-07 Andreas Schwab <schwab@redhat.com>
17658
17659 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17660 libc_nonshared.a from targets in modules-names.
17661
17662 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17663
17664 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17665 requires it.
17666
17667 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17668
17669 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17670 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17673
17674 2010-06-02 Andreas Schwab <schwab@redhat.com>
17675
17676 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17677
17678 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17679
17680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17681 and F_GETPIPE_SZ.
17682 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17687 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17688
17689 2010-06-14 Roland McGrath <roland@redhat.com>
17690
17691 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17692
17693 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17694
17695 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17696 __REDIRECT followed by __THROW.
17697 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17698 * posix/getopt.h (getopt): Likewise.
17699
17700 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17701
17702 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17703 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17704 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17705 in AT_FLAGS.
17706 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17707 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17708
17709 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17710
17711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17712
17713 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17714
17715 [BZ #11640]
17716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17717 Properly check family and model.
17718
17719 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17720
17721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17722
17723 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17724
17725 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17726
17727 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17728
17729 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17730 symbol reference.
17731
17732 2010-05-19 Andreas Schwab <schwab@redhat.com>
17733
17734 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17735 symbol reference.
17736
17737 2010-05-21 Andreas Schwab <schwab@redhat.com>
17738
17739 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17740 and internal_recvmmsg.
17741 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17742 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17743 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17744 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17745
17746 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17747 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17748 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17749
17750 2010-05-20 Andreas Schwab <schwab@redhat.com>
17751
17752 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17753
17754 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17755
17756 POWER7 optimizations.
17757 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17758 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17759
17760 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17761
17762 * version.h: Update for 2.13 development version.
17763
17764 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17765
17766 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17767 exceptions. Return 0.
17768
17769 2010-05-07 Roland McGrath <roland@redhat.com>
17770
17771 * elf/ldconfig.c (main): Add a const.
17772
17773 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17774
17775 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17776 (args_options): Add no-idn option.
17777 (ahosts_keys_int): Add idn_flags to ai_flags.
17778 (parse_option): Handle 'i' option to clear idn_flags.
17779
17780 * malloc/malloc.c (_int_free): Possible race in the most recently
17781 added check. Only act on the data if no current modification
17782 happened.
17783
17784 See ChangeLog.17 for earlier changes.