]> sourceware.org Git - glibc.git/blame - ChangeLog
Generic sys/param.h fixes for missing SYMLOOP_MAX or NGROUPS_MAX.
[glibc.git] / ChangeLog
CommitLineData
09c0ee5f
RM
12012-08-01 Roland McGrath <roland@hack.frob.com>
2
48aec5b9
RM
3 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5
cd97c966
RM
6 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7 Define mkstemp64 as an alias.
8 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9 Define mkostemp64 as an alias.
10 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11 Conditionalize body on this.
12 * misc/mkostemp64.c: Likewise.
13 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15 * sysdeps/wordsize-64/mkostemp.c: File removed.
16 * sysdeps/wordsize-64/mkstemp.c: File removed.
17 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21
09c0ee5f
RM
22 [BZ #14138]
23 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27
28 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29 compat_symbol macros from <shlib-compat.h> rather than the underlying
30 default_symbol_version and symbol_version macros, so that DEFAULT
31 lines in shlib-versions are respected.
32 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33
7e66ee51
FW
342012-08-01 Florian Weimer <fweimer@redhat.com>
35
36 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37 Declare with warn_unused_result.
38 (setgid, setregid, setegid, setresgid): Likewise.
39 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40 Likewise.
41 * WUR-REPORT: Remove set*id functions.
42
d2a54255
PT
432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44
45 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46
7ecdb005
RM
472012-07-31 Roland McGrath <roland@hack.frob.com>
48
789bd351
RM
49 * include/sys/socket.h (__libc_accept, __libc_accept4):
50 Add attribute_hidden.
51 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52
40ce302d
RM
53 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54 use of PTR_MANGLE.
55 * inet/getnetgrent_r.c (setup): Likewise.
56
7ecdb005
RM
57 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58
e2eabb2c
DM
592012-07-31 David S. Miller <davem@davemloft.net>
60
61 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62
d0419dbf
JM
632012-07-31 Joseph Myers <joseph@codesourcery.com>
64
65 [BZ #13629]
66 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67 value between 1.0 and 2.0 and smaller part has absolute value less
68 than 1.0.
69 * math/s_clog10.c (__clog10): Likewise.
70 * math/s_clog10f.c (__clog10f): Likewise.
71 * math/s_clog10l.c (__clog10l): Likewise.
72 * math/s_clogf.c (__clogf): Likewise.
73 * math/s_clogl.c (__clogl): Likewise.
74 * math/libm-test.inc (clog_test): Add more tests.
75 (clog10_test): Likewise.
76 * sysdeps/i386/fpu/libm-test-ulps: Update.
77 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78
2bc13872
FW
792012-07-31 Florian Weimer <fweimer@redhat.com>
80
81 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
82 Exit with zero in case no suitable GID is found, and write a
83 message to standard error.
84
bea9b193
RM
852012-07-30 Roland McGrath <roland@hack.frob.com>
86
87 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
88 rather than to 1.
89 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
90 (MAXPATHLEN): Removed.
91 (NOGROUP, NODEV): New macros.
92 (setbit, clrbit, isset, isclr): New macros.
93 (howmany, roundup, powerof2): New macros.
94 (DEV_BSIZE): New macro.
95
96 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
97 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
98
99 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
100 definition on [!__NO_LONG_DOUBLE_MATH].
101
102 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
103 PTR_MANGLE and PTR_DEMANGLE.
104
105 * socket/accept4.c (accept4): Rename to __libc_accept4.
106 Define accept4 as a weak alias.
107
108 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
109 on [_DIRENT_HAVE_D_TYPE].
110 * io/ftw.c (ftw_dir): Likewise.
111
112 * io/xmknod.c (__xmknod): Don't check PATH for being null.
113
114 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
115
116 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
117 Use the BSD numbers rather than the arbitrary ones we had.
118 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
119 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
120 (SIGXCPU, SIGXFSZ): New macros.
121 (_NSIG): Now 32.
122
123 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
124 initializer on [_LIBC_REENTRANT].
125
126 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
127 definitions inside [_POSIX_MAPPED_FILES].
128
129 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
130
131 * dirent/opendir.c: Include <fcntl.h>.
132
133 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
134 (__libc_getspecific): Likewise.
135 (__libc_key_create): Likewise.
136
137 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
138 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
139 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
140 (tmpfile64): Define as alias.
141 * sysdeps/wordsize-64/tmpfile.c: File removed.
142 * sysdeps/wordsize-64/tmpfile64.c: File removed.
143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
144 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
145
146 * stdio-common/vfscanf.c: Include <stdbool.h>.
147 * nss/makedb.c: Likewise.
148 * stdio-common/_i18n_number.h: Likewise.
149 * argp/argp-help.c: Likewise.
150 * posix/wordexp.c: Likewise.
151 * sysdeps/posix/spawni.c: Likewise.
152 * nss/nss_files/files-initgroups.c: Likewise.
153 * stdio-common/reg-modifier.c: Include <stdlib.h>.
154 * nss/nss_files/files-initgroups.c: Likewise.
155 * nss/nss_db/db-netgrp.c: Likewise.
156 * nss/nss_db/db-initgroups.c: Likewise.
157 * io/fchmodat.c: Include <sys/stat.h>.
158
159 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
160 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
161
162 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
163 [HAVE_MMAP].
164
165 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
166 Add multiple inclusion protection.
167
e5abc686
DM
1682012-07-27 David S. Miller <davem@davemloft.net>
169
170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
171
815e6fa3
GB
1722012-07-27 Gary Benson <gbenson@redhat.com>
173
174 [BZ #14298]
175 * elf/rtld.c: Include <stap-probe.h>.
176 (dl_main): Added static probes "init_start" and "init_complete".
177 * elf/dl-load.c: Include <stap-probe.h>.
178 (lose): Take new parameter "nsid".
179 Added static probe "map_failed".
180 (_dl_map_object_from_fd): Pass namespace id to lose.
181 Added static probe "map_start".
182 (open_verify): Pass namespace id to lose.
183 * elf/dl-open.c: Include <stap-probe.h>.
184 (dl_open_worker) Added static probes "map_complete", "reloc_start"
185 and "reloc_complete".
186 * elf/dl-close.c: Include <stap-probe.h>.
187 (_dl_close_worker): Added static probes "unmap_start" and
188 "unmap_complete".
189 * elf/rtld-debugger-interface.txt: New file documenting the above.
190
9f98c16c
RM
1912012-07-26 Roland McGrath <roland@hack.frob.com>
192
193 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
194 rather than a string variable.
195 * sunrpc/rpc_main.c (h_output): Likewise.
196 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
197
f3c22df3
PT
1982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
199
200 * inet/check_native.c: New file.
201
3129cfc6
JM
2022012-07-26 Joseph Myers <joseph@codesourcery.com>
203
da865e95
JM
204 [BZ #13629]
205 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
206 if larger part has absolute value 1.0.
207 * math/s_clog10.c (__clog10): Likewise.
208 * math/s_clog10f.c (__clog10f): Likewise.
209 * math/s_clog10l.c (__clog10l): Likewise.
210 * math/s_clogf.c (__clogf): Likewise.
211 * math/s_clogl.c (__clogl): Likewise.
212 * math/libm-test.inc (clog_test): Add more tests.
213 (clog10_test): Likewise.
214 * sysdeps/i386/fpu/libm-test-ulps: Update.
215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
216
3129cfc6
JM
217 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
218 (pltexit): Likewise.
219 (La_regs): Likewise.
220 (La_retval): Likewise.
221 (int_retval): Likewise.
222 Update #error for removed macros to refer only to definitions in
223 tst-audit.h.
224 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
225 macro.
226 (pltexit): Likewise.
227 (La_regs): Likewise.
228 (La_retval): Likewise.
229 (int_retval): Likewise.
230 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
231 macro.
232 (pltexit): Likewise.
233 (La_regs): Likewise.
234 (La_retval): Likewise.
235 (int_retval): Likewise.
236 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
237 macro.
238 (pltexit): Likewise.
239 (La_regs): Likewise.
240 (La_retval): Likewise.
241 (int_retval): Likewise.
242 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
243 macro.
244 (pltexit): Likewise.
245 (La_regs): Likewise.
246 (La_retval): Likewise.
247 (int_retval): Likewise.
248 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
249 macro.
250 (pltexit): Likewise.
251 (La_regs): Likewise.
252 (La_retval): Likewise.
253 (int_retval): Likewise.
254 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
255 macro.
256 (pltexit): Likewise.
257 (La_regs): Likewise.
258 (La_retval): Likewise.
259 (int_retval): Likewise.
260 * sysdeps/generic/tst-audit.h: Update comment to refer only to
261 macro definitions in tst-audit.h.
262 * sysdeps/i386/tst-audit.h: New file.
263 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
264 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
265 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
266 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
267 * sysdeps/sh/tst-audit.h: Likewise.
268 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
269 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
270 * sysdeps/x86_64/tst-audit.h: Likewise.
271
bfc07087
AJ
2722012-07-26 Andreas Jaeger <aj@suse.de>
273
b1b2aaf8
AJ
274 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
275 ptrace.
276
277 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
278 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
279 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
280 PTRACE_O_MASK.
281 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
282 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
284
bfc07087
AJ
285 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
286 value.
287
288 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
289 _sigsys.
290 (si_call_addr, si_syscall, si_arch): Define new macro.
291 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
292 _sigsys.
293 (si_call_addr, si_syscall, si_arch): Define new marcro.
294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
295 _sigsys.
296 (si_call_addr, si_syscall, si_arch): Define new macro.
297 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
298 _sigsys.
299 (si_call_addr, si_syscall, si_arch): Define new macro.
300
89b4b02f
JM
3012012-07-25 Joseph Myers <joseph@codesourcery.com>
302
303 [BZ #13717]
304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
305 Change to 2.4.21 where previously 2.4.1.
306 * sysdeps/unix/sysv/linux/configure: Regenerated.
307 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
308 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
309 Linux kernel version.
310 (__ASSUME_STD_AUXV): Remove.
311 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
312 kernel version.
313 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
314 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
315 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
316 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
317 (__ASSUME_NETLINK_SUPPORT): Likewise.
318 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
319 (__no_netlink_support): Remove conditional definition.
320 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
321 Remove.
322 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
323 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
324 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
325 (if_nameindex_ioctl): Remove.
326 (if_nameindex_netlink): Do not handle __no_netlink_support.
327 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
328 code.
329 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
330 Remove conditional code.
331 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
332 code.
333 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
334 unconditional.
335 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
336 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
337 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
338 Remove.
339 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
340 [!__ASSUME_STD_AUXV]: Remove conditional code.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
342 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
343 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
345 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
346 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
347 code.
348 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
350 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
351 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
352 conditional code.
353 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
355 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
356 code.
357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
358 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
359 conditional code.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
361 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
362 code unconditional.
363 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
364 conditional code.
365 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
366 unconditional.
367 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
368 conditional code.
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
370 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
371 unconditional.
372 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
373 conditional code.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
375 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
376 code unconditional.
377 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
378 conditional code.
379 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
380 unconditional.
381 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
382 conditional code.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
384 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
385 code unconditional.
386 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
387 conditional code.
388 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
389 unconditional.
390 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
391 conditional code.
392
842a39cd
AS
3932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
394
395 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
396 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
397 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
398 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
399 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
400 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
401 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
402 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
403 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
404 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
405 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
406 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
407 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
408 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
410 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
411 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
412 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
413 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
415 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
416 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
418
84b3fd84
FW
4192012-07-25 Florian Weimer <fweimer@redhat.com>
420
421 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
422 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
423 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
424 Introduce __libc_secure_getenv.
0c7936d5
FW
425 * stdlib/Versions (2.17): Add secure_getenv
426 (GLIBC_PRIVATE): Add __libc_secure_getenv.
427 * stdlib/secure-getenv.c: Rename __secure_getenv to
428 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
429 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
430 * stdlib/tst-secure-getenv.c: New.
431 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
432 * manual/startup.texi (Environment Access): Document
433 secure_getenv.
84b3fd84
FW
434 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
435 __libc_secure_getenv.
436 * inet/ruserpass.c (ruserpass): Likewise.
437 * malloc/mtrace.c (mtrace): Likewise.
438 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 439 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
440 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
441 * sysdeps/posix/tempname.c: Likewise. Evaluate
442 HAVE_SECURE_GETENV.
443 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 444 __secure_getenv to __libc_secure_getenv.
84b3fd84 445 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
447 Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
449 Likewise.
450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 457
56e49b71
JM
4582012-07-25 Joseph Myers <joseph@codesourcery.com>
459
460 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
461 (struct La_i86_retval): Likewise.
462 (struct La_x86_64_regs): Likewise.
463 (struct La_x86_64_retval): Likewise.
464 (struct La_x32_regs): Likewise.
465 (struct La_x32_retval): Likewise.
466 (struct La_ppc32_regs): Likewise.
467 (struct La_ppc32_retval): Likewise.
468 (struct La_ppc64_regs): Likewise.
469 (struct La_ppc64_retval): Likewise.
470 (struct La_sh_regs): Likewise.
471 (struct La_sh_retval): Likewise.
472 (struct La_s390_32_regs): Likewise.
473 (struct La_s390_32_retval): Likewise.
474 (struct La_s390_64_regs): Likewise.
475 (struct La_s390_64_retval): Likewise.
476 (struct La_sparc32_regs): Likewise.
477 (struct La_sparc32_retval): Likewise.
478 (struct La_sparc64_regs): Likewise.
479 (struct La_sparc64_retval): Likewise.
480 (struct audit_ifaces): Remove architecture-specific pltenter and
481 pltexit members.
482 * sysdeps/i386/ldsodefs.h: New file.
483 * sysdeps/powerpc/ldsodefs.h: Likewise.
484 * sysdeps/s390/ldsodefs.h: Likewise.
485 * sysdeps/sh/ldsodefs.h: Likewise.
486 * sysdeps/sparc/ldsodefs.h: Likewise.
487 * sysdeps/x86_64/ldsodefs.h: Likewise.
488
354691b7
MP
4892012-07-25 Marek Polacek <polacek@redhat.com>
490
491 [BZ #6808]
492 * math/libm-test.inc (yn_test): Add another test.
493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
494 to ERANGE when the result is +-Inf.
495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
496 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
497 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
498 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
499
bf9e2071
JM
5002012-07-24 Joseph Myers <joseph@codesourcery.com>
501
502 * conform/data/time.h-data (NULL): Use macro-constant. Require
503 equal to 0.
504 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
505 clock_t.
506 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
507
57633811
TS
5082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
509
510 * configure.in <sysdeps resolving>: Correct printing
511 Implies_before.
512 * configure: Regenerate.
513
c23c33b0
TS
5142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
515
516 * math/w_ilogb.c: Include <limits.h>.
517 * math/w_ilogbl.c: Likewise.
518
b5982523
JM
5192012-07-20 Joseph Myers <joseph@codesourcery.com>
520
521 * manual/lang.texi (__va_copy): Document primarily as ISO C99
522 va_copy. Document allowing for unavailable va_copy only as
523 pre-C99 compatibility.
524 * manual/string.texi (Copying and Concatenation): Use va_copy
525 instead of __va_copy in concat example.
526
ac4ea442
PT
5272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
528
529 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
530 (__sendto): Use create_address_port. Initialize APORT and deallocate
531 it if not null.
532
f98eafbd
PT
533 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
534 with O_NOLINK passed to __file_name_lookup.
535
898c7aab
PT
536 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
537 with O_NOLINK passed to __file_name_lookup.
538
0ced335a
PT
539 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
540 negative N or less than NGIDS.
541
b3404dbd
PT
542 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
543 type to string_t. Set ERANGE as errno and return it if NAME is not big
544 enough. Use memcpy instead of strncpy.
545
0f48659e
JM
5462012-07-20 Joseph Myers <joseph@codesourcery.com>
547
548 * elf/Makefile (check-data): Remove.
549 (localplt.data): New vpath directive.
550 ($(objpfx)check-localplt.out): Use localplt.data from vpath
551 instead of $(check-data).
552 * scripts/data/localplt-generic.data: Move to ...
553 * sysdeps/generic/localplt.data: ... here.
554 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
555 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
556 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
558 ... here.
559 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
561 ... here.
562 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
564 ... here.
565 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
567 ... here.
568 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
570 ... here.
571 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
573 ... here.
574
d37cbdaa
AZ
5752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
576
577 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
578 PPC32 and PPC64 files.
579 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
580 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
581
46f85fc2
AK
5822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
583
584 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
585 __makecontext_ret to ...
586 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
587 ... here and call exit if uc_link is NULL. New file.
588 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
589 __makecontext_ret.S.
590 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
591 __makecontext_ret to ...
592 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
593 ... here and call exit if uc_link is NULL. New file.
594 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
595 __makecontext_ret.S.
596
08f43f9b
AK
5972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
598
599 * elf/elf.h (R_390_IRELATIVE): New definition.
600 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
601 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
602 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
603 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
604 (elf_machine_lazy_rel): Likewise.
605 * sysdeps/s390/dl-irel.h: New file.
606 * sysdeps/s390/s390-64/memcpy.S: New asm code.
607 * sysdeps/s390/s390-64/memset.S: New asm code.
608 * sysdeps/s390/s390-64/memcmp.S: New asm code.
609 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
610 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
611 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
612 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
613 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
614 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
615 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
616 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
617 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
618 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
619 * sysdeps/s390/s390-32/memcpy.S: New asm code.
620 * sysdeps/s390/s390-32/memset.S: New asm code.
621 * sysdeps/s390/s390-32/memcmp.S: New asm code.
622
3b05db33
MP
6232012-07-17 Marek Polacek <polacek@redhat.com>
624
625 [BZ #14349]
626 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
627 * sysdeps/s390/s390-64/configure.in: Likewise.
628 * sysdeps/sparc/configure.in: Likewise.
629 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
630 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
631 * sysdeps/i386/configure.in: Likewise.
632 * sysdeps/x86_64/configure.in: Likewise.
633 * sysdeps/sh/configure.in: Likewise.
634 * sysdeps/s390/s390-32/configure: Regenerated.
635 * sysdeps/s390/s390-64/configure: Likewise.
636 * sysdeps/x86_64/configure: Likewise.
637 * sysdeps/sh/configure: Likewise.
638 * sysdeps/powerpc/powerpc64/configure: Likewise.
639 * sysdeps/powerpc/powerpc32/configure: Likewise.
640 * sysdeps/sparc/configure: Likwise.
641 * sysdeps/i386/configure: Likewise.
642
a66877c6
MP
643 * elf/dl-open.c: Comment fixes.
644
cfc82fd8
JM
6452012-07-17 Joseph Myers <joseph@codesourcery.com>
646
bd29910a
JM
647 * Makefile [CXX] (check-data): Remove.
648 [CXX] (c++-types.data): New vpath directive.
649 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
650 vpath. Do not allow for C++ type data being missing.
651 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
652 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
653 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
654 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
655 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
656 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
657 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
659 ... here.
660 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
662 ... here.
663 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
665 ... here.
666 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
668 ... here.
669 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
671 ... here.
672 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
674 ... here.
675 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
677 ... here.
678 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
680
cfc82fd8
JM
681 * elf/tls-macros.h (TLS_LE): Move architecture-specific
682 definitions to architecture-specific files.
683 (TLS_IE): Likewise.
684 (TLS_LD): Likewise.
685 (TLS_GD): Likewise.
686 * sysdeps/i386/tls-macros.h: New file.
687 * sysdeps/powerpc/tls-macros.h: Likewise.
688 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
689 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
690 * sysdeps/sh/tls-macros.h: Likewise.
691 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
692 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
693 * sysdeps/x86_64/tls-macros.h: Likewise.
694
f7db3170
TS
6952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
696
07cbfc23
TS
697 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
698 zero value for regular exit case.
699
f7db3170
TS
700 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
701 (__start_context): Preserve zero value for regular exit case.
702
dc97c227
TS
7032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
704 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
705
706 * manual/setjmp.texi (setcontext): Clarify normal process
707 termination when uc_link is the null pointer.
708 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
709 exit call.
710
d0cd7d02
AS
7112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
712
713 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
714 preprocessor. Test for each exception mask separately.
715
dd318934
AJ
7162012-07-16 Andreas Jaeger <aj@suse.de>
717
718 * po/ru.po: Update from translation team.
719
8048311a
JM
7202012-07-15 Joseph Myers <joseph@codesourcery.com>
721
722 * conform/data/string.h-data (NULL): Use macro-constant. Require
723 equal to 0.
724 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
725 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
726 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
727 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
729
b637d46e
AJ
7302012-07-13 Andreas Jaeger <aj@suse.de>
731
732 * po/fr.po: Update from translation team.
733
541428fe
MP
7342012-07-12 Marek Polacek <polacek@redhat.com>
735
736 [BZ #14173]
737 * math/libm-test.inc (yn_test): Add test for BZ #14173.
738 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
739 loop condition.
740
ec332e94
JM
7412012-07-12 Joseph Myers <joseph@codesourcery.com>
742
743 [BZ #13717]
744 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
745 Change to 2.4.1 where previously 2.4.0.
746 * sysdeps/unix/sysv/linux/configure: Regenerated.
747 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
748 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
749 version.
750 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
751 (__ASSUME_AT_CLKTCK): Remove.
752 (__ASSUME_AT_PAGESIZE): Likewise.
753 (__ASSUME_AT_XID): Likewise.
754 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
755 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
756 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
757 unconditionally.
758 (HAVE_AUX_PAGESIZE): Likewise.
759 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
760 [__ASSUME_AT_CLKTCK]: Make code unconditional.
761 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
762
7b6e99be
JB
7632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
764
765 [BZ #14307]
766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
767 the temporary buffer used to invoke __gethostbyname2_r,
768 __gethostbyaddr_r and gethostbyname4_r to make room for struct
769 host_data / struct gaih_addrtuple.
770 * resolv/nss_dns/dns-host.c (global scope): Move definition of
771 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
772 header file nss/nsswitch.h.
773 * nss/nsswitch.h (global scope): Add definition of implementation
774 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
775 resolv/nss_dns/dns-host.c).
776
608404eb
AJ
7772012-07-11 Andreas Jaeger <aj@suse.de>
778
779 * po/fr.po: Update from translation team.
780
71220aca
AJ
781 * po/sv.po: Update from translation team
782 * po/fr.po: Another update from translation team.
783
28cfe843
AZ
7842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785
786 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
787 for subnormals or multiply small sinh result by itself.
788 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
790
6b90f981
DM
7912012-07-11 David S. Miller <davem@davemloft.net>
792
793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
794
c6825772
AS
7952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
796
797 [BZ #14347]
798 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
799 (INTERNAL_MARK): Shift it here.
800
7b8e0d49
MP
8012012-07-10 Marek Polacek <polacek@redhat.com>
802
803 [BZ #14151]
804 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
805 libc_cv_asm_global_directive with .globl.
806 * configure: Regenerated.
807 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
808 with .globl.
809 * sysdeps/i386/configure: Regenerated.
810 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
811 with .globl.
812 * sysdeps/x86_64/configure: Regenerated.
813 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
814 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
815 * elf/tst-unique2mod2.c: Likewise.
816 * elf/tst-unique2mod1.c: Likewise.
817 * elf/tst-unique1mod2.c: Likewise.
818 * elf/tst-unique1mod1.c: Likewise.
819 * sysdeps/s390/s390-32/sysdep.h: Likewise.
820 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
822 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
823 * sysdeps/mach/sysdep.h: Likewise.
824 * sysdeps/i386/sysdep.h: Likewise.
825 * sysdeps/i386/i386-mcount.S: Likewise.
826 * sysdeps/x86_64/_mcount.S: Likewise.
827 * sysdeps/x86_64/sysdep.h: Likewise.
828 * sysdeps/sh/_mcount.S: Likewise.
829 * sysdeps/sh/sysdep.h: Likewise.
830 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
831 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
832 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
833 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
834 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
835 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
836 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
837 * locale/localeinfo.h: Likewise.
838 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
839 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
840
6c55cda3
RM
8412012-07-09 Roland McGrath <roland@hack.frob.com>
842
843 [BZ #14336]
844 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
845 system".
846 * manual/message.texi (The Uniforum approach): Likewise.
847 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
848 (glibc iconv Implementation): Likewise.
849
638a572e
JM
8502012-07-09 Joseph Myers <joseph@codesourcery.com>
851
852 [BZ #14337]
853 * math/s_clog.c (__clog): Avoid scaling a value down where that
854 could result in underflow.
855 * math/s_clog10.c (__clog10): Likewise.
856 * math/s_clog10f.c (__clog10f): Likewise.
857 * math/s_clog10l.c (__clog10l): Likewise.
858 * math/s_clogf.c (__clogf): Likewise.
859 * math/s_clogl.c (__clogl): Likewise.
860 * math/libm-test.inc (clog_test): Add more tests.
861 (clog10_test): Likewise.
862 * sysdeps/i386/fpu/libm-test-ulps: Update.
863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
864
261f4859
AS
8652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
866
0abaf3e4
AS
867 [BZ #14283]
868 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
869 by 7 not 8 to examine high bit of fractional part.
870
261f4859
AS
871 [BZ #14042]
872 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
873 for call to __mcount_internal.
874 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
875 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
876 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
877
f17ac40d
JM
8782012-07-06 Joseph Myers <joseph@codesourcery.com>
879
9ad63c23
JM
880 [BZ #14154]
881 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
882 approximation for values within 0x1p-13f of an odd multiple of
883 pi/4.
884 * math/libm-test.inc (tan_test): Do not allow spurious underflow
885 exception. Add more tests.
886 * sysdeps/i386/fpu/libm-test-ulps: Update.
887
f17ac40d
JM
888 [BZ #6778]
889 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
890 inputs and return -1 for them. Do not check for +Inf in case not
891 reachable for +Inf.
892 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
893 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
895 and return -1 for them. Do not check for +Inf in case not
896 reachable for +Inf.
897 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
898 define.
899 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
900 and return -1 for them. Do not check for +Inf in case not
901 reachable for +Inf.
902 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
903 spurious underflow.
904 * sysdeps/i386/fpu/libm-test-ulps: Update.
905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906
fb21f89b
MF
9072012-07-06 Mike Frysinger <vapier@gentoo.org>
908
909 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
910
cdfe2c5e
JM
9112012-07-05 Joseph Myers <joseph@codesourcery.com>
912
913 [BZ #14157]
914 [BZ #14331]
915 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
916 could result in spurious underflow. Scale down values above
917 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
918 * math/s_csqrtf.c (__csqrtf): Likewise.
919 * math/s_csqrtl.c (__csqrtl): Likewise.
920 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
921 spurious underflow.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
924
70d35b67
AS
9252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
926
704bc459
AS
927 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
928 xopen-msg.sed.
929 * catgets/xopen-msg.awk: New file.
930 * catgets/xopen-msg.sed: Removed.
931
70d35b67
AS
932 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
933 po2text.sed.
934 * intl/po2test.awk: New file.
935 * intl/po2test.sed: Removed.
936
ca61cf32
JM
9372012-07-04 Joseph Myers <joseph@codesourcery.com>
938
939 [BZ #14328]
940 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
941 or multiply small sinh result by itself.
942 * math/s_ctanf.c (__ctanf): Likewise.
943 * math/s_ctanh.c (__ctanh): Likewise.
944 * math/s_ctanhf.c (__ctanhf): Likewise.
945 * math/s_ctanhl.c (__ctanhl): Likewise.
946 * math/s_ctanl.c (__ctanl): Likewise.
947 * math/libm-test.inc (ctan_test_tonearest): New function.
948 (ctan_test_towardzero): Likewise.
949 (ctan_test_downward): Likewise.
950 (ctan_test_upward): Likewise.
951 (ctanh_test_tonearest): Likewise.
952 (ctanh_test_towardzero): Likewise.
953 (ctanh_test_downward): Likewise.
954 (ctanh_test_upward): Likewise.
955 (main): Call these new functions.
956 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
958
ca48a46a
MF
9592012-07-03 Mike Frysinger <vapier@gentoo.org>
960
961 * .gitignore: Delete /ports entry.
962
9d63d37d
AJ
9632012-07-03 Andreas Jaeger <aj@suse.de>
964
965 * po/bg.po: Update from translation team.
966 * po/cs.po: Likewise.
967 * po/de.po: Likewise.
968 * po/hr.po: Likewise.
969 * po/nl.pl: Likewise.
970 * po/pl.po: Likewise.
971 * po/vi.po: Likewise.
972
370ca3d2
JM
9732012-07-03 Joseph Myers <joseph@codesourcery.com>
974
95f5a9a8
JM
975 * Makeconfig [!+link] (+link-before-libc): New variable.
976 [!+link] (+link-after-libc): Likewise.
977 [!+link] (+link-tests): Likewise.
978 [!+link] (+link): Define in terms of $(+link-before-libc) and
979 $(+link-after-libc).
980 [!+link-static] (+link-static-before-libc): New variable.
981 [!+link-static] (+link-static-after-libc): Likewise.
982 [!+link-static] (+link-static-tests): Likewise.
983 [!+link-static] (+link-static): Define in terms of
984 $(+link-static-before-libc) and $(+link-static-after-libc).
985 [build-shared] (link-libc-before-gnulib): New variable.
986 [build-shared] (link-libc-tests): Likewise.
987 [build-shared] (link-libc): Define in terms of
988 $(link-libc-before-gnulib).
989 [!build-shared] (link-libc-tests): New variable.
990 (link-libc-static-tests): New variable.
991 [!gnulib] (gnulib-arch): New variable.
992 [!gnulib] (gnulib-tests): Likewise.
993 [!gnulib] (static-gnulib-arch): Likewise.
994 [!gnulib] (static-gnulib-tests): Likewise.
995 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
996 Define with "=" instead of ":=".
997 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
998 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
999 * Rules (binaries-all-notests): New variable.
1000 (binaries-all-tests): Likewise.
1001 (binaries-static-notests): Likewise.
1002 (binaries-static-tests): Likewise.
1003 (binaries-all): Define using $(binaries-all-notests) and
1004 $(binaries-all-tests).
1005 (binaries-static): Define using $(binaries-static-notests) and
1006 $(binaries-static-tests).
1007 (binaries-shared-tests): New variable.
1008 (binaries-shared-notests): Likewise.
1009 (binaries-shared): Remove variable.
1010 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1011 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1012 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1013 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1014 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1015 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1016 * elf/Makefile (sln-modules): New variable.
1017 (extra-objs): Add $(sln-modules:=.o).
1018 (ldconfig-modules): Add static-stubs.
1019 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1020 * elf/static-stubs.c: New file.
1021
7a845b2c
JM
1022 [BZ #14283]
1023 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1024 by 7 not 8 to examine high bit of fractional part. Use volatile
1025 variables when splitting into final array of floats if
1026 __FLT_EVAL_METHOD__ != 0.
1027 * math/libm-test.inc (cos_test): Add another test.
1028 (sin_test): Likewise.
1029 * sysdeps/i386/fpu/libm-test-ulps: Update.
1030
e2283f38
JM
1031 [BZ #14273]
1032 * math/libm-test.inc (cosh_test): Add more tests.
1033
370ca3d2
JM
1034 * version.h (RELEASE): Set to "development".
1035 (VERSION): Set to "2.16.90".
1036
ee9247c3
CD
10372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1038
1039 * NEWS: Update copyright. Remove last-updated date.
1040 Mention math library bug fixes and timezone data changes.
1041 * README: Mention GNU/Hurd, x32, and HPPA support status.
1042
4648c381
TS
10432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1044
1045 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1046
aac78a43
AJ
10472012-06-27 Andreas Jaeger <aj@suse.de>
1048
1049 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1050
ed3dbfad
AJ
10512012-06-25 Andreas Jaeger <aj@suse.de>
1052
1053 * sysdeps/s390/fpu/libm-test-ulps: Update.
1054
4d0ee855
AS
10552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1056 Thomas Schwinge <thomas@codesourcery.com>
1057
1058 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1059 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1060 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1061 fanotify_mark.
1062
af1bce34
TS
10632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1064
a9fa33ba
TS
1065 * sysdeps/mach/start.c: Remove file.
1066 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1067 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1068 * sysdeps/sh/init-first.c: Likewise.
1069
58f902b8
TS
1070 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1071 registers for frame unwinding purposes, add CFI directives.
1072 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1073 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1074 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1075 Likewise.
1076
1518f58b
TS
1077 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1078 __fortify_fail returning.
1079 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1080
db9b5059
TS
1081 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1082 sysdeps/sh/____longjmp_chk.S.
1083 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1084 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1085 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1086 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1087
967705fe
TS
1088 * sysdeps/sh/abort-instr.h: New file.
1089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1090 process in case exit returns.
1091
a9def8c4
TS
1092 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1093 initialize the GOT register before use.
1094
2a649725
TS
1095 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1096 calculation of ARGC > 4.
1097
af1bce34
TS
1098 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1099 meaningful names to some local labels.
1100
d230f50a
KK
11012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1102 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1103
1104 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1105 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1106 (__arch_compare_and_exchange_val_16_acq): Likewise.
1107 (__arch_compare_and_exchange_val_32_acq): Likewise.
1108 (atomic_exchange_and_add): Fix gUSA sequence.
1109 (atomic_add): Likewise.
1110 (atomic_add_negative): Likewise.
1111 (atomic_add_zero): Likewise.
1112 (atomic_bit_test_set): Likewise.
1113
0479b305
AS
11142012-06-22 Andreas Schwab <schwab@redhat.com>
1115
1116 [BZ #13579]
1117 * include/link.h (struct link_map): Add l_free_initfini.
1118 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1119 l_initfini.
1120 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1121 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1122 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1123 set.
1124
0e3933b9
CD
11252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1126
1127 * configure.in: Use AC_LANG_SOURCE.
1128 * configure: Regenerate.
1129
4248b1b1
RM
11302012-06-22 Roland McGrath <roland@hack.frob.com>
1131
1132 * configure.in (libc_cv_localstatedir): New substituted variable.
1133 * configure: Regenerated.
1134 * config.make.in (localstatedir): New variable, substituted from
1135 libc_cv_localstatedir.
1136 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1137 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1138 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1139 * sysdeps/gnu/configure: Regenerated.
1140
006dd861
JL
11412012-06-21 Jeff Law <law@redhat.com>
1142
1143 [BZ #14277]
1144 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1145 free. Simplify list management for _LIBC case.
1146
79662d42
JM
11472012-06-21 Joseph Myers <joseph@codesourcery.com>
1148
b7abb4bf
JM
1149 [BZ #14273]
1150 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1151 Clear sign bit of 64-bit integer value before comparing against
1152 overflow value.
1153
79662d42
JM
1154 * sysdeps/mach/configure: Regenerated.
1155
1f150908
L
11562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 [BZ #14278]
1159 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1160
28363bbf
JL
11612012-06-21 Jeff Law <law@redhat.com>
1162
1163 [BZ #13882]
1164 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1165 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1166 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1167 * elf/dl-open.c (dl_open_worker): Likewise.
1168
09615db4
CD
11692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1170
1171 * scripts/list-sources.sh: Scan PORTS for translations.
1172 * po/libc.pot: Regenerated.
1173
2174c6dd
AJ
11742012-06-21 Andreas Jaeger <aj@suse.de>
1175
1176 [BZ #12194]
1177 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1178 warning.
1179 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1180 * bits/byteswap-16.h (__bswap_16): Likewise.
1181 * bits/byteswap.h (__bswap_constant_16): Likewise.
1182
3ee947b1
L
11832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1184
1185 [BZ #14117]
a2f34833
L
1186 * sysdeps/i386/fpu_control.h: Removed.
1187 * sysdeps/x86_64/fpu_control.h: Moved to ...
1188 * sysdeps/x86/fpu_control.h: Here.
1189
3ee947b1
L
1190 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1191 (_FPU_SETCW): Likewise.
1192
ed1825f8
L
11932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1194
25f1282a
L
1195 [BZ #14117]
1196 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1197 * sysdeps/x86/fpu/bits/mathinline.h: This.
1198 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1199
ed1825f8
L
1200 [BZ #14050]
1201 [BZ #14117]
1202 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1203 functions if __x86_64__ is defined.
1204
36d54b74
CLT
12052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1206
1207 * string/endian.h: Add !__ASSEMBLER__ condition for including
1208 conversion interfaces.
1209
10285c21
JM
12102012-06-15 Joseph Myers <joseph@codesourcery.com>
1211
1212 [BZ #14241]
1213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1214 of ABS(x) in calculating zero to negative powers other than odd
1215 integers.
1216 * math/libm-test.inc (pow_test): Add more tests.
1217
06c5abbd
AJ
12182012-06-15 Andreas Jaeger <aj@suse.de>
1219
1220 * manual/contrib.texi (Contributors): Update entry of Liubov
1221 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1222 Machado Filho.
1223
a3aeac40
CH
12242012-06-15 Cyril Hrubis <metan@ucw.cz>
1225
1226 * string/string.h: Add __wur to GNU version of strerror_r.
1227
49bdf4c1
L
12282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 [BZ #14229]
1231 * string/Makefile (tests): Add tst-strtok_r.
1232 * string/tst-strtok_r.c: New file.
1233 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1234 RAX_LP/RDX_LP on SAVE_PTR.
1235
834f9b8d
RM
12362012-06-14 Roland McGrath <roland@hack.frob.com>
1237
1238 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1239
75fa1921
JM
12402012-06-14 Joseph Myers <joseph@codesourcery.com>
1241
1242 * libm_test.inc (csqrt_test): Allow more spurious underflow
1243 exceptions.
1244 (j0_test): Likewise.
1245 (j1_test): Likewise.
1246 (y0_test): Likewise.
1247 (y1_test): Likewise.
1248
771766df
CD
12492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1250
1251 * po/Makefile (libc.pot): Use UTF-8 charset.
1252
ceb9e56b
PP
12532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1254
1255 [BZ #14210]
1256 Suppress sign-conversion warning from FD_SET.
1257 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1258 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1259 not unsigned long int.
1260 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1261
ddb28975
L
12622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 [BZ #14050]
1265 [BZ #14117]
1266 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1267 __extern_always_inline instead of __extern_inline.
1268 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1269 (__signbit): Likewise.
1270 (__signbitl): Support C++ namespace.
1271 (lrintf): New inline function.
1272 (lrint): Likewise.
1273 (llrintf): Likewise.
1274 (llrint): Likewise.
1275 (fmaxf): Likewise.
1276 (fmax): Likewise.
1277 (fminf): Likewise.
1278 (fmin): Likewise.
1279 (rint): Likewise.
1280 (rintf): Likewise.
1281 (ceil): Likewise.
1282 (ceilf): Likewise.
1283 (floor): Likewise.
1284 (floorf): Likewise.
1285 (nearbyint): Likewise.
1286 (nearbyintf): Likewise.
1287
d7b4fb26
TS
12882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1289
1290 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1291 non-default versions.
1292
eb55f5c2
RM
12932012-06-11 Roland McGrath <roland@hack.frob.com>
1294
1295 [BZ #14218]
1296 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1297
366af02c
TS
12982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1299
99ff6e5c
TS
1300 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1301 (FE_UPWARD, FE_DOWNWARD): Don't define.
1302 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1303 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1304
366af02c
TS
1305 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1306 reading it.
1307 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1308 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1309
793ea851
KK
13102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1311
1312 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1313 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1314 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1316
a728a38f
L
13172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1318
1319 [BZ #14117]
c08010c7
L
1320 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1321 * sysdeps/i386/fpu/Implies: New file.
1322 * sysdeps/x86_64/fpu/Implies: Likewise.
1323 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1324 * sysdeps/x86/fpu/bits/fenv.h: This.
1325
a728a38f
L
1326 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1327 __SSE_MATH__.
1328
6e230d11
SP
13292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1330
1331 [BZ #14134]
1332 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1333 character 0xffff that matches the last element of the
1334 conversion table.
1335
1b671feb
AZ
13362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1337
1338 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1339 fmodl commit.
1340
6043738b
AZ
13412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
1343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1344 values higher than 25.6283.
1345
34ae0b32
AZ
13462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1349 subnormal exponent extraction and add some __builtin_expect.
1350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1351 Fix for subnormal mantissa calculation.
1352
1214ec8f
MF
13532012-06-04 Mike Frysinger <vapier@gentoo.org>
1354
1355 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1356 cpu2 is -1 and errno is not ENOSYS.
1357
f3d1f93c
L
13582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 [BZ #14117]
0e4a3cd7
L
1361 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1362 * sysdeps/x86/bits/string.h: This.
1363 * sysdeps/x86_64/bits/string.h: Removed.
1364
6704c645
L
1365 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1366 if not compiling for x86-64, but compiling for >= i486.
1367
48495318
L
1368 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1369 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1370
14adcbfc
L
1371 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1372 New macro from Linux kernel 3.4.0.
1373 (FP_XSTATE_MAGIC2): Likewise.
1374 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1375 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1376 (struct _fpx_sw_bytes): New struct.
1377 (struct _xsave_hdr): Likewise.
1378 (struct _ymmh_state): Likewise.
1379 (struct _xstate): Likewise.
1380
68e408ab
L
1381 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1382 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1384 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1385 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1386 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1387
f3d1f93c
L
1388 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1389 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1390 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1391 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1392 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1393 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1394
d9dc34cd
TMQMF
13952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1396
1397 [BZ #13743]
1398 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1399 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1400 (sysdep_headers): Include sys/platform/ppc.h.
1401 * sysdeps/powerpc/test-gettimebase.c: Test for
1402 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1403 * manual/Makefile (appendices): Include platform.texi.
1404 * manual/contrib.texi (Contributors): Update @node pointers.
1405 * manual/maint.texi (Maintenance): Likewise.
1406 (Platform): New node.
1407 * manual/platform.texi: New file. Document the new features.
1408
4af3879c
SP
14092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1410 Jakub Jelinek <jakub@redhat.com>
1411
1412 [BZ #14188]
1413 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1414 where __builtin_expect is unavailable.
1415
2fd6ff13
DM
14162012-06-03 David S. Miller <davem@davemloft.net>
1417
1418 * stdlib/longlong.h: Updated from GCC.
1419
173f7220
AS
14202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1421
1422 [BZ #14042]
1423 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1424 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1425 __mcount_internal.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1427 (GLIBC_2.16): Likewise.
1428
f34a1c6f
L
14292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1432
88a4576f
JM
14332012-06-01 Joseph Myers <joseph@codesourcery.com>
1434
ea32bcdd
JM
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1436 (default-abi): New variable.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1438 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1439 variable.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1441 Likewise.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1443 Likewise.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1445 Likewise.
1446
88a4576f
JM
1447 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1448 definition. Document in comment.
1449
402fe938
DM
14502012-06-01 David S. Miller <davem@davemloft.net>
1451
1452 * stdlib/longlong.h: Updated from GCC.
1453
3553723f
L
14542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 [BZ #14117]
3bd872c4
L
1457 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1458 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1459 sys/debugreg.h sys/io.h here.
1460 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1461 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1462 sys/io.h.
1463 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1464 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1465 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1466 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1467 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1468 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1469
3553723f
L
1470 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1471 Define only if __x86_64__ is defined.
1472
4842e4fe
JM
14732012-06-01 Joseph Myers <joseph@codesourcery.com>
1474
c5bfe3d5
JM
1475 [BZ #14048]
1476 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1477 Use int64_t for variable i.
1478 * math/libm-test.inc (fmod_test): Add more tests.
1479
4842e4fe
JM
1480 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1481 z computation is not scheduled after fetestexcept.
1482 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1483 Use math_force_eval instead of asm to ensure calculation scheduled
1484 before exception test.
1485 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1486 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1487
efb73488
AJ
14882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1489
1490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1491 computation is not scheduled after fetestexcept.
1492
29bcce7c
L
14932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1494
1495 [BZ #14117]
1496 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1497 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1498
73a68f94
AZ
14992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500
1501 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1502 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1503
67b6df78
L
15042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1505
edf2933a 1506 [BZ #14117]
ebc64a18
L
1507 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1508 <bits/wordsize.h>.
1509 (__WCHAR_MIN): Support __WORDSIZE == 64.
1510 (__WCHAR_MAX): Likewise.
1511
edf2933a
L
1512 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1513 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1514
57c6cf40
L
1515 [BZ #14183]
1516 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1517 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1518
67b6df78 1519 [BZ #14117]
8eb6281e
L
1520 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1521 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1522
aac639f4
L
1523 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1524 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1525
67b6df78
L
1526 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1527 Defined to 1 if __x86_64__ isn't defined.
1528 (_STAT_VER_LINUX_OLD): New.
1529 (st_atime): Remove duplicate.
1530 (st_mtime): Likewise.
1531 (st_ctime): Likewise.
1532
1c2cfe81
DM
15332012-05-31 David S. Miller <davem@davemloft.net>
1534
1535 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1536 entries.
1537
5be8418c
AS
15382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1539
e7725326
AS
1540 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1541 gen-libm-test.pl.
1542
5be8418c
AS
1543 [BZ #14132]
1544 * elf/dl-reloc.c: Include <_itoa.h>.
1545 (_dl_reloc_bad_type): Remove use of INTUSE.
1546 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1547 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1548 * stdio-common/psiginfo.c (psiginfo): Likewise.
1549 * stdio-common/psignal.c (psignal): Likewise.
1550 * string/strsignal.c (strsignal): Likewise.
1551 * include/signal.h (_sys_siglist): Declare hidden proto.
1552 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1553 INTVARDEF with libc_hidden_data_def.
1554 * stdio-common/itoa-udigits.c: Likewise.
1555 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1556 (_itoa_lower_digits_internal): Remove declaration.
1557 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1558 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1559 (_sys_sigabbrev_internal): Remove aliases.
1560 (_sys_siglist): Define hidden alias.
1561
507352f1
MT
15622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1563
1564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1565 bits/sysctl.h.
1566
42bbb1c3
L
15672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 [BZ #14117]
6bd784b6
L
1570 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1571 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1572
8bca20f0
L
1573 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1574 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1575 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1576 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1578 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1579
f9e890a9
L
1580 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1581 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1582 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1583
471101a1
L
1584 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1585 with __addr.
1586 (insw): Likewise.
1587 (insl): Likewise.
1588 (outsb): Likewise.
1589 (outsw): Likewise.
1590 (outsl): Likewise.
1591
6451c862
L
1592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1593 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1594 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1595
a254b8c9
L
1596 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1597 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1598 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1599 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1600 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1601 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1602
b8dfdd92
L
1603 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1604 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1605
578cd270
L
1606 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1607 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1608
de662f5f
L
1609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1611 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1612
25653439
L
1613 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1614 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1615 to ...
1616 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1617
6bad24a0
L
1618 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1619 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1620 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1621
42bbb1c3
L
1622 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1623 for x86-64.
1624 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1625
2d10d547
JM
16262012-05-31 Joseph Myers <joseph@codesourcery.com>
1627
1628 * math/math.h (M_El): Use two more decimal places.
1629 (M_LOG2El): Likewise.
1630 (M_LOG10El): Likewise.
1631 (M_LN2l): Likewise.
1632 (M_LN10l): Likewise.
1633 (M_PIl): Likewise.
1634 (M_PI_2l): Likewise.
1635 (M_PI_4l): Likewise.
1636 (M_1_PIl): Likewise.
1637 (M_2_PIl): Likewise.
1638 (M_2_SQRTPIl): Likewise.
1639 (M_SQRT2l): Likewise.
1640 (M_SQRT1_2l): Likewise.
1641
f230c29b
DM
16422012-05-31 David S. Miller <davem@davemloft.net>
1643
1644 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1645 values between float registers.
1646 * sysdeps/sparc/sparc64/memset.S: Likewise.
1647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1648
fed806c3
MF
16492012-05-31 Mike Frysinger <vapier@gentoo.org>
1650
1651 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1652 -D_FORTIFY_SOURCE=1.
1653 (CPPFLAGS-tst-longjmp_chk.c): Define.
1654 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1655 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1656 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1657 CFLAGS-tst-wchar-h.c.
1658
30917259
MP
16592012-05-31 Marek Polacek <polacek@redhat.com>
1660
1661 [BZ #14132]
1662 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1663 __endmntent_internal): Remove declaration.
1664 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1665 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1666 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1667
1c58d5dc
DM
16682012-05-30 David S. Miller <davem@davemloft.net>
1669
1670 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1671 (___Q_simulate_exceptions): Use real FP ops rather than writing
1672 into the %fsr.
1673 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1674 Likewise.
1675
7dc00e0d
L
16762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 [BZ #14117]
0bd53985
L
1679 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1680 * sysdeps/x86/bits/xtitypes.h: This.
1681
3a257e66
L
1682 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1683 * sysdeps/x86/bits/wordsize.h: This.
1684
62f62904
L
1685 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1686 * sysdeps/x86/bits/huge_vall.h: This.
1687
404fe9d9
L
1688 * sysdeps/i386/bits/select.h: Removed.
1689 * sysdeps/x86_64/bits/select.h: Renamed to ...
1690 * sysdeps/x86/bits/select.h: This.
1691
d48d0446
L
1692 * sysdeps/i386/bits/setjmp.h: Removed.
1693 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1694 * sysdeps/x86/bits/setjmp.h: This.
1695
7dc00e0d
L
1696 * sysdeps/i386/bits/mathdef.h: Removed.
1697 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1698 * sysdeps/x86/bits/mathdef.h: This.
1699
03277f8f
AS
17002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1701
1702 [BZ #14132]
1703 * include/sys/socket.h (__connect_internal)
1704 (__libc_sa_len_internal): Remove declaration.
1705 (__connect, __libc_sa_len): Declare hidden_proto.
1706 (SA_LEN): Remove use of INTUSE.
1707 * socket/connect.c: Add libc_hidden_def.
1708 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1709 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1710 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1711 alias.
1712 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1713 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1714 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1715 of adding _internal alias.
1716
13764867
L
17172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 [BZ #14117]
6bd97696
L
1720 * sysdeps/i386/bits/link.h: Removed.
1721 * sysdeps/i386/bits/linkmap.h: Likewise.
1722 * sysdeps/x86_64/bits/link.h: Renamed to ...
1723 * sysdeps/x86/bits/link.h: This.
1724 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1725 * sysdeps/x86/bits/linkmap.h: This.
1726
f726f0bb
L
1727 * sysdeps/i386/bits/endian.h: Removed.
1728 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1729 * sysdeps/x86/bits/endian.h: This.
1730
13764867
L
1731 * sysdeps/i386/bits/byteswap.h: Removed.
1732 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1733 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1734 * sysdeps/x86/bits/byteswap.h: This.
1735 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1736 * sysdeps/x86/bits/byteswap-16.h: This.
1737 * sysdeps/i386/Implies: Add x86.
1738 * sysdeps/x86_64/Implies: Likewise.
1739
ae251b0b
DM
17402012-05-30 David S. Miller <davem@davemloft.net>
1741
1742 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1743 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1744 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1745 (FP_TRAPPING_EXCEPTIONS): Define.
1746 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1747 (FP_TRAPPING_EXCEPTIONS): Define.
1748 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1749 subnormals only when inexact has been signalled or underflow
1750 exceptions are enabled.
1751 (_FP_PACK_CANONICAL): Likewise.
1752
d5c90867
L
17532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1754
1755 [BZ #14183]
1756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1757 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1758
63f1549e
RH
17592012-05-30 Richard Henderson <rth@twiddle.net>
1760
8d8f2279
RH
1761 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1762 with #ifndef NOT_IN_libc.
1763
63f1549e
RH
1764 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1765 marked to avoid plt entry.
1766
0ab0291b
L
17672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 [BZ #14112]
1770 * Makeconfig (default-abi): New macro.
1771 (abi-includes): Likewise.
1772 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1773 $(abi-$(default-abi)-lib-soname) for soname if defined.
1774 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1775 abi-variants.
1776 * Makefile (installed-stubs): Likewise.
1777 * include/stubs-biarch.h: Removed.
1778 * scripts/lib-names.awk: Only handle one library at a time.
1779 * scripts/soversions.awk: Remove WORDSIZE support.
1780 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1781 entries.
1782 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1783 Removed.
1784 (syscall-list-default-condition): Likewise.
1785 (syscall-list-default-condition): Likewise.
1786 (syscall-list-includes): Likewise.
1787 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1788 syscall-list-* with abi-*. Handle undefined abi-variants.
1789 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1790 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1791 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1792 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1793 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1794 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1795 Removed.
1796 (syscall-list-32-options): Likewise.
1797 (syscall-list-32-condition): Likewise.
1798 (syscall-list-64-options): Likewise.
1799 (syscall-list-64-condition): Likewise.
1800 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1801 macro.
1802 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1803 Renamed to ...
1804 (abi-*): This.
1805 (abi-64-ld-soname): New macro.
1806 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1808 Renamed to ...
1809 (abi-*): This.
1810 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1811 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1812
4da0431d
JM
18132012-05-30 Joseph Myers <joseph@codesourcery.com>
1814
3a85279c
JM
1815 * sysdeps/unix/sysv/linux/kernel-features.h
1816 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1817 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1818 include <kernel-features.h>.
1819 [!__NR_ftruncate64]: Remove conditional code.
1820 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1821 [__NR_ftruncate64]: Make code unconditional.
1822 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1823 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1824 include <kernel-features.h>.
1825 [!__NR_ftruncate64]: Remove conditional code.
1826 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1827 [__NR_ftruncate64]: Make code unconditional.
1828 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1830 include <kernel-features.h>.
1831 [!__NR_ftruncate64]: Remove conditional code.
1832 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1833 [__NR_ftruncate64]: Make code unconditional.
1834 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1836 include <kernel-features.h>.
1837 [!__NR_ftruncate64]: Remove conditional code.
1838 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1839 [__NR_ftruncate64]: Make code unconditional.
1840 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1841
4da0431d
JM
1842 * configure.in (libc_cv_fpie): Weaken to a compile test using
1843 LIBC_TRY_CC_OPTION.
1844 * configure: Regenerated.
1845
11ef492c
AK
18462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1847
1848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1852 Refreshed.
1853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1859 Refreshed.
1860
d66ef399
DM
18612012-05-27 David S. Miller <davem@davemloft.net>
1862
1863 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1864 (___Q_zero): New.
1865 (__Q_simulate_exceptions): Return void. Change to simulate
1866 exceptions by writing into the %fsr.
1867 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1868 (__Qp_handle_exceptions): Likewise.
1869 (numbers): Delete.
1870 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1871 __Qp_handle_exceptions.
1872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1873 __Qp_handle_exceptions.
1874 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1875 as unused and give dummy FP_RND_NEAREST initializer.
1876 (FP_INHIBIT_RESULTS): Define.
1877 (___Q_simulate_exceptions): Update declaration.
1878 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1879 formatting.
1880 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1881 as unused and give dummy FP_RND_NEAREST initializer.
1882 (__Qp_handle_exceptions): Update declaration.
1883 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1884 formatting.
1885
04fb54b5
TS
18862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1887
1888 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1889 the temporary FPU control word.
1890 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1891 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1892 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1893 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1894 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1895 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1896 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1897 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1898 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1899 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1900 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1901
3f99608f
KK
19022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1903
1904 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1905 fields.
1906
65a4de4e
CLT
19072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1908
1909 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1910 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1911 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1912 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1913 Likewise.
1914 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1915 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1916 Likewise.
1917
15749d40
UD
19182012-05-27 Ulrich Drepper <drepper@gmail.com>
1919
1920 * po/h.po: Update from translation team.
1921
25dbcb27
AS
19222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1923
3d3f8e55
AS
1924 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1925
25dbcb27
AS
1926 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1927 handling of denormals.
1928 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1929 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1930 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1931 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1935 Likewise.
1936
7ad47a80 19372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1938
1939 [BZ #14152]
1940 * math/libm-test.inc (fma_test): Don't always expect underflow
1941 exception.
1942
9c6ea9fa
SP
19432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1944
1945 [BZ #12416]
1946 * elf/tst-execstack.c: Include stackinfo.h.
1947 (do_test): Adjust test case to ensure that pthread_getattr_np
1948 behaviour remains the same after marking stack executable.
1949
a8239222
JM
19502012-05-25 Joseph Myers <joseph@codesourcery.com>
1951
1952 * sysdeps/unix/sysv/linux/kernel-features.h
1953 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1954 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1955 kernel-features.h.
1956 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1957 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1958 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1959 kernel-features.h.
1960 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1961 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1962
918b5606
L
19632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 * configure.in: Define the default includes to being none.
1966 * configure: Regenerated.
1967
3a097cc7
RM
19682012-05-25 Roland McGrath <roland@hack.frob.com>
1969
8422c9a5
RM
1970 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1971 * sysdeps/x86_64/setjmp.S: Likewise.
1972 * sysdeps/i386/bsd-setjmp.S: Likewise.
1973 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1974 * sysdeps/i386/setjmp.S: Likewise.
1975 * sysdeps/i386/__longjmp.S: Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1977 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1978
3a097cc7
RM
1979 * include/stap-probe.h: New file.
1980 * configure.in: Handle --enable-systemtap.
1981 * configure: Regenerated.
1982 * config.h.in (USE_STAP_PROBE): New #undef.
1983 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1984 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1985 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1986
21708942
JM
19872012-05-25 Joseph Myers <joseph@codesourcery.com>
1988
1989 [BZ #13717]
1990 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1991 to 2.4.0 where earlier.
1992 * sysdeps/unix/sysv/linux/configure: Regenerated.
1993 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1994 <kernel-features.h>.
1995 [__ASSUME_32BITUIDS]: Make code unconditional.
1996 [!__ASSUME_32BITUIDS]: Remove conditional code.
1997 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1998 <kernel-features.h>.
1999 [__ASSUME_32BITUIDS]: Make code unconditional.
2000 [!__ASSUME_32BITUIDS]: Remove conditional code.
2001 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2002 [__ASSUME_32BITUIDS]: Make code unconditional.
2003 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2004 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2005 <kernel-features.h>.
2006 [__ASSUME_32BITUIDS]: Make code unconditional.
2007 [!__ASSUME_32BITUIDS]: Remove conditional code.
2008 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2009 <kernel-features.h>.
2010 [__ASSUME_32BITUIDS]: Make code unconditional.
2011 [!__ASSUME_32BITUIDS]: Remove conditional code.
2012 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2013 <kernel-features.h>.
2014 [__ASSUME_32BITUIDS]: Make code unconditional.
2015 [!__ASSUME_32BITUIDS]: Remove conditional code.
2016 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2017 <kernel-features.h>.
2018 [__ASSUME_32BITUIDS]: Make code unconditional.
2019 [!__ASSUME_32BITUIDS]: Remove conditional code.
2020 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2021 <kernel-features.h>.
2022 [__ASSUME_32BITUIDS]: Make code unconditional.
2023 [!__ASSUME_32BITUIDS]: Remove conditional code.
2024 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2025 <kernel-features.h>.
2026 [__ASSUME_32BITUIDS]: Make code unconditional.
2027 [!__ASSUME_32BITUIDS]: Remove conditional code.
2028 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2029 <kernel-features.h>.
2030 [__ASSUME_32BITUIDS]: Make code unconditional.
2031 [!__ASSUME_32BITUIDS]: Remove conditional code.
2032 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2033 <kernel-features.h>.
2034 [__ASSUME_32BITUIDS]: Make code unconditional.
2035 [!__ASSUME_32BITUIDS]: Remove conditional code.
2036 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2037 <kernel-features.h>.
2038 [__ASSUME_32BITUIDS]: Make code unconditional.
2039 [!__ASSUME_32BITUIDS]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2041 <kernel-features.h>.
2042 [__ASSUME_32BITUIDS]: Make code unconditional.
2043 [!__ASSUME_32BITUIDS]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2045 <kernel-features.h>.
2046 [__NR_setresgid] (__setresgid): Do not declare.
2047 [__ASSUME_32BITUIDS]: Make code unconditional.
2048 [!__ASSUME_32BITUIDS]: Remove conditional code.
2049 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2050 <kernel-features.h>.
2051 [__NR_setresuid] (__setresuid): Do not declare.
2052 [__ASSUME_32BITUIDS]: Make code unconditional.
2053 [!__ASSUME_32BITUIDS]: Remove conditional code.
2054 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2055 <kernel-features.h>.
2056 [__ASSUME_32BITUIDS]: Make code unconditional.
2057 [!__ASSUME_32BITUIDS]: Remove conditional code.
2058 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2059 <kernel-features.h>.
2060 [__ASSUME_32BITUIDS]: Make code unconditional.
2061 [!__ASSUME_32BITUIDS]: Remove conditional code.
2062 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2063 <kernel-features.h>.
2064 [__ASSUME_32BITUIDS]: Make code unconditional.
2065 [!__ASSUME_32BITUIDS]: Remove conditional code.
2066 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2067 <kernel-features.h>.
2068 [__ASSUME_32BITUIDS]: Make code unconditional.
2069 [!__ASSUME_32BITUIDS]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2071 <kernel-features.h>.
2072 [__ASSUME_32BITUIDS]: Make code unconditional.
2073 [!__ASSUME_32BITUIDS]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2075 <kernel-features.h>.
2076 [__ASSUME_32BITUIDS]: Make code unconditional.
2077 [!__ASSUME_32BITUIDS]: Remove conditional code.
2078 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2079 <kernel-features.h>.
2080 [__ASSUME_32BITUIDS]: Make code unconditional.
2081 [!__ASSUME_32BITUIDS]: Remove conditional code.
2082 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2083 <kernel-features.h>.
2084 [__ASSUME_32BITUIDS]: Make code unconditional.
2085 [!__ASSUME_32BITUIDS]: Remove conditional code.
2086 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2087 <kernel-features.h>.
2088 [__ASSUME_32BITUIDS]: Make code unconditional.
2089 [!__ASSUME_32BITUIDS]: Remove conditional code.
2090 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2091 <kernel-features.h>.
2092 [__ASSUME_32BITUIDS]: Make code unconditional.
2093 [!__ASSUME_32BITUIDS]: Remove conditional code.
2094 * sysdeps/unix/sysv/linux/kernel-features.h
2095 (__ASSUME_SETRESUID_SYSCALL): Remove.
2096 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2097 (__ASSUME_32BITUIDS): Likewise.
2098 (__ASSUME_LDT_WORKS): Likewise.
2099 (__ASSUME_O_DIRECTORY): Likewise.
2100 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2101 architecture but not kernel version.
2102 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2103 (__ASSUME_MMAP2_SYSCALL): Likewise.
2104 (__ASSUME_STAT64_SYSCALL): Likewise.
2105 (__ASSUME_IPC64): Likewise.
2106 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2107 <kernel-features.h>.
2108 [__ASSUME_32BITUIDS]: Make code unconditional.
2109 [!__ASSUME_32BITUIDS]: Remove conditional code.
2110 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2111 <kernel-features.h>.
2112 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2113 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2114 132096]: Remove conditional code.
2115 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2117 <kernel-features.h>.
2118 [__ASSUME_32BITUIDS]: Make code unconditional.
2119 [!__ASSUME_32BITUIDS]: Remove conditional code.
2120 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2121 <kernel-features.h>.
2122 [__ASSUME_32BITUIDS]: Make code unconditional.
2123 [!__ASSUME_32BITUIDS]: Remove conditional code.
2124 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2125 <kernel-features.h>.
2126 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2127 unconditional.
2128 (__setresgid): Do not declare.
2129 [__ASSUME_32BITUIDS]: Make code unconditional.
2130 [!__ASSUME_32BITUIDS]: Remove conditional code.
2131 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2132 <kernel-features.h>.
2133 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2134 unconditional.
2135 (__setresuid): Do not declare.
2136 [__ASSUME_32BITUIDS]: Make code unconditional.
2137 [!__ASSUME_32BITUIDS]: Remove conditional code.
2138 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2139 <kernel-features.h>.
2140 [__ASSUME_32BITUIDS]: Make code unconditional.
2141 [!__ASSUME_32BITUIDS]: Remove conditional code.
2142 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2143 <kernel-features.h>.
2144 [__ASSUME_32BITUIDS]: Make code unconditional.
2145 [!__ASSUME_32BITUIDS]: Remove conditional code.
2146
a386f1cc
RH
21472012-05-25 Richard Henderson <rth@twiddle.net>
2148
2149 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2150 dl_hwcap to ifunc resolver.
2151 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2152 elf_ifunc_invoke.
2153 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2154 dl_hwcap to ifunc resolver.
2155 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2156
b6550497
JM
21572012-05-24 Joseph Myers <joseph@codesourcery.com>
2158
2159 [BZ #14153]
2160 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2161 for |x| <= 2**-26, not 2**-57.
2162 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2163 exception.
2164
b0bc23a1
JL
21652012-05-24 Jeff Law <law@redhat.com>
2166
2167 * stdio-common/Makefile (tests): Add bug25.
2168 * stdio-common/bug25.c: New test.
2169
347c92e9
L
21702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2171
2172 [BZ #13576]
2173 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2174 multiple of MALLOC_ALIGNMENT in size.
2175 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2176
6bcc8b3f
JM
21772012-05-24 Joseph Myers <joseph@codesourcery.com>
2178
2179 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2180 Require >= 256.
2181 (FILENAME_MAX): Use macro-int-constant.
2182 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2183 (_IOFBF): Use macro-int-constant.
2184 (_IOLBF): Likewise.
2185 (_IONBF): Likewise.
2186 (SEEK_CUR): Likewise.
2187 (SEEK_END): Likewise.
2188 (SEEK_SET): Likewise.
2189 (TMP_MAX): Likewise.
2190 (EOF): Use macro-int-constant. Require < 0.
2191 (NULL): Use macro-constant. Require == 0.
2192 (stdin): Require type to be FILE *.
2193 (stdout): Likewise.
2194 (stderr): Likewise.
2195 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2196 macro-int-constant.
2197 (EXIT_SUCCESS): Likewise.
2198 (NULL): Use macro-constant. Require == 0.
2199 (RAND_MAX): Use macro-int-constant.
2200 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2201 [C99-based standards] (strtof): Require function.
2202 [C99-based standards] (strtold): Likewise.
2203 [C99-based standards] (strtoll): Likewise.
2204 [C99-based standards] (strtoull): Likewise.
2205 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2206 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2207 [ISO || ISO99 || ISO11] (math.h): Likewise.
2208 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2209 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2211
d18ea0c5
AS
22122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2213
2214 [BZ #14132]
56d25bb8
AS
2215 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2216 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2217 * intl/dgettext.c (DCGETTEXT): Likewise.
2218 * intl/gettext.c (DCGETTEXT): Likewise.
2219 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2220 * posix/regex_internal.h (gettext): Likewise.
2221 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2222 Remove declaration.
2223 * include/argz.h (__argz_count_internal)
2224 (__argz_stringify_internal): Remove declaration.
2225 (__argz_count, __argz_stringify): Declare hidden proto.
2226 * intl/dcgettext.c: Remove use of INTDEF.
2227 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2228 * string/argz-stringify.c: Likewise.
2229 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2230 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2231 Declare hidden proto.
d18ea0c5
AS
2232 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2233 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2234 Declare hidden proto.
2235 * include/stdio.h (__asprintf_internal): Don't declare.
2236 (__asprintf): Don't define as macro. Declare hidden proto.
2237 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2238 (__fsetlocking): Declare hidden proto.
2239 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2240 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2241 hidden proto.
2242 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2243 (_IO_setlinebuf): Remove use of INTUSE.
2244 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2245 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2246 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2247 Remove declaration.
2248 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2249 (_IO_do_flush): Remove use of INTUSE.
2250 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2251 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2252 (_IO_adjust_column, _IO_least_wmarker)
2253 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2254 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2255 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2256 (_IO_default_doallocate, _IO_wdefault_doallocate)
2257 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2258 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2259 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2260 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2261 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2262 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2263 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2264 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2265 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2266 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2267 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2268 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2269 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2270 proto.
2271 (_IO_flush_all_internal, _IO_adjust_column_internal)
2272 (_IO_default_uflow_internal, _IO_default_finish_internal)
2273 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2274 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2275 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2276 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2277 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2278 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2279 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2280 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2281 (_IO_file_close_internal, _IO_file_close_it_internal)
2282 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2283 (_IO_file_init_internal, _IO_file_attach_internal)
2284 (_IO_file_fopen_internal, _IO_file_read_internal)
2285 (_IO_file_sync_internal, _IO_file_seek_internal)
2286 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2287 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2288 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2289 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2290 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2291 (_IO_list_all_internal, _IO_link_in_internal)
2292 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2293 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2294 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2295 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2296 (_IO_do_write_internal, _IO_padn_internal)
2297 (_IO_getline_info_internal, _IO_getline_internal)
2298 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2299 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2300 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2301 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2302 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2303 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2304 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2305 with libc_hidden_ver, remove use of INTUSE.
2306 * libio/genops.c: Likewise.
2307 * libio/freopen.c: Likewise.
2308 * libio/freopen64.c: Likewise.
2309 * libio/iofclose.c: Likewise.
2310 * libio/iofdopen.c: Likewise.
2311 * libio/iofflush.c: Likewise.
2312 * libio/iofflush_u.c: Likewise.
2313 * libio/iofgets.c: Likewise.
2314 * libio/iofgets_u.c: Likewise.
2315 * libio/iofopen.c: Likewise.
2316 * libio/iofopncook.c: Likewise.
2317 * libio/iofread.c: Likewise.
2318 * libio/iofread_u.c: Likewise.
2319 * libio/ioftell.c: Likewise.
2320 * libio/iofwrite.c: Likewise.
2321 * libio/iogetline.c: Likewise.
2322 * libio/iogets.c: Likewise.
2323 * libio/iogetwline.c: Likewise.
2324 * libio/iopadn.c: Likewise.
2325 * libio/iopopen.c: Likewise.
2326 * libio/ioseekoff.c: Likewise.
2327 * libio/ioseekpos.c: Likewise.
2328 * libio/iosetbuffer.c: Likewise.
2329 * libio/iosetvbuf.c: Likewise.
2330 * libio/ioungetc.c: Likewise.
2331 * libio/ioungetwc.c: Likewise.
2332 * libio/iovdprintf.c: Likewise.
2333 * libio/iovsprintf.c: Likewise.
2334 * libio/iovsscanf.c: Likewise.
2335 * libio/memstream.c: Likewise.
2336 * libio/obprintf.c: Likewise.
2337 * libio/oldfileops.c: Likewise.
2338 * libio/oldiofclose.c: Likewise.
2339 * libio/oldiofdopen.c: Likewise.
2340 * libio/oldiofopen.c: Likewise.
2341 * libio/oldiopopen.c: Likewise.
2342 * libio/oldstdfiles.c: Likewise.
2343 * libio/putc.c: Likewise.
2344 * libio/setbuf.c: Likewise.
2345 * libio/setlinebuf.c: Likewise.
2346 * libio/stdfiles.c: Likewise.
2347 * libio/strops.c: Likewise.
2348 * libio/vasprintf.c: Likewise.
2349 * libio/vscanf.c: Likewise.
2350 * libio/vsnprintf.c: Likewise.
2351 * libio/vswprintf.c: Likewise.
2352 * libio/wfiledoalloc.c: Likewise.
2353 * libio/wfileops.c: Likewise.
2354 * libio/wgenops.c: Likewise.
2355 * libio/wmemstream.c: Likewise.
2356 * libio/wstrops.c: Likewise.
2357 * libio/__fpurge.c: Likewise.
2358 * libio/__fsetlocking.c: Likewise.
2359 * assert/assert.c: Likewise.
2360 * debug/fgets_chk.c: Likewise.
2361 * debug/fgets_u_chk.c: Likewise.
2362 * debug/fread_chk.c: Likewise.
2363 * debug/fread_u_chk.c: Likewise.
2364 * debug/gets_chk.c: Likewise.
2365 * debug/obprintf_chk.c: Likewise.
2366 * debug/vasprintf_chk.c: Likewise.
2367 * debug/vdprintf_chk.c: Likewise.
2368 * debug/vsnprintf_chk.c: Likewise.
2369 * debug/vsprintf_chk.c: Likewise.
2370 * malloc/mtrace.c: Likewise.
2371 * misc/error.c: Likewise.
2372 * misc/syslog.c: Likewise.
2373 * stdio-common/asprintf.c: Likewise.
2374 * stdio-common/fxprintf.c: Likewise.
2375 * stdio-common/getw.c: Likewise.
2376 * stdio-common/isoc99_fscanf.c: Likewise.
2377 * stdio-common/isoc99_scanf.c: Likewise.
2378 * stdio-common/isoc99_vfscanf.c: Likewise.
2379 * stdio-common/isoc99_vscanf.c: Likewise.
2380 * stdio-common/isoc99_vsscanf.c: Likewise.
2381 * stdio-common/printf-prs.c: Likewise.
2382 * stdio-common/printf_fp.c: Likewise.
2383 * stdio-common/printf_fphex.c: Likewise.
2384 * stdio-common/printf_size.c: Likewise.
2385 * stdio-common/putw.c: Likewise.
2386 * stdio-common/scanf.c: Likewise.
2387 * stdio-common/sprintf.c: Likewise.
2388 * stdio-common/tmpfile.c: Likewise.
2389 * stdio-common/vfprintf.c: Likewise.
2390 * stdio-common/vfscanf.c: Likewise.
2391 * stdlib/strfmon_l.c: Likewise.
2392 * sunrpc/openchild.c: Likewise.
2393 * sunrpc/xdr_stdio.c: Likewise.
2394 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2395 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2396
d6c33fda
RM
23972012-05-24 Roland McGrath <roland@hack.frob.com>
2398
c1487492
RM
2399 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2400
2401 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2402 in the third column, to generate for the shared library an IFUNC
2403 that uses _dl_vdso_vsym.
2404 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2405 * Makeconfig (object-suffixes-noshared): New variable.
2406
2407 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2408 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2409 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2410 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2411
d6c33fda
RM
2412 [BZ #14132]
2413 * include/sys/time.h (__gettimeofday): Remove macro.
2414 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2415 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2416 Remove INTDEF.
2417 (__gettimeofday): Add libc_hidden_def.
2418 (gettimeofday): Add libc_hidden_weak.
2419 * sysdeps/mach/gettimeofday.c: Likewise.
2420 * sysdeps/posix/gettimeofday.c: Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2422 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2424 (__gettimeofday_internal): Remove strong_alias.
2425 (__gettimeofday): Add libc_hidden_def.
2426 (gettimeofday): Add libc_hidden_weak.
2427 * sysdeps/unix/syscalls.list (gettimeofday):
2428 Remove __gettimeofday_internal alias.
2429
b5a2bbe6
L
24302012-05-24 Daniel Jacobowitz <drow@false.org>
2431 H.J. Lu <hongjiu.lu@intel.com>
2432
2433 [BZ #12495]
2434 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2435 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2436 (largebin_index_32_big): New.
2437 (largebin_index): Use it for 16-byte alignment.
2438 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2439 correction with front_misalign.
2440
cfba4fda
L
24412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2442
7f907421
L
2443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2445 Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2447 Likewise.
2448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2449 Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2451 Likewise.
2452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2453 Likewise.
2454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2455 Likewise.
2456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2457 Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2459 Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2461 Likewise.
2462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2463 Likewise.
2464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2465 Likewise.
2466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2467 Likewise.
2468
cfba4fda
L
2469 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2470 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2471
80bad0cc
JM
24722012-05-24 Joseph Myers <joseph@codesourcery.com>
2473
7a25eb06
JM
2474 [BZ #10846]
2475 [BZ #14036]
2476 * math/libm-test.inc (exp_test): Add test from bug 14036.
2477 (pow_test): Add test from bug 10846.
2478
795405f9
JM
2479 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2480 and other flags.
2481 (special_function): Do not include flags in test name.
2482 (parse_args): Likewise.
2483 * sysdeps/i386/fpu/libm-test-ulps: Update.
2484 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2485 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2486 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2488
80bad0cc
JM
2489 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2490 exceptions.
2491 * math/libm-test.inc ("Philosophy"): Update comment about
2492 exception testing.
2493 (UNDERFLOW_EXCEPTION): New macro.
2494 (UNDERFLOW_EXCEPTION_OK): Likewise.
2495 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2496 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2497 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2498 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2499 (INVALID_EXCEPTION_OK): Update value.
2500 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2501 (OVERFLOW_EXCEPTION_OK): Likewise.
2502 (IGNORE_ZERO_INF_SIGN): Likewise.
2503 (test_exceptions): Handle underflow exceptions.
2504 (acos_test): Update for underflow exception expectations.
2505 (cexp_test): Likewise.
2506 (clog_test): Likewise.
2507 (clog10_test): Likewise.
2508 (csqrt_test): Likewise.
2509 (ctan_test): Likewise.
2510 (ctanh_test): Likewise.
2511 (exp_test): Likewise.
2512 (exp10_test): Likewise.
2513 (exp2_test): Likewise.
2514 (expm1_test): Likewise.
2515 (fma_test): Likewise.
2516 (j0_test): Likewise.
2517 (jn_test): Likewise.
2518 (nexttoward_test): Likewise.
2519 (pow_test): Likewise.
2520 (scalbn_test): Likewise.
2521 (scalbln_test): Likewise.
2522 (tan_test): Likewise.
2523 (y1_test): Likewise.
2524 * sysdeps/i386/fpu/libm-test-ulps: Update.
2525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2526
9e0e3d0b
DM
25272012-05-23 David S. Miller <davem@davemloft.net>
2528
2529 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2530 (__libc_sigaction): Remove unused local variables.
2531
ccd0a08f
L
25322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2535
62bdf9a6
PE
25362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2537
f8591f80
PE
2538 mktime: avoid signed integer overflow
2539 * time/mktime.c (__mktime_internal): Do not mishandle the case
2540 where diff == INT_MIN.
2541
94c7d826
PE
2542 mktime: simplify computation of average
2543 * time/mktime.c (ranged_convert): Use new time_t_avg function
2544 instead of rolling our own (probably-slower) code.
2545
ce73d683
PE
2546 mktime: do not assume signed right shift propagates sign bit
2547 * time/mktime.c (isdst_differ): New static function.
2548 (__mktime_internal): No need to normalize tm_isdst now.
2549 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2550 tm_isdst values.
2551
72a22e59
PE
2552 mktime: merge another wrapv change from gnulib
2553 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2554 from some compilers.
2555
68605433
PE
2556 mktime: remove incorrect attempt at unusual arithmetics
2557 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2558 The code didn't really work on such machines anyway.
2559 (TYPE_MINIMUM): Assume two's complement.
2560 (twos_complement_arithmetic): Verify that long_int and time_t
2561 are two's complement (or unsigned, in the latter case).
2562
03cf7fe3
PE
2563 mktime: check signed shifts on long_int and time_t, too
2564 * time/mktime.c (SHR): Check that shifts work as desired
2565 on the types long_int and time_t too, as SHR is used on
2566 such types.
2567
f04dfbc2
PE
2568 mktime: do not assume 'long' is wide enough
2569 * time/mktime.c (verify): Move decl up.
2570 (long_int): New type.
2571 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2572 to remove assumption in the code that 'long' is wide enough to
2573 store year values. This assumption is not true on x32 and on
2574 some non-glibc platforms.
2575
62bdf9a6
PE
2576 mktime: merge wrapv change from gnulib
2577 * time/mktime.c (WRAPV): New macro.
2578 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2579 (guess_time_tm, __mktime_internal): Do not assume that signed
2580 integer overflow wraps around; modern compilers generate code
2581 where this assumption is no longer valid.
2582
5e292e4f
L
25832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2586 Replace "jmp L(pseudo_end)" with "ret".
2587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2588 Likewise.
2589
8caf8c87
AJ
25902012-05-23 Andreas Jaeger <aj@suse.de>
2591
2592 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2593 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2594
1a09dc56
AJ
25952012-05-23 Andreas Jaeger <aj@suse.de>
2596 Maximilian Attems <max@stro.at>
2597
2598 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2599 New macros.
2600
1c87aba0
L
26012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2602
2603 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2604 code so that pseudo_end is just ret and the stack pointer is
2605 correct also for static library in error case.
2606
40e45bd5
JM
26072012-05-23 Joseph Myers <joseph@codesourcery.com>
2608
c2670533
JM
2609 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2610 move to syscalls.list.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2615
40e45bd5
JM
2616 * manual/install.texi (Running make install): Do not mention Linux
2617 kernel version for which pt_chown is not needed.
2618 (Linux): Do not mention problems with nscd with 2.0 kernels.
2619 * INSTALL: Regenerated.
2620
be08eda5
AJ
26212012-05-23 Andreas Jaeger <aj@suse.de>
2622
2623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2624 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2625 macro.
2626 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2627 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2628 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2630 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2631 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2633 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2634 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2635 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2636 * sysdeps/unix/sysv/linux/bits/in.h
2637 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2638
a6a056bb
RM
26392012-05-22 Roland McGrath <roland@hack.frob.com>
2640
2641 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2642 (PREPARE_VERSION): Just use assert instead, it will be elided
2643 under [NDEBUG] anyway.
2644
c9009328
L
26452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 * sysdeps/unix/sysv/linux/Makefile: Include
2648 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2649 (sysdep_routines): Remove sysctl.
c9009328
L
2650 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2651 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2652 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2654 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2655
73338355
AJ
26562012-05-22 Andreas Jaeger <aj@suse.de>
2657
2658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2659 that pseudo_end is just ret and the stack pointer is correct also
2660 for static library in error case.
2661
d44638b0
PP
26622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2663
2664 [BZ #14122]
2665 * nss/nsswitch.c (defconfig_entries): New variable.
2666 (__nss_database_lookup): Don't leak defconfig entries.
2667 (nss_parse_service_list): Don't leak on error paths.
2668 (free_database_entries): New function.
2669 (free_defconfig): New function.
2670 (free_mem): Move common code to free_database_entries.
2671
31a39bd8
L
26722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2673
da0331a8
L
2674 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2675 Add arch_prctl.
2676 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2677
31a39bd8
L
2678 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2679 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2681 New macro.
2682 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2683 (INTERNAL_SYSCALL_TYPES): Likewise.
2684 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2685 (LOAD_REGS_TYPES_[1-6]): Likewise.
2686 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2687 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2688
45470df3
AZ
26892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2690
2691 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2692 copysignl for GLIBC_2_0.
2693 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2694 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2695 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2696 logbl for GLIBC_2_0.
2697 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2698 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2699
98a61bcb
L
27002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2701
a4f6e481
L
2702 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2704
f63d5db6
L
2705 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2706 Use "neg %eax".
2707
98a61bcb
L
2708 * time/mktime.c: Update copyright years.
2709
95770f14
PE
27102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2711
6226efbd
PE
2712 mktime: merge comment-quoting-style change from gnulib
2713 * time/mktime.c: Quote 'like this' in comments.
2714 The GNU coding standards suggest that we no longer quote `like this',
2715 as "`" and "'" are typically rendered asymmetrically nowadays.
2716 The typical gnulib style is to quote 'like this' when quoting
2717 code, and "like this" when quoting English.
2718
b99e4f78
PE
2719 * time/mktime.c (compile-command): Add "-I.".
2720
643e01e6
PE
2721 mktime: merge mktime-internal.h change from gnulib
2722 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2723
2554247d
PE
2724 mktime: merge time_r change from gnulib
2725 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2726
826dd0ab
PE
2727 mktime: merge DEBUG change from gnulib
2728 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2729 case system <time.h> has a #define.
2730
bd83aabe
PE
2731 mktime: merge <sys/types.h> change from gnulib
2732 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2733 since <time.t> is now guaranteed to define time_t.
2734
95770f14
PE
2735 mktime: merge HAVE_CONFIG_H change from gnulib
2736 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2737
5e1a27a9
L
27382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2739
0e44a77e
L
2740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2741 Use "neg %eax".
2742
5e1a27a9
L
2743 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2744 __rlim_t cast.
2745 (struct rusage): Use anonymous union to pad each field to
2746 __syscall_slong_t.
2747
46259bec
DM
27482012-05-21 David S. Miller <davem@davemloft.net>
2749
2750 * Makefules (o-iterator): Remove .s cases.
2751 (compile-command.s): Delete.
2752 (COMPILE.s): Delete.
2753 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2754
59f0c22e
JM
27552012-05-21 Joseph Myers <joseph@codesourcery.com>
2756
2757 * configure.in (libc_cv_predef_stack_protector): Only consider
2758 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2759 * configure: Regenerated.
2760
20c07380
L
27612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2762
bbb3154b
L
2763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2764 New macro. Use R*LP on int and pointer.
2765 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2766 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2767 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2768 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2769
20c07380
L
2770 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2771 [__WORDSIZE_TIME64_COMPAT32] instead of
2772 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2773 (struct utmp): Likewise.
2774 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2775 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2776 Renamed to ...
2777 (__WORDSIZE_TIME64_COMPAT32): This.
2778 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2779 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2780 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2782 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2783 (__WORDSIZE_TIME64_COMPAT32): New macro.
2784
d8d1017e
AJ
27852012-05-21 Andreas Jaeger <aj@suse.de>
2786
2787 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2788 only if [SHARED]. Add prototype for __wcschr_ia32.
2789
6c7fb145
RM
27902012-05-21 Roland McGrath <roland@hack.frob.com>
2791
2792 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2793 of %rbp unmolested in the jmp_buf while mangling the low bits.
2794 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2795 unmolested high bits of %rbp while demangling the low bits.
2796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2797
66274218
AJ
27982012-05-21 Andreas Jaeger <aj@suse.de>
2799
07c58f8f
AJ
2800 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2801 * sunrpc/svc_simple.c: Use it for registerrpc.
2802 * sunrpc/xcrypt.c: Use it for passwd2des.
2803
66274218
AJ
2804 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2805
61f65140
L
28062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2809 Don't define if [__SYSCALL_WORDSIZE != 32].
2810 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2811 New macro.
2812
5fefb436
AJ
28132012-05-21 Bruno Haible <bruno@clisp.org>
2814 Andreas Jaeger <aj@suse.de>
2815
2816 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2817 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2818 inptr and inend for must_buffer_ch.
2819 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2820 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2821 * stdio-common/Makefile (tests): Remove bug15.
2822 (bug15-ENV): Remove macro.
2823 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2824 anymore.
2825
d8e272ab
AJ
28262012-05-19 Andreas Jaeger <aj@suse.de>
2827 Roland McGrath <roland@hack.frob.com>
2828
2829 * manual/contrib.texi: Completely rewritten. It contains now an
2830 alphabetical list of contributors and their contributions.
2831
4a56a162
RH
28322012-05-21 Richard Henderson <rth@twiddle.net>
2833
2834 * misc/getauxval.c (__getauxval): Use unsigned long int.
2835 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2836 (getauxval): Use unsigned long int.
2837
d024d23c
L
28382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2839
2840 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2841
cbc00a03
RM
28422012-05-21 Roland McGrath <roland@hack.frob.com>
2843
2844 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2845 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2846 __alignof__ (long double).
2847
478143fa
AZ
28482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2849
2850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2851
c7683a6d
RH
28522012-05-20 Richard Henderson <rth@twiddle.net>
2853
2854 * misc/getauxval.c: New file.
2855 * misc/sys/auxv.h: New file.
2856 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2857 (routines): Add getauxval.
2858 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2859 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2860 * elf/dl-sysdep.c (_dl_auxv): Remove.
2861 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2862 * elf/dl-support.c (_dl_auxv): New variable.
2863 (_dl_aux_init): Initialize it.
2864 * manual/startup.texi (Auxiliary Vector): New node.
2865 * sysdeps/generic/bits/hwcap.h: New file.
2866 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2867 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2868 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2869 * sysdeps/sparc/sysdep.h: ... here. Include it.
2870 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2871 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2873 Update.
c7683a6d
RH
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2877 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2882
a6f1845d
AZ
28832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2884
2885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2886
cbcbe830
DM
28872012-05-19 David S. Miller <davem@davemloft.net>
2888
2889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2890
e0b16cc2
JM
28912012-05-19 Joseph Myers <joseph@codesourcery.com>
2892
2893 [BZ #14123]
2894 * math/s_ccosh.c: Include <float.h>
2895 (__ccosh): Avoid internal overflow calculating sinh and cosh
2896 values before multiplying by sin and cos values.
2897 * math/s_ccoshf.c: Likewise.
2898 * math/s_ccoshl.c: Likewise.
2899 * math/s_csin.c: Likewise.
2900 * math/s_csinf.c: Likewise.
2901 * math/s_csinl.c: Likewise.
2902 * math/s_csinh.c: Likewise.
2903 * math/s_csinhf.c: Likewise.
2904 * math/s_csinhl.c: Likewise.
2905 * math/libm-test.inc (ccos_test): Add more tests.
2906 (ccosh_test): Likewise.
2907 (csin_test): Likewise.
2908 (csinh_test): Likewise.
2909 * sysdeps/i386/fpu/libm-test-ulps: Update.
2910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2911
6ad13e08
L
29122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2913
f66f0ce8
L
2914 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2915 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2916
6ad13e08
L
2917 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2918
b1d072a7
JM
29192012-05-19 Joseph Myers <joseph@codesourcery.com>
2920
2921 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2922 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2923 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2924 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2925 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2926 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2927 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2928 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2929 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2930 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2931 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2932 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2933 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2934 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2935 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2936 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2937 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2938 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2939 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2940 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2941 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2942 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2943 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2944 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2945 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2946 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2947 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2948 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2949 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2950 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2951 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2952
9eae47cb
AJ
29532012-05-18 Andreas Jaeger <aj@suse.de>
2954
2955 * csu/.gitignore: Delete.
2956
bb07f69f
L
29572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2960 (timex): Use __syscall_slong_t.
2961
e6bdb741
AJ
29622012-05-18 Andreas Jaeger <aj@suse.de>
2963 Carlos O'Donell <carlos_odonell@mentor.com>
2964
2965 * manual/install.texi (Configuring and compiling): Update
2966 description about files modified in the source directory.
d6c33fda 2967 * INSTALL: Regenerated.
e6bdb741 2968
1b74487e
L
29692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2972 value. Use "or" to set return value to -1.
2973 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2974 negate return value.
2975
a88b64b9
TMQMF
29762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2977
2978 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2979 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2980 failure if the compiler has Graphite support disabled.
2981 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2982 Likewise.
2983 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2984 CFLAGS-memmove.c): Likewise.
2985 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2986 Likewise.
2987
3707636e
L
29882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2989
610b8622
L
2990 * sysdeps/x86_64/x32/_itoa.h: New file.
2991
7cd195df
L
2992 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2993 getdents system call only if kernel and user dirents have the
2994 same d_ino and d_off.
2995
94b07d20
L
2996 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2997 LLONG_MAX != LONG_MAX.
2998 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2999 (_fitoa_word): Likewise.
3000
18298070
L
3001 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3002 years.
3003 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3004 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3005 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3006
553c7ea4
L
3007 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3008 include <bits/wordsize.h>. Check __x86_64__ instead of
3009 __WORDSIZE.
3010 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3011 if __x86_64__ is defined. Use anonymous union on fpstate.
3012
3707636e
L
3013 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3014 anonymous union.
3015
b53ef01a
AS
30162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3017
37fb1dc0
AS
3018 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3019 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3020 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3021 Refer to _rtld_local_ro instead of _rtld_global_ro.
3022 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3023 Likewise.
3024 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3025 Likewise.
3026 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3027 Likewise.
3028 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3029 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3030 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3031
b53ef01a
AS
3032 * sysdeps/powerpc/powerpc32/dl-machine.c
3033 (__elf_machine_runtime_setup) [PROF]: Don't reference
3034 _dl_prof_resolve.
3035
7a185db2
AJ
30362012-05-18 Andreas Jaeger <aj@suse.de>
3037
3038 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3039 function only available for GCCs before 3.4 since GCC 3.4
3040 introduced a builtin.
3041 (lrint): Likewise.
3042 (llrintf): Likewise.
3043 (llrint): Likewise.
3044 (fmaxf): Likewise.
3045 (fmax): Likewise.
3046 (fminf): Likewise.
3047 (fmin): Likewise.
3048 (rint): Likewise.
3049 (rintf): Likewise.
3050 (nearbyint): Likewise.
3051 (nearbyintf): Likewise.
3052 (ceil): Likewise.
3053 (ceilf): Likewise.
3054 (floor): Likewise.
3055 (floorf): Likewise.
3056
3e5aef87
L
30572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3058
428bd707
L
3059 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3060 on both fields and cast pointer to __syscall_ulong_t.
3061
3e5aef87
L
3062 * bits/types.h (__fsword_t): New type.
3063 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3064 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3066 (__FSWORD_T_TYPE): Likewise.
3067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3068 (__FSWORD_T_TYPE): Likewise.
3069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3070 (__FSWORD_T_TYPE): Likewise.
3071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3072 (__FSWORD_T_TYPE): Likewise.
3073 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3074 __SWORD_TYPE with __fsword_t.
3075 (statfs64): Likewise.
3076
1ba7c3dc
DM
30772012-05-17 David S. Miller <davem@davemloft.net>
3078
3079 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3080
59910343
AJ
30812012-05-17 Andreas Jaeger <aj@suse.de>
3082
3083 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3084 warning.
3085
2e4c1e9e
L
30862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3089
de7f5ce7
AJ
30902012-05-17 Andreas Jaeger <aj@suse.de>
3091
3092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3093 when it is used.
3094
286abc3d
CM
30952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3096
3097 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3098
477cc68e
L
30992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3102 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3103
1a0994f5
CD
31042012-05-17 Andreas Jaeger <aj@suse.de>
3105 Carlos O'Donell <carlos_odonell@mentor.com>
3106
3107 [BZ #14059]
3108 * sysdeps/x86_64/multiarch/init-arch.h
3109 (bit_YMM_Usable): Rename to...
3110 (bit_AVX_Usable): ... this.
3111 (bit_FMA4_Usable): New macro.
3112 (bit_XMM_state): New macro.
3113 (bit_YMM_state): New macro.
3114 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3115 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3116 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3117 (CPUID_OSXSAVE): New macro.
3118 (CPUID_AVX): New macro.
3119 (CPUID_FMA4): New macro.
3120 (index_YMM_Usable): Rename to...
3121 (index_AVX_Usable): ... this.
3122 (HAS_AVX): Use HAS_ARCH_FEATURE.
3123 (HAS_FMA4): Likewise.
3124 (HAS_YMM_USABLE): Remove.
3125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3126 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3127 are present.
3128 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3129 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3130 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3131 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3132 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3133
0af797de
CM
31342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3135
3136 * math/libm-test.c: Support platforms without multiple rounding modes.
3137 * math/bug-nextafter.c: Support platforms without FP exceptions.
3138 * math/bug-nexttoward.c: Likewise.
3139 * math/test-fenv.c: Likewise.
3140 * math/test-misc.c: Likewise.
3141 * stdlib/bug-getcontext.c: Likewise.
3142
e39745ff
AJ
31432012-05-17 Andreas Jaeger <aj@suse.de>
3144
3145 * manual/examples/search.c (critter_cmp): Change signature to
3146 avoid warnings.
3147 * manual/string.texi (Collation Functions): Likewise.
3148
48970aba
L
31492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3150
3151 * bits/types.h: Fold copyright years.
3152 * bits/typesizes.h: Likewise.
3153 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3157 * time/time.h: Likewise.
3158
bedee953
PP
31592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3160
3161 [BZ #208]
3162 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3163 in instead of returning them. Return void.
3164 (__libc_mallinfo): Accumulate over all arenas.
3165 (__malloc_stats): Adjust for change in int_mallinfo interface.
3166
61653dfb
RM
31672012-05-16 Roland McGrath <roland@hack.frob.com>
3168
30b99d79
RM
3169 [BZ #10375]
3170 * configure.in (NM): Add AC_CHECK_TOOL for it.
3171 (libc_extra_cflags): New substituted variable.
3172 Check for -fstack-protector being used implicitly.
3173 * configure: Regenerated.
3174 * config.make.in (config-extra-cflags): New variable,
3175 gets @libc_extra_cflags@.
3176 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3177
61653dfb
RM
3178 [BZ #10375]
3179 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3180 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3181 * configure: Regenerated.
3182 * config.make.in (CPPUNDEFS): New substituted variable.
3183 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3184 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3185 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3186
661768bb
L
31872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3188
3189 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3190 (mq_attr): Use __syscall_slong_t.
3191
d4261567
L
31922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3193
3194 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3195 Check __x86_64__ instead of __WORDSIZE.
3196 (_STAT_VER_LINUX): Likewise.
3197 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3198 __syscall_ulong_t and __syscall_slong_t.
3199 (stat64): Likewise.
3200
cf3ff365
L
32012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3202
3203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3204
76cf3e4d
L
32052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3206
3207 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3208
a637753a
L
32092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3210
3211 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3212 __syscall_ulong_t.
3213
d5e05119
L
3214 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3215 include <bits/wordsize.h>. Check __x86_64__ instead of
3216 __WORDSIZE.
3217 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3218 defined.
3219 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3220
f62ee380
L
3221 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3222 include <bits/wordsize.h>. Check __x86_64__ instead of
3223 __WORDSIZE.
3224 (user_regs_struct): Use "__extension__ unsigned long long"
3225 instead of "unsigned long" if __x86_64__ is defined.
3226 (user): Likewise. Pad after pointer field if __ILP32__ is
3227 defined.
3228
4e124ced
JM
32292012-05-16 Joseph Myers <joseph@codesourcery.com>
3230
6a3951a0
JM
3231 * configure.in (makeinfo): Require version 4.5 or later. Allow
3232 versions 5 to 9.
3233 * configure: Regenerated.
3234 * manual/install.texi (texinfo): Increase version requirement to
3235 4.5 or later.
3236 * INSTALL: Regenerated.
3237
4e124ced
JM
3238 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3239
953ca31a
L
32402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3241
3242 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3243
617aca05
L
3244 * sysdeps/x86_64/x32/ffs.c: New file.
3245
5762f7ae
L
3246 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3247 __syscall_ulong_t.
3248 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3249 defined. Use __syscall_ulong_t.
3250 (shminfo): Use __syscall_ulong_t.
3251 (shm_info): Likewise.
3252
a26b6856
L
3253 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3254 __syscall_ulong_t.
3255
cb2b9ef7
L
3256 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3257 <bits/wordsize.h>.
3258 (msgqnum_t): Use __syscall_ulong_t.
3259 (msglen_t): Likewise.
3260 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3261 __syscall_ulong_t.
3262
34683bb0
L
3263 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3264 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3265
84a68786
L
3266 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3267
48baa5f1
L
3268 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3269 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3270
180be88b
L
3271 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3272 __syscall_slong_t.
3273
5e90c8ad
L
3274 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3275 include <bits/wordsize.h>. Check __x86_64__ instead of
3276 __WORDSIZE.
3277
23dfb58b
L
3278 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3279 "unsigned long long int" if __x86_64__ is defined.
3280 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3281
ce5d54b0
L
3282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3283 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3284 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3285
13dc9eac
L
3286 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3287 <stdint.h>.
3288 (GET_PC): Cast to uintptr_t first.
3289 (GET_FRAME): Likewise.
3290 (GET_STACK): Likewise.
3291
a7895d15
L
3292 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3293 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3298 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3300 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3302 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3304 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3306 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3308 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3309 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3310 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3312 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3313 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3314 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3315 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3316 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3318 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3320 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3321
656416c9
AS
33222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3323
5bd66283
AS
3324 * Makerules (+depfiles): Also collect depfiles from .oS in
3325 $(extra-objs).
3326 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3327 .oS, $(libnldbl-routines)).
3328
656416c9
AS
3329 * Makerules (native-compile-mkdep-flags): Define.
3330 * sunrpc/Makefile (extra-objs): Add $(addprefix
3331 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3332 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3333 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3334 calling $(make-target-directory).
3335
a46f2169
L
33362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * bits/types.h (__snseconds_t): Removed.
3339 * time/time.h (struct timespec): Replace __snseconds_t with
3340 __syscall_slong_t.
3341 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3342 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3343 Likewise.
3344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3345 (__SNSECONDS_T_TYPE): Likewise.
3346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3347 (__SNSECONDS_T_TYPE): Likewise.
3348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3349 (__SNSECONDS_T_TYPE): Likewise.
3350
6af6528b
L
33512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3352
3353 * sysdeps/mach/hurd/bits/typesizes.h
3354 (__SYSCALL_SLONG_TYPE): New macro.
3355 (__SYSCALL_ULONG_TYPE): Likewise.
3356
de986b56
L
33572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 * bits/types.h (__syscall_slong_t): New type.
3360 (__syscall_ulong_t): Likewise.
3361
3362 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3363 (__SYSCALL_ULONG_TYPE): Likewise.
3364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3365 (__SYSCALL_SLONG_TYPE): Likewise.
3366 (__SYSCALL_ULONG_TYPE): Likewise.
3367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3368 (__SYSCALL_SLONG_TYPE): Likewise.
3369 (__SYSCALL_ULONG_TYPE): Likewise.
3370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3371 (__SYSCALL_SLONG_TYPE): Likewise.
3372 (__SYSCALL_ULONG_TYPE): Likewise.
3373
85736dc7
L
33742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3375
3376 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3377 Add sigaltstack-offsets.sym.
3378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3379 <sigaltstack-offsets.h>.
3380 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3381 longjmp_msg pointer.
3382 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3383 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3384 signal stack.
3385 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3386
cc03b296
JM
33872012-05-15 Joseph Myers <joseph@codesourcery.com>
3388
a9538892
JM
3389 * elf/stackguard-macros.h: Remove file.
3390 * sysdeps/generic/stackguard-macros.h: New file.
3391 * sysdeps/i386/stackguard-macros.h: Likewise.
3392 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3393 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3394 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3395 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3396 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3397 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3398 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3399 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3400 <elf/stackguard-macros.h>.
3401
cc03b296
JM
3402 [BZ #14109]
3403 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3404 __aligned__ in attribute.
3405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3406 (gregset_t): Likewise.
3407
93171016
L
34082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3411 * sysdeps/x86_64/64/Implies-after: Here. New file.
3412 * sysdeps/x86_64/x32/Implies-after: New file.
3413
d86813a0
L
34142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3417 and access return value for _dl_profile_fixup. Use R10_LP to
3418 load frame size.
3419
2953ec75
L
34202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3423
3b550e9e
L
34242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3425
3426 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3427 * sysdeps/x86_64/x32/sysdep.h: New file.
3428
eda41706
L
34292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3430
3431 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3432 * sysdeps/x86_64/setjmp.S: Likewise.
3433
9ea01d93
AZ
34342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435
3436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3437 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3438 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3439 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3440 remove unused global constant.
3441
02a91938
CM
34422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3443
3444 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3445 include of <not-cancel.h>.
3446
6540185f
RM
34472012-05-15 Roland McGrath <roland@hack.frob.com>
3448
3449 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3450
509072a0
AJ
34512012-05-15 Jeff Law <law@redhat.com>
3452 Andreas Jaeger <aj@suse.de>
3453
3454 [BZ #13594]
3455 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3456 out from...
3457 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3458 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3459 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3460 code changing __hst_map_handle.map.
3461
ba75122d
RM
34622012-05-15 Roland McGrath <roland@hack.frob.com>
3463
3464 * configure.in (sysnames): Look for Implies-before and Implies-after
3465 files.
3466 * configure: Regenerated.
3467
890d8bd8
L
34682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3469
3470 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3471 8-byte data alignment with LP_SIZE alignment.
3472
f6ee6623
L
34732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3474
3475 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3476 into R10_LP.
3477
ea2626f6
L
34782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3481
085f715e
L
34822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3483
3484 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3485 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3487 Likewise.
3488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3489
be8498fc
L
34902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3491
3492 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3493 (stackinfo_sub_sp): Likewise.
3494
70bc83b9
L
34952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3496
3497 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3498 RAX_LP.
3499
9bc0b730
L
35002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3501
3502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3503 into R*_LP.
3504
6d2850e7
L
35052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3506
3507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3508 sizes into R*_LP.
3509
3cb84561
L
35102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3511
3512 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3513
54e2ed81
L
35142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3517 into R11_LP and load __x86_64_shared_cache_size_half into
3518 R8_LP.
3519
8a17f349
L
35202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3521
3522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3523 R8_LP.
3524
777b1eea
AZ
35252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3526
3527 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3528 logb for POWER7.
3529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3530 logbf for POWER7.
3531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3532 logbl for POWER7.
3533 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3534 powerpc32/power7/fpu/s_logb.c via #include.
3535 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3536 powerpc32/power7/fpu/s_logbf.c via #include.
3537 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3538 powerpc32/power7/fpu/s_logbl.c via #include.
3539
d20d4ac2
JM
35402012-05-15 Joseph Myers <joseph@codesourcery.com>
3541
3542 * README.libm: Remove file.
3543
6cdef1ab
L
35442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3545
3546 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3547 count for x32. Use R*_LP and omit operand-size suffix.
3548
0b254d8f
L
35492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3550
3551 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3552 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3553 * sysdeps/x86_64/x32/shlib-versions: New file.
3554
ceb809dc
RM
35552012-05-14 Roland McGrath <roland@hack.frob.com>
3556
3557 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3558 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3559 Use _dl_fatal_printf instead.
3560
37f1abd4
JM
35612012-05-14 Joseph Myers <joseph@codesourcery.com>
3562
3563 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3564 set if not set by the user. Do not allow for being unset.
3565 * sysdeps/unix/sysv/linux/configure: Regenerated.
3566
11de3a33
L
35672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3568
3569 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3570 the `q' suffix from lea and replace .quad with ASM_ADDR.
3571
e02f153a
L
35722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3573
3574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3575 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3576 instead of $17.
3577 (PTR_DEMANGLE): Likewise.
3578
520ae0fd
L
35792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3582 (LP_OP): Likewise.
3583 (ASM_ADDR): Likewise.
3584 (RAX_LP): Likewise.
3585 (RBP_LP): Likewise.
3586 (RBX_LP): Likewise.
3587 (RCX_LP): Likewise.
3588 (RDI_LP): Likewise.
3589 (RSI_LP): Likewise.
3590 (RSP_LP): Likewise.
3591 (R8_LP): Likewise.
3592 (R9_LP): Likewise.
3593 (R10_LP): Likewise.
3594 (R10_LP): Likewise.
3595 (R11_LP): Likewise.
3596 (R12_LP): Likewise.
3597 (R13_LP): Likewise.
3598 (R14_LP): Likewise.
3599 (R15_LP): Likewise.
3600
b985be81
L
36012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3602
3603 * sysdeps/x86_64/x32/dl-machine.h: New file.
3604
6a4888ff
AJ
36052012-05-14 Andreas Jaeger <aj@suse.de>
3606
3607 * manual/Makefile (subdir): Remove export of subdir.
3608 (all): Remove target.
3609 (.PHONY): Remove all from list.
3610 (mkinstalldirs): Remove.
3611 (.PHONY): Remove installdirs from list.
3612 ($(inst_infodir)/libc.info): Use make-target-directory.
3613 (installdirs): Remove.
3614 (subdir_%): Remove.
3615 (glibc-targets): Remove.
3616 (lib): Remove.
3617 (stubs): Remove.
3618 ($(objpfx)stubs ../po/manual.pot): Remove.
3619 ($(objpfx)stamp%): Remove.
3620 (make-target-directory): Remove.
3621 (subdir_install): Remove.
3622 (routines): Remove.
3623 (aux): Remove.
3624 (sources): Remove.
3625 (objects): Remove.
3626 (headers): Remove.
3627
3628 [BZ #13750]
3629 * manual/.gitignore: Remove, it's not needed anymore.
3630 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3631 all files in it.
3632 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3633 directory.
3634 (texis): Renamed to $(objpfx)texis.
3635 (texis-path): New, contains path to generated files.
3636 (chapters.%): Use texis-path for complete path, add extra argument
3637 libc-texinfo.sh.
3638 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3639 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3640 (summary,texi, stamp-summary): Use complete path of
3641 files. Generate files in build dir.
3642 (dir-add.texi): Build in build dir.
3643 (libm-err.texi,stamp-libm-err): Likewise.
3644 (version.texi, stamp-version): Likewise.
3645 (.%c.texi): Likewise.
3646 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3647 (mostlyclean): Remove target.
3648 (realclean): Remove target.
3649 (generated): Add new variable with contents from mostlyclean and
3650 realclean, remove entries duplicated in common-mostlyclean, add
3651 stamp-libm-err and stamp-version.
3652 (generated-dirs): Add libc directory.
3653 ($(inst_infodir)/libc.info): Install files from build dir.
3654
3655 * manual/install.texi (Configuring and compiling): Adjust since
3656 the info files are not part of the tar ball anymore.
3657
7ac77294
AJ
36582012-05-14 Andreas Jaeger <aj@suse.de>
3659
3660 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3661 variable.
3662
ffb7875d
JM
36632012-05-14 Joseph Myers <joseph@codesourcery.com>
3664
3665 [BZ #13717]
3666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3667 to 2.2.0 where earlier.
3668 * sysdeps/unix/sysv/linux/configure: Regenerated.
3669 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3670 Remove conditional code.
3671 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3672 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3673 Remove conditional code.
3674 [!__NR_lchown]: Likewise.
3675 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3676 [__NR_lchown]: Likewise.
3677 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3678 comment referencing __ASSUME_LCHOWN_SYSCALL.
3679 * sysdeps/unix/sysv/linux/i386/sigaction.c
3680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3682 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3683 Remove conditional code.
3684 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3685 (__protocol_available): Remove #if 0 code.
3686 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3687 conditional code.
3688 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3689 * sysdeps/unix/sysv/linux/kernel-features.h
3690 (__ASSUME_GETCWD_SYSCALL): Don't define.
3691 (__ASSUME_REALTIME_SIGNALS): Likewise.
3692 (__ASSUME_PREAD_SYSCALL): Likewise.
3693 (__ASSUME_PWRITE_SYSCALL): Likewise.
3694 (__ASSUME_POLL_SYSCALL): Likewise.
3695 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3696 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3697 non-SPARC.
3698 (__ASSUME_SIOCGIFNAME): Don't define.
3699 (__ASSUME_MSG_NOSIGNAL): Likewise.
3700 (__ASSUME_SENDFILE): Define unconditionally.
3701 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3702 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3703 conditional code.
3704 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3705 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3706 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3707 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3708 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3709 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3710 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3712 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3715 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3718 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3724 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3727 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3735 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3736 Remove conditional code.
3737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3738 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3739 Remove conditional code.
3740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3741 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3742 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3743 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3744 Remove conditional code.
3745 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3746 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3747 Remove conditional code.
3748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3749 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3750 Remove conditional code.
3751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3752 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3753 Remove conditional code.
3754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3755 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3756 Remove conditional code.
3757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3758 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3761 * sysdeps/unix/sysv/linux/sigaction.c
3762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3764 * sysdeps/unix/sysv/linux/sigpending.c
3765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3767 * sysdeps/unix/sysv/linux/sigprocmask.c
3768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3770 * sysdeps/unix/sysv/linux/sigsuspend.c
3771 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3772 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3773 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3774 (__libc_missing_rt_sigs): Remove.
3775 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3776 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3777 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3778 Remove conditional code.
3779 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3780 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3781 return 1.
3782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3783 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3784 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3785 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3786
1bfb7291
AJ
37872012-05-14 Andreas Jaeger <aj@suse.de>
3788
caae5a81
AJ
3789 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3790 it's not used in glibc.
3791 (__coshm1): Likewise.
3792 (__acosh1p): Likewise.
3793 (__sgn): Likewise.
3794
1bfb7291
AJ
3795 * manual/string.texi (Copying and Concatenation): Add missing
3796 variable in concat example.
3797 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3798
c044d724
L
37992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3800
144c5467 3801 [BZ #14103]
c044d724
L
3802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3803 __builtin_clzl with __builtin_clzll.
3804
2523c62b
L
38052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 [BZ #14104]
3808 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3809 libc_freeres_ptr.
3810
d7bb4c42
LD
38112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3812
3813 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3814 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3815 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3816 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3817
9dc4e1fb
MF
38182012-05-14 Mike Frysinger <vapier@gentoo.org>
3819
3820 * NEWS: Update ia64 info.
3821
c7df0112
AS
38222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3823
3824 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3825 used as bcopy.
3826
dc70356c
TS
38272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3828
3829 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3830 * sysdeps/unix/syscalls.list (dup3): Likewise.
3831 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3832 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3833
9fb1a21f
L
38342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3835
3836 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3837 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3838
4822a2a5
L
38392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3842 thread pointer.
3843 (TLS_IE): Use mov/add instead of movq/addq to load thread
3844 pointer.
3845 (TLS_GD_PREFIX): New.
3846 (TLS_GD): Use it.
3847
842b81d6
DM
38482012-05-11 David S. Miller <davem@davemloft.net>
3849
3850 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3851 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3852 (_FPU_SETCW): Likewise.
3853
1cf463cd
L
38542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3857 is 32-byte aligned.
3858
60cc4a18
AS
38592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3860
3861 [BZ #11837]
3862 * iconvdata/gb18030.c: Update tables.
3863 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3864 characters specially.
3865 (BODY for TO_LOOP): Add encoding of missing ranges.
3866
febb44a4
TS
38672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3868
3869 [BZ #13673]
3870 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3871 * sysdeps/mach/hurd/dup3.c: Likewise.
3872 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3873 * sysdeps/powerpc/memmove.c:: Likewise.
3874
0a10fb9e
L
38752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3878 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3879
df8a552f
L
38802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3881
3882 * elf/elf.h (R_X86_64_RELATIVE64): New.
3883 (R_X86_64_NUM): Updated.
3884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3885 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3886 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3887 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3888 tst-quad1pie tst-quad2pie
3889 (modules-names): Add tst-quadmod1 tst-quadmod2.
3890 ($(objpfx)tst-quad1): New dependency.
3891 ($(objpfx)tst-quad2): Likewise.
3892 ($(objpfx)tst-quad1pie): Likewise.
3893 ($(objpfx)tst-quad2pie): Likewise.
3894 * sysdeps/x86_64/tst-quad1.c: New file.
3895 * sysdeps/x86_64/tst-quad1pie.c: New file.
3896 * sysdeps/x86_64/tst-quad2.c: Likewise.
3897 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3898 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3899 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3900 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3901 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3902
f34d6f84
ST
39032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3904
f42d41d1
ST
3905 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3906 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3907 * streams/stropts.h (t_scalar_t): Define type.
3908
3c3571fc
ST
3909 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3910 (_PATH_PRESERVE): Set to "/var/lib".
3911 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3912
61f06bd3
ST
3913 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3914 instead of int.
3915
918d4d71
ST
3916 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3917 if __dir_mkfile succeeded.
3918
f34d6f84
ST
3919 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3920 checking for _hurd_dtablesize. Unlock it right after having
3921 finished _hurd_dtable allocation.
3922
10589b4a
TS
39232012-05-10 Thomas Schwinge <thomas@schwinge.name>
3924
674cdbc7
TS
3925 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3926 * sysdeps/mach/hurd/configure: Regenerated.
3927 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3928 special-casing to...
3929 * sysdeps/gnu/configure.in: ... this new file.
3930 * sysdeps/unix/sysv/linux/configure: Regenerated.
3931 * sysdeps/gnu/configure: New generated file.
3932
8e41b99f
TS
3933 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3934 for Linux: use nsec instead of usec, as well as:
3935 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3936 members of type struct timespec.
3937 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3938 New macros.
3939 (struct stat64): Likewise.
3940 (_STATBUF_ST_NSEC): New macro.
3941 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3942
10589b4a
TS
3943 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3944 __strtoul_internal rather than strtoul.
3945
63643c85
PT
39462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3947
3948 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3949 and reject them.
3950
3faebe6a
ST
39512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3952
3953 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3954 which preserves existing values.
3955 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3956
c6474b07
PT
39572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3958
3959 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3960 TIMEOUT values. Return EINVAL for NFDS values either negative or
3961 greater than FD_SETSIZE.
3962
1043890b
ST
39632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3964
3965 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3966 allocated, call __vm_protect to finish enabling the existing space, and
3967 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3968 allocate the remainder.
3969
37ed8b9b
PT
39702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3971
3972 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3973 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3974
db653660
ST
39752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3976
37ed8b9b
PT
3977 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3978 sysdeps/mach/hurd/readlink.c.
b29d4053 3979
db653660
ST
3980 * posix/tst-sysconf.c (posix_options): Only use
3981 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3982 _POSIX_SYNCHRONIZED_IO when they are defined
3983 * sysdeps/mach/hurd/bits/posix_opt.h:
3984 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3985 (_XOPEN_REALTIME): Undefine macro.
3986 (_XOPEN_REALTIME_THREADS): Undefine macro.
3987 (_XOPEN_SHM): Undefine macro.
3988 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3989 macro to -1.
3990 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3991 macro to -1.
3992 (_POSIX_ASYNC_IO): Undefine macro.
3993 (_POSIX_PRIORITIZED_IO): Undefine macro.
3994 (_POSIX_SPIN_LOCKS): Define macro to -1.
3995
ee16e894
ST
3996 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3997 SA_NODEFER, SA_RESETHAND.
3998 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3999 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4000 F_DUPFD_CLOEXEC.
4001
6103ae3b
TS
40022012-05-10 Thomas Schwinge <thomas@schwinge.name>
4003
4004 * elf/Makefile (pldd-modules): Define unconditionally.
4005
80b4e5f3
TS
40062012-05-10 Thomas Schwinge <thomas@schwinge.name>
4007
4008 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4009
edadcbd6
ST
40102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4011
4012 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4013 Return ENOENT when name is empty.
4014 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4015
80694780
TS
40162012-05-10 Thomas Schwinge <thomas@schwinge.name>
4017
1792c087
TS
4018 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4019
80694780
TS
4020 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4021
6b645f0d
ST
40222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4023
80694780
TS
4024 Fix mlock in all cases except non-readable pages.
4025 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4026 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4027
6b645f0d
ST
4028 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4029 (__mkdir): When path is `/', just fail with EEXIST.
4030 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4031
e468f8a3
TS
40322012-05-10 Thomas Schwinge <thomas@schwinge.name>
4033
4034 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4035 <sys/uio.h> (for writev).
4036 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4037 and <sys/param.h> (for MIN).
4038
a4186cff
PT
40392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4040
4041 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4042 REQUESTED_TIME. Properly set the remaining time and return EINTR
4043 if interrupted.
4044
510bbf14
TS
40452012-05-10 Thomas Schwinge <thomas@schwinge.name>
4046
4047 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4048 Depend on against $(link-rpcuserlibs).
4049
5d5722e8
ST
40502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4051
a4186cff
PT
4052 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4053 (__libc_stack_end): Do not use attribute_relro.
4054 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4055 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4056 to libthread-provided value.
a4186cff
PT
4057 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4058 attribute_relro.
5d5722e8 4059
37233df9
TS
40602012-05-10 Thomas Schwinge <thomas@schwinge.name>
4061
be971a2b
TS
4062 [BZ #3748]
4063 * bits/libc-lock.h (__libc_once_get): New macro.
4064 * sysdeps/mach/bits/libc-lock.h: Likewise.
4065 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4067 instead of using implementation details.
4068
37233df9
TS
4069 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4070 * libio/freopen.c: Likewise.
4071 * libio/freopen64.c: Likewise.
4072 * misc/syslog.c: Likewise.
4073 * nscd/connections.c: Likewise.
4074 * nscd/netgroupcache.c: Likewise.
4075 * sysdeps/posix/getcwd.c: Likewise.
4076
38de94a5
RM
40772012-05-10 Roland McGrath <roland@hack.frob.com>
4078
4079 * math/w_ilogbf.c: Add #include <limits.h>.
4080
67530489
ST
40812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4082
a4186cff 4083 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4084 path instead of returning without unlocking.
4085
67530489
ST
4086 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4087 immediate-write ioctls.
4088 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4089
5aa3a74a
TS
40902012-05-10 Thomas Schwinge <thomas@schwinge.name>
4091
18bad2ae
TS
4092 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4093 __builtin_frame_address instead of making assumptions about the
4094 location of the return address relative to DATA. Force early load of
4095 the return address.
4096 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4097 __builtin_frame_address.
4098
5aa3a74a
TS
4099 dup3 for GNU Hurd.
4100 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4101 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4102 implement dup3 and do some further code clean-ups.
4103 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4104 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4105
ecd0de9a
ST
41062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4107
cd9fa985
ST
4108 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4109
a4186cff
PT
4110 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4111 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4112 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4113 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4114 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4115 d->port.lock.
802ca5a5 4116
a4186cff
PT
4117 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4118 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4119 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4120
bcf55240
TS
41212012-05-10 Thomas Schwinge <thomas@schwinge.name>
4122
6960eb42
TS
4123 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4124 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4125 definitions.
4126
eb43375f
TS
4127 accept4 for GNU Hurd.
4128 * include/sys/socket.h (__libc_accept4): New prototype.
4129 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4130 to implement __libc_accept4.
4131 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4132 __libc_accept4.
4133 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4134
bcf55240
TS
4135 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4136 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4137 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4138 signal-defines.sym.
4139
6178c55b
ST
41402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4141
a4186cff 4142 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4143
6f080c2f
TS
41442012-05-10 Thomas Schwinge <thomas@schwinge.name>
4145
4146 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4147 assertion on O_CLOEXEC flag.
4148 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4149 * hurd/intern-fd.c: Likewise.
4150 * hurd/port2fd.c: Likewise.
4151
bcfe3a54
ST
41522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4153
4154 [BZ #3906]
4155 * bits/in.h (IPV6_PKTINFO): Define new macro.
4156 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4157
89c9aa49
AZ
41582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4159
4160 [BZ #13954]
4161 [BZ #13955]
4162 [BZ #13956]
4163 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4165 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4166 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4168 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4169 * math/libm-test.inc (logb_test) : Additional logb tests.
4170
021db4be
AJ
41712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4172 Andreas Jaeger <aj@suse.de>
4173
4174 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4175 * configure: Regenerated.
4176 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4177 * config.make.in (link-obsolete-rpc): New substituted variable.
4178 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4179 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4180 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4181 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4182 so that libc.a contains the symbols.
4183 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4184 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4185 * sunrpc/auth_none.c: Likewise.
4186 * sunrpc/auth_unix.c: Likewise.
4187 * sunrpc/authdes_prot.c: Likewise.
4188 * sunrpc/authuxprot.c: Likewise.
4189 * sunrpc/clnt_gen.c: Likewise.
4190 * sunrpc/clnt_perr.c: Likewise.
4191 * sunrpc/clnt_raw.c: Likewise.
4192 * sunrpc/clnt_simp.c: Likewise.
4193 * sunrpc/clnt_tcp.c: Likewise.
4194 * sunrpc/clnt_udp.c: Likewise.
4195 * sunrpc/clnt_unix.c: Likewise.
4196 * sunrpc/des_crypt.c: Likewise.
4197 * sunrpc/des_soft.c: Likewise.
4198 * sunrpc/get_myaddr.c: Likewise.
4199 * sunrpc/key_call.c: Likewise.
4200 * sunrpc/key_prot.c: Likewise.
4201 * sunrpc/netname.c: Likewise.
4202 * sunrpc/pm_getmaps.c: Likewise.
4203 * sunrpc/pm_getport.c: Likewise.
4204 * sunrpc/pmap_clnt.c: Likewise.
4205 * sunrpc/pmap_prot.c: Likewise.
4206 * sunrpc/pmap_prot2.c: Likewise.
4207 * sunrpc/pmap_rmt.c: Likewise.
4208 * sunrpc/publickey.c: Likewise.
4209 * sunrpc/rpc_cmsg.c: Likewise.
4210 * sunrpc/rpc_common.c: Likewise.
4211 * sunrpc/rpc_dtable.c: Likewise.
4212 * sunrpc/rpc_prot.c: Likewise.
4213 * sunrpc/rpc_thread.c: Likewise.
4214 * sunrpc/rtime.c: Likewise.
4215 * sunrpc/svc.c: Likewise.
4216 * sunrpc/svc_auth.c: Likewise.
4217 * sunrpc/svc_raw.c: Likewise.
4218 * sunrpc/svc_run.c: Likewise.
4219 * sunrpc/svc_tcp.c: Likewise.
4220 * sunrpc/svc_udp.c: Likewise.
4221 * sunrpc/svc_unix.c: Likewise.
4222 * sunrpc/svcauth_des.c: Likewise.
4223 * sunrpc/xcrypt.c: Likewise.
4224 * sunrpc/xdr.c: Likewise.
4225 * sunrpc/xdr_array.c: Likewise.
4226 * sunrpc/xdr_float.c: Likewise.
4227 * sunrpc/xdr_intXX_t.c: Likewise.
4228 * sunrpc/xdr_mem.c: Likewise.
4229 * sunrpc/xdr_rec.c: Likewise.
4230 * sunrpc/xdr_ref.c: Likewise.
4231 * sunrpc/xdr_sizeof.c: Likewise.
4232 * sunrpc/xdr_stdio.c: Likewise.
4233
b5c086a2
RM
42342012-05-10 Roland McGrath <roland@hack.frob.com>
4235
4236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4237 change. Update copyright years.
4238
6d74dd09
JM
42392012-05-10 Joseph Myers <joseph@codesourcery.com>
4240
4241 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4242
28e72501
MK
42432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4244 Joseph Myers <joseph@codesourcery.com>
4245 Paul Pluzhnikov <ppluzhnikov@google.com>
4246
4247 [BZ #14012]
4248 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4249 requiring rpcgen.
4250 [cross-compiling] (extra-libs): Likewise.
4251 [cross-compiling] (extra-libs-others): Likewise.
4252 [cross-compiling] (librpcsvc-routines): Likewise.
4253 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4254 [cross-compiling] (omit-deps): Likewise.
4255 (sunrpc-CPPFLAGS): New variable.
4256 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4257 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4258 (cross-rpcgen-objs): New variable.
4259 (extra-objs): Append $(cross-rpcgen-objs).
4260 ($(cross-rpcgen-objs)): New rule.
4261 ($(objpfx)cross-rpcgen): Likewise.
4262 (rpcgen-cmd): Define to use $(built-program-file). Expand
4263 comment.
4264 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4265 ($(objpfx)x%.stmp): Likewise.
4266 * sunrpc/proto.h [IS_IN_build] (_): Define.
4267 [IS_IN_build] (_libc_intl_domainname): Likewise.
4268
c8c59454
L
42692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4270
4271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4272 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4273 and R_X86_64_TPOFF64.
4274
6f27cd16
JM
42752012-05-10 Joseph Myers <joseph@codesourcery.com>
4276
4277 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4278 sysdeps/unix/sysv/syscalls.list.
4279 (stime): Likewise.
4280 (utime): Likewise.
4281 * sysdeps/unix/sysv/syscalls.list: Remove file.
4282
02467e1c
PE
42832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4284
4285 [BZ #3440]
4286 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4287 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4288 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4289 (__LC_IDENTIFICATION): Make these macros useful in #if
4290 expressions, as required by C99.
4291
da392631
AS
42922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4293
4294 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4295 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4296 after this.
4297
8115f29b
L
42982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 * stdlib/longlong.h: Updated from GCC.
4301
bdd74070
AJ
43022012-05-09 Andreas Jaeger <aj@suse.de>
4303
edfe0dbe
AJ
4304 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4305 default is first entry.
4306 (run_mode): Set type.
4307 (main): Remove informal message about syslog.
4308 (options): Fix typo.
4309
bcfe3a54
ST
4310 [BZ #14053]
4311 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4312 to asm.
bcfe3a54
ST
4313 (lrint): Likewise.
4314 (llrintf): Likewise.
4315 (llrint): Likewise.
4316 (rint): Likewise.
4317 (rintf): Likewise.
4318 (nearbyint): Likewise.
4319 (nearbyintf): Likewise.
bdd74070 4320
91d8d69e
AJ
43212012-05-09 Andreas Jaeger <aj@suse.de>
4322 Pedro Alves <palves@redhat.com>
4323
4324 * nscd/nscd.c (run_mode): Use enum.
4325 (main): Cleanup coding style issue.
4326
bb90b80b
AJ
43272012-05-09 Alexandre Oliva <aoliva@redhat.com>
4328 Andreas Jaeger <aj@suse.de>
4329
bcfe3a54
ST
4330 * nscd/nscd.c (go_background): Replaced with...
4331 (run_mode): ... this.
bb90b80b 4332 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4333 (options): Add -F --foreground.
4334 (main): Implement it.
4335 (parse_opt): Parse it.
bb90b80b 4336
1a4b75a1
AJ
43372012-05-09 Andreas Jaeger <aj@suse.de>
4338
4339 [BZ #14083]
4340 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4341 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4342 -Wconversion warning.
4343 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4344 Likewise.
4345
b1cc2472
JM
43462012-05-09 Joseph Myers <joseph@codesourcery.com>
4347
4348 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4349 == 0.
4350 (LC_ALL): Use macro-int-constant.
4351 (LC_COLLATE): Likewise.
4352 (LC_CTYPE): Likewise.
4353 (LC_MESSAGES): Likewise.
4354 (LC_MONETARY): Likewise.
4355 (LC_NUMERIC): Likewise.
4356 (LC_TIME): Likewise.
4357 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4358 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4360 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4361 Specify type.
4362 [C99-based standards] (float_t): Expect type.
4363 [C99-based standards] (double_t): Expect type.
4364 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4365 type.
4366 [C99-based standards] (HUGE_VALL): Likewise.
4367 [C99-based standards] (INFINITY): Likewise.
4368 [C99-based standards] (NAN): Likewise.
4369 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4370 [C99-based standards] (FP_NAN): Likewise.
4371 [C99-based standards] (FP_NORMAL): Likewise.
4372 [C99-based standards] (FP_SUBNORMAL): Likewise.
4373 [C99-based standards] (FP_ZERO): Likewise.
4374 [C99-based standards] (FP_FAST_FMA): Use
4375 optional-macro-int-constant. Specify type. Require == 1.
4376 [C99-based standards] (FP_FAST_FMAF): Likewise.
4377 [C99-based standards] (FP_FAST_FMAL): Likewise.
4378 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4379 [C99-based standards] (FP_ILOGBNAN): Likewise.
4380 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4381 Specify type.
4382 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4383 [C99-based standards] (math_errhandling): Specify type.
4384 [ISO99 || ISO11] (signgam): Do not allow.
4385 [non-C99-based standards] (copysignf): Do not allow.
4386 [non-C99-based standards] (exp2f): Likewise.
4387 [non-C99-based standards] (log2f): Likewise.
4388 [non-C99-based standards] (modff): Allow.
4389 [non-C99-based standards] (erff): Do not allow.
4390 [non-C99-based standards] (erfcf): Likewise.
4391 [non-C99-based standards] (gammaf): Likewise.
4392 [non-C99-based standards] (hypotf): Likewise.
4393 [non-C99-based standards] (j0f): Likewise.
4394 [non-C99-based standards] (j1f): Likewise.
4395 [non-C99-based standards] (jnf): Likewise.
4396 [non-C99-based standards] (lgammaf): Likewise.
4397 [non-C99-based standards] (tgammaf): Likewise.
4398 [non-C99-based standards] (y0f): Likewise.
4399 [non-C99-based standards] (y1f): Likewise.
4400 [non-C99-based standards] (ynf): Likewise.
4401 [non-C99-based standards] (isnanf): Likewise.
4402 [non-C99-based standards] (acoshf): Likewise.
4403 [non-C99-based standards] (asinhf): Likewise.
4404 [non-C99-based standards] (atanhf): Likewise.
4405 [non-C99-based standards] (cbrtf): Likewise.
4406 [non-C99-based standards] (expm1f): Likewise.
4407 [non-C99-based standards] (ilogbf): Likewise.
4408 [non-C99-based standards] (log1pf): Likewise.
4409 [non-C99-based standards] (logbf): Likewise.
4410 [non-C99-based standards] (nextafterf): Likewise.
4411 [non-C99-based standards] (remainderf): Likewise.
4412 [non-C99-based standards] (rintf): Likewise.
4413 [non-C99-based standards] (scalbf): Likewise.
4414 [non-C99-based standards] (copysignl): Likewise.
4415 [non-C99-based standards] (exp2l): Likewise.
4416 [non-C99-based standards] (log2l): Likewise.
4417 [non-C99-based standards] (modfl): Allow.
4418 [non-C99-based standards] (erfl): Do not allow.
4419 [non-C99-based standards] (erfcl): Likewise.
4420 [non-C99-based standards] (gammal): Likewise.
4421 [non-C99-based standards] (hypotl): Likewise.
4422 [non-C99-based standards] (j0l): Likewise.
4423 [non-C99-based standards] (j1l): Likewise.
4424 [non-C99-based standards] (jnl): Likewise.
4425 [non-C99-based standards] (lgammal): Likewise.
4426 [non-C99-based standards] (tgammal): Likewise.
4427 [non-C99-based standards] (y0l): Likewise.
4428 [non-C99-based standards] (y1l): Likewise.
4429 [non-C99-based standards] (ynl): Likewise.
4430 [non-C99-based standards] (isnanl): Likewise.
4431 [non-C99-based standards] (acoshl): Likewise.
4432 [non-C99-based standards] (asinhl): Likewise.
4433 [non-C99-based standards] (atanhl): Likewise.
4434 [non-C99-based standards] (cbrtl): Likewise.
4435 [non-C99-based standards] (expm1l): Likewise.
4436 [non-C99-based standards] (ilogbl): Likewise.
4437 [non-C99-based standards] (log1pl): Likewise.
4438 [non-C99-based standards] (logbl): Likewise.
4439 [non-C99-based standards] (nextafterl): Likewise.
4440 [non-C99-based standards] (remainderl): Likewise.
4441 [non-C99-based standards] (rintl): Likewise.
4442 [non-C99-based standards] (scalbl): Likewise.
4443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4444 [non-C99-based standards] (FP_*): Do not allow.
4445 [C99-based standards] (FP_*): Change to
4446 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4447 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4448 allow.
4449 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4450 (SIG_ERR): Likewise.
4451 [X/Open-based standards] (SIG_HOLD): Likewise.
4452 (SIG_IGN): Likewise.
4453 (SIGABRT): Use macro-int-constant. Specify type. Require
4454 positive value.
4455 (SIGFPE): Likewise.
4456 (SIGILL): Likewise.
4457 (SIGINT): Likewise.
4458 (SIGSEGV): Likewise.
4459 (SIGTER): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4464 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4465 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4466 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4467 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4468 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4469 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4470 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4471 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4472 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4473 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4474 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4475 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4476 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4477 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4478 [X/Open-based standards] (SIGTRAP): Likewise.
4479 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4480 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4481 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4482 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4483 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4484 allow.
4485
b9f1922d
IW
44862012-05-08 Ian Wienand <ianw@vmware.com>
4487
4488 [BZ #14080]
4489 * time/tzset.c (__tzset_parse_tz): Update default rules for
4490 daylight time changes in the Energy Policy Act of 2005.
4491
1db86e88
AJ
44922012-05-09 Andreas Jaeger <aj@suse.de>
4493
4494 [BZ #13983]
4495 * elf/ldconfig.c (parse_conf): Change string to make clear that
4496 ldconfig only issued a warning if ld.so.conf does not exist.
4497
dee4a4e3
DM
44982012-05-08 David S. Miller <davem@davemloft.net>
4499
ee0db190
DM
4500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4501 movxtod instead of popping the value on the stack.
4502
dee4a4e3
DM
4503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4504
6a43ec98
CD
45052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4506
4507 * config.h.in: Add HAVE_ARM_PCS_VFP.
4508
05c2c961
RMG
45092012-05-08 Roland Mc Grath <roland@hack.frob.com>
4510
bcfe3a54
ST
4511 [BZ #13979]
4512 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4513 checking but the checks are disabled for any reason.
05c2c961 4514
4b30f61a
L
45152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4518 and ELF64_R_TYPE with ELFW(R_TYPE).
4519
eee2bc67
JM
45202012-05-08 Joseph Myers <joseph@codesourcery.com>
4521
7ea5391a
JM
4522 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4523 (ulimit): Likewise.
4524
eee2bc67
JM
4525 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4526 (settimeofday): Likewise.
4527
abb66a67
MF
45282012-05-08 Mike Frysinger <vapier@gentoo.org>
4529
4530 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4531 a struct th_u2 inside the union, and move tu_block/tu_code into
4532 a new th_u3 union of tu_block/tu_code inside of that. Move
4533 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4534 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4535 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4536 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4537 (th_stuff): Change to th_u1.tu_stuff.
4538 (th_data): Define.
4539 (th_msg): Change to th_u1.th_u2.tu_data.
4540
7f18b530
DM
45412012-05-07 David S. Miller <davem@davemloft.net>
4542
05760585
DM
4543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4544
7f18b530
DM
4545 [BZ #14074]
4546 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4547 (SETUP_PIC_REG): Use it.
4548 (SETUP_PIC_REG_LEAF): Use it.
4549
495fd99f
JM
45502012-05-07 Joseph Myers <joseph@codesourcery.com>
4551
4552 [BZ #13885]
4553 [BZ #13923]
4554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4555 USE_AS_EXPM1L.
4556 (EXPL_FINITE): Likewise.
4557 (FLDLOG): Likewise.
4558 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4559 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4560 e_expl.S.
4561 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4562 USE_AS_EXPM1L.
4563 (EXPL_FINITE): Likewise.
4564 (FLDLOG): Likewise.
4565 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4566 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4567 e_expl.S.
4568 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4569 test of -max_value argument for long double.
4570 * sysdeps/i386/fpu/libm-test-ulps: Update.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572
6693d694
DM
45732012-05-06 David S. Miller <davem@davemloft.net>
4574
4575 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4576 quad soft-float symbols whose references which are compiler
4577 generated.
4578 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4579
6c23e11c
JM
45802012-05-06 Joseph Myers <joseph@codesourcery.com>
4581
d8b82cad
JM
4582 [BZ #13884]
4583 [BZ #13914]
4584 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4585 USE_AS_EXP10L.
4586 (EXPL_FINITE): Likewise.
4587 (FLDLOG): Likewise.
4588 (c0): Likewise.
4589 (c1): Likewise.
4590 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4591 Adjust comments for base varying.
4592 (__expl_finite): Change alias to EXPL_FINITE.
4593 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4594 e_expl.S.
4595 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4596 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4597 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4598 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4599 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4600 USE_AS_EXP10L.
4601 (EXPL_FINITE): Likewise.
4602 (FLDLOG): Likewise.
4603 (c0): Likewise.
4604 (c1): Likewise.
4605 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4606 Adjust comments for base varying.
4607 (__expl_finite): Change alias to EXPL_FINITE.
4608 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4609 tests for bugs.
4610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4611
6c23e11c
JM
4612 [BZ #14064]
4613 * math/libm-test.inc (check_float_internal): Correct ulp
4614 calculation for subnormal expected results.
4615
29ba805c
AJ
46162012-05-06 Andreas Jaeger <aj@suse.de>
4617
4618 * Makeconfig (+math-flags): New, set to -frounding-math.
4619 (+cflags): Add +math-flags so that all of glibc gets compiled with
4620 it.
4621
4622 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4623
7b17aeda
JM
46242012-05-05 Joseph Myers <joseph@codesourcery.com>
4625
5779f134
JM
4626 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4627 Disable one test.
4628
41498f4d
JM
4629 [BZ #13787]
4630 [BZ #13922]
4631 [BZ #14036]
4632 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4633 (__ieee754_expl): Allow for and saturate large arguments.
4634 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4635 (u_threshold): Likewise.
4636 (__exp): Call __ieee754_exp before checking for overflow and
4637 underflow.
4638 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4639 (u_threshold): Likewise.
4640 (__expf): Call __ieee754_expf before checking for overflow and
4641 underflow.
4642 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4643 (u_threshold): Likewise.
4644 (__expl): Call __ieee754_expl before checking for overflow and
4645 underflow.
4646 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4647 (__ieee754_expl): Allow for and saturate large arguments.
4648 * math/libm-test.inc (exp_test): Add another test. Do not allow
4649 missing overflow exception on overflow.
4650 (expm1_test): Do not allow missing overflow exception on overflow.
4651
6698b8bf
JM
4652 * sysdeps/i386/fpu/e_expl.c: Move to ...
4653 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4654 rather than using inline asm.
4655 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4656 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4657 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4658
7b17aeda
JM
4659 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4660 (nice): Likewise.
4661 (poll): Likewise.
4662 (signal): Likewise.
4663 (time): Likewise.
4664 (times): Likewise.
4665
f7c85819
JM
46662012-05-04 Joseph Myers <joseph@codesourcery.com>
4667
4668 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4669 sysdeps/unix/common/syscalls.list.
4670 (fchmod): Likewise.
4671 (fchown): Likewise.
4672 (ftruncate): Likewise.
4673 (getrusage): Likewise.
4674 (gettimeofday): Likewise.
4675 (setpgid): Likewise.
4676 (setregid): Likewise.
4677 (setreuid): Likewise.
4678 (sigaction): Likewise.
4679 (truncate): Likewise.
4680 (vhangup): Likewise.
4681 * sysdeps/unix/common/syscalls.list: Remove file.
4682 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4683 * sysdeps/unix/sysv/linux/Implies: Likewise.
4684
336270d0
L
46852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4686
4687 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4689 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4690 Moved to ...
4691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4692 Here.
4693 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4694 to ...
4695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4696 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4697 to ...
4698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4699 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4700 to ...
4701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4702 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4703 to ...
4704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4705 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4706 to ...
4707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4708 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4709 to ...
4710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4711 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4712 to ...
4713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4714 Here.
4715 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4716 to ...
4717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4718 Here.
4719 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4720 to ...
4721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4722 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4723 Moved to ...
4724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4725 Here.
4726 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4727 to ...
4728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4729
d128e450
JM
47302012-05-04 Joseph Myers <joseph@codesourcery.com>
4731
fa8ee516
JM
4732 * sysdeps/unix/common/bits/dirent.h: Remove file.
4733 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4734
d128e450
JM
4735 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4736 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4737 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4738 * sysdeps/unix/bsd/isatty.c: Likewise.
4739 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4740 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4741 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4742
ff8faaf0 47432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4744
62881be4 4745 [BZ #13563]
31dc8730
AZ
4746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4747 long double comparison inaccuracies.
4748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4750
6fef930c
AS
47512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4752
4753 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4755
8f203e6c
JM
47562012-05-04 Joseph Myers <joseph@codesourcery.com>
4757
4758 [BZ #14049]
4759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4760 nonzero digits before rounding a hex value.
4761 * stdlib/tst-strtod.c (tests): Add another test.
4762
5197d9c2
AK
47632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4764
4765 * sysdeps/s390/fpu/libm-test-ulps: Update.
4766
f0c1dedf
AJ
47672012-05-03 Andreas Jaeger <aj@suse.de>
4768
4769 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4770 does not get optimized out.
4771 (malloc_opt_barrier): New.
4772
a65ef2ae 47732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4774 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4775
2b942cb7 4776 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4777 intermediate file deletion.
2b942cb7 4778 (generated): Add .symlist files.
a65ef2ae 4779
54b71e02
JM
47802012-05-03 Joseph Myers <joseph@codesourcery.com>
4781
4782 [BZ #13775]
4783 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4784 Redirect under this condition.
4785 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4786 [__USE_GNU] (__dprintf_chk): Not under this condition.
4787 [__USE_GNU] (__vdprintf_chk): Likewise.
4788 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4789 under this condition.
4790 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4791 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4792 [__USE_XOPEN2K8] (vdprintf): Likewise.
4793 [__USE_GNU] (__dprintf_chk): Not under this condition.
4794 [__USE_GNU] (__vdprintf_chk): Likewise.
4795 [__USE_GNU] (dprintf): Likewise.
4796 [__USE_GNU] (vdprintf): Likewise.
4797
d3dfcc41
RM
47982012-05-03 Roland McGrath <roland@hack.frob.com>
4799
4800 * elf/Makefile (common-generated): Set this instead of generated for
4801 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4802 $(all-built-dso)-derived lists.
4803
7ac30cc5
AJ
48042012-05-03 Andreas Jaeger <aj@suse.de>
4805
0c51e550
AJ
4806 * sysdeps/i386/fpu/libm-test-ulps: Update.
4807
7ac30cc5
AJ
4808 * FAQ: Removed.
4809 * FAQ.in: Likewise.
4810 * scripts/gen-FAQ.pl: Likewise.
4811 * manual/install.texi (Installation): Point to online location of
4812 FAQ.
4813 * Makefile (files-for-dist): Remove FAQ.
4814 (FAQ): Remove.
4815
d4c2917f
AM
48162012-05-02 Allan McRae <allan@archlinux.org>
4817
4818 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4819 (LDFLAGS-reldepmod5.so): Likewise.
4820 (LDFLAGS-reldep6mod1.so): Likewise.
4821 (LDFLAGS-reldep6mod4.so): Likewise.
4822 (LDFLAGS-reldep8mod3.so): Likewise.
4823 (LDFLAGS-unload4mod1.so): Likewise.
4824 (LDFLAGS-unload4mod2.so): Likewise.
4825 (LDFLAGS-tst-initorder): Likewise.
4826 (LDFLAGS-tst-initordera2.so): Likewise.
4827 (LDFLAGS-tst-initordera3.so): Likewise.
4828 (LDFLAGS-tst-initordera4.so): Likewise.
4829 (LDFLAGS-tst-initorderb2.so): Likewise.
4830 (LDFLAGS-noload): Likewise.
4831 (LDFLAGS-next): Likewise.
4832 (LDFLAGS-order2mod1.so): Likewise.
4833 (LDFLAGS-order2mod2.so): Likewise.
4834 (LDFLAGS-tst-initorder2): Likewise.
4835 (LDFLAGS-tst-initorder2a.so): Likewise.
4836 (LDFLAGS-tst-initorder2b.so): Likewise.
4837 (LDFLAGS-tst-initorder2c.so): Likewise.
4838 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4839
d77f993f
DM
48402012-05-02 David S. Miller <davem@davemloft.net>
4841
4842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4843
171a70b4
PP
48442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4845
4846 [BZ #14055]
4847 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4848
0be196ad
AJ
48492012-05-02 Andreas Jaeger <aj@suse.de>
4850
4851 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4852 since we manipulate rounding mode.
4853 (CPPFLAGS-test-idouble.c): Likewise.
4854 (CPPFLAGS-test-ifloat.c): Likewise.
4855 (CFLAGS-test-ldouble.c): Likewise.
4856 (CFLAGS-test-double.c): Likewise.
4857 (CFLAGS-test-float.c): Likewise.
4858 (CFLAGS-test-misc.c): Likewise.
4859 (CFLAGS-test-test-fenv.c): Likewise.
4860
4f9d04aa
AZ
48612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4862
2b942cb7
RM
4863 [BZ #2550]
4864 [BZ #2570]
4865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4866 comparisons to determine direction to adjust input.
4f9d04aa 4867
82a79e7d
RM
48682012-05-01 Roland McGrath <roland@hack.frob.com>
4869
f5a01ca9
RM
4870 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4871 output to the target.
4872
90fe4186
RM
4873 * scripts/localplt.awk: New file.
4874 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4875 (check-localplt-CFLAGS): Variable removed.
4876 ($(all-built-dso:=.jmprel)): New static pattern rule.
4877 (generated): Add those targets.
4878 (localplt-built-dso): New variable.
4879 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4880
4881 * elf/check-localplt.c: File removed.
4882
82397ed6
RM
4883 * scripts/check-execstack.awk: New file.
4884 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4885 (check-execstack-CFLAGS): Variable removed.
4886 ($(objpfx)check-execstack.h): Target removed.
4887 ($(objpfx)execstack-default): New target.
4888 (generated): Add that instead of check-execstack.h.
4889 ($(all-built-dso:=.phdr)): New static pattern rule.
4890 (generated): Add those targets.
4891 * elf/check-execstack.c: File removed.
4892
82a79e7d
RM
4893 * scripts/check-textrel.awk: New file.
4894 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4895 (check-textrel-CFLAGS): Variable removed.
4896 (all-built-dso): Use := to define.o
4897 ($(all-built-dso:=.dyn)): New static pattern rule.
4898 (generated): Add those targets.
4899 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4900 * config.make.in (READELF): New substituted variable.
4901 * elf/check-textrel.c: File removed.
4902
62fde54f 49032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4904
615605c9
JM
4905 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4906 allow.
4907 * conform/data/ctype.h-data [C99-based standards] (isblank):
4908 Expect function.
4909 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4910 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4912 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4913 Specify type. Require positive value.
4914 (EILSEQ): Likewise.
4915 (ERANGE): Likewise.
4916 [ISO || POSIX] (EILSEQ): Do not expect.
4917 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4918 Specify type. Require positive value.
4919 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4925 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4926 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4931 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4932 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4933 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4934 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4939 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4945 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4958 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4959 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4974 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4976 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4990 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4991 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4992 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4993 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4994 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4995 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4996 Require >= 2.
4997 (FLT_ROUNDS): Expect as macro, not constant.
4998 (FLT_MANT_DIG): Use macro-int-constant.
4999 (DBL_MANT_DIG): Likewise.
5000 (LDBL_MANT_DIG): Likewise.
5001 (FLT_DIG): Likewise.
5002 (DBL_DIG): Likewise.
5003 (LDBL_DIG): Likewise.
5004 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5005 (DBL_MIN_EXP): Likewise.
5006 (LDBL_MIN_EXP): Likewise.
5007 (FLT_MAX_EXP): Use macro-int-constant.
5008 (DBL_MAX_EXP): Likewise.
5009 (LDBL_MAX_EXP): Likewise.
5010 (FLT_MAX_10_EXP): Likewise.
5011 (DBL_MAX_10_EXP): Likewise.
5012 (LDBL_MAX_10_EXP): Likewise.
5013 (FLT_MAX): Use macro-constant.
5014 (DBL_MAX): Likewise.
5015 (LDBL_MAX): Likewise.
5016 (FLT_EPSILON): Use macro-constant. Give upper bound.
5017 (DBL_EPSILON): Likewise.
5018 (LDBL_EPSILON): Likewise.
5019 (FLT_MIN): Likewise.
5020 (DBL_MIN): Likewise.
5021 (LDBL_MIN): Likewise.
5022 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5023 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5024 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5025 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5026 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5027 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5028 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5029 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5030 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5031 [ISO11] (FLT_TRUE_MIN): Likewise.
5032 [ISO11] (LDBL_TRUE_MIN): Likewise.
5033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5034 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5035 (SCHAR_MIN): Use macro-int-constant. Specify type.
5036 (SCHAR_MAX): Likewise.
5037 (UCHAR_MAX): Likewise.
5038 (CHAR_MIN): Likewise.
5039 (CHAR_MAX): Likewise.
5040 (MB_LEN_MAX): Use macro-int-constant.
5041 (SHRT_MIN): Use macro-int-constant. Specify type.
5042 (SHRT_MAX): Likewise.
5043 (USHRT_MAX): Likewise.
5044 (INT_MAX): Likewise.
5045 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5046 bound negative.
5047 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5048 bound with "U".
5049 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5050 bound with "L".
5051 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5052 bound negative. Suffix upper bound with "L".
5053 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5054 bound with "UL".
5055 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5056 Specify type.
5057 [C99-based standards] (LLONG_MAX): Likewise.
5058 [C99-based standards] (ULLONG_MAX): Likewise.
5059 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5060 == 0.
5061 [ISO11] (max_align_t): Require type.
5062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5063
c9140a62
JM
5064 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5065 from $CFLAGS, without defining away __attribute__ calls.
5066 (checknamespace): Use $CFLAGS_namespace.
5067
9af0bf29
JM
5068 * conform/conformtest.pl (@keywords): Only include C99 keywords
5069 for standards based on C99 or C11.
5070
343222a2
JM
5071 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5072 Disable tests.
5073 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5074 UNIX98]: Likewise.
5075
661f8cf0
JM
5076 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5077 usability of symbols in #if.
5078
ee74b9cb
JM
5079 * conform/conformtest.pl: If macro or constant types start
5080 "promoted:", expect the symbol to be of the following type
5081 promoted by the integer promotions.
62fde54f 5082
aafc49b3
JM
5083 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5084 in one place. Also handle "macro-constant".
5085
fefdf574
JM
5086 * conform/conformtest.pl: Only accept expected macro values with
5087 "==". Parse all "macro" lines in one place.
5088 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5089
f2d922fe
JM
5090 * conform/conformtest.pl: Handle braced types on "constant" lines
5091 instead of handling "typed-constant".
5092 * conform/data/signal.h-data: Use "constant" instead of
5093 "typed-constant".
5094
d22956c9
JM
5095 * conform/conformtest.pl: Handle "optional-" at start of lines in
5096 one place rather than duplicating several cases. Handle each
5097 format of "macro" line with initial "optional-".
5098
028e2e38
JM
5099 * conform/conformtest.pl: Only accept expected constant or
5100 optional-constant values with "==". Parse all "constant" lines in
5101 one place. Parse all "optional-constant" lines in one place.
5102 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5103 * conform/data/fmtmsg.h-data: Likewise.
5104 * conform/data/netinet/in.h-data: Likewise.
5105 * conform/data/tar.h-data: Likewise.
5106 * conform/data/limits.h-data: Use "==" form on "constant" and
5107 "optional-constant" lines.
5108
1b8f2850
JM
5109 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5110 Use -std=c99 for XOPEN2K.
5111 (@knownproblems): Remove.
5112 (newtoken): Don't check %isknown.
5113
a05a144b
JM
5114 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5115 Do not expect macro.
5116 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5117 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5118 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5119 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5120 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5121 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5122 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5123 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5124 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5125 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5126 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5127 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5128 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5129 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5130 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5131 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5132 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5133 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5134 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5135 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5136 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5137 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5138 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5139 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5140 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5141 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5142 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5143 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5144 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5145 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5146 [XPG3] (acosh): Likewise.
5147 [XPG3] (asinh): Likewise.
5148 [XPG3] (atanh): Likewise.
5149 [XPG3] (cbrt): Likewise.
5150 [XPG3] (expm1): Likewise.
5151 [XPG3] (ilogb): Likewise.
5152 [XPG3] (log1p): Likewise.
5153 [XPG3] (logb): Likewise.
5154 [XPG3] (nextafter): Likewise.
5155 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5156 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5157 [XPG3] (remainder): Likewise.
5158 [XPG3] (rint): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5166 [UNIX98 || XOPEN2K] (scalb): Expect.
5167 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5168 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5169 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5186 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5187 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5206 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5207 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5208 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5288 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5289 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5290 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5291 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5292 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5293 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5294 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5304
73c5ebe3
JM
5305 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5306 _XOPEN_SOURCE_EXTENDED for XPG4.
5307
39c33b6c
JM
5308 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5309
62fde54f
JM
5310 * Makeconfig (localtime): Remove variable.
5311 (inst_localtime-file): Likewise.
5312
0741d64c
AS
53132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5314
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5316 Update.
5317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5318 Update.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5320 Update.
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5322 Update.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5324 Update.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5326 Update.
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5328 Update.
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5330 Update.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5332 Update.
5333
7cb029ee
JM
53342012-05-01 Joseph Myers <joseph@codesourcery.com>
5335
5336 [BZ #2550]
5337 [BZ #2570]
5338 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5339 comparisons to determine direction to adjust input.
5340 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5341 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5342 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5343 Likewise.
5344 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5345 Likewise.
5346 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5347 Likewise.
5348 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5350 Likewise.
5351 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5352 Likewise.
5353 * math/libm-test.inc (nexttoward_test): Add more tests.
5354
412bd966
AS
53552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5356
5357 [BZ #14040]
5358 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5359 in version GLIBC_2.1, not GLIBC_2.0.
5360 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5361 Likewise.
5362
9568c0c2
JM
53632012-04-30 Joseph Myers <joseph@codesourcery.com>
5364
adfbc8ac
JM
5365 [BZ #13942]
5366 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5367 (1 - x) * (1 + x).
5368 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5369 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5370 * math/libm-test.inc (acos_test): Add more tests.
5371 (asin_test): Likewise.
5372 * sysdeps/i386/fpu/libm-test-ulps: Update.
5373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5374
5ba3cc69
JM
5375 [BZ #14034]
5376 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5377 of square root.
5378 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5379 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5380 * math/libm-test.inc (acos_test_tonearest): New function.
5381 (acos_test_towardzero): Likewise.
5382 (acos_test_downward): Likewise.
5383 (acos_test_upward): Likewise.
5384 (asin_test_tonearest): Likewise.
5385 (asin_test_towardzero): Likewise.
5386 (asin_test_downward): Likewise.
5387 (asin_test_upward): Likewise.
5388 (main): Call the new functions.
5389 * sysdeps/i386/fpu/libm-test-ulps: Update.
5390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5391
9568c0c2
JM
5392 [BZ #13884]
5393 [BZ #13924]
5394 * math/e_exp10.c: Include <float.h>.
5395 (__ieee754_exp10): Handle underflow here rather than multiplying
5396 large negative argument by M_LN10.
5397 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5398 of __ieee754_expf.
5399 * math/e_exp10l.c: Include <float.h>.
5400 (__ieee754_exp10l): Handle underflow here rather than multiplying
5401 large negative argument by M_LN10l.
5402 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5403 spurious overflow exception on underflow.
5404
5ac3ea17
MP
54052012-04-29 Marek Polacek <polacek@redhat.com>
5406
5407 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5408 (__fortify_function): New macro.
5409 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5410 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5411 __extern_always_inline.
5412 * libio/bits/stdio2.h: Likewise.
5413 * libio/bits/stdio.h: Likewise.
5414 * string/string.h: Likewise.
5415 * string/bits/string3.h: Likewise.
5416 * include/stdio.h: Likewise.
5417 * stdlib/bits/stdlib.h: Likewise.
5418 * stdlib/stdlib.h: Likewise.
5419 * rt/bits/mqueue2.h: Likewise.
5420 * rt/mqueue.h: Likewise.
5421 * posix/bits/unistd.h: Likewise.
5422 * posix/unistd.h: Likewise.
5423 * io/bits/poll2.h: Likewise.
5424 * io/bits/fcntl2.h: Likewise.
5425 * io/fcntl.h: Likewise.
5426 * io/sys/poll.h: Likewise.
5427 * misc/bits/syslog.h: Likewise.
5428 * misc/bits/syslog-ldbl.h: Likewise.
5429 * misc/sys/syslog.h: Likewise.
5430 * socket/bits/socket2.h: Likewise.
5431 * socket/sys/socket.h: Likewise.
5432 * debug/tst-chk1.c: Likewise.
5433 * wcsmbs/bits/wchar2.h: Likewise.
5434 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5435 * wcsmbs/wchar.h: Likewise.
5436
ecf0ebfb
AJ
54372012-04-29 Andreas Jaeger <aj@suse.de>
5438
5439 * Makerules (tests): Remove enable-check-abi protection.
5440 (check-abi-warn): Remove.
5441 (check-abi-%): Remove check-abi-warn usage.
5442
5443 * configure.in: Remove check-abi configure option.
5444 * configure: Regenerated.
5445 * config.make.in (enable-check-abi): Remove.
5446
6d5c57fa
AS
54472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5448
24c5d07e 5449 [BZ #14033]
ded5180a
AS
5450 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5451 double functions to double *_finite functions.
5452
7e0d315d
AS
5453 [BZ #13941]
5454 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5455 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5456 LDBL_MIN_EXP.
5457 * stdio-common/Makefile (tests): Add tst-sprintf3.
5458 * stdio-common/tst-sprintf3.c: New file.
5459
6d5c57fa
AS
5460 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5461 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5462
0749ff8b
JM
54632012-04-28 Joseph Myers <joseph@codesourcery.com>
5464
5465 * conform/conformtest.pl: Remove duplicate typed-constant
5466 handling.
5467
8dbd5d7b
DM
54682012-04-28 David S. Miller <davem@davemloft.net>
5469
5470 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5471 (check-abi-%): Remove AWK script prerequisite and explicit
5472 abilist directory.
5473 (check-abi): Rewrite to just diff the symlist with the abilist.
5474 (config-tls, config-abi-config): Delete, no longer used.
5475 (update-abi-%): Remove AWK script and explicit abilist directory.
5476 (update-abi): Rewrite to simply compare and conditionally copy the
5477 symlist and the sysdep abilist file. Remove update-abi-config
5478 checks.
5479 * abilist/ld.abilist: Remove.
5480 * abilist/libBrokenLocale.abilist: Remove.
5481 * abilist/libanl.abilist: Remove.
5482 * abilist/libcrypt.abilist: Remove.
5483 * abilist/libdl.abilist: Remove.
5484 * abilist/librt.abilist: Remove.
5485 * abilist/libthread_db.abilist: Remove.
5486 * abilist/libutil.abilist: Remove.
5487 * scripts/extract-abilist.awk: Remove.
5488 * scripts/merge-abilist.awk: Remove.
5489 * sysdeps/generic/libcidn.abilist: New file.
5490 * sysdeps/generic/libnss_compat.abilist: New file.
5491 * sysdeps/generic/libnss_db.abilist: New file.
5492 * sysdeps/generic/libnss_dns.abilist: New file.
5493 * sysdeps/generic/libnss_files.abilist: New file.
5494 * sysdeps/generic/libnss_hesiod.abilist: New file.
5495 * sysdeps/generic/libnss_nis.abilist: New file.
5496 * sysdeps/generic/libnss_nisplus.abilist: New file.
5497 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5498 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5499 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5500 file.
5501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5502 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5503 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5504 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5505 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5506 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5507 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5508 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5509 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5510 file.
5511 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5512 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5513 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5514 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5515 file.
5516 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5517 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5518 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5519 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5520 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5521 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5522 file.
5523 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5524 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5525 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5526 file.
5527 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5529 New file.
5530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5531 New file.
5532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5533 New file.
5534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5535 New file.
5536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5537 New file.
5538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5539 New file.
5540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5541 New file.
5542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5543 New file.
5544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5545 New file.
5546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5547 New file.
5548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5549 New file.
5550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5551 New file.
5552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5553 New file.
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5555 file.
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5557 New file.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5559 New file.
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5561 file.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5563 New file.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5565 New file.
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5567 file.
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5569 New file.
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5571 New file.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5573 New file.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5575 New file.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5577 New file.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5579 New file.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5582 file.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5584 New file.
5585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5586 file.
5587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5588 file.
5589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5590 file.
5591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5592 file.
5593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5594 file.
5595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5596 New file.
5597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5598 file.
5599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5600 file.
5601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5602 New file.
5603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5604 file.
5605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5607 file.
5608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5609 New file.
5610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5611 file.
5612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5613 file.
5614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5615 file.
5616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5617 file.
5618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5619 file.
5620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5621 New file.
5622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5623 file.
5624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5625 file.
5626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5627 New file.
5628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5629 file.
5630 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5631 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5632 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5633 file.
5634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5635 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5636 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5637 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5638 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5639 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5640 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5641 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5642 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5643 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5646 file.
5647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5648 New file.
5649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5650 file.
5651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5652 file.
5653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5654 file.
5655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5656 file.
5657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5658 file.
5659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5660 New file.
5661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5662 New file.
5663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5664 file.
5665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5666 New file.
5667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5668 file.
5669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5671 file.
5672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5673 New file.
5674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5675 file.
5676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5677 file.
5678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5679 file.
5680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5681 file.
5682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5683 file.
5684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5685 New file.
5686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5687 New file.
5688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5689 file.
5690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5691 New file.
5692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5693 file.
5694
41d73a1b
JM
56952012-04-28 Joseph Myers <joseph@codesourcery.com>
5696
5697 * conform/conformtest.pl: Fix typo in handling typed-constant from
5698 allow-header.
5699
28aeeda4
JM
57002012-04-27 Joseph Myers <joseph@codesourcery.com>
5701
adae8f5e
JM
5702 * README: Cut down references to pre-2.6 Linux kernels and
5703 Linuxthreads. Update lists of configurations in libc and ports
5704 and sort alphabetically. Say "or newer" with Linux kernel version
5705 requirements.
5706
28aeeda4
JM
5707 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5708
a462cb63
RA
57092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5710
5711 [BZ #887]
5712 * math/libm-test.inc (logb_test_downward): New test to expose
5713 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5714 rounding mode.
5715
6ad3493e
JM
57162012-04-27 Joseph Myers <joseph@codesourcery.com>
5717
5718 [BZ #14027]
5719 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5720 to be done.
5721 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5722 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5723
2ce4f015
JM
57242012-04-26 Joseph Myers <joseph@codesourcery.com>
5725
5aeb141a
JM
5726 * sysdeps/unix/i386/brk.S: Remove file.
5727 * sysdeps/unix/i386/dl-brk.S: Likewise.
5728 * sysdeps/unix/i386/pipe.S: Likewise.
5729 * sysdeps/unix/i386/sigreturn.S: Likewise.
5730 * sysdeps/unix/i386/syscall.S: Likewise.
5731 * sysdeps/unix/i386/vfork.S: Likewise.
5732 * sysdeps/unix/i386/wait.S: Likewise.
5733
7143acae
JM
5734 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5735 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5736
2ce4f015
JM
5737 * configure.in (arm*-none*): Do not allow without
5738 --enable-hacker-mode.
5739 (netbsd*): Remove case setting base_os.
5740 (386bsd*): Likewise.
5741 (freebsd*): Likewise.
5742 (bsdi*): Likewise.
5743 (osf*): Likewise.
5744 (sunos*): Likewise.
5745 (ultrix*): Likewise.
5746 (newsos*): Likewise.
5747 (dynix*): Likewise.
5748 (*bsd*): Likewise.
5749 (sysv*): Likewise.
5750 (isc*): Likewise.
5751 (esix*): Likewise.
5752 (sco*): Likewise.
5753 (minix*): Likewise.
5754 (irix4*): Likewise.
5755 (irix6*): Likewise.
5756 (solaris[2-9]*): Likewise.
5757 (none): Likewise.
5758 * configure: Regenerated.
5759
0ac229c8
AZ
57602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761
5762 [BZ #11521]
5763 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5764 overflow or cancellation in calculating denominator.
5765 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5767 down expression to avoid unexpected rounding in newer GCCs.
5768 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5769
33f244f4
DM
57702012-04-26 David S. Miller <davem@davemloft.net>
5771
5772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5773 long-double compat symbols.
5774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5787
cfa1f3e8
DM
57882012-04-25 David S. Miller <davem@davemloft.net>
5789
5790 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5791 HWCAP_* values only after the memory barriers have been defined.
5792 (atomic_full_barrier): Define.
5793 (atomic_read_barrier): Define.
5794 (atomic_write_barrier): Define.
5795
6e236b92
SP
57962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5797
5798 * shlib-versions: Add libgcc_s version information.
5799 * sysdeps/generic/libgcc_s.h: Remove.
5800 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5801 libgcc_s.h.
5802 * sysdeps/gnu/unwind-resume.c: Likewise.
5803 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5804
aab39a09
DM
58052012-04-25 David S. Miller <davem@davemloft.net>
5806
5807 * sysdeps/unix/sparc/brk.S: Delete.
5808 * sysdeps/unix/sparc/dl-brk.S: Delete.
5809 * sysdeps/unix/sparc/pipe.S: Delete.
5810 * sysdeps/unix/sparc/sysdep.S: Delete.
5811 * sysdeps/unix/sparc/sysdep.h: Delete.
5812 * sysdeps/unix/sparc/vfork.S: Delete.
5813 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5814 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5815 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5816 ret_ERRVAL, r0, r1, MOVE): Define.
5817 (JUMPTARGET): Remove.
5818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5819 sysdeps/unix/sparc/sysdep.h
5820 (ENTRY, END): Remove.
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5822
a3cc4f48
JM
58232012-04-25 Joseph Myers <joseph@codesourcery.com>
5824
2ed8cda2
JM
5825 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5826 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5827 -DIS_IN_build.
5828
35d76d59
JM
5829 * timezone/README: Update upstream location and email address for
5830 tzcode and tzdata.
5831 * timezone/zdump.c: Update from tzcode 2012b.
5832 * timezone/zic.c: Likewise.
5833
a3cc4f48
JM
5834 * configure.in (libc_cv_as_needed): Remove test.
5835 * configure: Regenerated.
5836 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5837 conditional definition.
5838 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5839 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5840 * config.make.in (have-as-needed): Remove variable.
5841
ceab42c3
SP
58422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5843 Paul Pluzhnikov <ppluzhnikov@google.com>
5844
5845 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5846 strings correctly.
5847
3ce2865f
CLT
58482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5849
5850 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5851 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5852 * sysdeps/sh/strlen.S: Likewise.
5853
f37e0d68
JM
58542012-04-24 Joseph Myers <joseph@codesourcery.com>
5855
ae186e9a
JM
5856 * sysdeps/unix/fork.S: Remove file.
5857 * sysdeps/unix/i386/fork.S: Likewise.
5858 * sysdeps/unix/sparc/fork.S: Likewise.
5859
b96914af
JM
5860 * sysdeps/unix/system.c: Remove file.
5861 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5862
f37e0d68
JM
5863 * sysdeps/unix/getegid.S: Remove file.
5864 * sysdeps/unix/geteuid.S: Likewise.
5865
87ef29ca
RM
58662012-04-24 Roland McGrath <roland@hack.frob.com>
5867
83bcd236
RM
5868 * scripts/check-localplt.awk: New file.
5869 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5870 of diff.
5871 * scripts/data/localplt-generic.data: Add a comment.
5872
87ef29ca
RM
5873 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5874 NODE when __dir_mkfile failed.
5875 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5876 Reported by Ludovic Courtès <ludo@gnu.org>.
5877
e5a6e567
AJ
58782012-04-24 Andreas Jaeger <aj@suse.de>
5879
5880 * Makerules (common-clean): Also remove gen-as-const-headers
5881 files.
5882
c1820385
JM
58832012-04-24 Joseph Myers <joseph@codesourcery.com>
5884
5885 * Makerules (native-compile): Do not change working directory for
5886 build. Use $(OUTPUT_OPTION) in command.
5887 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5888
94e02fc4
AZ
58892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5890
5891 [BZ #13886]
5892 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5893 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5894 * math/libm-test.inc (floor_test): Add more tests.
5895 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5896
3a533ca3
JM
58972012-04-24 Joseph Myers <joseph@codesourcery.com>
5898
940ab4b3
JM
5899 * sysdeps/unix/getdents.c: Remove file.
5900 * sysdeps/unix/sysv/getdents.c: Likewise.
5901 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5902
90e037bd
JM
5903 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5904 sysdeps/unix/mman/syscalls.list.
5905 (mmap): Likewise.
5906 (mprotect): Likewise.
5907 (msync): Likewise.
5908 (munmap): Likewise.
5909 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5910 * sysdeps/unix/mman/syscalls.list: Remove.
5911 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5912
3a533ca3
JM
5913 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5914 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5915 * configure: Regenerated.
5916 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5917 $(libgcc_s_suffix).
5918 * config.make.in (libgcc_s_suffix): Remove variable.
5919
1ad743de
JM
59202012-04-23 Joseph Myers <joseph@codesourcery.com>
5921
4ad451e2
JM
5922 * sysdeps/unix/sysv/gethostname.c: Move to ...
5923 * sysdeps/posix/gethostname.c: ... here.
5924
5e37ce39
JM
5925 * sysdeps/unix/execve.S: Remove file.
5926
1ad743de
JM
5927 * sysdeps/unix/_exit.S: Remove file.
5928
4e681b5b
AJ
59292012-04-23 Andreas Jaeger <aj@suse.de>
5930
5931 [BZ #13739]
5932 * manual/Makefile: Remove make dist support, there's no
5933 need for a stand-alone documentation tar ball.
5934 (TEXI2DVI): Define always, it's not in Makeconfig.
5935 (dist): Removed.
5936 (tar-it): Removed.
5937 (edition): Removed.
5938 (glibc-doc-$(edition).tar): Removed
5939 (%.Z): Removed.
5940 (%.gz): Removed.
5941 (%.uu): Removed.
5942 (ETAGS): Remove, it's in Makeconfig.
5943 (move-if-change): Remove, it's in Makeconfig.
5944
c0baea34
PE
59452013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5946
5947 [BZ #13970]
5948 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5949 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5950 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5951 (strtod_l, strtof_l, strtold_l): Remove __wur.
5952 It is not necessarily an error to ignore strtol's return value.
5953 One can reliably look at the stored endptr to decide whether
5954 the number had valid syntax.
5955
7c0616fa
AJ
59562012-04-21 Andreas Jaeger <aj@suse.de>
5957
803cb6b7 5958 [BZ #13739]
7c0616fa
AJ
5959 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5960
b0fe253f
JM
59612012-04-21 Joseph Myers <joseph@codesourcery.com>
5962
5963 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5964 * sysdeps/unix/sysv/Versions: Remove file.
5965
8280f22d
MT
59662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5967
5968 [BZ #13927]
5969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5970
75ce411f 59712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5972
5973 [BZ #7064]
5974 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5975 version from __vm86.
5976
097d59fa
JM
59772012-04-20 Joseph Myers <joseph@codesourcery.com>
5978
a90f3bcb
JM
5979 * sysdeps/unix/common/lxstat.c: Remove file.
5980 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5981
edc7ea78
JM
5982 * sysdeps/unix/sysv/Makefile: Remove file.
5983
cb78c221
JM
5984 * sysdeps/unix/sysv/direct.h: Remove file.
5985
efa6a45f
JM
5986 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5987 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5988 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5989 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5990 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5991 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5992 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5993
9c9f2d0c
JM
5994 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5995
4541c83b
JM
5996 * sysdeps/unix/xmknod.c: Remove file.
5997 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5998
f5d153a0
JM
5999 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6000
aa746595
JM
6001 * sysdeps/unix/sysv/i386/time.S: Remove file.
6002
cce5905e
JM
6003 * sysdeps/unix/fxstat.c: Remove file.
6004 * sysdeps/unix/xstat.c: Likewise.
6005 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6006
37fa3841
JM
6007 * sysdeps/unix/sysv/sigaction.c: Remove file.
6008
ff1962a3
JM
6009 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6010 (sysdep_headers): Remove variable.
6011 [termio.h not in sysdep_headers] (generated): Likewise.
6012 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6013 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6014 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6015 * sysdeps/unix/sysv/tcflow.c: Likewise.
6016 * sysdeps/unix/sysv/tcflush.c: Likewise.
6017 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6018 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6019 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6020 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6021 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6022
e7740d31
JM
6023 * sysdeps/unix/siglist.c: Remove file.
6024
ee06f18b
JM
6025 * sysdeps/unix/getppid.S: Remove file.
6026
097d59fa
JM
6027 * sysdeps/unix/mkdir.c: Remove file.
6028 * sysdeps/unix/rmdir.c: Likewise.
6029
ff3d51ec
AS
60302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6031
6032 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6033 ERR_MAX value.
6034 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6035 errlist-compat value.
6036
50f81fd7
DM
60372012-04-18 David S. Miller <davem@davemloft.net>
6038
6039 * sysdeps/generic/memcopy.h (reg_char): Delete.
6040 * debug/strcat_chk.c: Use char, not reg_char.
6041 * debug/strcpy_chk.c: Likewise.
6042 * debug/strncat_chk.c: Likewise.
6043 * debug/strncpy_chk.c: Likewise.
6044 * string/memchr.c: Likewise.
6045 * string/memrchr.c: Likewise.
6046 * string/rawmemchr.c: Likewise.
6047 * string/strcat.c: Likewise.
6048 * string/strchr.c: Likewise.
6049 * string/strchrnul.c: Likewise.
6050 * string/strcmp.c: Likewise.
6051 * string/strcpy.c: Likewise.
6052 * string/strncat.c: Likewise.
6053 * string/strncmp.c: Likewise.
6054 * string/strncpy.c: Likewise.
6055
8ff41c46
WS
60562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6057
6058 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6059 __builtin_memcopy is called when src and dest ranges are known to not
6060 overlap.
6061
6b652f46
WS
60622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6063
6064 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6065 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6066 fwd_align_merge macro call.
6067 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6068 bwd_align_merge macro call.
6069 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6070
b282631e
WS
60712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6072
6073 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6074 bwd_align_merge macros.
6075 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6076 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6077 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6078
95aa737c
DM
60792012-04-18 David S. Miller <davem@davemloft.net>
6080
6081 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6082
7a99a614
AJ
60832012-04-18 Andreas Jaeger <aj@suse.de>
6084
6085 [BZ# 6794]
6086 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6087 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6088 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6089
6090 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6091 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6092 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6093
6094 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6095 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6096 Adjust for changed ldbl-128 files.
6097
6098 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6099 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6100 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6101
e5270c23
DM
61022012-04-17 David S. Miller <davem@davemloft.net>
6103
6104 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6105
fb5e92c9
AS
61062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6107
6108 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6109 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6110 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6111 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6112 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6113 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6114
76da7265
AZ
61152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6116
6117 [BZ #6794]
6118 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6119 * math/libm-test.inc: Add ilogb errno and exception tests.
6120 * math/w_ilogb.c: New file: ilogb wrapper.
6121 * math/w_ilogbf.c: New file: ilogbf wrapper.
6122 * math/w_ilogbl.c: New file: ilogbl wrapper.
6123 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6124 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6125 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6126 exception being thrown with 0.0 as argument.
6127 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6128 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6129 exception being thrown with 0.0 as argument.
6130 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6131 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6132 exception being thrown with 0.0 as argument.
6133 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6134 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6135 exception being thrown with 0.0 as argument.
6136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6137 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6138 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6139 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6140 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6141 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6142 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6143 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6144 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6145
0396e69d
PB
61462012-04-17 Petr Baudis <pasky@ucw.cz>
6147
6148 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6149 with altivec.
6150
750b5926
MP
61512012-04-16 Marek Polacek <polacek@redhat.com>
6152
6153 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6154
751728a1
MP
61552012-04-16 Marek Polacek <polacek@redhat.com>
6156
6157 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6158 operands of fdivp instruction.
6159
34a27407
L
61602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6163 * elf/tst-auditmod3b.c: Likewise.
6164 * elf/tst-auditmod4b.c: Likewise.
6165 * elf/tst-auditmod5b.c: Likewise.
6166 * elf/tst-auditmod6b.c: Likewise.
6167 * elf/tst-auditmod6c.c: Likewise.
6168 * elf/tst-auditmod7b.c: Likewise.
6169 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6170 * sysdeps/x86_64/preconfigure.in: Likewise.
6171 * sysdeps/x86_64/preconfigure: Regenerated.
6172
7e73e17d
L
61732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6174
6175 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6176 __ILP32__.
6177
c7a6ab72
AB
61782012-04-13 Antoine Balestrat <merkil33@gmail.com>
6179
6180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6181 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6182
a9e8e0e0
CL
61832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6184
6185 [BZ #13973]
6186 * locale/iso-639.def: Fix gl language name. Spotted by
6187 Yaron Shahrabani.
6188
ec98af7d
RM
61892012-04-12 Roland McGrath <roland@hack.frob.com>
6190
6191 [BZ #2074]
6192 * libio/libio.h (__io_write_fn): Update comment.
6193
247c3ede
PB
61942012-04-12 Petr Baudis <pasky@ucw.cz>
6195
6196 [BZ #2074]
6197 * stdio.texi (Hook Functions): The user provided writer function
6198 is not allowed to return -1.
6199
55939d6d
DM
62002012-04-11 David S. Miller <davem@davemloft.net>
6201
6202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6203
90020f5a
MF
62042012-04-11 Mike Frysinger <vapier@gentoo.org>
6205
6206 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6207 Add a leading slash to rtkaio.
6208
288f9098
JM
62092012-04-11 Jim Meyering <meyering@redhat.com>
6210
90020f5a
MF
6211 [BZ #11959]
6212 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6213 It is not necessarily an error to ignore fwrite's return
6214 value. One can reliably use ferror to test for errors after
6215 the fact.
288f9098 6216
4be2b570
L
62172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6218
6219 * bits/types.h (__snseconds_t): New type.
6220 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6221
6222 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6224 (__SNSECONDS_T_TYPE): Likewise.
6225 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6226 (__SNSECONDS_T_TYPE): Likewise.
6227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6228 (__SNSECONDS_T_TYPE): Likewise.
6229
288f9098 62302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6231
6232 [BZ #2636]
6233 * manual/time.texi (Processor Time): Return type of times is
6234 elapsed real time since an arbitrary point in the past.
6235 (CPU Time): Move CLK_TCK from here...
6236 (Processor Time): ...to here. Correct description.
6237 * manual/conf.texi (Constants for Sysconf): Correct description of
6238 _SC_CLK_TCK.
6239
d7dd4413
DM
62402012-04-10 David S. Miller <davem@davemloft.net>
6241
6242 [BZ #13967]
6243 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6244 where the is a gap between DT_REL(A) and DT_JMPREL.
6245
b46068fc
L
62462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6247
6248 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6249 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6250 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6251
73d65cc3
SP
62522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6253
6254 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6255 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6256 (dl_main): Handle --inhibit-cache.
6257 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6258 _dl_inhibit_cache.
6259 * elf/dl-load.c (_dl_map_object): Use it.
6260 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6261
bcc8d661
JM
62622012-04-09 Joseph Myers <joseph@codesourcery.com>
6263
8f9a2fae
JM
6264 [BZ #13872]
6265 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6266 (__ieee754_powl): Saturate large exponents rather than testing for
6267 overflow of y*log2(x).
6268 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6269 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6270 exceptions.
6271
bcc8d661
JM
6272 [BZ #11521]
6273 * math/s_ctan.c: Include <float.h>.
6274 (__ctan): Avoid internal overflow or cancellation in calculating
6275 denominator.
6276 * math/s_ctanf.c: Likewise.
6277 * math/s_ctanl.c: Likewise.
6278 * math/s_ctanh.c: Likewise.
6279 * math/s_ctanhf.c: Likewise.
6280 * math/s_ctanhl.c: Likewise.
6281 * math/libm-test.inc (ctan_test): Add more tests.
6282 (ctanh_test): Likewise.
6283 * sysdeps/i386/fpu/libm-test-ulps: Update.
6284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6285
823fbbb4
AJ
62862012-04-09 Andreas Jaeger <aj@suse.de>
6287
03879793
AJ
6288 [BZ #6894]
6289 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6290 is an optional BSD extension.
6291
823fbbb4
AJ
6292 [BZ #10254]
6293 * manual/stdio.texi (Opening Streams): Document additional fopen
6294 parameters.
6295
8de131cb
RM
62962012-04-09 Roland McGrath <roland@hack.frob.com>
6297
6298 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6299 %eax without telling the compiler.
6300
c0ed9d7d
CD
63012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6302
6303 [BZ # 13963]
6304 * manual/install.texi: Use sourceware.org.
6305
c483f6b4
JM
63062012-04-09 Joseph Myers <joseph@codesourcery.com>
6307
d7dd9453
JM
6308 [BZ #13873]
6309 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6310 (__ieee754_pow): Generate overflow and underflow using huge*huge
6311 and tiny*tiny rather than just returning constant infinity or zero
6312 for large exponents.
6313 * math/libm-test.inc (pow_test): Require overflow exceptions for
6314 applicable cases of large exponents.
6315
c483f6b4
JM
6316 [BZ #706]
6317 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6318 (__ieee754_pow): Use iterative multiplication algorithm only for
6319 integer exponents with absolute value below 1024. Check for odd
6320 integer exponents when using algorithm for real exponents.
6321 * math/libm-test.inc (pow_test): Add more tests.
6322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6323
d2de7579
JM
63242012-04-08 Joseph Myers <joseph@codesourcery.com>
6325
6326 [BZ #13705]
6327 * math/libm-test.inc (exp_test): Do not allow overflow exception
6328 on underflow test.
6329
f77f1232
AJ
63302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6331
6332 [BZ #13705]
6333 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6334 instead of __kernel_standard_f.
6335
3884932b
MF
63362012-04-08 Mike Frysinger <vapier@gentoo.org>
6337
6338 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6339 * sysdeps/x86_64/memset_chk.S: Likewise.
6340
54472e9c
AJ
63412012-04-08 Andreas Jaeger <aj@suse.de>
6342
6ab0fbfc
AJ
6343 [BZ #10153]
6344 * manual/startup.texi (Environment Access): Describe return value
6345 for putenv and setenv.
6346
61efba8c
AJ
6347 [BZ #6895]
6348 * manual/filesys.texi (Directory Entries): Add description for
6349 DT_LNK.
6350
95c3f29a
AJ
6351 [BZ #6890]
6352 * manual/filesys.texi (Directory Entries): Clarify that it's file
6353 system not operating system in the description of DT_UNKNOWN.
6354
54472e9c
AJ
6355 [BZ #6578]
6356 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6357
624254b1
SC
63582012-04-08 Stephen Compall <s11@member.fsf.org>
6359
6360 [BZ #6649]
6361 * manual/llio.texi (Opening and Closing Files): Add cross
6362 reference to explain mode argument.
6363
1e4920e0
MF
63642012-04-07 Mike Frysinger <vapier@gentoo.org>
6365
6366 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6367 * sysdeps/x86_64/memset_chk.S: Likewise.
6368
5ed848f3
DM
63692012-04-07 David S. Miller <davem@davemloft.net>
6370
6371 * elf/elf.h (R_SPARC_WDISP10): Define.
6372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6373 R_SPARC_SIZE32.
6374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6375 R_SPARC_SIZE64 and R_SPARC_H34.
6376
96154cd8
CD
63772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6378
6379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6380 conditions and remove no longer applicable assertion.
6381
9904dc47
L
63822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6383
6384 * bits/byteswap.h: Include <features.h>.
6385 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6386 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6387
f8887d0a
L
63882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6389
6390 * bits/byteswap.h (__bswap_16): Removed.
6391 Include <bits/byteswap-16.h> to get __bswap_16.
6392 * sysdeps/i386/bits/byteswap.h: Likewise.
6393 * sysdeps/s390/bits/byteswap.h: Likewise.
6394 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6395 * bits/byteswap-16.h: New file.
6396 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6397 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6398 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6399 * string/Makefile (headers): Add bits/byteswap-16.h.
6400
62470f60
PP
64012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6402
6403 [BZ #13895]
6404 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6405 extra indirection.
6406 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6407 * nss/tst-nss-static.c: New.
6408
4dad7bab
RM
64092012-04-06 Robert Millan <rmh@gnu.org>
6410
6411 [BZ #6486]
6412 * manual/llio.texi (File Position Primitive): lseek
6413 refers to WHENCE when it really means OFFSET.
6414
e9142a17
AJ
64152012-04-06 Andreas Jaeger <aj@suse.de>
6416
2c040eff
AJ
6417 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6418 strncmp declarations.
6419
e9142a17
AJ
6420 * abilist/libc.abilist: Add __poll and __ppoll.
6421
ff9f1c5f
DM
64222012-04-05 David S. Miller <davem@davemloft.net>
6423
dcd2ae90
DM
6424 * scripts/check-local-headers.sh: Accept a host triplet in the
6425 path matched by the exclude regexp.
6426
993eb054
DM
6427 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6428 definition.
6429 * sysdeps/powerpc/powerpc32/dl-machine.h
6430 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6431 * sysdeps/s390/s390-32/dl-machine.h
6432 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6433 * sysdeps/sparc/sparc32/dl-machine.h
6434 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6435 * sysdeps/sparc/sparc64/dl-machine.h
6436 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6437
ff9f1c5f
DM
6438 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6439 lazy binding.
48e2e132 6440 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6441 undefined symbol errors.
6442
48e2e132 6443 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6444 DT_NEEDED entries.
6445
e80d6f94
MM
64462012-04-05 Michael Matz <matz@suse.de>
6447
6448 [BZ #13592]
6449 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6450
349fa79f
AJ
64512012-04-05 Andreas Jaeger <aj@suse.de>
6452
6453 [BZ #13908]
6454 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6455 comment.
6456
f402708f
KK
64572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6458
6459 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6460 which ROUND is no valid rounding mode.
6461
2ecccfc9
KK
64622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6463
6464 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6465 read again.
6466 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6467
8a53f50f
KK
64682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6469
6470 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6471 an exception using FPU order intentionally.
6472
64732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6474
6475 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6476 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6477 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6478 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6479
d653abb7
SJ
64802012-04-05 Simon Josefsson <simon@josefsson.org>
6481
6482 [BZ #12340]
6483 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6484 EINVAL when BUFLEN is too smal.
6485
c3b1bf7d
TS
64862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6487
6488 [BZ #13553]
6489 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6490 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6491
b1aa60f3
AJ
64922012-04-03 Andreas Jaeger <aj@suse.de>
6493
c3b1bf7d 6494 [BZ #13938]
67f60a26
AJ
6495 * manual/setjmp.texi (System V contexts): Fix sentence.
6496
b1aa60f3
AJ
6497 [BZ #13926]
6498 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6499 New macro for this case.
6500 [!__GNUC__] (__bswap_64): New inline function for this case.
6501 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6502 * bits/byteswap.h: Likewise.
6503 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6504 ull, guard with __GLIBC_HAVE_LONG_LONG.
6505
6506 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6507 __GLIBC_HAVE_LONG_LONG.
6508
6509 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6510 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6511
39c59c35
TMQMF
65122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6513
6514 [BZ #13691]
6515 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6516 inptr and inend, rather than using last_ch.
6517
135ffda8
DM
65182012-04-02 David S. Miller <davem@davemloft.net>
6519
6520 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6521 * stdio-common/printf-parse.h (read_int): Change return type to
6522 'int', return -1 on INT_MAX overflow.
6523 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6524 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6525 overflows INT_MAX. Check for overflow of in-format-string precision
6526 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6527 SIZE_MAX not INT_MAX for integer overflow test.
6528 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6529 skip the construct in the format string but do not record anything.
6530 * stdio-common/bug22.c: Adjust to test both width/prevision
6531 INT_MAX overflow as well as total length INT_MAX overflow. Check
6532 explicitly for proper errno values.
6533
228c019e
TS
65342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6535
302cadd3
TS
6536 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6537 CHAR_MAX.
6538 * string/test-strcmp.c [! WIDE]: Likewise.
6539 * time/tst-mktime2.c: Likewise for INT_MAX.
6540 * string/test-string.h: #include <sys/param.h> for MIN.
6541
228c019e
TS
6542 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6543 * sysdeps/i386/init-first.c (init): Likewise.
6544 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6545 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6546 * sysdeps/sh/init-first.c (init): Likewise.
6547
cfa633f5
UD
65482012-04-01 Ulrich Drepper <drepper@gmail.com>
6549
6550 * po/ru.po: Update from translation team.
d1635ef8 6551 * po/vi.po: Likewise.
cfa633f5 6552
6cd0a5ea
SP
65532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6554
6555 * resolv/nss_dns/dns-host.c: Merge copyright years.
6556
4b43400f
LD
65572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6558
6559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6560 Optimize memcpy with prefetch if
6561 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6562 src, dst pointers have unequal 16 byte alignments.
6563
48c41d04
SP
65642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6565
6566 [BZ #13928]
6567 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6568 from a CNAME entry and return the minimum ttl for the query.
6569 (gaih_getanswer_slice): Likewise.
6570
b8dc394d
JL
65712012-03-30 Jeff Law <law@redhat.com>
6572
6573 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6574 due to long keys.
6575 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6576 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6577
2f5a5ed0
JL
6578 * resolv/nss_dns/dns-host.c: Update copyright year.
6579
1d39e359
UD
65802012-03-30 Ulrich Drepper <drepper@gmail.com>
6581
c030f70c 6582 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6583 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6584
1d39e359
UD
6585 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6586 comments for sendmmsg.
6587
65882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6589
6590 [BZ #13691]
6591 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6592 with only 1 character between 0x0041 and 0x01b0.
6593 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6594 * wcsmbs/tst-mbsnrtowcs.c: New file.
6595
20fde227
DM
65962012-03-29 David S. Miller <davem@davemloft.net>
6597
6598 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6599 small copies by hand.
6600
984a4237
JL
66012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6602
6603 [BZ #13761]
6604 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6605 _nss_compat_initgroups_dyn): Fall back to malloc/free
6606 for large group memberships.
6607
18c9d62b
DM
66082012-03-28 David S. Miller <davem@davemloft.net>
6609
88d85d4f
DM
6610 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6611 that branches into memcpy.
6612 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6614 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6615 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6617 bits.
6618 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6619 implementation too.
6620 * sysdeps/sparc/mempcpy.S: New file.
6621
e5aa83e1
DM
6622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6623 the IFUNC routine in the libc case.
6624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6625
88570753
DM
6626 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6627 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6628 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6629 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6630 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6631 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6632 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6633 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6634
249d7567
DM
6635 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6636 loop to 256 bytes instead of 64 bytes and fix test signedness.
6637
18c9d62b
DM
6638 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6639 * sysdeps/sparc/sparc32/Makefile: rather than here...
6640 * sysdeps/sparc/sparc64/Makefile: and here.
6641
05f3d1f6
UD
66422012-03-28 Ulrich Drepper <drepper@gmail.com>
6643
6644 * malloc/mallocbug.c: Avoid warnings about unused variables.
6645
86ae07a8
JL
66462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6647
6648 [BZ #13760]
6649 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6650 in the right place. Discard and retry query if response is
6651 larger than input buffer size.
6652
41bf21a1
JM
66532012-03-28 Joseph Myers <joseph@codesourcery.com>
6654
d6270972
JM
6655 [BZ #369]
6656 [BZ #2678]
6657 [BZ #3866]
6658 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6659 x for large integer exponent.
6660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6661 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6662 sign of result as needed afterwards.
6663 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6664 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6665 result for underflowing pow the same as for overflow.
6666 (__kernel_standard_l): Handle powl overflow and underflow here
6667 rather than calling __kernel_standard.
6668 * math/libm-test.inc (pow_test): Add more tests.
6669
414fca03 6670 [BZ #3868]
41bf21a1
JM
6671 [BZ #13879]
6672 [BZ #13910]
6673 [BZ #13911]
6674 [BZ #13912]
6675 [BZ #13913]
6676 [BZ #13915]
6677 [BZ #13916]
6678 [BZ #13917]
6679 [BZ #13918]
6680 [BZ #13919]
6681 [BZ #13920]
6682 [BZ #13921]
6683 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6684 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6685 (__kernel_standard_l): New function.
6686 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6687 __kernel_standard.
6688 * math/w_acosl.c (__acosl): Likewise.
6689 * math/w_asinl.c (__asinl): Likewise.
6690 * math/w_atan2l.c (__atan2l): Likewise.
6691 * math/w_atanhl.c (__atanhl): Likewise.
6692 * math/w_coshl.c (__coshl): Likewise.
6693 * math/w_exp10l.c (__exp10l): Likewise.
6694 * math/w_exp2l.c (__exp2l): Likewise.
6695 * math/w_fmodl.c (__fmodl): Likewise.
6696 * math/w_hypotl.c (__hypotl): Likewise.
6697 * math/w_j0l.c (__j0l, __y0l): Likewise.
6698 * math/w_j1l.c (__j1l, __y1l): Likewise.
6699 * math/w_jnl.c (__jnl, __ynl): Likewise.
6700 * math/w_lgammal.c (__lgammal): Likewise.
6701 * math/w_log10l.c (__log10l): Likewise.
6702 * math/w_log2l.c (__log2l): Likewise.
6703 * math/w_logl.c (__logl): Likewise.
6704 * math/w_powl.c (__powl): Likewise.
6705 * math/w_remainderl.c (__remainderl): Likewise.
6706 * math/w_scalbl.c (sysv_scalbl): Likewise.
6707 * math/w_sinhl.c (__sinhl): Likewise.
6708 * math/w_sqrtl.c (__sqrtl): Likewise.
6709 * math/w_tgammal.c (__tgammal): Likewise.
6710 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6711 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6712 * math/libm-test.inc (acos_test): Add more tests.
6713 (acosh_test): Likewise.
6714 (asin_test): Likewise.
6715 (atanh_test): Likewise.
6716 (exp_test): Likewise.
6717 (exp10_test): Likewise.
6718 (exp2_test): Likewise.
6719 (expm1_test): Likewise.
6720 (lgamma_test): Likewise.
6721 (log_test): Likewise.
6722 (log10_test): Likewise.
6723 (log1p_test): Likewise.
6724 (log2_test): Likewise.
6725 (pow_test): Do not allow some spurious overflow exceptions.
6726 (sqrt_test): Add more tests.
6727 (tgamma_test): Likewise.
6728 (y0_test): Likewise.
6729 (y1_test): Likewise.
6730 (yn_test): Likewise.
6731
dd62fda6
AB
67322012-03-27 Anton Blanchard <anton@samba.org>
6733
6734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6735 MAP_HUGETLB.
6736 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6737 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6738 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6739
1e3cdfda
AJ
67402012-03-27 David S. Miller <davem@davemloft.net>
6741
b855ab85
DM
6742 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6743
1e3cdfda
AJ
6744 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6745 have-as-vis3 check.
6746
67472012-03-27 Andreas Jaeger <aj@suse.de>
6748
6749 * sysdeps/x86_64/elf/configure.in: Moved to ...
6750 * sysdeps/x86_64/configure.in: ... here.
6751 * sysdeps/x86_64/elf/start.S: Moved to ...
6752 * sysdeps/x86_64/start.S: ... here.
6753 * sysdeps/x86_64/elf/configure: Delete.
6754
6755 * sysdeps/x86_64/configure.in: Merge contents from
6756 sysdeps/i386/configure.in (without i686 check).
6757
6758 * sysdeps/i386/elf/Versions: Merge into ...
6759 * sysdeps/i386/Versions: ... this.
6760 * sysdeps/i386/elf/Versions: Delete file.
6761 * sysdeps/i386/elf/start.S: Moved to ...
6762 * sysdeps/i386/start.S: ...here.
6763 * sysdeps/i386/elf/configure.in: Merge into...
6764 * sysdeps/i386/configure.in: ...here.
6765 * sysdeps/i386/elf/configure.in: Delete file.
6766 * sysdeps/i386/elf/configure: Delete file.
6767
6768 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6769 * debug/backtracesyms.c: ... here.
6770 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6771 * debug/backtracesymsfd.c: ... here.
6772 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6773 * sysdeps/generic/ifunc-sel.h: ... here.
6774
6775 * sysdeps/unix/i386/start.c: Delete file.
6776 * sysdeps/unix/sparc/start.c: Delete file.
6777 * sysdeps/unix/start.c: Delete file.
6778
6779 * sysdeps/sh/elf/configure.in: Moved to ...
6780 * sysdeps/sh/configure.in: ... here.
6781 * sysdeps/sh/elf/start.S: Moved to ...
6782 * sysdeps/sh/start.S: ... here.
6783 * sysdeps/sh/elf/configure: Delete file.
6784
6785 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6786 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6787 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6788 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6789 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6790 * sysdeps/powerpc/powerpc64/start.S: here.
6791 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6792 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6793 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6794 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6795 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6796
6797 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6798 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6799 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6800 * sysdeps/powerpc/powerpc32/start.S: ... here.
6801 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6802 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6803 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6804
6805 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6806 * sysdeps/powerpc/ifunc-sel.h: ... here.
6807 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6808 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6809
6810 * sysdeps/sparc/elf/configure.in: Moved to ...
6811 * sysdeps/sparc/configure.in: ... here.
6812 * sysdeps/sparc/elf/configure: Delete file.
6813 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6814 * sysdeps/sparc/sparc32/start.S: ... here.
6815 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6816 * sysdeps/sparc/sparc64/start.S: ... here.
6817 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6818 * sysdeps/sparc/sparc32/Makefile: ... this.
6819 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6820 * sysdeps/sparc/sparc64/Makefile: ... this.
6821
6822 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6823 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6824 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6825 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6826 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6827 * sysdeps/s390/s390-32/setjmp.S: ... here.
6828 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6829 * sysdeps/s390/s390-32/configure.in: ... here.
6830 * sysdeps/s390/s390-32/elf/configure: Delete file.
6831 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6832 * sysdeps/s390/s390-32/start.S: ... here.
6833
6834 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6835 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6836 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6837 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6838 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6839 * sysdeps/s390/s390-64/setjmp.S: ... here.
6840 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6841 * sysdeps/s390/s390-64/configure.in: ... here
6842 * sysdeps/s390/s390-64/elf/configure: Delete file.
6843 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6844 * sysdeps/s390/s390-64/start.S: ... here.
6845 * sysdeps/s390/s390-64/elf/configure: Delete.
6846
6847 * configure.in: Remove support for elf directories in sysdeps.
6848
6849 * configure: Regenerated.
6850 * sysdeps/i386/configure: Regenerated.
6851 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6852 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6853 * sysdeps/s390/s390-32/configure: Regenerated.
6854 * sysdeps/s390/s390-64/configure: Regenerated.
6855 * sysdeps/sh/configure: Regenerated.
6856 * sysdeps/sparc/configure: Regenerated.
6857 * sysdeps/x86_64/configure: Regenerated.
6858
a3f61311
AS
68592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6860
c876e002
AS
6861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6862
a3f61311
AS
6863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6864 denormal result into account.
6865
ac4c54f0
RM
68662012-03-25 Roland McGrath <roland@hack.frob.com>
6867
6868 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6869 Reported by Allan McRae <allan@archlinux.org>.
6870
6a9b9c02
JL
68712012-03-23 Jeff Law <law@redhat.com>
6872
6873 * nss/getnssent.c (__nss_getent): Fix typo.
6874
4c42a0c1
DM
68752012-03-23 David S. Miller <davem@davemloft.net>
6876
6877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6878
1532c7ac
L
68792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6882 to pad to uint64_t for each field.
6883 (dl_tls_index): Replace unsigned long with uint64_t.
6884
3ff42526
PP
68852012-03-23 Daniel Jacobowitz <dmj@google.com>
6886 Paul Pluzhnikov <ppluzhnikov@google.com>
6887
6888 [BZ #6528]
6889 * grp/Makefile (otherlibs): Don't set it.
6890 * inet/Makefile (otherlibs): Likewise.
6891 * login/Makefile (otherlibs): Likewise.
6892 * nscd/Makefile (otherlibs): Likewise.
6893 * posix/Makefile (otherlibs): Likewise.
6894 * pwd/Makefile (otherlibs): Likewise.
6895 * rt/Makefile (otherlibs): Likewise.
6896 * sunrpc/Makefile (otherlibs): Likewise.
6897 * nss/Makefile (otherlibs): Likewise.
6898 Add libnss_files to routines and static-only-routines.
6899 ($(objpfx)getent): Remove rule.
6900 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6901 static-only-routines.
6902
7c69cd14
JM
69032012-03-22 Joseph Myers <joseph@codesourcery.com>
6904
6905 [BZ #13892]
6906 * math/s_cexp.c: Include <float.h>.
6907 (__cexp): Handle exp result overflowing not necessarily
6908 overflowing both real and imaginary parts of result.
6909 * math/s_cexpf.c: Likewise.
6910 * math/s_cexpl.c: Likewise.
6911 * math/libm-test.inc (cexp_test): Add more tests.
6912 * sysdeps/i386/fpu/libm-test-ulps: Update.
6913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6914
81b035fe
L
69152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6916
6917 * include/link.h (ELFW): New macro.
6918 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6919 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6920
1da7940c
L
69212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6924 with uint64_t.
6925
b749dbb9
L
69262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6927
6928 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6929 declaration.
6930 (struct La_x32_retval): Likewise.
6931
2ff87f3f
L
69322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6933
6934 * sysdeps/x86_64/preconfigure.in: New file.
6935 * sysdeps/x86_64/preconfigure: New generated file.
6936
c0df8e69
JM
69372012-03-22 Joseph Myers <joseph@codesourcery.com>
6938
48e44791
JM
6939 [BZ #13824]
6940 * math/e_exp2l.c: Include <float.h>.
6941 (__ieee754_exp2l): Handle overflow and underflow cases
6942 separately. Only pass fractional part of argument to
6943 __ieee754_expl.
6944 * math/libm-test.inc (exp2_test): Add more tests.
6945
c0df8e69
JM
6946 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6947 negating x to take absolute value.
6948 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6949 Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6952 Likewise.
6953 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6954 computing low part if x was negated.
6955 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6956
c8e43ba7
L
69572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6958
6959 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6960 la_x32_gnu_pltexit.
6961 (pltexit): Cast int_retval to ptrdiff_t.
6962 * elf/tst-auditmod3b.c: Likewise.
6963 * elf/tst-auditmod4b.c: Likewise.
6964 * elf/tst-auditmod5b.c: Likewise.
6965 * elf/tst-auditmod6b.c: Likewise.
6966 * elf/tst-auditmod6c.c: Likewise.
6967 * elf/tst-auditmod7b.c: Likewise.
6968
6969 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6970 and x32_gnu_pltexit.
6971
6972 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6973 __ELF_NATIVE_CLASS.
6974 (La_x32_regs): New macro.
6975 (La_x32_retval): Likewise.
6976 (la_x32_gnu_pltenter): New function prototype.
6977 (la_x32_gnu_pltexit): Likewise.
6978
7998fa78
AS
69792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6980
dcb33988
AS
6981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6982 exponent.
6983
233fc563
AS
6984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6985
7998fa78
AS
6986 * configure.in (libc_cv_cc_nofma): Check for option to disable
6987 generation of FMA instructions.
6988 * configure: Regenerate.
6989 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6990 * sysdeps/ieee754/dbl-64/Makefile: New file.
6991 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6992 Remove brandred-fma4.
6993 (CFLAGS-brandred-fma4.c): Remove.
6994 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6995 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6996 define.
6997 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6998 define.
6999
8e95c99a
L
70002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7001
7002 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7003 LLONG_MAX != LONG_MAX.
7004 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7005 (_fitoa_word): Likewise.
7006 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7007 LLONG_MAX != LONG_MAX.
7008 * stdio-common/_itowa.h: Include <_itoa.h>.
7009 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7010 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7011 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7012 only if not defined.
7013 (_ITOA_WORD_TYPE): Likewise.
7014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7015 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7016
6f4db457
DM
70172012-03-21 David S. Miller <davem@davemloft.net>
7018
7019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7020
7785fe5a
L
70212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7022
7023 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7024 of x86_64 when setting libc_cv_slibdir, libdir and
7025 libc_cv_localedir.
7026 * sysdeps/unix/sysv/linux/configure: Regenerated.
7027
4535cd55
JM
70282012-03-21 Joseph Myers <joseph@codesourcery.com>
7029
7030 * manual/lang.texi (Old Varargs): Remove section.
7031 (How Variadic): Update menu.
7032 (va_start): Do not mention varargs.h.
7033
17228132
TS
70342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7035 Joseph Myers <joseph@codesourcery.com>
7036
7037 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7038 link test.
7039 * configure: Regenerated.
7040
8149f976
TS
70412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7042
05f3d1f6
UD
7043 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7044 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7045 conformtest.pl
8149f976 7046
1a4ac776
JM
70472012-03-21 Joseph Myers <joseph@codesourcery.com>
7048
be22ce65
JM
7049 * NOTES: Remove.
7050 * Makefile (files-for-dist): Remove NOTES.
7051 (NOTES): Remove rule.
7052 * README: Don't refer to NOTES.
7053 * manual/creature.texi: Don't include macros.texi.
7054 * manual/intro.texi (creature.texi): Remove comment referring to
7055 NOTES.
7056
40b601fb
JM
7057 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7058 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7059 * configure: Regenerated.
7060 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7061 LIBC_TRY_CC_OPTION.
7062 (libc_cv_as_i686): Likewise.
7063 (libc_cv_cc_avx): Likewise.
7064 (libc_cv_cc_sse2avx): Likewise.
7065 (libc_cv_cc_fma4): Likewise.
7066 (libc_cv_cc_novzeroupper): Likewise.
7067 * sysdeps/i386/configure: Regenerated.
7068
1a4ac776
JM
7069 [BZ #13883]
7070 * sysdeps/i386/fpu/s_cexp.S: Remove.
7071 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7072 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7073 * math/libm-test.inc (cexp_test): Add more tests.
7074 * sysdeps/i386/fpu/libm-test-ulps: Update.
7075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7076
a458e7fe
AM
70772012-03-21 Allan McRae <allan@archlinux.org>
7078
7079 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7080
0cb7efc5
JM
70812012-03-21 Joseph Myers <joseph@codesourcery.com>
7082
7083 [BZ #13871]
7084 * math/w_exp2.c: Do not include <float.h>.
7085 (o_threshold, u_threshold): Remove.
7086 (__exp2): Calculate result before checking finiteness and calling
7087 __kernel_standard.
7088 * math/w_exp2f.c: Likewise.
7089 * math/w_exp2l.c: Likewise.
7090 * math/libm-test.inc (exp2_test): Require overflow exception for
7091 1e6 input.
2460d3aa
JM
7092
7093 [BZ #3866]
7094 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7095 range of signed 64-bit integers before using fistpll. Remove
7096 checks for whether integers fit in mantissa bits.
7097 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7098 the range of signed 32-bit integers before using fistpl. Remove
7099 checks for whether integers fit in mantissa bits.
7100 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7101 (__ieee754_powl): Test for y outside the range of signed 64-bit
7102 integers before using fistpll. Reduce 64-bit values to 63-bit
7103 ones as needed.
7104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7105 divide-by-zero is raised for zero to large negative powers.
7106 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7107 (__ieee754_powl): Test for y outside the range of signed 64-bit
7108 integers before using fistpll. Reduce 64-bit values to 63-bit
7109 ones as needed.
7110 * math/libm-test.inc (pow_test): Add more tests.
7111
eb96ffb0
L
71122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7113
7114 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7115 <stdio-common/_itoa.h>.
7116 * debug/segfault.c: Likewise.
7117 * elf/dl-cache.c: Likewise.
7118 * elf/dl-minimal.c: Likewise.
7119 * elf/dl-misc.c: Likewise.
7120 * elf/dl-sysdep.c: Likewise.
7121 * elf/dl-version.c: Likewise.
7122 * elf/rtld.c: Likewise.
7123 * hurd/hurdsock.c: Likewise.
7124 * hurd/lookup-retry.c: Likewise.
7125 * malloc/malloc.c: Likewise.
7126 * malloc/mtrace.c: Likewise.
7127 * nscd/nscd_getgr_r.c: Likewise.
7128 * nscd/nscd_getpw_r.c: Likewise.
7129 * nscd/nscd_getserv_r.c: Likewise.
7130 * posix/getopt_init.c: Likewise.
7131 * posix/wordexp.c: Likewise.
7132 * stdio-common/_itoa.c: Likewise.
7133 * stdio-common/printf_fphex.c: Likewise.
7134 * stdio-common/vfprintf.c: Likewise.
7135 * string/_strerror.c: Likewise.
7136 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7137 * sysdeps/i386/i686/hp-timing.h: Likewise.
7138 * sysdeps/mach/_strerror.c: Likewise.
7139 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7140 * sysdeps/mach/hurd/sethostid.c: Likewise.
7141 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7142 * sysdeps/mach/xpg-strerror.c: Likewise.
7143 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7144 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7145 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7146 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7147 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7148 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7149 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7150 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7151 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7152 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7153 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7154 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7155 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7156 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7157 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7158 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7159 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7160 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7161 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7162 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7163 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7164
7165 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7166
7167 * stdio-common/_itoa.h: Moved to ...
7168 * sysdeps/generic/_itoa.h: Here.
7169
7170 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7171
7172 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7173 instead of "_itoa.h" and "_itowa.h".
7174 * stdio-common/vfprintf.: Likewise.
7175
d1af992d
L
71762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7179 <bits/wordsize.h>.
7180 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7181 (__signbit): Likwise.
7182 (llrintf): Likwise.
7183 (llrint): Likwise.
7184
114883e0
L
71852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7186
7187 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7188 __WORDSIZE != 64.
7189
c135cc1b
JM
71902012-03-20 Joseph Myers <joseph@codesourcery.com>
7191
7192 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7193 OVERFLOW_EXCEPTION_OK.
7194 * math/libm-test.inc ("Philosophy"): Update comment about
7195 exception testing.
7196 (OVERFLOW_EXCEPTION): Define.
7197 (OVERFLOW_EXCEPTION_OK): Likewise.
7198 (INVALID_EXCEPTION_OK): Renumber.
7199 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7200 (IGNORE_ZERO_INF_SIGN): Likewise.
7201 (test_exceptions): Handle FE_OVERFLOW.
7202 (exp10_test): Expect overflow exceptions.
7203 (exp2_test): Likewise.
7204 (expm1_test): Likewise.
7205 (nextafter_test): Likewise.
7206 (pow_test): Likewise.
7207 (scalbn_test): Likewise.
7208 (scalbln_test): Likewise.
7209
95443d88
L
72102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7211
7212 * sysdeps/x86_64/bits/atomic.h
7213 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7214 64bit integer.
7215 (atomic_exchange_acq): Likewise.
7216 (__arch_exchange_and_add_body): Likewise.
7217 (__arch_add_body): Likewise.
7218 (atomic_add_negative): Likewise.
7219 (atomic_add_zero): Likewise.
7220
490df6c4
L
72212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7222
c2722551 7223 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7224 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7225
5e52b189
L
72262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7227
7228 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7229 Check __x86_64__ instead of __WORDSIZE.
7230
a9879d4c
L
72312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7232
7233 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7234
5df98260
DM
72352012-03-19 David S. Miller <davem@davemloft.net>
7236
e1497744
DM
7237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7238
5df98260
DM
7239 * sysdeps/sparc/fpu/fenv_private.h: New file.
7240 * sysdeps/sparc/fpu/math_private.h: Use it.
7241 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7242 Remove.
7243 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7244 (libc_feholdexcept_setroundl): Remove.
7245 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7246 Remove.
7247 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7248 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7249
b4c35121
L
72502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7251
7252 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7253 int64_t instead of long int.
7254 (INSERT_WORDS64): Likwise.
7255
56965fd7
L
72562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7259 _Unwind_GetCFA return to _Unwind_Ptr first.
7260
83d1aec8
JM
72612012-03-19 Joseph Myers <joseph@codesourcery.com>
7262
1897ad44
JM
7263 [BZ #13629]
7264 * math/s_clog.c: Include <float.h>.
7265 (__clog): Scale large or subnormal inputs.
7266 * math/s_clogf.c: Likewise.
7267 * math/s_clogl.c: Likewise.
7268 * math/s_clog10.c: Include <float.h>.
7269 (M_LOG10_2): Define.
7270 (__clog10): Scale large or subnormal inputs.
7271 * math/s_clog10f.c: Likewise.
7272 * math/s_clog10l.c: Likewise.
7273 * math/libm-test.inc (clog_test): Add more tests.
7274 (clog10_test): Likewise.
7275 * sysdeps/i386/fpu/libm-test-ulps: Update.
7276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7277
7726d6a9
JM
7278 [BZ #11451]
7279 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7280 x and y.
7281 * math/libm-test.inc (atan2_test): Add another test.
7282
83d1aec8
JM
7283 * Makerules (common-objdir-compile): Remove.
7284 * sysdeps/unix/Makefile (config-generated): Do not add
7285 $(unix-generated) to variable.
7286 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7287 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7288 Remove rule.
7289 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7290 Likewise.
7291 [generic bits/local_lim.h] (before-compile): Do not append to
7292 variable.
7293 [generic bits/local_lim.h] (common-generated): Likewise.
7294 [generic sys/param.h] (before-compile): Do not append to variable.
7295 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7296 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7297 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7298 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7299 include.
7300 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7301 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7302 [generic sys/param.h] ($(addprefix
7303 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7304 [generic sys/param.h] (common-generated): Do not append to
7305 variable.
7306 [generic sys/param.h] (sysdep_headers): Likewise.
7307 [generic bits/errno.h] (before-compile): Do not append to
7308 variable.
7309 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7310 rule.
7311 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7312 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7313 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7314 [generic bits/errno.h] (common-generated): Do not append to
7315 variable.
7316 [generic bits/ioctls.h] (before-compile): Do not append to
7317 variable.
7318 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7319 rule.
7320 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7321 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7322 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7323 rule.
7324 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7325 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7326 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7327 [generic bits/ioctls.h] (common-generated): Do not append to
7328 variable.
7329 [generic sys/syscall.h] (syscall.h): Remove variable.
7330 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7331 rule.
7332 [generic sys/syscall.h] (before-compile): Do not append to
7333 variable.
7334 [generic sys/syscall.h] (common-generated): Likewise.
7335 * sysdeps/unix/errnos-tmpl.c: Remove file.
7336 * sysdeps/unix/errnos.awk: Likewise.
7337 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7338 * sysdeps/unix/ioctls.awk: Likewise.
7339 * sysdeps/unix/mk-local_lim.c: Likewise.
7340 * sysdeps/unix/snarf-ioctls: Likewise.
7341
4851a949
RH
73422012-03-19 Richard Henderson <rth@twiddle.net>
7343
bd37f2ee
RH
7344 * sysdeps/i386/fpu/fenv_private.h: New file.
7345 * sysdeps/i386/fpu/math_private.h: Use it.
7346 (math_opt_barrier, math_force_eval): Remove.
7347 (libc_feholdexcept_setround_53bit): Remove.
7348 (libc_feupdateenv_53bit): Remove.
7349 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7350 (math_opt_barrier, math_force_eval): Remove.
7351 (libc_feholdexcept): Remove.
7352 (libc_feholdexcept_setround): Remove.
7353 (libc_fetestexcept, libc_fesetenv): Remove.
7354 (libc_feupdateenv_test): Remove.
7355 (libc_feupdateenv, libc_feholdsetround): Remove.
7356 (libc_feresetround): Remove.
7357
d0adc922
RH
7358 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7359 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7360
0fe0f1f8
RH
7361 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7362 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7363 (libc_feupdateenv_testl): New.
7364 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7365 (libc_feupdateenv_testf): New.
7366 (libc_feupdateenv): Use libc_feupdateenv_test.
7367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7369
eb92c487
RH
7370 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7371 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7372 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7373 (libc_feresetround_noex): New.
7374 (libc_feresetround_noexf): New.
7375 (libc_feresetround_noexl): New.
7376 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7377 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7378 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7379 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7380 SET_RESTORE_ROUND.
7381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7383 (__cos): Likewise.
7384 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7385 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7386 SET_RESTORE_ROUND_NOEX.
7387 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7388 SET_RESTORE_ROUND_NOEXF.
7389 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7390 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7391 (libc_feholdsetroundf): New.
7392 (libc_feresetround, libc_feresetroundf): New.
7393
7d2e8012
RH
7394 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7395 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7396 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7397
b4dabbb4
RH
7398 * sysdeps/generic/math_private.h: Include <fenv.h>.
7399 (default_libc_feholdexcept): New.
7400 (default_libc_feholdexcept_setround): New.
7401 (default_libc_fesetenv, default_libc_feupdateenv): New.
7402 (libc_feholdexcept): Only define if undefined.
7403 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7404 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7405 (libc_feholdexcept_setroundl): Likewise.
7406 (libc_feholdexcept_setround_53bit): Likewise.
7407 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7408 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7409 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7410 (libc_feupdateenv_53bit): Likewise.
7411 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7412 (libc_feholdexcept): Convert from macro to inline function.
7413 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7414 (libc_fesetenv, libc_feupdateenv): Likewise.
7415
4851a949
RH
7416 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7417 not previously defined.
7418 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7419 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7420 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7421 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7422 * sysdeps/ieee754/flt-32/math_private.h: New file.
7423 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7424 math_private.h below SET_FLOAT_WORD.
7425 (__isnan, __isinf_ns, __finite): Remove.
7426 (__isnanf, __isinf_nsf, __finitef): Remove.
7427
e79d442e
AS
74282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7429
7430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7431
90b80344
DM
74322012-03-17 David S. Miller <davem@davemloft.net>
7433
7434 [BZ #6471]
7435 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7436 for 2.16.
7437
edc21804
DM
74382012-03-16 David S. Miller <davem@davemloft.net>
7439
77e927af
DM
7440 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7441 warnings.
7442
374976dd
DM
7443 [BZ #6471]
7444 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7445 properly.
7446 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7447 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7448 sysdep_routines when subdir is sysvipc.
7449 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7450 __getshmlba helper.
7451
edc21804
DM
7452 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7453
473c3ef3
L
74542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7455
7456 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7457 [__LP64__].
7458
eb0f39b6
L
74592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7460
7461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7462 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7463 (__lround): Renamed to ...
7464 (__llround): This. Replace long int with long long int.
7465 Define lround functions as aliases of llround functions.
7466 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7467
6b6cd74b
L
74682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7469
7470 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7471 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7472 adresses to uintptr_t. Replace "long int" and "unsigned long
7473 int" with "greg_t" on va_arg.
7474
f1a77b01
L
74752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7476
7477 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7478 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7479
7480 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7481 Move e_machine check before EI_CLASS check. Handle x32
7482 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7483 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7484 SKIP_EM_IA_64 and include
7485 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7486
7487 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7488 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7489 (add_system_dir): New macro.
7490
7491 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7492 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7493
11b90b9f
JM
74942012-03-16 Joseph Myers <joseph@codesourcery.com>
7495
c36e1d23
JM
7496 [BZ #2551]
7497 [BZ #2552]
7498 [BZ #2553]
7499 [BZ #2554]
7500 [BZ #2562]
7501 [BZ #2563]
7502 [BZ #2565]
7503 [BZ #2566]
7504 [BZ #2576]
7505 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7506 (y0): Likewise.
7507 * math/w_j0f.c (j0f): Likewise.
7508 (y0f): Likewise.
7509 * math/w_j0l.c (__j0l): Likewise.
7510 (__y0l): Likewise.
7511 * math/w_j1.c (j1): Likewise.
7512 (y1): Likewise.
7513 * math/w_j1f.c (j1f): Likewise.
7514 (y1f): Likewise.
7515 * math/w_j1l.c (__j1l): Likewise.
7516 (__y1l): Likewise.
7517 * math/w_jn.c (jn): Likewise.
7518 (yn): Likewise.
7519 * math/w_jnf.c (jnf): Likewise.
7520 (ynf): Likewise.
7521 * math/w_jnl.c (__jnl): Likewise.
7522 (__ynl): Likewise.
7523 * math/libm-test.inc (j0_test): Add more tests.
7524 (j1_test): Likewise.
7525 (jn_test): Likewise. Add trailing semicolon to existing test.
7526 (y0_test): Likewise.
7527 (y1_test): Likewise.
7528 * sysdeps/i386/fpu/libm-test-ulps: Update.
7529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7530
11b90b9f
JM
7531 [BZ #13851]
7532 [BZ #13854]
7533 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7534 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7535 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7536 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7537 (__tanl): Set errno for infinite argument.
7538 * sysdeps/i386/fpu/mptan.c: Remove.
7539 * sysdeps/i386/fpu/s_tan.S: Likewise.
7540 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7541 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7542 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7543 * math/libm-test.inc (tan_test): Add more tests and enable more
7544 tests for double and long double.
7545 * sysdeps/i386/fpu/libm-test-ulps: Update.
7546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7547
6a1bd2a1
JK
75482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7549
7550 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7551 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7552
10a803e0
RM
75532012-03-16 Roland McGrath <roland@hack.frob.com>
7554
7555 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7556 * configure.in: Use it for both main tree and add-ons.
7557 * configure: Regenerated.
7558
f196c7f7
L
75592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7560
7561 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7562
8848d99d
JM
75632012-03-16 Joseph Myers <joseph@codesourcery.com>
7564
96cbe7f4
JM
7565 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7566 in comment.
7567
8848d99d
JM
7568 [BZ #13851]
7569 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7570 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7574 infinite argument.
7575 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7577 != 0 for prec == 2.
7578 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7579 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7580 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7581 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7582 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7583 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7584 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7585 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7586 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7587 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7588 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7589 * math/libm-test.inc (cos_test): Add more tests and enable more
7590 tests for long double.
7591 (sin_test): Likewise.
7592 (sincos_test): Likewise.
7593 * sysdeps/i386/fpu/libm-test-ulps: Update.
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7595
dd7f4703
DM
75962012-03-16 David S. Miller <davem@davemloft.net>
7597
7598 * sysdeps/sparc/fpu/math_private.h: New file.
7599
006f1daa
DM
76002012-03-15 David S. Miller <davem@davemloft.net>
7601
c0c83bc8
DM
7602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7603 file.
e6a62e18 7604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7606 file.
e6a62e18
DM
7607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7613 sysdep routines.
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7615
88cb87d9
DM
7616 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7617 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7618
006f1daa 7619 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7621 sparc-ifunc.h
006f1daa 7622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7624 Likewise.
7625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7626 Likewise.
006f1daa
DM
7627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7631 Likewise.
006f1daa
DM
7632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7637 Likewise.
7638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7639 Likewise.
006f1daa
DM
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7664
11e0098e
AS
76652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7666
7667 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7668 scaling.
7669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7670
e85b09d0
AJ
76712012-03-15 Andreas Jaeger <aj@suse.de>
7672
7673 [BZ #13852]
7674 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7675 ieee754/flt-32 implementation for sin, cos and sincos.
7676 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7677 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7678 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7679 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7680 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7681 ieee754/flt-32 implementation for tan.
7682
7683 * math/libm-test.inc (cos_test): Enable some large input tests for
7684 float as well
7685 (sin_test): Likewise.
7686 (sincos_test): Likewise.
7687 (tan_test): Add tests for large input.
7688
7689 * sysdeps/i386/fpu/libm-test-ulps: Update.
7690
81c64153
AJ
76912012-03-15 Andreas Jaeger <aj@suse.de>
7692
7693 [BZ #13658]
7694 * math/libm-test.inc (cos_test): Add more test cases.
7695 (sin_test): Likewise.
7696 (sincos_test): Likewise.
7697
7bbfa5c6
AJ
76982012-03-15 Andreas Jaeger <aj@suse.de>
7699
7700 [BZ #13837]
7701 * math/libm-test.inc (cos_test): Add a test case for large input
7702 value.
7703 (sin_test): Likewise.
7704 (sincos_test): Likewise.
7705
77062012-03-15 Andreas Jaeger <aj@suse.de>,
7707 Joseph Myers <joseph@codesourcery.com>
7708
7709 [BZ #13658]
0671f479 7710 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7711 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7712 * sysdeps/i386/fpu/branred.c: Likewise.
7713 * sysdeps/i386/fpu/dosincos.c: Likewise.
7714 * sysdeps/i386/fpu/mpa.c: Likewise.
7715 * sysdeps/i386/fpu/s_cos.S: Likewise.
7716 * sysdeps/i386/fpu/s_sin.S: Likewise.
7717 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7718 * sysdeps/i386/fpu/sincos32.c: Likewise.
7719
7720 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7721 Define.
7722 (libc_feupdateenv_53bit): Define.
7723 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7724 Define.
7725 (libc_feupdateenv_53bit): Define.
7726
7727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7728 53 bit (without extend i386 double precision).
7729
7730 * math/libm-test.inc (sincos_test): Add tests for large input.
7731 (sin): Likewise.
7732 (cos): Likewise.
7733
7734 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7735
9cad04ea
AS
77362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7737
7738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7739
f7062b9a
DM
77402012-03-15 David S. Miller <davem@davemloft.net>
7741
7742 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7743 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7744 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7745 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7758 file.
f7062b9a 7759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7761 file.
f7062b9a 7762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7764 file.
f7062b9a 7765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7767 file.
f7062b9a
DM
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7770 fmin/fmax sysdep routines.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7772
7bd951ff
DM
77732012-03-14 David S. Miller <davem@davemloft.net>
7774
559398ab
DM
7775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7804 routines.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7806 file.
559398ab 7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7809 file.
559398ab 7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7812 file.
559398ab 7813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7815 file.
559398ab 7816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7818 file.
559398ab 7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7821 file.
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7823 file.
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7825 file.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7827 file.
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7829 New file.
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7831 file.
7832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7833 file.
559398ab 7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7836 file.
559398ab 7837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7839 file.
559398ab 7840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7842 file.
559398ab 7843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7845 VIS3 routines.
559398ab
DM
7846
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7848 New file.
7849
5a1c1e32
DM
7850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7851
eae47a36
DM
7852 * sysdeps/sparc/configure.in: New file.
7853 * sysdeps/sparc/configure: Generate.
7854 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7855 * configure: Regenerate.
7856 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7857 * config.make.in (have-as-vis3): New.
7858 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7859 available use -Av9d instead of -Av9a.
7860 * sysdeps/sparc/sparc64/Makefile: Likewise.
7861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7863 New file.
7864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7865 file.
7866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7867 New file.
7868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7869 file.
eae47a36
DM
7870 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7875
c0c83bc8
DM
7876 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7877 fzeros/fnegs to load 0x80000000 into a float register instead of
7878 using the stack.
7bd951ff
DM
7879 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7880
bd951ccb
JM
78812012-03-14 Joseph Myers <joseph@codesourcery.com>
7882
7883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7884 bits/syscall.h.
7885 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7886 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7887 ($(inst_includedir)/bits/syscall.h): Remove rule.
7888 ($(objpfx)bits/syscall.d): Include instead of
7889 $(objpfx)syscall-list.d.
7890 (generated): Change syscall-list.h and syscall-list.d to
7891 bits/syscall.h and bits/syscall.d.
7892
bb4e6db2
RM
78932012-03-14 Roland McGrath <roland@hack.frob.com>
7894
7895 [BZ #13846]
7896 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7897
aa4a2ae1
JM
78982012-03-14 Joseph Myers <joseph@codesourcery.com>
7899
e456826d
JM
7900 [BZ #13841]
7901 * math/s_csqrt.c: Include <float.h>.
7902 (__csqrt): Scale large or subnormal inputs.
7903 * math/s_csqrtf.c: Likewise.
7904 * math/s_csqrtl.c: Likewise.
7905 * math/libm-test.inc (csqrt_test): Add more tests.
7906 * sysdeps/i386/fpu/libm-test-ulps: Update.
7907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7908
aa4a2ae1
JM
7909 [BZ #13840]
7910 * math/libm-test.inc (hypot_test): Add more tests.
7911
7c10fd35
DM
79122012-03-13 David S. Miller <davem@davemloft.net>
7913
7914 [BZ #13840]
7915 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7916 double-precision for the calculation instead of scaling.
7917
f453b98b
JM
79182012-03-13 Joseph Myers <joseph@codesourcery.com>
7919
7920 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7921 manipulate bits before adding and subtracting TWO52[sx].
7922 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7923 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7924 Likewise.
7925 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7926
09a3453f
DM
79272012-03-13 David S. Miller <davem@davemloft.net>
7928
8e59da90
DM
7929 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7930 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7932 rtld-global-offsets.h
7933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7934
2a8ab7f2
DM
7935 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7936 large parameters.
7937
10f62770
DM
7938 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7939
5f0bdb18
DM
7940 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7941 'err' in the ifdef scope in which it is actually used.
7942
09a3453f
DM
7943 * nss/nss_db/db-init.c: Include string.h
7944
b4b2eb5e
DM
79452012-03-12 David S. Miller <davem@davemloft.net>
7946
98bb2f1c
DM
7947 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7948 masking out of the most significant byte of random value used.
7949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7950 Fix coding style in previous change.
7951
b4b2eb5e
DM
7952 * sysdeps/unix/sysv/linux/kernel-features.h
7953 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7954 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7955 expression.
7956 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7957 later.
7958
6e226b09
DM
79592012-03-11 David S. Miller <davem@davemloft.net>
7960
a1bcbd40
DM
7961 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7962 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7963 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7964 for 'resultvar' otherwise things get truncated on 64-bit.
7965
cb9d6174
DM
7966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7967 Fix masking out of the most significant byte of random value used.
7968
6e226b09
DM
7969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7970
058c132d
AS
79712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7972
7973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7974
2d2cd515
DM
79752012-03-09 David S. Miller <davem@davemloft.net>
7976
7977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7978 variables with appropriate CPP guards.
7979 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7980 frame pointer, not the stack pointer. Correct layout comments. Fix test
7981 on resulting framesize and the management of the outregs buffer for pltexit.
7982 Preserve floating point return values across _dl_call_pltexit call.
7983 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7984 framesize and the management of the outregs buffer for pltexit.
7985 Preserve floating point return values across _dl_call_pltexit
7986 call.
7987 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7988 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7989 (print_exit): Fix format string for return register value.
7990
9a07f9d0
JM
79912012-03-10 Joseph Myers <joseph@codesourcery.com>
7992
7993 * sunrpc/Makefile (others): Add rpcgen.
7994 ($(objpfx)rpcgen): Remove special build rule and dependency on
7995 libc.
7996 * sunrpc/rpcgen.c: New file.
7997
547b5e30
PE
79982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7999
c524201a
PE
8000 [BZ #13673]
8001 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8002 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8003 * sysdeps/i386/crti.S: Likewise.
8004 * sysdeps/i386/crtn.S: Likewise.
8005 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8006 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8007 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8008 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8009 * sysdeps/sh/crti.S: Likewise.
8010 * sysdeps/sh/crtn.S: Likewise.
8011 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8012
7b6235f2
PE
8013 [BZ #13673]
8014 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8015 with URL.
8016 * locale/programs/locfile-kw.gperf: Likewise.
8017 * locale/programs/charmap-kw.h: Regenerated.
8018 * locale/programs/locfile-kw.h: Likewise.
8019
547b5e30
PE
8020 [BZ #13673]
8021 * intl/plural.y: Replace FSF snail mail address with URL.
8022 * intl/plural.c: Regenerated.
8023
5f0a5dae
RH
80242012-03-09 Richard Henderson <rth@twiddle.net>
8025
8026 * include/math_private.h: Remove file.
8027 * math/math_private.h: Move file ...
8028 * sysdeps/generic/math_private.h: ... here.
8029
b8c03620
RH
8030 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8031 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8032 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8033
4e234f5d 8034 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8035 and <math_private.h>.
8036 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8037 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8038 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8039 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8040 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8124 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8127 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8130 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8131 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8132 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8133 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8134 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8136 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8137 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8138 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8139 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8140 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8141 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8142 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8143 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8148 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8149 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8150 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8151 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8152 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8153 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8155 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8156 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8157 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8158 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8159 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8160 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8161 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8162 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8163 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8164 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8166 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8168 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8169 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8170 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8171 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8172 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8173 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8174 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8176 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8177 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8178 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8179 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8180 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8181 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8182 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8183 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8184 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8185 * sysdeps/ieee754/k_standard.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8305 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8308 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8313 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8318 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8334 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8335 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8336 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8346 * sysdeps/ieee754/s_lib_version.c: Likewise.
8347 * sysdeps/ieee754/s_matherr.c: Likewise.
8348 * sysdeps/ieee754/s_signgam.c: Likewise.
8349 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8350 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8351 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8352 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8353 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8354 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8355 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8356 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8357 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8358 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8359 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8360 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8361 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8362 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8363 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8364 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8370
1991fa03
JM
83712012-03-09 Joseph Myers <joseph@codesourcery.com>
8372
8373 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8374 * sunrpc/rpc_main.c: Likewise.
8375 * sunrpc/rpc_svcout.c: Likewise.
8376
60d6f5a6
DM
83772012-03-09 David S. Miller <davem@davemloft.net>
8378
8379 * include/math_private.h: New file.
8380
4962050e
JM
83812012-03-09 Joseph Myers <joseph@codesourcery.com>
8382
02a6f887
JM
8383 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8384 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8385 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8386 from <bits/socket_type.h>.
8387 (enum __socket_type): Don't define here.
8388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8390 bits/socket_type.h.
8391
c6e013c1
JM
8392 [BZ #13566]
8393 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8394 checking __USE_GNU.
8395
4962050e
JM
8396 * Makerules ($(inst_includedir)/%.h): New rule.
8397 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8398 (install-others): Remove variable setting.
8399 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8400
38842f45
RH
84012012-03-08 Richard Henderson <rth@twiddle.net>
8402
67bb6da6
RH
8403 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8404 from macro to inline function; merge with the
8405 !__LIBC_INTERNAL_MATH_INLINES version.
8406 (__ieee754_sqrtf): Likewise.
8407
15194b4b
RH
8408 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8409 to inline function.
8410 (__rintf, __floor, __floorf): Likewise.
8411
64e21ede
RH
8412 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8413 macro to inline function.
8414 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8415
38842f45
RH
8416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8417 not <math/math_private.h>.
8418
c64bf5fe
DM
84192012-03-08 David S. Miller <davem@davemloft.net>
8420
8421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8422 copyright year.
8423 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8424
82d86f28
TS
84252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8426
8427 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8428 normalization.
8429 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8430 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8431
aea5d727
UD
84322012-03-08 Ulrich Drepper <drepper@gmail.com>
8433
8434 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8435 be defined individually, they must be defined as a block. Define
8436 S for printing a string instead of hidint the different by using a
8437 macro for adding the 'l'.
8438 * stdio-common/tst-fphex-wide.c: Adjust.
8439
70bca0a3
MP
84402012-03-07 Marek Polacek <polacek@redhat.com>
8441
8442 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8443
65b81130
MP
84442012-03-08 Marek Polacek <polacek@redhat.com>
8445
8446 [BZ #13806]
8447 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8448 * stdio-common/tst-fphex.c: Define a few macros to make the
8449 test reusable. Use them.
8450 * stdio-common/tst-fphex-wide.c: New file.
8451
07037eeb
JM
84522012-03-08 Joseph Myers <joseph@codesourcery.com>
8453
a7a93d50
JM
8454 [BZ #6911]
8455 * manual/macros.texi (gnusystems): New macro.
8456 (nongnusystems): Likewise.
8457 (gnulinuxhurdsystems): Likewise.
8458 (gnuhurdsystems): Likewise..
8459 (gnulinuxsystems): Likewise.
8460 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8461 variants of the GNU system, not "GNU system".
8462 * manual/conf.texi: Likewise.
8463 * manual/errno.texi: Likewise. Update example of errno macro
8464 expansion.
8465 * manual/filesys.texi: Likewise.
8466 (getumask): Document as specific to GNU/Hurd.
8467 * manual/install.texi: Likewise. Reword some references to
8468 GNU/Linux.
8469 * manual/intro.texi: Likewise.
8470 * manual/io.texi: Likewise.
8471 (File Name Portability): Detail which constraints are inapplicable
8472 to all GNU systems and which are only inapplicable to GNU/Hurd.
8473 * manual/job.texi: Likewise.
8474 * manual/llio.texi: Likewise.
8475 (O_NOCTTY): Document as present on GNU/Linux.
8476 * manual/maint.texi: Likewise.
8477 * manual/memory.texi: Likewise.
8478 * manual/pattern.texi: Likewise.
8479 * manual/pipe.texi: Likewise.
8480 * manual/process.texi: Likewise.
8481 * manual/resource.texi: Likewise.
8482 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8483 child on GNU/Hurd.
8484 * manual/setjmp.texi: Likewise.
8485 * manual/signal.texi: Likewise.
8486 * manual/startup.texi: Likewise.
8487 * manual/stdio.texi: Likewise.
8488 * manual/terminal.texi: Likewise.
8489 (ONLCR): Document as POSIX.
8490 (OXTABS): Document availability on GNU/Linux as XTABS.
8491 (ONOEOT): Document availability separately from other bits.
8492 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8493 * manual/time.texi: Likewise.
8494 * manual/users.texi: Likewise.
8495 * INSTALL: Regenerated.
8496 * sysdeps/gnu/errlist.c: Regenerated.
8497
07037eeb
JM
8498 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8499 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8500 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8501 puts.
8502 * configure: Regenerated.
8503
d1d3431a
JM
85042012-03-07 Joseph Myers <joseph@codesourcery.com>
8505
af6a1e37
JM
8506 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8507 default includes instead of AC_HEADER_CHECK.
8508 * sysdeps/i386/configure: Regenerated.
8509
d1d3431a
JM
8510 [BZ #10716]
8511 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8512 * math/s_cacoshf.c (__cacoshf): Likewise.
8513 * math/s_cacoshl.c (__cacoshl): Likewise.
8514 * math/s_casinh.c (__casinh): Set signs of result from argument.
8515 * math/s_casinhf.c (__casinhf): Likewise.
8516 * math/s_casinhl.c (__casinhl): Likewise.
8517 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8518 (casinh_test): Add more tests.
8519 * sysdeps/i386/fpu/libm-test-ulps: Update.
8520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8521
482ff4da
UD
85222012-03-07 Ulrich Drepper <drepper@gmail.com>
8523
872fda05
UD
8524 * po/zh_TW.po: Update from translation team.
8525
a4300c7a
UD
8526 * login/Makefile (distribute): Remove variable.
8527 * catgets/Makefile: Likewise.
8528 * mach/Makefile: Likewise.
8529 * malloc/Makefile: Likewise.
8530 * misc/Makefile: Likewise.
8531 * iconv/Makefile: Likewise.
8532 * nscd/Makefile: Likewise.
8533 * hurd/Makefile: Likewise.
8534 * manual/Makefile: Likewise.
8535 * locale/Makefile: Likewise.
8536 * intl/Makefile: Likewise.
8537 * conform/Makefile: Likewise.
8538 * nss/Makefile: Likewise.
8539 * time/Makefile: Likewise.
8540 * soft-fp/Makefile: Likewise.
8541 * dirent/Makefile: Likewise.
8542 * gmon/Makefile: Likewise.
8543 * po/Makefile: Likewise.
8544 * rt/Makefile: Likewise.
8545 * socket/Makefile: Likewise.
8546 * math/Makefile: Likewise.
8547 * signal/Makefile: Likewise.
8548 * debug/Makefile: Likewise.
8549 * elf/Makefile: Likewise.
8550 * timezone/Makefile: Likewise.
8551 * stdlib/Makefile: Likewise.
8552 * iconvdata/Makefile: Likewise.
8553 * sunrpc/Makefile: Likewise.
8554 * io/Makefile: Likewise.
8555 * argp/Makefile: Likewise.
8556 * inet/Makefile: Likewise.
8557 * hesiod/Makefile: Likewise.
8558 * grp/Makefile: Likewise.
8559 * csu/Makefile: Likewise.
8560 * wctype/Makefile: Likewise.
8561 * crypt/Makefile: Likewise.
8562 * libio/Makefile: Likewise.
8563 * string/Makefile: Likewise.
8564 * nis/Makefile: Likewise.
8565 * resolv/Makefile: Likewise.
8566 * stdio-common/Makefile: Likewise.
8567 * wcsmbs/Makefile: Likewise.
8568 * dlfcn/Makefile: Likewise.
8569 * posix/Makefile: Likewise.
8570
3b7c4e74 8571 [BZ #6959]
482ff4da
UD
8572 * timezone/Makefile: Don't install timezone files, just the programs
8573 and scripts.
8574
f72ed77d
UD
85752012-03-06 Ulrich Drepper <drepper@gmail.com>
8576
a000466f
UD
8577 * nss/databases.def: Add missing gshadow entry.
8578
f72ed77d
UD
8579 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8580
a53b7a4e
MP
85812012-03-06 Marek Polacek <polacek@redhat.com>
8582
8583 [BZ #13726]
8584 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8585 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8586 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8587 * stdio-common/tst-long-dbl-fphex.c: New file.
8588
e9258400
DM
85892012-03-06 David S. Miller <davem@davemloft.net>
8590
8591 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8592 (set_obp_int): New function.
8593 (get_obp_int): New function.
8594 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8595 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8596 Avoid unused variable warnings on 'val' and use builtin_expect.
8597 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8598 __builtin_expect.
e9258400
DM
8599 (INLINE_CLONE_SYSCALL): Likewise.
8600
3bd2c723
DM
86012012-03-05 David S. Miller <davem@davemloft.net>
8602
8603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8604
bbb78d03
AS
86052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8606
884c5db4
AS
8607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8608
bbb78d03
AS
8609 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8610 only for |x| >= 40.
8611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8612
1c9f702a 86132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8614
8615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8616 Replace gettimeofday with __vdso_gettimeofday.
8617
7be16f82
RM
8618 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8619 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8620 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8621
8622 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8623 time with __vdso_time.
8624
ed58a00f
JM
86252012-03-05 Joseph Myers <joseph@codesourcery.com>
8626
8627 * manual/lang.texi (size_t): Note types to which size_t may be
8628 equivalent with the GNU C Library, but do not describe when
8629 differences between them are significant.
8630
30ee4ced
AJ
86312012-03-05 Andreas Jaeger <aj@suse.de>
8632
8633 * sysdeps/i386/fpu/libm-test-ulps: Update.
8634
b7cd39e8
JM
86352012-03-05 Joseph Myers <joseph@codesourcery.com>
8636
8637 [BZ #3976]
8638 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8639 (__ieee754_pow): Save and restore rounding mode and use
8640 round-to-nearest for main computations.
8641 * math/libm-test.inc (pow_test_tonearest): New function.
8642 (pow_test_towardzero): Likewise.
8643 (pow_test_downward): Likewise.
8644 (pow_test_upward): Likewise.
8645 (main): Call the new functions.
8646 * sysdeps/i386/fpu/libm-test-ulps: Update.
8647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8648
8649 [BZ #3976]
8650 * math/libm-test.inc (cosh_test_tonearest): New function.
8651 (cosh_test_towardzero): Likewise.
8652 (cosh_test_downward): Likewise.
8653 (cosh_test_upward): Likewise.
8654 (sinh_test_tonearest): Likewise.
8655 (sinh_test_towardzero): Likewise.
8656 (sinh_test_downward): Likewise.
8657 (sinh_test_upward): Likewise.
8658 (main): Call the new functions.
8659 * sysdeps/i386/fpu/libm-test-ulps: Update.
8660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8661
6c6a98c9
TV
86622012-03-05 Tom de Vries <tom@codesourcery.com>
8663
8664 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8665 default stack guard is set in last bytes.
8666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8667
21bb2d2e 86682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8669
21bb2d2e 8670 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8671
21bb2d2e
AJ
8672 [BZ #13656]
8673 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8674 possibly allocate from heap instead of stack.
8675 * stdio-common/bug-vfprintf-nargs.c: New file.
8676 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8677
c6922934
AS
86782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8679
8680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8681
bc957d53
MP
86822012-03-03 Marek Polacek <polacek@redhat.com>
8683
8684 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8685 * math/math_private.h: Likewise.
8686 * stdlib/tst-strtod.c: Likewise.
8687 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8688 * sysdeps/x86_64/bits/atomic.h: Likewise.
8689
6358490d
DM
86902012-03-02 David S. Miller <davem@davemloft.net>
8691
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8696 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8697 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8698 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8699 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8700
01ae168d
RM
87012012-03-02 Roland McGrath <roland@hack.frob.com>
8702
d9a17c07
RM
8703 [BZ #13792]
8704 * manual/examples/README: New file, says the example source files
8705 can be used under GPL>=2.
8706 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8707 line containing just "*/".
8708 * manual/examples/add.c: Add copyright header (GPL>=2).
8709 * manual/examples/argp-ex1.c: Likewise.
8710 * manual/examples/argp-ex2.c: Likewise.
8711 * manual/examples/argp-ex3.c: Likewise.
8712 * manual/examples/argp-ex4.c: Likewise.
8713 * manual/examples/atexit.c: Likewise.
8714 * manual/examples/db.c: Likewise.
8715 * manual/examples/dir.c: Likewise.
8716 * manual/examples/dir2.c: Likewise.
8717 * manual/examples/execinfo.c: Likewise.
8718 * manual/examples/filecli.c: Likewise.
8719 * manual/examples/filesrv.c: Likewise.
8720 * manual/examples/fmtmsgexpl.c: Likewise.
8721 * manual/examples/genpass.c: Likewise.
8722 * manual/examples/inetcli.c: Likewise.
8723 * manual/examples/inetsrv.c: Likewise.
8724 * manual/examples/isockad.c: Likewise.
8725 * manual/examples/longopt.c: Likewise.
8726 * manual/examples/memopen.c: Likewise.
8727 * manual/examples/memstrm.c: Likewise.
8728 * manual/examples/mkfsock.c: Likewise.
8729 * manual/examples/mkisock.c: Likewise.
8730 * manual/examples/mygetpass.c: Likewise.
8731 * manual/examples/pipe.c: Likewise.
8732 * manual/examples/popen.c: Likewise.
8733 * manual/examples/rprintf.c: Likewise.
8734 * manual/examples/search.c: Likewise.
8735 * manual/examples/select.c: Likewise.
8736 * manual/examples/setjmp.c: Likewise.
8737 * manual/examples/sigh1.c: Likewise.
8738 * manual/examples/sigusr.c: Likewise.
8739 * manual/examples/stpcpy.c: Likewise.
8740 * manual/examples/strdupa.c: Likewise.
8741 * manual/examples/strftim.c: Likewise.
8742 * manual/examples/strncat.c: Likewise.
8743 * manual/examples/subopt.c: Likewise.
8744 * manual/examples/swapcontext.c: Likewise.
8745 * manual/examples/termios.c: Likewise.
8746 * manual/examples/testopt.c: Likewise.
8747 * manual/examples/testpass.c: Likewise.
8748 * manual/examples/timeval_subtract.c: Likewise.
8749
01ae168d
RM
8750 [BZ #13792]
8751 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8752 function to ...
8753 * manual/timeval_subtract.c.texi: ... here, new file.
8754
49efa33d
DM
87552012-03-02 David S. Miller <davem@davemloft.net>
8756
8757 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8758
28afd92d
JM
87592012-03-02 Joseph Myers <joseph@codesourcery.com>
8760
804360ed
JM
8761 [BZ #3976]
8762 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8763 (__sin): Save and restore rounding mode and use round-to-nearest
8764 for all computations.
8765 (__cos): Save and restore rounding mode and use round-to-nearest
8766 for all computations.
8767 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8768 <fenv.h>.
8769 (tan): Save and restore rounding mode and use round-to-nearest for
8770 all computations.
8771 * math/libm-test.inc (cos_test_tonearest): New function.
8772 (cos_test_towardzero): Likewise.
8773 (cos_test_downward): Likewise.
8774 (cos_test_upward): Likewise.
8775 (sin_test_tonearest): Likewise.
8776 (sin_test_towardzero): Likewise.
8777 (sin_test_downward): Likewise.
8778 (sin_test_upward): Likewise.
8779 (tan_test_tonearest): Likewise.
8780 (tan_test_towardzero): Likewise.
8781 (tan_test_downward): Likewise.
8782 (tan_test_upward): Likewise.
8783 (main): Call the new functions.
8784 * sysdeps/i386/fpu/libm-test-ulps: Update.
8785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8786
a6d06d7b
JM
8787 [BZ #10135]
8788 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8789 small n, then large n, before computing and testing k+n.
8790 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8792 Likewise.
8793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8794 Likewise.
8795 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8796 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8803 * math/libm-test.inc (scalbn_test): Add more tests.
8804 (scalbln_test): Likewise.
8805
07e12bb3
JM
8806 * manual/filesys.texi (mode_t): Describe constraints on size and
8807 signedness, not exact equivalence to a particular type.
8808 (ino_t): Likewise.
8809 (ino64_t): Likewise.
8810 (dev_t): Likewise.
8811 (nlink_t): Likewise.
8812 (blkcnt_t): Likewise.
8813 (blkcnt64_t): Likewise.
8814 * manual/llio.texi (off_t): Likewise.
8815
28afd92d
JM
8816 [BZ #3976]
8817 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8818 (__ieee754_exp): Save and restore rounding mode and use
8819 round-to-nearest for all computations.
8820 * math/libm-test.inc (exp_test_tonearest): New function.
8821 (exp_test_towardzero): Likewise.
8822 (exp_test_downward): Likewise.
8823 (exp_test_upward): Likewise.
8824 (main): Call the new functions.
8825 * sysdeps/i386/fpu/libm-test-ulps: Update.
8826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8827
b1eeb65d
CD
88282012-03-01 Chris Demetriou <cgd@google.com>
8829
8830 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8831 have predictable order.
8832
53362a4b
DM
88332012-03-01 David S. Miller <davem@davemloft.net>
8834
3c969083
DM
8835 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8836
759707de
DM
8837 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8838 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8839 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8840 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8841
dfdb8ff2
DM
8842 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8843 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8844 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8846 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8847 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8848 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8849 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8850 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8851
ead89f96
DM
8852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8853
7f66bd07
DM
8854 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8855 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8856 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8857
53362a4b
DM
8858 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8859 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8860 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8861 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8862 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8865 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8866 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8867 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8868 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8871 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8872 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8874 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8875 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8876 * sysdeps/sparc/elf/configure: Regenerated.
8877
7b1902cb
JM
88782012-03-01 Joseph Myers <joseph@codesourcery.com>
8879
bec039bc
JM
8880 * configure.in (AS, LD): Require binutils 2.20 or later.
8881 * configure: Regenerated.
8882 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8883 as required minimum version.
8884 * INSTALL: Regenerated.
8885
7b1902cb
JM
8886 [BZ #2541]
8887 [BZ #4108]
8888 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8889 before squaring exponent.
8890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8891 bottom long double and 27 bits of top long double before squaring
8892 exponent.
8893 * math/libm-test.inc (erfc_test): Add more tests.
8894 * sysdeps/i386/fpu/libm-test-ulps: Update.
8895 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8897
f775c276
KT
88982012-03-01 Kai Tietz <ktietz@redhat.com>
8899
8900 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8901 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8902 containing bit-fields.
8903 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8904 * soft-fp/single.h (_FP_UNION_S): Likewise.
8905 * soft-fp/double.h (_FP_UNION_D): Likewise.
8906
5b8a4d4a
JM
89072012-02-29 Joseph Myers <joseph@codesourcery.com>
8908
0bab47b6
JM
8909 [BZ #13786]
8910 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8911 not include ../strcmp.S.
8912 [USE_AS_STRNCASECMP_L]: Likewise.
8913 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8914 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8915 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8916 (__strncasecmp_l_ia32): Define as alias to
8917 __strncasecmp_l_nonascii.
8918
0fcad3e2
JM
8919 [BZ #5794]
8920 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8921 * sysdeps/i386/fpu/libm-test-ulps: Update.
8922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8923
5b8a4d4a
JM
8924 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8926
8fdceb2e
JL
89272012-02-29 Jeff Law <law@redhat.com>
8928
8929 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8930 out of bounds read.
8931
1f393a11
MP
89322012-02-29 Marek Polacek <polacek@redhat.com>
8933
8934 [BZ #13706]
8935 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8936 * elf/Makefile: Add rules to run tst-unused-dep.out.
8937
8847f037
DM
89382012-02-28 David S. Miller <davem@davemloft.net>
8939
8940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8944 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8945 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8946
169d7f11
JM
89472012-02-29 Joseph Myers <joseph@codesourcery.com>
8948
8949 * math/libm-test.inc (llround_test): Move one test from
8950 lround_test. Use TEST_f_L in moved test.
8951 (lround_test): Move misplaced test to llround_test. Add testcase
8952 from bug 2561.
8953
39adf059
UD
89542012-02-28 Ulrich Drepper <drepper@gmail.com>
8955
8956 * sysdeps/x86_64/fpu/e_expf.S: New file.
8957 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8958
71b5d1c5
SB
89592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8960
8961 [BZ #13637]
8962 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8963 of remain_len that may cause incomplete multi-byte character and
8964 false match.
8965 * posix/bug-regex33.c: New file.
8966 * posix/Makefile (tests): Add bug-regex33.
8967
1f77f049
JM
89682012-02-28 Joseph Myers <joseph@codesourcery.com>
8969
8970 * manual/macros.texi: New file.
8971 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8972 * manual/libc.texinfo: Include macros.texi.
8973 * manual/creatute.texi: Likewise.
8974 * manual/install.texi: Likewise.
8975 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8976 @glibcadj{} in references to the GNU C Library.
8977 * manual/charset.texi: Likewise.
8978 * manual/conf.texi: Likewise.
8979 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8980 when not using those macros.
8981 * manual/creature.texi: Likewise.
8982 * manual/crypt.texi: Likewise.
8983 * manual/errno.texi: Likewise.
8984 * manual/filesys.texi: Likewise.
8985 * manual/header.texi: Likewise.
8986 * manual/install.texi: Likewise.
8987 * manual/intro.texi: Likewise.
8988 * manual/io.texi: Likewise.
8989 * manual/job.texi: Likewise.
8990 * manual/lang.texi: Likewise.
8991 * manual/libc.texiinfo: Likewise.
8992 * manual/llio.texi: Likewise.
8993 * manual/locale.texi: Likewise.
8994 * manual/maint.texi: Likewise.
8995 * manual/math.texi: Likewise.
8996 * manual/memory.texi: Likewise.
8997 * manual/message.texi: Likewise.
8998 * manual/nss.texi: Likewise.
8999 * manual/pattern.texi: Likewise.
9000 * manual/process.texi: Likewise.
9001 * manual/resource.texi: Likewise.
9002 * manual/search.texi: Likewise.
9003 * manual/setjmp.texi: Likewise.
9004 * manual/signal.texi: Likewise.
9005 * manual/socket.texi: Likewise.
9006 * manual/startup.texi: Likewise.
9007 * manual/stdio.texi: Likewise.
9008 * manual/string.texi: Likewise.
9009 * manual/sysinfo.texi: Likewise.
9010 * manual/syslog.texi: Likewise.
9011 * manual/terminal.texi: Likewise.
9012 * manual/time.texi: Likewise.
9013 * manual/users.texi: Likewise.
9014 * INSTALL: Regenerated.
9015 * NOTES: Regenerated.
d40c5d54 9016 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9017
450bf206
AS
90182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9019
9020 * include/dirent.h: Include <dirstream.h> before
9021 <dirent/dirent.h>.
9022
741a235b
DM
90232012-02-28 David S. Miller <davem@davemloft.net>
9024
9025 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9026 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9027 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9028 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9029
d6b5aa58
DM
90302012-02-27 David S. Miller <davem@davemloft.net>
9031
1aff59a3
DM
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9034 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9035 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9036
d6b5aa58
DM
9037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9038 frame pointer instead of stack pointer relative arg slot.
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9040 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9041 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9042
433f48bf
CD
90432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9044
9045 [BZ #3992]
9046 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9047
d674b76d
DM
90482012-02-27 David S. Miller <davem@davemloft.net>
9049
9050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9056 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9058
0e7727f7
JM
90592012-02-27 Joseph Myers <joseph@codesourcery.com>
9060
9061 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9062 later. Allow versions 5-9.
43be4ca2 9063 * configure: Regenerated.
0e7727f7
JM
9064 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9065 required minimum version and 4.6 as recommended version. Do not
9066 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9067 * INSTALL: Regenerated.
0e7727f7 9068
a78bc654
DM
90692012-02-27 David S. Miller <davem@davemloft.net>
9070
428d5830
DM
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9076 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9077 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9078 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9079
a78bc654
DM
9080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9081 manipulate bits before adding and subtracting TWO112[sx].
9082 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9083
4579f81c
RM
90842012-02-27 Roland McGrath <roland@hack.frob.com>
9085
36c8acb4
RM
9086 [BZ #13775]
9087 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9088 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9089 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9090 being in POSIX, because they are in 1003.1-2008.
9091
84ad622b
RM
9092 * rt/tst-aio.c: Include <fcntl.h>.
9093 * rt/tst-aio7.c: Likewise.
9094 * rt/tst-aio64.c: Likewise.
9095
4579f81c
RM
9096 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9097
abd923db
JM
90982012-02-27 Joseph Myers <joseph@codesourcery.com>
9099
9100 * manual/install.texi (--with-headers): Describe headers as
9101 interface headers, not private headers.
9102 (Specific advice for GNU/Linux systems): Describe use of headers
9103 from "make headers_install", not private headers from older
9104 kernels.
43be4ca2 9105 * INSTALL: Regenerated.
abd923db
JM
9106 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9107 Change to 2.6.19.
9108 * sysdeps/unix/sysv/linux/configure: Regenerated.
9109
6664049b
JM
9110 * manual/llio.texi (fclean): Remove documentation.
9111
bb8b6697
JM
9112 * manual/Makefile (libc-texi-generated): New variable. Include
9113 version.texi.
9114 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9115 $(libc-texi-generated), not duplicated list of files.
9116 (version.texi, stamp-version): New rules.
9117 (realclean): Remove $(libc-texi-generated), not individual files
9118 from that list. Do not remove dir-add.texinfo.
9119 * manual/libc.texinfo: Comment out uses of edition numbers and
9120 references to printed manual. Remove last-updated dates.
9121 (EDITION): Comment out.
9122 (ISBN): Likewise.
9123 (VERSION, UPDATED): Remove.
9124 (version.texi): Include.
9125
12e5c3b9
AS
91262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9127
9128 * sysdeps/posix/spawni.c: Include <signal.h>.
9129 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9130 * sysdeps/pthread/aio_fsync.c: Likewise.
9131
4efeffc1 91322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9133
ba63ba08
UD
9134 * conform/Makefile (tests): Run only when not cross-compiling and
9135 when fast-check is not defined.
9136
d94a4670
UD
9137 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9138 * conform/data/limits.h-data: Fixes for POSIX2008.
9139 * conform/run-conformtest.sh: Run all tests.
9140 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9141 headers.
9142 * include/bits/dlfcn.h: Likewise.
9143 * include/langinfo.h: Likewise.
9144 * include/monetary.h: Likewise.
9145 * include/sys/poll.h: Likewise.
9146
9147 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9148 for __USE_GNU.
9149 * posix/spawn.h: Define __need_sigset_t.
9150 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9151 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9152 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9153 to get sigevent_t only.
9154 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9155 only for __USE_GNU.
9156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9157 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9158 process_vm_writev only for __USE_GNU.
9159 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9160
9161 * conform/Makefile: For now ignore errors from run-conformtest.
9162 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9163 POSIX to avoid namespace pollution. Don't prepend headers.
9164 * conform/data/aio.h-data: Fixes for POSIX testing.
9165 * conform/data/fcntl.h-data: Likewise.
9166 * conform/data/glob.h-data: Likewise.
9167 * conform/data/grp.h-data: Likewise.
9168 * conform/data/pthread.h-data: Likewise.
9169 * conform/data/pwd.h-data: Likewise.
9170 * conform/data/signal.h-data: Likewise.
9171 * conform/data/spawn.h-data: Likewise.
9172 * conform/data/stdio.h-data: Likewise.
9173 * conform/data/stdlib.h-data: Likewise.
9174 * conform/data/stropts.h-data: Likewise.
9175 * conform/data/sys/mman.h-data: Likewise.
9176 * conform/data/sys/stat.h-data: Likewise.
9177 * conform/data/sys/types.h-data: Likewise.
9178 * conform/data/sys/wait.h-data: Likewise.
9179 * conform/data/time.h-data: Likewise.
9180 * conform/data/unistd.h-data: Likewise.
9181 * conform/data/utime.h-data: Likewise.
9182
9183 * io/sys/stat.h: fchmod was always in POSIX.
9184 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9185 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9186 * rt/aio.h: Define __need_timespec before including <time.h>.
9187 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9188 struct. Add forward declaration of pthread_attr_t and use it in
9189 sigevent.
9190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9192 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9193 always remove CLK_TCK definition.
9194
c20105c3
AS
91952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9196
9197 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9198
7a270350
UD
91992012-02-25 Ulrich Drepper <drepper@gmail.com>
9200
31341567
UD
9201 * conform/run-conformtest.sh: New file.
9202 * conform/Makefile: Run run-conformtest for tests.
9203 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9204 support.
9205
9206 * conform/data/uchar.h-data: New file.
9207 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9208 * conform/data/arpa/inet.h-data: Likewise.
9209 * conform/data/assert.h-data: Likewise.
9210 * conform/data/complex.h-data: Likewise.
9211 * conform/data/cpio.h-data: Likewise.
9212 * conform/data/ctype.h-data: Likewise.
9213 * conform/data/dirent.h-data: Likewise.
9214 * conform/data/dlfcn.h-data: Likewise.
9215 * conform/data/errno.h-data: Likewise.
9216 * conform/data/fcntl.h-data: Likewise.
9217 * conform/data/float.h-data: Likewise.
9218 * conform/data/fmtmsg.h-data: Likewise.
9219 * conform/data/fnmatch.h-data: Likewise.
9220 * conform/data/ftw.h-data: Likewise.
9221 * conform/data/glob.h-data: Likewise.
9222 * conform/data/grp.h-data: Likewise.
9223 * conform/data/iconv.h-data: Likewise.
9224 * conform/data/inttypes.h-data: Likewise.
9225 * conform/data/langinfo.h-data: Likewise.
9226 * conform/data/libgen.h-data: Likewise.
9227 * conform/data/limits.h-data: Likewise.
9228 * conform/data/locale.h-data: Likewise.
9229 * conform/data/math.h-data: Likewise.
9230 * conform/data/monetary.h-data: Likewise.
9231 * conform/data/mqueue.h-data: Likewise.
9232 * conform/data/ndbm.h-data: Likewise.
9233 * conform/data/net/if.h-data: Likewise.
9234 * conform/data/netdb.h-data: Likewise.
9235 * conform/data/netinet/in.h-data: Likewise.
9236 * conform/data/nl_types.h-data: Likewise.
9237 * conform/data/poll.h-data: Likewise.
9238 * conform/data/pthread.h-data: Likewise.
9239 * conform/data/pwd.h-data: Likewise.
9240 * conform/data/regex.h-data: Likewise.
9241 * conform/data/sched.h-data: Likewise.
9242 * conform/data/search.h-data: Likewise.
9243 * conform/data/semaphore.h-data: Likewise.
9244 * conform/data/setjmp.h-data: Likewise.
9245 * conform/data/signal.h-data: Likewise.
9246 * conform/data/spawn.h-data: Likewise.
9247 * conform/data/stdarg.h-data: Likewise.
9248 * conform/data/stdio.h-data: Likewise.
9249 * conform/data/stdlib.h-data: Likewise.
9250 * conform/data/string.h-data: Likewise.
9251 * conform/data/strings.h-data: Likewise.
9252 * conform/data/stropts.h-data: Likewise.
9253 * conform/data/sys/ipc.h-data: Likewise.
9254 * conform/data/sys/mman.h-data: Likewise.
9255 * conform/data/sys/msg.h-data: Likewise.
9256 * conform/data/sys/resource.h-data: Likewise.
9257 * conform/data/sys/select.h-data: Likewise.
9258 * conform/data/sys/sem.h-data: Likewise.
9259 * conform/data/sys/shm.h-data: Likewise.
9260 * conform/data/sys/socket.h-data: Likewise.
9261 * conform/data/sys/stat.h-data: Likewise.
9262 * conform/data/sys/statvfs.h-data: Likewise.
9263 * conform/data/sys/time.h-data: Likewise.
9264 * conform/data/sys/timeb.h-data: Likewise.
9265 * conform/data/sys/times.h-data: Likewise.
9266 * conform/data/sys/types.h-data: Likewise.
9267 * conform/data/sys/uio.h-data: Likewise.
9268 * conform/data/sys/un.h-data: Likewise.
9269 * conform/data/sys/utsname.h-data: Likewise.
9270 * conform/data/sys/wait.h-data: Likewise.
9271 * conform/data/syslog.h-data: Likewise.
9272 * conform/data/tar.h-data: Likewise.
9273 * conform/data/termios.h-data: Likewise.
9274 * conform/data/utime.h-data: Likewise.
9275 * conform/data/utmpx.h-data: Likewise.
9276 * conform/data/varargs.h-data: Likewise.
9277 * conform/data/wchar.h-data: Likewise.
9278 * conform/data/wctype.h-data: Likewise.
9279 * conform/data/wordexp.h-data: Likewise.
9280
9281 * include/stropts.h: New file.
9282 * include/uchar.h: New file.
9283 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9284 * include/assert.h: Likewise.
9285 * include/ctype.h: Likewise.
9286 * include/dirent.h: Likewise.
9287 * include/dlfcn.h: Likewise.
9288 * include/fcntl.h: Likewise.
9289 * include/fnmatch.h: Likewise.
9290 * include/glob.h: Likewise.
9291 * include/grp.h: Likewise.
9292 * include/libio.h: Likewise.
9293 * include/locale.h: Likewise.
9294 * include/math.h: Likewise.
9295 * include/net/if.h: Likewise.
9296 * include/netdb.h: Likewise.
9297 * include/netinet/in.h: Likewise.
9298 * include/pthread.h: Likewise.
9299 * include/pwd.h: Likewise.
9300 * include/regex.h: Likewise.
9301 * include/sched.h: Likewise.
9302 * include/search.h: Likewise.
9303 * include/setjmp.h: Likewise.
9304 * include/signal.h: Likewise.
9305 * include/stdio.h: Likewise.
9306 * include/stdlib.h: Likewise.
9307 * include/string.h: Likewise.
9308 * include/sys/cdefs.h: Likewise.
9309 * include/sys/mman.h: Likewise.
9310 * include/sys/msg.h: Likewise.
9311 * include/sys/resource.h: Likewise.
9312 * include/sys/select.h: Likewise.
9313 * include/sys/socket.h: Likewise.
9314 * include/sys/stat.h: Likewise.
9315 * include/sys/statvfs.h: Likewise.
9316 * include/sys/time.h: Likewise.
9317 * include/sys/times.h: Likewise.
9318 * include/sys/uio.h: Likewise.
9319 * include/sys/utsname.h: Likewise.
9320 * include/sys/wait.h: Likewise.
9321 * include/termios.h: Likewise.
9322 * include/time.h: Likewise.
9323 * include/ulimit.h: Likewise.
9324 * include/unistd.h: Likewise.
9325 * include/utime.h: Likewise.
9326 * include/wchar.h: Likewise.
9327 * include/wctype.h: Likewise.
9328 * include/wordexp.h: Likewise.
9329
9330 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9331
7a270350
UD
9332 * time/time.h: TIME_UTC must be a macro.
9333 Make timespec_get available for ISO C11 only as well.
9334
7724defc
UD
93352012-02-24 Ulrich Drepper <drepper@gmail.com>
9336
9337 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9338 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9339
6b1d1d46
JM
93402012-02-24 Joseph Myers <joseph@codesourcery.com>
9341
9342 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9343
0f8bbd69
JM
93442012-02-24 Joseph Myers <joseph@codesourcery.com>
9345
9346 * manual/texinfo.tex: Update to version 2012-01-19.16.
9347
66ab80bc
JM
93482012-02-24 Joseph Myers <joseph@codesourcery.com>
9349
9350 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9351
74981cc5
RM
93522012-02-24 Roland McGrath <roland@hack.frob.com>
9353
ee968201
RM
9354 [BZ #13738]
9355 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9356 * manual/fdl-1.3.texi: New file.
9357 * manual/fdl-1.1.texi: File removed.
9358
74981cc5
RM
9359 [BZ #13738]
9360 * manual/libc.texinfo (FDL_VERSION): New @set.
9361 Use it for mention of FDL in cover text.
9362 (Documentation License): Use it in @include file name.
9363
7bb764bc
JM
93642012-02-22 Joseph Myers <joseph@codesourcery.com>
9365 Roland McGrath <roland@hack.frob.com>
9366
9367 [BZ #5461]
9368 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9369 not LONG_LONG_MAX and LONG_LONG_MIN.
9370 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9371 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9372 name.
9373 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9374
6cbeae47
JM
93752012-02-22 Joseph Myers <joseph@codesourcery.com>
9376
9377 [BZ #2547]
9378 [BZ #11365]
9379 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9380 manipulate bits before adding and subtracting TWO23[sx].
9381 * math/libm-test.inc (nearbyint_test): Add more tests.
9382
fe45ce09
JM
93832012-02-22 Joseph Myers <joseph@codesourcery.com>
9384
9385 [BZ #2548]
9386 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9387 bits before adding and subtracting TWO23[sx].
9388 * math/libm-test.inc (rint_test): Add more tests.
9389 (rint_test_tonearest): Likewise.
9390 (rint_test_towardzero): Likewise.
9391 (rint_test_downward): Likewise.
9392 (rint_test_upward: Likewise.
9393
ff3b3d82
JM
93942012-02-22 Joseph Myers <joseph@codesourcery.com>
9395
9396 [BZ #10110]
9397 * include/stdc-predef.h: New file. Extracted from features.h.
9398 * include/features.h: Include stdc-predef.h.
9399 * Makefile (headers): Add stdc-predef.h.
9400 * CONFORMANCE (Compiler limitations): Update.
9401
ef0aab35
JM
94022012-02-22 Joseph Myers <joseph@codesourcery.com>
9403
9404 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9405
58639409
DM
94062012-02-21 David S. Miller <davem@davemloft.net>
9407
9408 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9409 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9410
c0e70b25
DM
94112012-02-20 David S. Miller <davem@davemloft.net>
9412
9413 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9414 using a normal save/restore sequence, rather than allocating a
9415 dummy stack frame just to store a frame pointer and restore.
9416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9417
fb06851d
JM
94182012-02-21 Joseph Myers <joseph@codesourcery.com>
9419
9420 * manual/install.texi: Fix stray word in line-wrapped comment.
9421
7a8b71c3
DM
94222012-02-20 David S. Miller <davem@davemloft.net>
9423
d510c123
DM
9424 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9425 both binutils and gcc support GOTDATA.
9426
0722d7c2
DM
9427 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9428 "rd %pc" in the PIC register setup sequences.
9429
3d2b3019
DM
9430 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9431 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9432 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9433 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9434 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9439 (SYSCALL_ERROR_HANDLER): Likewise.
9440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9443 (SYSCALL_ERROR_HANDLER): Likewise.
9444
c80098a9
DM
9445 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9446 (HAVE_GCC_GOTDATA): New.
9447 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9448 relocation support in both binutils and gcc.
9449 * sysdeps/sparc/elf/configure: Regenerate.
9450
3a2545a0
DM
9451 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9452 * sysdeps/sparc/sparc32/elf/configure: Delete.
9453 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9454 * sysdeps/sparc/sparc64/elf/configure: Delete.
9455 * sysdeps/sparc/elf/configure.in: New file.
9456 * sysdeps/sparc/elf/configure: Generate.
9457
7a8b71c3
DM
9458 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9459 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9460 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9461 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9462 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9463
f1e86fca
JM
94642012-02-21 Joseph Myers <joseph@codesourcery.com>
9465
9466 * manual/install.texi: Do not mention specific glibc version
9467 numbers.
9468 * manual/libc.texinfo (VERSION, UPDATED): Update.
9469 (@copying): Use @copyright{} and range of years.
9470
0e7dfaef
JM
94712012-02-21 Joseph Myers <joseph@codesourcery.com>
9472
9473 [BZ #13695]
9474 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9475 [crti.S not in sysdirs] (generated): Do not append.
9476 [crti.S not in sysdirs] (omit-deps): Likewise.
9477 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9478 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9479 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9480 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9481 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9482 Likewise.
9483 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9484 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9485 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9486 * csu/defs.awk: Remove file.
9487 * sysdeps/generic/initfini.c: Likewise.
9488 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9489 variable.
9490 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9491 Likewise.
9492
599af3ca
JM
94932012-02-20 Joseph Myers <joseph@codesourcery.com>
9494
9495 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9496 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9497 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9500 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9501 <bits/epoll.h>.
9502 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9503 (__EPOLL_PACKED): Define to empty if not defined by
9504 <bits/epoll.h>.
9505 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9507 bits/epoll.h.
9508
0e499750
JM
95092012-02-20 Joseph Myers <joseph@codesourcery.com>
9510
9511 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9512 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9513 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9514 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9515 <bits/timerfd.h>.
9516 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9518 bits/timerfd.h.
9519
5ad91f6e
JM
95202012-02-20 Joseph Myers <joseph@codesourcery.com>
9521
9522 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9523 in C locale.
9524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9525 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9528
06b99b02
AJ
95292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9530
9531 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9532 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9533
7638c0fd
AS
95342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9535
9536 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9537 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9538 defined.
9539 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9540 Likewise.
9541 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9542 entry for 2.16.
9543
92221550
AJ
95442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9545
9546 * math/w_acos.c: Use non-signaling floating-point comparisons.
9547 * math/w_acosf.c: Likewise.
9548 * math/w_acosh.c: Likewise.
9549 * math/w_acoshf.c: Likewise.
9550 * math/w_acoshl.c: Likewise.
9551 * math/w_acosl.c: Likewise.
9552 * math/w_asin.c: Likewise.
9553 * math/w_asinf.c: Likewise.
9554 * math/w_asinl.c: Likewise.
9555 * math/w_atanh.c: Likewise.
9556 * math/w_atanhf.c: Likewise.
9557 * math/w_atanhl.c: Likewise.
9558 * math/w_exp2.c: Likewise.
9559 * math/w_exp2f.c: Likewise.
9560 * math/w_exp2l.c: Likewise.
9561 * math/w_j0.c: Likewise.
9562 * math/w_j0f.c: Likewise.
9563 * math/w_j0l.c: Likewise.
9564 * math/w_j1.c: Likewise.
9565 * math/w_j1f.c: Likewise.
9566 * math/w_j1l.c: Likewise.
9567 * math/w_jn.c: Likewise.
9568 * math/w_jnf.c: Likewise.
9569 * math/w_log.c: Likewise.
9570 * math/w_log10.c: Likewise.
9571 * math/w_log10f.c: Likewise.
9572 * math/w_log10l.c: Likewise.
9573 * math/w_log2.c: Likewise.
9574 * math/w_log2f.c: Likewise.
9575 * math/w_log2l.c: Likewise.
9576 * math/w_logf.c: Likewise.
9577 * math/w_logl.c: Likewise.
9578 * math/w_sqrt.c: Likewise.
9579 * math/w_sqrtf.c: Likewise.
9580 * math/w_sqrtl.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9583 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9584 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9585 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9586
ebaf36eb
JM
95872012-02-19 Joseph Myers <joseph@codesourcery.com>
9588
9589 [BZ #9739]
9590 * manual/string.texi (strnlen): Use correct parameter name in
9591 equivalent expression.
9592
71c254a6
JM
95932012-02-19 Joseph Myers <joseph@codesourcery.com>
9594
9595 [BZ #11174]
9596 * manual/users.texi (seteuid): Consistently use neweuid for
9597 argument name.
9598
16d2c631
JM
95992012-02-19 Joseph Myers <joseph@codesourcery.com>
9600
9601 [BZ #13704]
9602 * manual/nss.texi (Services in the NSS configuration): Correct
9603 list of services in example configuration file.
9604
cd837b09
NB
96052012-02-19 Nick Bowler <nbowler@draconx.ca>
9606
9607 [BZ #11322]
9608 * manual/arith.texi: Remove statements about negative zero
9609 behaving identically to zero.
9610
02c4bbad
JM
96112012-02-18 Joseph Myers <joseph@codesourcery.com>
9612
9613 [BZ #5993]
9614 * manual/install.texi: Do not document upgrading from libc5.
9615
366842e7
JM
96162012-02-18 Joseph Myers <joseph@codesourcery.com>
9617
9618 [BZ #4596]
9619 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9620
dd54084d
DM
96212012-02-18 David S. Miller <davem@davemloft.net>
9622
9623 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9624 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9625 %o7 across the call.
9626 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9627 instead.
9628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9629 SETUP_PIC_REG_LEAF.
9630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9631 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9632 * sysdeps/sparc/crtn.S: Likewise.
9633
2bcc53a3
UD
96342012-02-17 Ulrich Drepper <drepper@gmail.com>
9635
9636 * aout/Makefile: Remove.
9637
09c093b5
RK
96382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9639
9640 [BZ #13058]
9641 * manual/examples/argp-ex1.c (main): Format definition in GNU
9642 style.
9643 * manual/examples/argp-ex2.c (main): Likewise.
9644 * manual/examples/argp-ex3.c (main): Likewise.
9645 * manual/examples/argp-ex4.c (main): Likewise.
9646 * manual/examples/longopt.c (main): Use new-style prototype
9647 definition.
9648 * manual/examples/strncat.c (main): Specify return type and use
9649 (void) for arguments.
9650 * manual/examples/subopt.c (main): Use char **argv argument.
9651
2ee633a2
JM
96522012-02-17 Joseph Myers <joseph@codesourcery.com>
9653
9654 [BZ #5077]
9655 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9656 rounding modes.
9657
0520adde
FB
96582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9659
9660 [BZ #6907]
9661 * manual/string.texi (strchr): Change when strchrnul is
9662 recommended.
9663
3f4081cd
DGM
96642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9665
9666 [BZ #174]
9667 * manual/locale.texi (setlocale): Document LOCPATH.
9668
d1b10e78
JM
96692012-02-17 Joseph Myers <joseph@codesourcery.com>
9670
9671 [BZ #10210]
9672 * manual/process.texi (execle): Move @dots{} before last argument.
9673
79c6869c
PB
96742012-02-17 Paul Bolle <pebolle@tiscali.nl>
9675
9676 [BZ #12047]
9677 * manual/charset.texi (Generic Charset Conversion): Fix typo
9678 (LC_TYPE -> LC_CTYPE).
9679
cc6e48bc
NB
96802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9681
9682 [BZ #5805]
9683 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9684 (scalbnf): Likewise.
9685 (scalbnl): Likewise.
9686 (scalbln): Likewise.
9687 (scalblnf): Likewise.
9688 (scalblnl): Likewise.
9689 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9690 (vwarnx): Likewise.
9691 (verr): Likewise.
9692 (verrx): Likewise.
9693 * manual/filesys.texi (telldir): Use braces around return type.
9694 * manual/llio.texi (mmap): Add space after comma.
9695 (mmap64): Likewise.
9696 * manual/math.texi (jn): Use @var{} on parameter names.
9697 (jnf): Likewise.
9698 (jnl): Likewise.
9699 (yn): Likewise.
9700 (ynf): Likewise.
9701 (ynl): Likewise.
9702 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9703 line.
9704 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9705 "...".
9706 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9707 (sched_get_priority_max): Likewise.
9708 * manual/signal.texi (sigvec): Add space after comma.
9709 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9710 names.
9711 (if_indextoname): Likewise.
9712 (if_freenameindex): Likewise.
9713 (sendto): Use ',' instead of '.' in prototype.
9714 * manual/startup.texi (syscall): Use @dots{} instead of literal
9715 "...".
9716 * manual/stdio.texi (__fpending): Separate initial words of
9717 paragraph from @deftypefun line.
9718 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9719 "...".
9720 (vsyslog): Use @var{} on parameter names.
9721 * manual/terminal.texi (stty): Use @var{} on parameter names.
9722 * manual/users.texi (getutmp): Use @var{} on parameter names.
9723 (getutmpx): Likewise.
9724
5b23062f
JM
97252012-02-17 Joseph Myers <joseph@codesourcery.com>
9726
9727 [BZ #6884]
9728 * manual/stdio.texi (fopen): Fix typos in description of
9729 ",ccs=STRING".
9730
8dee4833
AJ
97312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9732
9733 [BZ #4026]
9734 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9735 get clock_id definition.
9736
9078ce93
TS
97372012-02-17 Thomas Schwinge <thomas@schwinge.name>
9738
9739 [BZ #4822]
9740 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9741 (madvise): Cast every argument to void on its own.
9742
3835c55f
JM
97432012-02-17 Joseph Myers <joseph@codesourcery.com>
9744
9745 [BZ #9902]
9746 * manual/startup.texi (Exit Status): Fix typo.
9747
35c47e37
JM
97482012-02-17 Joseph Myers <joseph@codesourcery.com>
9749
9750 [BZ #10140]
9751 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9752 * manual/examples/argp-ex2.c: Likewise.
9753 * manual/examples/argp-ex3.c: Likewise.
9754
e3b69ca7
RH
97552012-02-16 Richard Henderson <rth@redhat.com>
9756
9757 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9758 * sysdeps/s390/s390-32/initfini.c: Remove.
9759 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9760 * sysdeps/s390/s390-64/initfini.c: Remove.
9761
df83af67
KK
97622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9763
9764 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9765 compiler output for sysdeps/generic/initfini.c.
9766 * sysdeps/sh/elf/initfini.c: Remove file.
9767
f63f3380
DM
97682012-02-16 David S. Miller <davem@davemloft.net>
9769
fb59b3a4
DM
9770 [BZ #11494]
9771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9772
f63f3380
DM
9773 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9774 * sysdeps/sparc/crti.S: New file.
9775 * sysdeps/sparc/crtn.S: New file.
9776 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9777 * sysdeps/sparc/sparc64/Makefile: Likewise.
9778
df6a4a4a
MF
97792012-02-15 Mike Frysinger <vapier@gentoo.org>
9780
6dd8f3dc 9781 [BZ #3335]
df6a4a4a
MF
9782 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9783
1cac7236
RM
97842012-02-15 Roland McGrath <roland@hack.frob.com>
9785
d2c736f8
RM
9786 [BZ #4822]
9787 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9788
1cac7236
RM
9789 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9790 (write, read, close): Likewise.
9791 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9792
8e475601
JM
97932012-02-15 Joseph Myers <joseph@codesourcery.com>
9794
9795 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9796 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9797 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9798 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9799 <bits/signalfd.h>.
9800 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9802 bits/signalfd.h.
9803
ed656b40
MP
98042012-02-14 Marek Polacek <polacek@redhat.com>
9805
9806 * sysdeps/x86_64/crti.S: New file.
9807 * sysdeps/x86_64/crtn.S: New file.
9808 * sysdeps/x86_64/elf/initfini.c: Remove file.
9809
2a979d3a
JM
98102012-02-13 Joseph Myers <joseph@codesourcery.com>
9811
9812 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9813 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9815 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9816 <bits/inotify.h>.
9817 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9819 bits/inotify.h.
9820
2a418ac3
JM
98212012-02-13 Joseph Myers <joseph@codesourcery.com>
9822
9823 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9824 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9825 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9826 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9827 <bits/eventfd.h>.
9828 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9830 bits/eventfd.h.
9831
fb779be7
TS
98322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9833
e19e83c5
RM
9834 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9835 __feraiseexcept instead of feraiseexcept.
7c35ffed 9836
fb779be7
TS
9837 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9838 nanosleep invocations.
9839 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9840 strings, and add error checking for a nanosleep invocations.
9841
59ba27a6
PE
98422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9843
9844 Replace FSF snail mail address with URLs, as per GNU coding standards.
9845 Most of the snail mail addresses were wrong anyway, and omitting
9846 them makes the source code easier to maintain. Almost all of the
9847 changes are to license notices and to locale LC_IDENTIFICATION
9848 addresses, except for this one:
9849 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9850 not its snail mail address.
9851
57b957eb
RH
98522012-02-09 Richard Henderson <rth@twiddle.net>
9853
af850b1c
RH
9854 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9855 of kernel-features.h.
9856
57b957eb
RH
9857 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9858
6b73181a
MP
98592012-02-08 Marek Polacek <polacek@redhat.com>
9860
9861 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9862 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9863 * sysdeps/gnu/_G_config.h: Likewise.
9864 * sysdeps/generic/_G_config.h: Likewise.
9865
26ecc33a
AS
98662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9867
6c6dbc63
AS
9868 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9869 tests.
9870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9871
e216c012
AS
9872 * sysdeps/powerpc/powerpc32/crti.S: New file.
9873 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9874 * sysdeps/powerpc/powerpc64/crti.S: New file.
9875 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9876
26ecc33a
AS
9877 * Makeconfig (have-initfini): Don't set.
9878 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9879 * configure.in (nopic_initfini): Don't substitute.
9880 * config.h.in (HAVE_INITFINI): Don't #undef.
9881 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9882 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9883
3add8e13
JM
98842012-02-08 Joseph Myers <joseph@codesourcery.com>
9885
9886 Support crti.S and crtn.S provided directly by architectures.
9887 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9888 [crti.S in sysdirs] (omit-deps): Likewise.
9889 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9890 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9891 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9892 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9893 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9894 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9895 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9896 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9897 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9898 compiler output for sysdeps/generic/initfini.c.
9899 * sysdeps/i386/elf/Makefile: Remove file.
9900 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9901
a22f12b4
MP
99022012-02-07 Marek Polacek <polacek@redhat.com>
9903
9904 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9905 * sysdeps/gnu/_G_config.h: Likewise.
9906 * sysdeps/mach/hurd/_G_config.h: Likewise.
9907
148cf100
MP
99082012-02-07 Marek Polacek <polacek@redhat.com>
9909
9910 * math/Makefile (tests): Add tst-CMPLX2.
9911 * math/tst-CMPLX2.c: New file.
9912
cfdc0dd7
AS
99132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9914
84ba42c4
AS
9915 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9916
cfdc0dd7
AS
9917 * math/libm-test.inc (jn_test): Add missing L suffix.
9918
622c86f4
MP
99192012-02-06 Marek Polacek <polacek@redhat.com>
9920
9921 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9922 * sysdeps/i386/fpu/e_powf.S: Likewise.
9923 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9924 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9925 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9926 * sysdeps/i386/fpu/e_pow.S: Likewise.
9927 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9928 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9929 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9930 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9931 * sysdeps/i386/fpu/e_log2.S: Likewise.
9932 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9933 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9934 * sysdeps/i386/fpu/e_powl.S: Likewise.
9935 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9936 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9937 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9938 * sysdeps/i386/fpu/e_logl.S: Likewise.
9939 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9940 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9941 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9942 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9945 * sysdeps/i386/fpu/e_log.S: Likewise.
9946 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9947 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9948 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9949 * sysdeps/i386/fpu/e_logf.S: Likewise.
9950 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9952 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9953 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9954 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9955 * sysdeps/i386/fpu/e_log10.S: Likewise.
9956 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9957 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9958 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9959 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9960 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9961 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9962 * sysdeps/i386/asm-syntax.h: Likewise.
9963 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9965 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9966 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9967 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9968 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9969 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9970 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9971 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9972 * sysdeps/powerpc/sysdep.h: Likewise.
9973 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9974 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9975
d4a54ac6
JM
99762012-02-06 Joseph Myers <joseph@codesourcery.com>
9977
9978 [BZ #411]
9979 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9980
314054ea
JM
99812012-02-06 Joseph Myers <joseph@codesourcery.com>
9982
9983 * sysdeps/i386/sysdep.h: Include <features.h>.
9984 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9985 version.
9986
d8e0ca50
JM
99872012-02-05 Joseph Myers <joseph@codesourcery.com>
9988
9989 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9990 Define.
9991 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9992 LOAD_PIC_REG_STR.
9993
b1da7dd9
JM
99942012-02-03 Joseph Myers <joseph@codesourcery.com>
9995
9996 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9997 (SETUP_PIC_REG): Use GET_PC_THUNK.
9998 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9999 macro.
10000
9a1d9254
JM
100012012-02-03 Joseph Myers <joseph@codesourcery.com>
10002
10003 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10004 for non-PIC compilation.
10005 (SETUP_PIC_REG): Add .p2align directive.
10006 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10007 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10008 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10009 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10010 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10011 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10012 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10014 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10015 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10016 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10017 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10018 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10019 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10020 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10024 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10025 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10026 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10027 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10028 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10029 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10034 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10035 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10036 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10037 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10038 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10039 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10040 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10041 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10042 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10043 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10044 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10045 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10046 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10047
65dc3b75
JM
100482012-02-03 Joseph Myers <joseph@codesourcery.com>
10049
10050 * math/tst-CMPLX.c: Include <stdio.h>.
10051
d55bf177
JM
100522012-01-31 Joseph Myers <joseph@codesourcery.com>
10053
10054 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10055 float.
10056 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10057 * sysdeps/sparc/bits/mathdef.h: Likewise.
10058
69db4f8f
MP
100592012-01-31 Marek Polacek <polacek@redhat.com>
10060
10061 * libio/libio.h: Don't define _PARAMS.
10062 * locale/programs/config.h: Don't define PARAMS.
10063 * stdlib/strtol_l.c: Likewise.
10064 (__strtol_l): Remove PARAMS from the prototype.
10065
41b81892
UD
100662012-01-31 Ulrich Drepper <drepper@gmail.com>
10067
3b49edc0
UD
10068 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10069 names. Just use the correct names. Remove unnecessary wrapper
10070 functions.
10071 * malloc/arena.c: Likewise.
10072 * malloc/hooks.c: Likewise.
10073
41b81892
UD
10074 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10075 ARENA_TEST says not to. Simplify test for creation of a new arena.
10076 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10077
27a25b6e
UD
100782012-01-30 Ulrich Drepper <drepper@gmail.com>
10079
10080 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10081 into tail calls.
10082 (update_get_addr): New function.
10083 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10084 GET_ADDR_MODULE parameter.
10085
c8a89e7d
JM
100862012-01-30 Joseph Myers <joseph@codesourcery.com>
10087
10088 * crypt/cert.c: Remove __STDC__ conditionals.
10089 * crypt/crypt-entry.c: Likewise.
10090 * crypt/crypt_util.c: Likewise.
10091 * libio/filedoalloc.c: Likewise.
10092 * libio/fileops.c: Likewise.
10093 * libio/genops.c: Likewise.
10094 * libio/iofclose.c: Likewise.
10095 * libio/iofdopen.c: Likewise.
10096 * libio/iofopen.c: Likewise.
10097 * libio/iofopen64.c: Likewise.
10098 * libio/iogetdelim.c: Likewise.
10099 * libio/iopopen.c: Likewise.
10100 * libio/obprintf.c: Likewise.
10101 * libio/oldfileops.c: Likewise.
10102 * libio/oldiofclose.c: Likewise.
10103 * libio/oldiofdopen.c: Likewise.
10104 * libio/oldiofopen.c: Likewise.
10105 * libio/oldiopopen.c: Likewise.
10106 * libio/wfiledoalloc.c: Likewise.
10107 * libio/wgenops.c: Likewise.
10108 * locale/programs/xmalloc.c: Likewise.
10109 * misc/syslog.c: Likewise.
10110 * stdio-common/xbug.c: Likewise.
10111 * string/memchr.c: Likewise.
10112 * string/memcmp.c: Likewise.
10113 * string/memrchr.c: Likewise.
10114 * string/rawmemchr.c: Likewise.
10115 * sysdeps/posix/getcwd.c: Likewise.
10116 * time/strftime_l.c: Likewise.
10117
3b100462
JM
101182012-01-30 Joseph Myers <joseph@codesourcery.com>
10119
10120 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10121 * config.make.in (config-cflags-sse2avx): Define.
10122 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10123 Fix typo.
10124
607998af
CM
101252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10126
10127 * scripts/config.guess: Update from upstream config git repository.
10128 * scripts/config.sub: Likewise.
10129
3601428f
CM
101302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10131
3ac8b282
CM
10132 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10133 (EM_NUM): Update.
10134 (R_TILEPRO_*, R_TILEGX_*): New macros.
10135
e034841e
CM
10136 * scripts/firstversions.awk: Fix bug in version range handling.
10137
540d7568
CM
10138 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10139
3601428f
CM
10140 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10141
463de862
CM
10142 * include/sys/epoll.h: New file.
10143 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10144 libc_hidden_def.
10145
73139a76
UD
101462012-01-28 Ulrich Drepper <drepper@gmail.com>
10147
96bc5b45
UD
10148 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10149 Avoid unnecessary __WORDSIZE == 64 test.
10150 (fmaxf): Use VEX format if possible.
10151 (fmax): Likewise.
10152 (fminf): Likewise.
10153 (fmin): Likewise.
10154
56f6f6a2
UD
10155 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10156 * math/math_private.h: Remove libc_fegetround* and
10157 libc_fesetround*.
10158 * sysdeps/i386/configure.in: Check for -msse2avx.
10159 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10160 also if SSE2AVX is defined.
10161 Remove libc_fegetround* and libc_fesetround*.
10162 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10163 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10165 of HAS_YMM_USABLE.
10166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10171
73139a76
UD
10172 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10173
d73f93a4
AZ
101742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10175
10176 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10177 size is not set.
10178 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10179
6ee65ed6
UD
101802012-01-27 Ulrich Drepper <drepper@gmail.com>
10181
10182 [BZ #13618]
10183 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10184 relocation.
10185 * Makeconfig (libm): Define.
10186 * elf/Makefile: Add rules to build and run tst-relsort1.
10187 * elf/tst-relsort1.c: New file.
10188 * elf/tst-relsort1mod1.c: New file.
10189 * elf/tst-relsort1mod2.c: New file.
10190
8db21882
JM
101912012-01-27 Joseph Myers <joseph@codesourcery.com>
10192
10193 * math/s_ldexp.c: Remove __STDC__ conditionals.
10194 * math/s_ldexpf.c: Likewise.
10195 * math/s_ldexpl.c: Likewise.
10196 * math/s_nextafter.c: Likewise.
10197 * math/s_nexttowardf.c: Likewise.
10198 * math/s_significand.c: Likewise.
10199 * math/s_significandf.c: Likewise.
10200 * math/s_significandl.c: Likewise.
10201 * math/w_jnl.c: Likewise.
10202 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10203 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10204 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10205 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10206 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10223 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10224 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10226 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10227 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10229 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10230 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10231 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10232 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10233 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10234 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10236 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10237 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10238 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10242 * sysdeps/ieee754/k_standard.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10322 * sysdeps/ieee754/s_matherr.c: Likewise.
10323 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10324 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10327
965a54a4
JM
103282012-01-26 Joseph Myers <joseph@codesourcery.com>
10329
10330 * crypt/md5.h: Remove __STDC__ conditionals.
10331 * libio/libioP.h: Likewise.
10332 * locale/programs/config.h: Likewise.
10333 * sysdeps/generic/sysdep.h: Likewise.
10334 * sysdeps/i386/asm-syntax.h: Likewise.
10335 * sysdeps/s390/asm-syntax.h: Likewise.
10336 * sysdeps/unix/sysdep.h: Likewise.
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10339
7071ad79
JM
103402012-01-26 Joseph Myers <joseph@codesourcery.com>
10341
10342 * libio/libio.h: Remove __STDC__ conditionals.
10343 * malloc/obstack.h: Likewise.
10344 * math/complex.h: Likewise.
10345 * math/math.h: Likewise.
10346 * sysdeps/generic/_G_config.h: Likewise.
10347 * sysdeps/gnu/_G_config.h: Likewise.
10348 * sysdeps/mach/hurd/_G_config.h: Likewise.
10349 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10350 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10351 * sysdeps/sparc/bits/mathdef.h: Likewise.
10352
afc5ed09
UD
103532012-01-26 Ulrich Drepper <drepper@gmail.com>
10354
10355 [BZ #13583]
10356 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10357 Clean up HAS_* macros.
afc5ed09 10358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10359 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10360 possible.
10361 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10362 HAS_AVX.
10363 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10364 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10368
bdb6de1d
JM
103692012-01-25 Joseph Myers <joseph@codesourcery.com>
10370
10371 * elf/tst-unique3.cc (gets): Remove declaration.
10372 * elf/tst-unique3lib.cc (gets): Likewise.
10373 * elf/tst-unique3lib2.cc (gets): Likewise.
10374 * elf/tst-unique4.cc (gets): Likewise.
10375
b15549e6
UD
103762012-01-24 Ulrich Drepper <drepper@gmail.com>
10377
10378 * include/stdio.h: Add C++ protection. Add gets declarations and
10379 definitions.
10380 * debug/tst-chk1.c: Don't declare gets here.
10381 * stdio-common/tst-gets.c: Likewise.
10382
a037381f
JM
103832012-01-24 Joseph Myers <joseph@codesourcery.com>
10384
10385 * posix/glob: Remove directory.
10386
f1d4aa75
JM
103872012-01-24 Joseph Myers <joseph@codesourcery.com>
10388
10389 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10390
81c0c964
PT
103912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10392
10393 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10394 of the non-standard EPFNOSUPPORT.
10395
0ea698ae
ST
103962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10397
10398 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10399 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10400 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10401
d220b117
UD
104022012-01-21 Ulrich Drepper <drepper@gmail.com>
10403
10404 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10405
3e1aa84e
UD
104062012-01-20 Ulrich Drepper <drepper@gmail.com>
10407
10408 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10409 transient errors.
10410 * nscd/grpcache.c (cache_addgr): Likewise.
10411 * nscd/hstcache.c (cache_addhst): Likewise.
10412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10413 * nscd/pwdcache.c (cache_addpw): Likewise.
10414 * nscd/servicescache.c (cache_addserv): Likewise.
10415
400aa020
UD
104162012-01-16 Ulrich Drepper <drepper@gmail.com>
10417
d77e7869
UD
10418 * malloc/malloc.c: Various cleanups.
10419 * malloc/hooks.c: Likewise.
10420
400aa020
UD
10421 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10422 * stdlib/bug-fmtmsg1.c: New file.
10423
10424 * stdlib/fmtmsg.c (init): Add missing unlock.
10425 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10426
e0a309cf
MP
104272012-01-12 Marek Polacek <polacek@redhat.com>
10428
10429 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10430 and _GNU_SOURCE.
10431
929d11c7
WS
104322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10433
10434 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10435 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10436 macro to ensure uniqueness of label name.
10437 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10438 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10439
41d0e869
UD
104402012-01-11 Ulrich Drepper <drepper@gmail.com>
10441
0cc5ed3b
UD
10442 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10443
41d0e869
UD
10444 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10445 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10448
a47a831a
UD
104492012-01-10 Ulrich Drepper <drepper@gmail.com>
10450
daa891c0
UD
10451 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10452
10453 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10454 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10456
e58ef0f2
UD
10457 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10458
a47a831a 10459 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10460 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10463
10464 * math/bits/math-finite.h: Add ldexp support.
10465
a0bfc9c7
MP
104662012-01-10 Marek Polacek <polacek@redhat.com>
10467
10468 * locale/programs/localedef.h (show_archive_content): Add noreturn
10469 attribute.
10470
d6e97a1d
UD
104712012-01-09 Ulrich Drepper <drepper@gmail.com>
10472
10473 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10474
d5835c26
UD
104752012-01-08 Ulrich Drepper <drepper@gmail.com>
10476
e5f484c6
UD
10477 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10478
d5835c26
UD
10479 * io/Makefile (headers): Add bits/poll2.h.
10480
d1f741e9
WS
104812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10482
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10484 typo #include statement.
10485
ec09c1c4
UD
104862012-01-08 Ulrich Drepper <drepper@gmail.com>
10487
10488 * include/sys/cdefs.h: Define __attribute_alloc_size.
10489 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10490 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10491 * elf/pldd.c: Likewise.
10492 * iconv/iconv_charmap.c: Likewise.
10493 * iconv/iconvconfig.c: Likewise.
10494 * iconv/strtab.c: Likewise.
10495 * locale/programs/locale.c: Likewise.
10496 * locale/programs/localedef.h: Likewise.
10497 * locale/programs/simple-hash.c: Likewise.
10498 * nscd/nscd.h: Likewise.
10499 * nss/makedb.c: Likewise.
10500 * sysdeps/generic/ldconfig.h: Likewise.
10501 * locale/programs/localedef.c: Remove xmalloc prototype.
10502 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10503
20b38e03
PP
105042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10505
10506 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10507 appropriate.
10508
a0da5fe1
UD
105092012-01-08 Ulrich Drepper <drepper@gmail.com>
10510
1d5a644a 10511 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10512 * math/tst-CMPLX.c: New file.
1d5a644a 10513
8784a6db
UD
10514 * math/complex.h (CMPLXL): Fix typo.
10515
d9a216c0
UD
10516 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10517 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10518 GLIBC_2.16.
10519 * debug/tst-chk1.c: Add poll and ppoll tests.
10520 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10521 * include/sys/poll.h: Add hidden proto for ppoll.
10522 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10523 * sysdeps/mach/hurd/ppoll.c: Likewise.
10524 * io/ppoll.c: Likewise.
10525 * debug/poll_chk.c: New file.
10526 * debug/ppoll_chk.c: New file.
10527 * include/bits/poll2.h: New file.
10528 * io/bits/poll2.h: New file.
10529
ac097f5c
UD
10530 [BZ #1350]
10531 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10532
2119dcfa
UD
10533 * configure.in: static is always set to yes. Remove.
10534 * config.make.in: Don't set build-static.
10535 * Makeconfig: Remove use of build-static.
10536 * dlfcn/Makefile: Likewise.
10537 * elf/Makefile: Likewise.
10538 * math/Makefile: Likewise.
10539 * misc/Makefile: Likewise.
10540 * nptl/Makefile: Likewise.
10541 * sysdeps/mach/hurd/Makefile: Likewise.
10542
121766a9
UD
10543 * configure.in: PWD_P is not used anymore.
10544 * config.make.in: Remove PWD_P entry.
10545
51a1d39c 10546 * configure.in: Remove last remnants of RANLIB.
8720d066 10547 No need to check for signed size_t anymore.
215f4bdc
UD
10548 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10549 and IA-64.
3857022a 10550 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10551 * aclocal.m4: Likewise.
10552
d3ed7225
UD
10553 * wcsmbs/mbrtoc16.c: Implement using towc function.
10554 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10555 * wcsmbs/wcsmbsload.c: Likewise.
10556 * iconv/gconv_simple.c: Likewise.
10557 * iconv/gconv_int.h: Likewise.
10558 * iconv/gconv_builtin.h: Likewise.
10559 * iconv/iconv_prog.c: Remove CHAR16 handling.
10560
10561 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10562
10563 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10564
a0da5fe1
UD
10565 * configure.in: Remove --with-elf and --enable-bounded options.
10566 Dont set base_machine for ia64. More non-ELF conditions removed.
10567 Remove testing and setting of leading underscore information.
10568 * config.make.in (build-bounded): Set to no.
10569 * config.h.in: Remove NO_UNDERSCORES entry.
10570 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10571 them.
10572 * csu/start.c: Remove !NO_UNDERSCORE code.
10573 * locale/localeinfo.h: Likewise.
10574 * sysdeps/generic/machine-gmon.h: Likewise.
10575 * sysdeps/generic/sysdep.h: Likewise.
10576 * sysdeps/i386/sysdep.h: Likewise.
10577 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10578 * sysdeps/mach/sysdep.h: Likewise.
10579 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10581 * sysdeps/sh/sysdep.h: Likewise.
10582 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10583 * sysdeps/unix/i386/sysdep.S: Likewise.
10584 * sysdeps/unix/sparc/start.c: Likewise.
10585 * sysdeps/unix/sparc/sysdep.S: Likewise.
10586 * sysdeps/unix/sparc/sysdep.h: Likewise.
10587 * sysdeps/unix/start.c: Likewise.
10588 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10589 * sysdeps/x86_64/sysdep.h: Likewise.
10590
df78418a
UD
105912012-01-07 Ulrich Drepper <drepper@gmail.com>
10592
a784e502
UD
10593 [BZ #13553]
10594 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10595 for non-gcc.
10596 * argp/argp-fmtstream.h: Use const instead __const.
10597 * argp/argp.h: Likewise.
10598 * assert/assert.h: Likewise.
10599 * bits/fenv.h: Likewise.
10600 * bits/sched.h: Likewise.
10601 * bits/sigset.h: Likewise.
10602 * bits/sigthread.h: Likewise.
10603 * catgets/nl_types.h: Likewise.
10604 * conform/data/pthread.h-data: Likewise.
10605 * crypt/crypt-private.h: Likewise.
10606 * crypt/crypt.h: Likewise.
10607 * crypt/crypt_util.c: Likewise.
10608 * ctype/ctype.h: Likewise.
10609 * debug/execinfo.h: Likewise.
10610 * debug/mbsnrtowcs_chk.c: Likewise.
10611 * debug/mbsrtowcs_chk.c: Likewise.
10612 * debug/wcsnrtombs_chk.c: Likewise.
10613 * debug/wcsrtombs_chk.c: Likewise.
10614 * debug/wcstombs_chk.c: Likewise.
10615 * dirent/dirent.h: Likewise.
10616 * dlfcn/dlfcn.h: Likewise.
10617 * elf/neededtest4.c: Likewise.
10618 * grp/grp.h: Likewise.
10619 * gshadow/gshadow.h: Likewise.
10620 * iconv/gconv.h: Likewise.
10621 * iconv/gconv_int.h: Likewise.
10622 * iconv/gconv_simple.c: Likewise.
10623 * iconv/iconv.h: Likewise.
10624 * iconv/loop.c: Likewise.
10625 * iconv/skeleton.c: Likewise.
10626 * include/aio.h: Likewise.
10627 * include/aliases.h: Likewise.
10628 * include/argz.h: Likewise.
10629 * include/arpa/inet.h: Likewise.
10630 * include/assert.h: Likewise.
10631 * include/dirent.h: Likewise.
10632 * include/dlfcn.h: Likewise.
10633 * include/execinfo.h: Likewise.
10634 * include/fcntl.h: Likewise.
10635 * include/fenv.h: Likewise.
10636 * include/glob.h: Likewise.
10637 * include/grp.h: Likewise.
10638 * include/libintl.h: Likewise.
10639 * include/mntent.h: Likewise.
10640 * include/netdb.h: Likewise.
10641 * include/pwd.h: Likewise.
10642 * include/rpc/netdb.h: Likewise.
10643 * include/sched.h: Likewise.
10644 * include/search.h: Likewise.
10645 * include/shadow.h: Likewise.
10646 * include/signal.h: Likewise.
10647 * include/stdio.h: Likewise.
10648 * include/stdlib.h: Likewise.
10649 * include/string.h: Likewise.
10650 * include/sys/socket.h: Likewise.
10651 * include/sys/stat.h: Likewise.
10652 * include/sys/statfs.h: Likewise.
10653 * include/sys/statvfs.h: Likewise.
10654 * include/sys/syslog.h: Likewise.
10655 * include/sys/time.h: Likewise.
10656 * include/sys/uio.h: Likewise.
10657 * include/time.h: Likewise.
10658 * include/unistd.h: Likewise.
10659 * include/utmp.h: Likewise.
10660 * include/wchar.h: Likewise.
10661 * include/wctype.h: Likewise.
10662 * inet/aliases.h: Likewise.
10663 * inet/arpa/inet.h: Likewise.
10664 * inet/netinet/ether.h: Likewise.
10665 * inet/netinet/in.h: Likewise.
10666 * intl/libintl.h: Likewise.
10667 * io/bits/fcntl2.h: Likewise.
10668 * io/fcntl.h: Likewise.
10669 * io/ftw.h: Likewise.
10670 * io/sys/poll.h: Likewise.
10671 * io/sys/stat.h: Likewise.
10672 * io/sys/statfs.h: Likewise.
10673 * io/sys/statvfs.h: Likewise.
10674 * io/utime.h: Likewise.
10675 * libio/bits/stdio.h: Likewise.
10676 * libio/bits/stdio2.h: Likewise.
10677 * libio/libio.h: Likewise.
10678 * libio/libioP.h: Likewise.
10679 * libio/stdio.h: Likewise.
10680 * locale/lc-ctype.c: Likewise.
10681 * locale/locale.h: Likewise.
10682 * login/utmp.h: Likewise.
10683 * malloc/arena.c: Likewise.
10684 * malloc/malloc.c: Likewise.
10685 * malloc/malloc.h: Likewise.
10686 * malloc/mcheck.c: Likewise.
10687 * malloc/mtrace.c: Likewise.
10688 * math/bits/mathcalls.h: Likewise.
10689 * math/fenv.h: Likewise.
10690 * math/math_private.h: Likewise.
10691 * misc/bits/error.h: Likewise.
10692 * misc/bits/syslog.h: Likewise.
10693 * misc/err.h: Likewise.
10694 * misc/error.h: Likewise.
10695 * misc/fstab.h: Likewise.
10696 * misc/mntent.h: Likewise.
10697 * misc/regexp.h: Likewise.
10698 * misc/search.h: Likewise.
10699 * misc/sgtty.h: Likewise.
10700 * misc/sys/mman.h: Likewise.
10701 * misc/sys/syslog.h: Likewise.
10702 * misc/sys/uio.h: Likewise.
10703 * misc/sys/xattr.h: Likewise.
10704 * misc/ttyent.h: Likewise.
10705 * nis/rpcsvc/ypclnt.h: Likewise.
10706 * nss/nss.h: Likewise.
10707 * posix/bits/unistd.h: Likewise.
10708 * posix/fnmatch.h: Likewise.
10709 * posix/glob.h: Likewise.
10710 * posix/sched.h: Likewise.
10711 * posix/spawn.h: Likewise.
10712 * posix/sys/wait.h: Likewise.
10713 * posix/unistd.h: Likewise.
10714 * posix/wordexp.h: Likewise.
10715 * pwd/pwd.h: Likewise.
10716 * resolv/netdb.h: Likewise.
10717 * resource/sys/resource.h: Likewise.
10718 * rt/aio.h: Likewise.
10719 * rt/bits/mqueue2.h: Likewise.
10720 * rt/mqueue.h: Likewise.
10721 * shadow/shadow.h: Likewise.
10722 * signal/signal.h: Likewise.
10723 * socket/send.c: Likewise.
10724 * socket/sendto.c: Likewise.
10725 * socket/sys/socket.h: Likewise.
10726 * stdio-common/printf.h: Likewise.
10727 * stdlib/bits/stdlib.h: Likewise.
10728 * stdlib/fmtmsg.h: Likewise.
10729 * stdlib/monetary.h: Likewise.
10730 * stdlib/stdlib.h: Likewise.
10731 * stdlib/ucontext.h: Likewise.
10732 * streams/stropts.h: Likewise.
10733 * string/argz.h: Likewise.
10734 * string/bits/string2.h: Likewise.
10735 * string/string.h: Likewise.
10736 * string/strings.h: Likewise.
10737 * sunrpc/rpc/auth.h: Likewise.
10738 * sunrpc/rpc/auth_des.h: Likewise.
10739 * sunrpc/rpc/clnt.h: Likewise.
10740 * sunrpc/rpc/netdb.h: Likewise.
10741 * sunrpc/rpc/pmap_clnt.h: Likewise.
10742 * sunrpc/rpc/xdr.h: Likewise.
10743 * sysdeps/generic/inttypes.h: Likewise.
10744 * sysdeps/generic/net/if.h: Likewise.
10745 * sysdeps/generic/sys/swap.h: Likewise.
10746 * sysdeps/gnu/net/if.h: Likewise.
10747 * sysdeps/gnu/utmpx.h: Likewise.
10748 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10749 * sysdeps/i386/i486/bits/string.h: Likewise.
10750 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10751 * sysdeps/s390/bits/string.h: Likewise.
10752 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10753 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10754 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10755 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10756 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10757 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10758 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10759 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10760 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10761 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10762 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10763 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10764 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10765 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10766 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10767 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10768 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10770 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10773 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10774 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10775 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10776 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10777 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10778 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10780 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10781 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10782 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10783 * sysvipc/sys/ipc.h: Likewise.
10784 * sysvipc/sys/msg.h: Likewise.
10785 * sysvipc/sys/sem.h: Likewise.
10786 * sysvipc/sys/shm.h: Likewise.
10787 * termios/termios.h: Likewise.
10788 * time/sys/time.h: Likewise.
10789 * time/time.h: Likewise.
10790 * wcsmbs/bits/wchar2.h: Likewise.
10791 * wcsmbs/uchar.h: Likewise.
10792 * wcsmbs/wchar.h: Likewise.
10793 * wctype/wctype.h: Likewise.
10794
0269750c
UD
10795 [BZ #13551]
10796 * Makeconfig: Remove all but ELF support including AIX support.
10797 * Makerules: Likewise.
10798 * config.h.in: Likewise.
10799 * config.make.in: Likewise.
10800 * configure: Likewise.
10801 * configure.in: Likewise.
10802 * csu/Makefile: Likewise.
10803 * csu/version.c: Likewise.
10804 * debug/Makefile: Likewise.
10805 * dlfcn/Makefile: Likewise.
10806 * elf/Makefile: Likewise.
10807 * extra-lib.mk: Likewise.
10808 * iconv/Makefile: Likewise.
10809 * include/libc-symbols.h: Likewise.
10810 * include/shlib-compat.h: Likewise.
10811 * resolv/Makefile: Likewise.
10812 * resolv/res_libc.c: Likewise.
10813 * rt/Makefile: Likewise.
10814 * sysdeps/i386/asm-syntax.h: Likewise.
10815 * sysdeps/i386/sysdep.h: Likewise.
10816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10817 * sysdeps/mach/sysdep.h: Likewise.
10818 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10819 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10820 * sysdeps/s390/asm-syntax.h: Likewise.
10821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10823 * sysdeps/sh/sysdep.h: Likewise.
10824 * sysdeps/unix/sparc/sysdep.h: Likewise.
10825 * sysdeps/wordsize-32/divdi3.c: Likewise.
10826 * sysdeps/x86_64/sysdep.h: Likewise.
10827
00bbd29b
UD
10828 * argp/Versions: Remove _argp_unlock_xxx.
10829
10830 [BZ #13559]
10831 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10832 * abilist/libBrokenLocale.abilist: Likewise.
10833 * abilist/libanl.abilist: Likewise.
10834 * abilist/libc.abilist: Likewise.
10835 * abilist/libcrypt.abilist: Likewise.
10836 * abilist/libdl.abilist: Likewise.
10837 * abilist/libm.abilist: Likewise.
10838 * abilist/libnsl.abilist: Likewise.
10839 * abilist/libpthread.abilist: Likewise.
10840 * abilist/libresolv.abilist: Likewise.
10841 * abilist/librt.abilist: Likewise.
10842 * abilist/libthread_db.abilist: Likewise.
10843 * abilist/libutil.abilist: Likewise.
10844 * abilist/libnss_db.abilist: New file.
10845
10846 * scripts/abilist.awk: Add support for indirect functions.
10847
a2693a0e
UD
10848 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10849
3f05895f
UD
10850 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10851
ecb6fb48
UD
10852 * shlib-versions: Remove entries for ports architectures.
10853
664f8cb9
UD
10854 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10855 files in ports.
10856 * elf/stackguard-macros.h: Remove support for IA-64.
10857 * elf/tst-auditmod1.c: Likewise.
10858 * sysdeps/generic/ldsodefs.h: Likewise.
10859
7ae81d88
UD
10860 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10861 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10862 configure files.
10863
bdeba135
UD
10864 [BZ #13552]
10865 * configure.in: Remove --enable-omitfp support.
10866 * FAQ.in: Adjust.
10867 * config.make.in: Likewise.
10868 * Makeconfig: Likewise.
10869 * manual/install.texi: Likewise.
10870
d75a0a62
UD
10871 In case anyone cares, the IA-64 architecture could move to ports.
10872 * sysdeps/ia64/*: Removed.
10873 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10874 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10875
dcc9756b
UD
10876 [BZ #13555]
10877 * configure.in: Remove entries for unsupported architectures.
10878
d3761ebc 10879 [BZ #13533]
9954432e
UD
10880 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10881 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10882 routines.
10883 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10884 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10885 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10886 fall back to using wcrtomb.
10887 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10888 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10889 renaming.
10890 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10891 * wcsmbs/tst-c16c32-1.c: New file.
10892
10893 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10894 local variable.
10895
c3a87236
UD
10896 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10897
28926a1b
UD
10898 * elf/tst-unique3.cc: Add explicit declaration of gets.
10899 * elf/tst-unique3lib.cc: Likewise.
10900 * elf/tst-unique3lib2.cc: Likewise.
10901 * elf/tst-unique4.cc: Likewise.
10902
df78418a
UD
10903 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10904
8ecd6b2a
JM
109052012-01-06 Joseph Myers <joseph@codesourcery.com>
10906
10907 [BZ #13566]
10908 * assert/assert.h (static_assert): Don't define for C++.
10909 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10910 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10911
9f115170
UD
109122012-01-03 Ulrich Drepper <drepper@gmail.com>
10913
5e0d0300
UD
10914 * iconv/loop.c (single loop): Fix assertion in storing of
10915 remaining bytes.
10916
9f115170
UD
10917 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10918
81fb02b0
UD
109192012-01-01 Ulrich Drepper <drepper@gmail.com>
10920
10921 * posix/getconf.c: Update copyright year.
10922 * nss/getent.c: Likewise.
a316c1f6 10923 * nss/makedb.c: Likewise.
81fb02b0
UD
10924 * iconv/iconvconfig.c: Likewise.
10925 * iconv/iconv_prog.c: Likewise.
10926 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10927 * elf/pldd.c: Likewise.
10928 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10929 * catgets/gencat.c: Likewise.
10930 * csu/version.c: Likewise.
10931 * elf/ldd.bash.in: Likewise.
10932 * elf/sprof.c (print_version): Likewise.
10933 * locale/programs/locale.c: Likewise.
10934 * locale/programs/localedef.c: Likewise.
a316c1f6 10935 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10936 * nscd/nscd.c (print_version): Likewise.
10937 * debug/xtrace.sh: Likewise.
10938 * malloc/memusage.sh: Likewise.
10939 * malloc/mtrace.pl: Likewise.
10940 * debug/catchsegv.sh: Likewise.
10941
2ba92745
JJ
109422011-12-30 Jakub Jelinek <jakub@redhat.com>
10943
10944 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10945 pure attribute.
10946
dadebdae
UD
109472011-12-24 Ulrich Drepper <drepper@gmail.com>
10948
d3761ebc 10949 [BZ #13533]
db6af3eb
UD
10950 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10951 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10952 transformations.
10953 * iconv/gconv_int.h: Likewise.
10954 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10955 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10956 from libc for GLIBC_2.16.
10957 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10958 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10959 * wcsmbs/uchar.h: Really define mbstate_t.
10960 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10961 * wcsmbs/c16rtomb.c: New file.
10962 * wcsmbs/mbrtoc16.c: New file.
10963 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10964 for C/POSIX locale.
10965 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10966 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10967
dadebdae
UD
10968 * wcsmbs/wchar.h: Add missing __restrict.
10969
67371b56
UD
109702011-12-23 Ulrich Drepper <drepper@gmail.com>
10971
74033a25
UD
10972 [BZ #13532]
10973 * time/Makefile (routines): Add timespec_get.
10974 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10975 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10976 timespec for ISO C11.
10977 * time/timespec_get.c: New file.
10978 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10979 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10980
380d7e87
UD
10981 [BZ #13531]
10982 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10983 * stdlib/stdlib.h: Declare aligned_alloc.
10984 * Versions.def: Add GLIBC_2.16 for libc.
10985 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10986
4e9e7a35
UD
10987 [BZ 13527]
10988 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10989 ISO C11.
10990
380d7e87 10991 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10992 code.
10993
03a71829
UD
10994 [BZ #13528]
10995 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10996
839e283e
UD
10997 [BZ #13529]
10998 * assert/assert.h (static_assert): Define.
10999
ce5294e2 11000 * version.h: Update for 2.16 development version.
90fa7312 11001
8d44e150 11002 [BZ #13526]
d7809905
UD
11003 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11004 _ISOC11_SOURCE.
11005
c0da14cd
UD
11006 * version.h (RELEASE): Bump for 2.15 release.
11007 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11008
530a3249
MP
11009 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11010 Patch by Marek Polacek <mpolacek@redhat.com>.
11011
67371b56
UD
11012 * bits/byteswap.h: Protect long long constants with __extension__.
11013 * sysdeps/i386/bits/byteswap.h: Likewise.
11014 * sysdeps/ia64/bits/byteswap.h: Likewise.
11015 * sysdeps/s390/bits/byteswap.h: Likewise.
11016 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11017
15db4de1
LD
110182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11019
11020 [BZ #13540]
bbe315ea
LD
11021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11022 destination buffer.
15db4de1
LD
11023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11024
2b2596b1
MP
110252011-12-23 Marek Polacek <polacek@redhat.com>
11026
11027 * elf/dl-addr.c (determine_info): Add inline keyword.
11028 * elf/tst-auditmod4b.c (check_avx): Likewise.
11029 * elf/tst-auditmod6b.c (check_avx): Likewise.
11030 * elf/tst-auditmod6c.c (check_avx): Likewise.
11031 * elf/tst-auditmod7b.c (check_avx): Likewise.
11032
70c6c246
UD
110332011-12-23 Ulrich Drepper <drepper@gmail.com>
11034
11035 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11036 !__SSE_MATH__.
11037
c044cf14
LD
110382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11039
15db4de1 11040 [BZ #13540]
c044cf14
LD
11041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11042 processing for last bytes.
11043
6b13d9d9
BH
110442011-08-06 Bruno Haible <bruno@clisp.org>
11045
d455f537
BH
11046 [BZ #13061]
11047 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11048 U+0385, not to U+1FEE.
11049
6b13d9d9
BH
11050 [BZ #13062]
11051 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11052 entry for U+00A5 U+0301.
11053
db910efd
UD
110542011-12-22 Ulrich Drepper <drepper@gmail.com>
11055
27deeafc
UD
11056 [BZ #13166]
11057 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11058 buffer for the output is too small.
11059
aed9d171
UD
11060 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11061 optimization.
11062
db910efd
UD
11063 [BZ #13185]
11064 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11065 SSE flags if possible.
11066
2bd779ae
LD
110672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11068
e7f9dac3 11069 [BZ #13540]
2bd779ae
LD
11070 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11071 processing for last bytes.
11072
154bfc16
JM
110732011-12-22 Joseph Myers <joseph@codesourcery.com>
11074
11075 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11076 (syscall-list-default-options, syscall-list-default-condition)
11077 (syscall-list-includes): Define.
11078 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11079 list of ABIs and options and #if conditions for each ABI. Do not
11080 handle common syscalls between ABIs specially.
11081 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11082 Remove.
11083 (syscall-list-variants, syscall-list-32bit-options)
11084 (syscall-list-32bit-condition, syscall-list-64bit-options)
11085 (syscall-list-64bit-condition): Define.
11086 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11087 (syscall-list-variants, syscall-list-32bit-options)
11088 (syscall-list-32bit-condition, syscall-list-64bit-options)
11089 (syscall-list-64bit-condition): Define.
11090 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11091 Remove.
11092 (syscall-list-variants, syscall-list-32bit-options)
11093 (syscall-list-32bit-condition, syscall-list-64bit-options)
11094 (syscall-list-64bit-condition): Define.
11095 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11096 Remove.
11097 (syscall-list-variants, syscall-list-32bit-options)
11098 (syscall-list-32bit-condition, syscall-list-64bit-options)
11099 (syscall-list-64bit-condition): Define.
11100
21eaf3a5
UD
111012011-12-22 Ulrich Drepper <drepper@gmail.com>
11102
16c6f992
UD
11103 * locale/iso-639.def: Add brx entry.
11104
41043168
UD
11105 [BZ #13328]
11106 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11107 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11108
21eaf3a5
UD
11109 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11110 __feraiseexcept_renamed.
11111
e3a851a2
UD
111122011-12-21 Ulrich Drepper <drepper@gmail.com>
11113
4920765e
UD
11114 [BZ #13538]
11115 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11116 EPOLLET with unsigned values.
11117 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11119
e3a851a2
UD
11120 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11121 to large cancellation.
11122 * math/s_cacoshf.c: Likewise.
11123 * math/s_cacoshl.c: Likewise.
11124
b27e24b8
RK
111252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11126
11127 [BZ #13305]
aebefeee 11128 [BZ #12786]
b27e24b8
RK
11129 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11130 * math/s_cacoshf.c: Likewise.
11131 * math/s_cacoshl.c: Likewise.
11132
ee190f67
UD
111332011-12-21 Ulrich Drepper <drepper@gmail.com>
11134
11135 [BZ #13439]
11136 * iconv/gconv.h: Define __GCONV_SWAP.
11137 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11138 * iconvdata/utf-16.c: Likewise.
11139 * iconvdata/utf-32.c: Likewise.
11140
707f25df
AS
111412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 [BZ #13524]
11144 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11145 numerator after shifting it by one limb.
11146
d2daaa1e
RÁE
111472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11148
11149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11150 under [__USE_EXTERN_INLINES].
11151
a4647e72
UD
111522011-12-17 Ulrich Drepper <drepper@gmail.com>
11153
11154 [BZ #13446]
11155 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11156
f0b264f1
AZ
111572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11158
11159 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11160 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11161 optimized code.
11162 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11163 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11164 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11165 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11166 for strncasecmp/strncasecmp_l compilation.
11167 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11168 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11169
8ef4f244
MP
111702011-12-08 Marek Polacek <mpolacek@redhat.com>
11171
11172 [BZ #13484]
11173 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11174 of __asm__.
11175
97ac2654
UD
111762011-12-17 Ulrich Drepper <drepper@gmail.com>
11177
11178 [BZ #13506]
11179 * time/tzfile.c (__tzfile_read): Check values from file header.
11180
91d2a845
WS
111812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11182
11183 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11184 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11185 * powerpc/powerpc32/dl-start.S: Likewise.
11186 * powerpc/powerpc32/elf/start.S: Likewise.
11187 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11188 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11189 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11190 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11191 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11192 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11193 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11194 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11195 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11196 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11197 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11198 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11199 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11200 * powerpc/powerpc32/memset.S: Likewise.
11201 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11202 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11203 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11204 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11205 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11206 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11207 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11208 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11209 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11210 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11211 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11212 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11213 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11214
a1267ba1
AZ
112152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11216
11217 * math/libm-test.inc: Added more nearbyint tests.
11218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11222
ad8ac1bd
RL
112232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11224
11225 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11226 FD_CLOEXEC.
11227
1d3e4b61
UD
112282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11229
11230 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11231 Add wcscpy-ssse3 wcscpy-c.
11232 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11233 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11234 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11235 * sysdeps/x86_64/wcschr.S: New file.
11236 * sysdeps/x86_64/wcsrchr.S: New file.
11237 * string/test-strcmp.c: Remove checking of wcscmp function for
11238 wrong alignments.
11239 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11240 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11241 wcsrchr-sse2 wcsrchr-c.
11242 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11243 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11244 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11245 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11246 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11247 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11248 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11249 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11250 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11251 * wcsmbc/wcschr.c (WCSCHR): New macro.
11252
5b330a2d
UD
112532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11254
11255 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11256 * wcsmbs/test-wcsrchr.c: New file.
11257 * string/test-strrchr.c: Add wcsrchr support.
11258 (WIDE): New macro.
11259 * wcsmbs/test-wcscpy.c: New file.
11260 * string/test-strcpy.c: Add wcscpy support.
11261 (WIDE): New macro.
26428b7c 11262
f039c043
UD
112632011-12-10 Ulrich Drepper <drepper@gmail.com>
11264
11265 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11266 the inner loop.
11267
850fb039
AS
112682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11269
11270 [BZ #13472]
11271 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11272
4efbd5cb
UD
112732011-12-04 Ulrich Drepper <drepper@gmail.com>
11274
52ff5dd0 11275 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11276 Minor optimizations.
52ff5dd0 11277
4efbd5cb
UD
11278 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11279 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11280 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11281
8a426e12
UD
112822011-12-03 Ulrich Drepper <drepper@gmail.com>
11283
aff2453d
UD
11284 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11285 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11286 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11287 for gcc to avoid warnings.
11288 * inet/Makefile (tests): Add tst-checks.
11289 * inet/tst-checks.c: New file.
11290
11291 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11292 warning.
11293
11294 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11295 __wmemcmp_sse2.
11296
11297 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11298 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11299
8a426e12
UD
11300 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11301
9bea3473
UD
113022011-12-02 Ulrich Drepper <drepper@gmail.com>
11303
3a965496
UD
11304 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11305 problem.
11306
9bea3473
UD
11307 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11308
f101631b
UD
113092011-11-29 Joseph Myers <joseph@codesourcery.com>
11310
11311 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11312 conditional on GCC version.
11313 (__arch_compare_and_exchange_val_8_acq)
11314 (__arch_compare_and_exchange_val_16_acq)
11315 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11316 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11317 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11318
a98275aa
UD
113192011-12-02 Joseph Myers <joseph@codesourcery.com>
11320
11321 * sysdeps/sh/backtrace.c: New file.
11322
d4cc29a2
AS
113232011-12-02 Andreas Schwab <schwab@redhat.com>
11324
11325 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11326 parenthesis.
11327
6257af2d
AS
113282011-12-01 Andreas Schwab <schwab@redhat.com>
11329
11330 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11331 falling back to utime.
11332
b5f44c1a
AS
113332011-11-30 Andreas Schwab <schwab@redhat.com>
11334
11335 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11336 expectations for float.
11337
f3a6cc0a
AS
113382011-11-29 Andreas Schwab <schwab@redhat.com>
11339
11340 * locale/weight.h (findidx): Add parameter len.
11341 * locale/weightwc.h (findidx): Likewise.
11342 * posix/fnmatch_loop.c (FCT): Adjust caller.
11343 * posix/regcomp.c (build_equiv_class): Likewise.
11344 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11345 * posix/regexec.c (check_node_accept_bytes): Likewise.
11346 * string/strcoll_l.c (STRCOLL): Likewise.
11347 * string/strxfrm_l.c (STRXFRM): Likewise.
11348
9d65ea3a
UD
113492011-11-17 Ulrich Drepper <drepper@gmail.com>
11350
11351 * Makefile.in: Remove CVSOPT handling.
11352 * configure.in: Remove use of AC_REVISION.
11353 * iconvdata/Makefile (distribute): No need to filter out CVS.
11354 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11355 handling.
11356
5583a086
AS
113572011-11-16 Andreas Schwab <schwab@redhat.com>
11358
11359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11360 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11361 [USE_AS_STRNCASECMP_L]: Likewise.
11362 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11363 NO_TLS_DIRECT_SEG_REFS.
11364 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11365 Fix argument offsets for non-PIC.
11366 [USE_AS_STRNCASECMP_L]: Likewise.
11367 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11368 NO_TLS_DIRECT_SEG_REFS.
11369
d62a8200
UD
113702011-11-15 Ulrich Drepper <drepper@gmail.com>
11371
9d65ea3a 11372 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11373 O_CLOEXEC.
11374 * locale/loadlocale.c (_nl_load_locale): Likewise.
11375
09f93bd3
AS
113762011-11-15 Andreas Schwab <schwab@redhat.com>
11377
446514f9
AS
11378 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11379 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11381 (SYSCALL_GETTIME): Set errno on error.
11382
09f93bd3
AS
11383 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11384 count references to noai6ai_cached.
11385
312be3f9
UD
113862011-11-15 Ulrich Drepper <drepper@gmail.com>
11387
11388 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11389
11390 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11391 FD_CLOEXEC for /proc/self/maps.
11392
11393 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11394 FD_CLOEXEC for /proc/meminfo.
11395
11396 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11397 gai.conf.
11398
11399 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11400 FD_CLOEXEC for given file.
11401
11402 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11403
11404 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11405 FD_CLOEXEC for /etc/hosts.
11406 (_gethtent): Likewise.
11407
11408 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11409
11410 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11411 cancellation and set FD_CLOEXEC for /etc/netgroup.
11412
11413 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11414 reading /etc/publickey.
11415
11416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11417 allow cancellation when reading /etc/group.
11418
11419 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11420 cancellation.
11421 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11422
11423 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11424 when using data file.
11425
11426 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11427
11428 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11429 (write_nis_obj): Use "c" and "e" in fopen.
11430
11431 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11432
11433 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11434
11435 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11436
11437 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11438
11439 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11440 locale.alias.
11441
11442 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11443
11444 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11445
11446 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11447
11448 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11449 file parsing and set FD_CLOEXEC.
11450
82af0fa8
UD
114512011-11-14 Ulrich Drepper <drepper@gmail.com>
11452
11453 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11454
a5fb313c
AS
114552011-11-14 Andreas Schwab <schwab@redhat.com>
11456
11457 * malloc/arena.c (arena_get2): Don't call reused_arena when
11458 _int_new_arena failed.
11459
6abf3465
UD
114602011-11-14 Ulrich Drepper <drepper@gmail.com>
11461
11462 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11463 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11464 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11465 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11468 to compile strcasecmp and strncasecmp.
11469 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11470 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11471
11472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11473
76e3966e
UD
114742011-11-13 Ulrich Drepper <drepper@gmail.com>
11475
11476 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11477 locale-defines.sym to gen-as-const-headers.
11478 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11479 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11481 to compile strcasecmp and strncasecmp.
11482 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11483 strcasecmp_l and strncasecmp_l.
11484 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11485 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11486 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11487 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11488 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11489 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11490 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11491 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11492 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11493 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11494 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11495
ab26144e
UD
114962011-11-12 Ulrich Drepper <drepper@gmail.com>
11497
7edb22ef
UD
11498 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11499 result of SYSDEP_GETTIME_CPU to retval.
11500 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11501 parameter list to macro. Remove trailing semicolon. Adjust users.
11502
9694fc44
UD
11503 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11504 variable.
11505
8ad89ef8
UD
11506 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11507 mantissa words.
11508 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11509
0c822ef9
UD
11510 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11511 from unused variable.
11512
874e0564
UD
11513 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11514 DWARF definitions.
11515 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11516 for assembling.
11517
3a2edc79
UD
11518 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11519 over namespaces.
11520
f3c2577f
UD
11521 * sunrpc/rpc_prot.c (rejected): Fix case value.
11522
294ce126
UD
11523 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11524 unsigned long long int to avoid warnings in shift.
11525
5e2b63c6
UD
11526 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11527 of use of trans.
11528 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11529 variable tmp.
11530
e7f4b08e
UD
11531 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11532 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11533 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11534
ab26144e
UD
11535 * nis/nis_table.c (nis_list): Use variable of correct type for
11536 result of __follow_path call.
11537
8a6d5255
AZ
115382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11539
11540 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11541 of math functions ceil, trunc, floor, round, and sqrt, when
11542 avaliable on the platform.
11543 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11544 name clash.
11545 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11546 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11547 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11548
aaddc98c
MP
115492011-10-30 Marek Polacek <mpolacek@redhat.com>
11550
11551 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11552 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11553
95b7042b
RM
115542011-11-11 Roland McGrath <roland@hack.frob.com>
11555
11556 * include/unistd.h: Fix __readlink return type.
11557 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11558
57769839
UD
115592011-11-11 Ulrich Drepper <drepper@gmail.com>
11560
11561 * stdlib/ucontext.h: Undo last change for makecontext.
11562
edc5984d
AS
115632011-11-11 Andreas Schwab <schwab@redhat.com>
11564
98591e58
AS
11565 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11566
edc5984d
AS
11567 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11568 * setjmp/setjmp.h: Mark functions as non-leaf.
11569 * setjmp/bits/setjmp2.h: Likewise.
11570 * stdlib/ucontext.h: Likewise.
11571
77cdc054
AS
115722011-11-10 Andreas Schwab <schwab@redhat.com>
11573
11574 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11575 (reused_arena): Don't check arena limit.
11576 (arena_get2): Atomically check arena limit.
11577
fe72eebd
UD
115782011-11-08 Ulrich Drepper <drepper@gmail.com>
11579
5f078c32
UD
11580 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11581 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11582
fe72eebd
UD
11583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11584 instructions.
11585
ae1bc2fa
AS
115862011-11-07 Andreas Schwab <schwab@redhat.com>
11587
7583a88d
AS
11588 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11589 handler when locking.
11590
ae1bc2fa
AS
11591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11592 Fix size of allocated buffer.
11593
10fb0bfa
AS
115942011-11-04 Andreas Schwab <schwab@redhat.com>
11595
998832a4
AS
11596 [BZ #10103]
11597 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11598 declarations for long double functions.
11599 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11600
10fb0bfa
AS
11601 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11602
3d7ba52b
AS
116032011-11-03 Andreas Schwab <schwab@redhat.com>
11604
a9ae54a1
AS
11605 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11606 installed.
11607
3d7ba52b
AS
11608 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11609 is disabled.
11610
bc8db248
ST
116112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11612
11613 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11614
45b96dd6
AS
116152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11616
647776f6
AS
11617 * include/alloca.h (stackinfo_alloca_round): Define.
11618 (extend_alloca): Use it.
11619 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11620 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11621 here.
11622
d91a8b93
AS
11623 * scripts/check-local-headers.sh: Ignore libaudit.h.
11624
45b96dd6
AS
11625 * nscd/Makefile (extra-objs): Make recursively expanded.
11626
432d41ce
UD
116272011-11-01 Ulrich Drepper <drepper@gmail.com>
11628
34372fc6
UD
11629 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11631
fadb59f8
UD
11632 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11633 * posix/tst-rfc3484-2.c: Likewise.
11634 * posix/tst-rfc3484-3.c: Likewise.
11635
78239589
UD
11636 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11637 process_vm_writev.
11638 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11639 process_vm_writev.
11640 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11641 process_vm_writev from libc using GLIBC_2.15 version.
11642
432d41ce
UD
11643 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11644
02f9c6cf
PP
116452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11646
11647 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11648 stack usage.
11649
3a2c0242
UD
116502011-10-31 Ulrich Drepper <drepper@gmail.com>
11651
f4ec4833
UD
11652 [BZ #13367]
11653 * nss/getent.c (initgroups_keys): Show error message in case no group
11654 names are given.
11655
3a2c0242
UD
11656 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11657 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11658 __bump_nl_timestamp.
11659 * nscd/connections (nscd_init): When host database is served open
11660 netlink socket and request notification about configuration changes.
11661 (main_loop_poll): Track netlink file descriptor and bump timestamp
11662 in case data becomes available.
11663 (main_loop_epoll): Likewise.
11664 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11665 (database_pers_head): Add extra_data fileds.
11666 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11667 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11668 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11669 Adjust caller.
11670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11671 in6ai data, call __free_in6ai.
11672 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11673 Add -DHAVE_NETLINK.
11674 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11675 interface information. Reuse previous data if netlink timestamp
11676 is not changed.
11677 (__bump_nl_timestamp): New function.
11678 (__free_in6ai): New function.
11679
636064eb
UD
116802011-10-30 Ulrich Drepper <drepper@gmail.com>
11681
11682 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11683 close_not_cancel_no_status here.
11684 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11685
9beb2334
UD
116862011-10-29 Ulrich Drepper <drepper@gmail.com>
11687
6ef76f3b
UD
11688 [BZ #13276]
11689 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11690 return value.
11691
0ffc4f3e 11692 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11693 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11694 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11695
cb95113e
UD
116962011-07-03 Andreas Jaeger <aj@suse.de>
11697
11698 [BZ #10709]
11699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11700 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11701 * math/libm-test.inc (sin_test): Add test case.
11702
a1b560ff
UD
117032011-10-29 Ulrich Drepper <drepper@gmail.com>
11704
c9aaface
UD
11705 [BZ #13337]
11706 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11707 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11708
d272e7f1
UD
11709 * elf/chroot_canon.c (chroot_canon): Cleanups.
11710
1bc33071
UD
11711 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11712
1760874d
TJ
11713 [BZ #13335]
11714 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11715 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11716
51d91b18
UD
11717 * string/test-strchr.c: Make usable for strchrnul testing.
11718 * string/test-strchrnul.c: New file.
11719 * string/Makefile (strop-tests): Add strchrnul.
11720
a1b560ff 11721 * po/it.po: Update from translation team.
b611fb81 11722 * po/es.po: Likewise.
a1b560ff 11723
a5b81e1f
UD
117242011-10-28 Ulrich Drepper <drepper@gmail.com>
11725
fd52bc6d
UD
11726 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11727 the three constants needed as parameters. Drop the others.
11728 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11729 __m128i_strloadu_tolower.
52e4b9eb
UD
11730 Create and initialize variable zero and use it in all the places
11731 where _mm_setzero_si128 was used.
fd52bc6d 11732
a5b81e1f
UD
11733 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11734 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11735 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11737 anymore.
11738 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11739 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11740 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11741 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11742 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11743 __mpranred, __mptan.
11744 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11745 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11746 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11747 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11750 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11751 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11753
b4343346
AS
117542011-10-28 Andreas Schwab <schwab@redhat.com>
11755
0c92d8a8
AS
11756 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11757 redefine if SHARED.
11758 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11759
b4343346
AS
11760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11761 wide char related routines to wcsmbs subdir.
11762
3871f58f
AS
117632011-10-27 Andreas Schwab <schwab@redhat.com>
11764
11765 [BZ #13344]
11766 * misc/sys/cdefs.h (__THROWNL): Define.
11767 * posix/unistd.h: Use __THREADNL instead of __THREAD
11768 for memory synchronization functions.
11769
94d44d9f
RM
117702011-10-26 Roland McGrath <roland@hack.frob.com>
11771
21b64b15 11772 [BZ #13349]
94d44d9f
RM
11773 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11774 doesn't exist.
11775 * manual/stdio.texi (Obstack Streams): Node removed.
11776
f6ce9294
AS
117772011-10-26 Andreas Schwab <schwab@redhat.com>
11778
80479147
AS
11779 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11780 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11781 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11782
f6ce9294
AS
11783 * math/math_private.h (math_force_eval): Allow non-addressable
11784 arguments.
11785 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11786
618280a1
UD
117872011-10-25 Ulrich Drepper <drepper@gmail.com>
11788
e0016b11
UD
11789 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11790 file is not needed.
11791
11792 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11795 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11799 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11800 Add AVX variants.
11801 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11802 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11803 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11804 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11806 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11807 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11809 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11810 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11811 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11812 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11815 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11816 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11817 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11818 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11819 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11820
11821 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11822 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11823
618280a1
UD
11824 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11825 place. Use VEX encoding when compiling for AVX.
11826
37822576
AS
118272011-10-25 Andreas Schwab <schwab@redhat.com>
11828
1f1e1947
AS
11829 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11830 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11831
37822576
AS
11832 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11833
31ea014d
UD
118342011-10-25 Ulrich Drepper <drepper@gmail.com>
11835
d7826aa1 11836 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11837 useless if() expression.
d7826aa1
UD
11838 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11840 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11844 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11848 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11850 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11852 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11853 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11854 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11856 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11857
31ea014d
UD
11858 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11859
16437fec
AS
118602011-10-25 Andreas Schwab <schwab@redhat.com>
11861
11862 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11863 condition.
11864 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11865
31d3cc00
UD
118662011-10-25 Ulrich Drepper <drepper@gmail.com>
11867
11868 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11869 .text section. Avoid duplicate constants.
11870 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11878 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11880 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11882 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11885 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11887 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11893 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11894 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11895 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11896 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11897 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11898 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11899 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11911 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11912 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11913 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11914 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11915
58985aa9
UD
119162011-10-24 Ulrich Drepper <drepper@gmail.com>
11917
202c9deb
UD
11918 * sysdeps/x86_64/dla.h: Move to ...
11919 * sysdeps/x86_64/fpu/dla.h: ...here.
11920 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11921 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11922
af968f62
UD
11923 * config.make.in: Add have-mfma4 entry.
11924 * configure.in: Substitute libc_cv_cc_fma4.
11925 * math/Makefile (dbl-only-routines): Add sincostab.
11926 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11927 Use __sincostab not sincos.
11928 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11929 name is a macro.
11930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11934 using __copysign.
11935 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11936 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11937 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11938 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11939 and __inv.
11940 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11941 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11942 __copysign.
11943 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11944 define aliases when function name is a macro.
11945 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11946 sysdeps/ieee754/dbl-64/sincos.tbl.
11947 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11948 fma4-enabled routines.
11949 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11950 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11951 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11952 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11953 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11954 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11958 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11959 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11961 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11962 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11964 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11965 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11966 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11967 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11969 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11970 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11972 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11973 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11976 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11978 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11979
58985aa9
UD
11980 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11981 rename.
11982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11990
a201fbcf
AS
119912011-10-24 Andreas Schwab <schwab@redhat.com>
11992
11993 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11994
fc2ee42a
LD
119952011-10-23 Ulrich Drepper <drepper@gmail.com>
11996
bb3129bd
UD
11997 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11998
0275fff8
UD
11999 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12000 prediction.
12001 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12002
2fa2ae85
UD
12003 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12004 Remove unused variable magic_bits.
12005 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12006
fc2ee42a
LD
12007 * string/strnlen.c: Define and use STRNLEN macro.
12008 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12009 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12011 * wcsmbs/wcslen.c: Define and use WCSLEN.
12012 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12013 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12014 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12015 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12016 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12017 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12018 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12019
ce7dd29f
LD
120202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12021
12022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12023 strnlen-sse2-no-bsf.
12024 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12026 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12027 Add strnlen support.
12028 (USE_AS_STRNLEN): New macro.
12029 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12030 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12031 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12032 * sysdeps/x86_64/wcslen.S: New file.
12033
979c70a3
MZ
120342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12035
12036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12037 XMM-moves are used for copying on small sizes.
12038
2d09f82f
LD
120392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12040
12041 * wcsmbs/Makefile (strop-tests): Add wcschr.
12042 * wcsmbs/test-wcschr.c: New file.
12043 * string/test-strchr.c: Update.
12044 Add wcschr support.
12045 (WIDE): New macro.
12046
619fccca
LD
120472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12048
2d09f82f 12049 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12050 * wcsmbs/test-wcslen.c: New file.
12051 * string/test-strlen.c: Update.
12052 Add wcslen support.
12053 (WIDE): New macro.
12054
09f699ea
UD
120552011-10-23 Ulrich Drepper <drepper@gmail.com>
12056
12057 * po/it.po: Update from translation team.
12058
95584d3b
LD
120592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12060
12061 * sysdeps/x86_64/wcscmp.S: Update.
12062 Fix wrong comparison semantics.
12063 wcscmp shall use signed comparison not unsigned.
12064 Don't use substraction to avoid overflow bug.
12065 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12066 * wcsmbc/wcscmp.c: Likewise.
12067 * string/test-strcmp.c: Likewise.
12068 Add new tests to check cases with negative values.
12069
c8b3296b
UD
120702011-10-23 Ulrich Drepper <drepper@gmail.com>
12071
12072 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12073 * sysdeps/x86_64/dla.h: ...here. New file.
12074 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12083
246ad57a
AS
120842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12085
12086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12087 __ynl_finite aliases.
12088
a1a87169
UD
120892011-10-22 Ulrich Drepper <drepper@gmail.com>
12090
0d355eb7
UD
12091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12092
a1a87169
UD
12093 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12094 define DLA_FMA.
12095 [DLA_FMA] (EMULV): Use DLA_FMA.
12096 [DLA_FMA] (MUL12): Use EMULV.
12097 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12098 that are not needed.
12099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12106
ee2aafe0
AS
121072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12108
12109 * math/s_nan.c: Undef __nan.
12110 * math/s_nanf.c: Undef __nanf.
12111 * math/s_nanl.c: Undef __nanl.
12112 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12113 "math_private.h".
12114
bc62c2fb
UD
121152011-10-22 Ulrich Drepper <drepper@gmail.com>
12116
77425c63
UD
12117 * math/s_catan.c: Add branch predictions.
12118 * math/s_catanf.c: Likewise.
12119 * math/s_catanh.c: Likewise.
12120 * math/s_catanhf.c: Likewise.
12121 * math/s_catanhl.c: Likewise.
12122 * math/s_catanl.c: Likewise.
12123 * math/s_cexp.c: Likewise.
12124 * math/s_cexpf.c: Likewise.
12125 * math/s_cexpl.c: Likewise.
12126 * math/s_clog.c: Likewise.
12127 * math/s_clog10.c: Likewise.
12128 * math/s_clog10f.c: Likewise.
12129 * math/s_clog10l.c: Likewise.
12130 * math/s_clogf.c: Likewise.
12131 * math/s_clogl.c: Likewise.
12132 * math/s_csqrt.c: Likewise.
12133 * math/s_csqrtf.c: Likewise.
12134 * math/s_csqrtl.c: Likewise.
12135 * math/s_ctanf.c: Likewise.
12136 * math/s_ctanh.c: Likewise.
12137 * math/s_ctanhf.c: Likewise.
12138 * math/s_ctanhl.c: Likewise.
12139 * math/s_ctanl.c: Likewise.
12140
bc62c2fb
UD
12141 * math/math_private.h: Define __nan, __nanf, __nanl.
12142 * math/s_cacosh.c: Include <math_private.h>.
12143 * math/s_cacoshl.c: Likewise.
12144 * math/s_casinh.c: Likewise.
12145 * math/s_casinhf.c: Likewise.
12146 * math/s_casinhl.c: Likewise.
12147 * math/s_ccos.c: Rely entire on ccosh.
12148 * math/s_ccosf.c: Rely entire on ccoshf.
12149 * math/s_ccosl.c: Rely entirely on ccoshl.
12150 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12151 Remove tests for FE_INVALID.
12152 * math/s_ccoshf.c: Likewise.
12153 * math/s_ccoshl.c: Likewise.
12154 * math/s_csin.c: Likewise.
12155 * math/s_csinf.c: Likewise.
12156 * math/s_csinh.c Likewise.
12157 * math/s_csinhf.c: Likewise.
12158 * math/s_csinhl.c: Likewise.
12159 * math/s_csinl.c: Likewise.
12160 * math/s_ctan.c: Likewise.
12161 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12162 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12164
8ec250a4
UD
121652011-10-21 Ulrich Drepper <drepper@gmail.com>
12166
c196fed8
UD
12167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12168 compilation problems.
12169
8ec250a4
UD
12170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12171 __builtin_expect.
12172
8d4f46c6
UD
121732011-10-20 Ulrich Drepper <drepper@gmail.com>
12174
ed72b654
UD
12175 * sysdeps/i386/configure.in: Test for -mfma4 option.
12176 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12177 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12178 COMMON_CPUID_INDEX_80000001.
12179 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12180 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12181 use it if FMA3 is not supported.
12182 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12183
8d4f46c6
UD
12184 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12185 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12186
d45c60c2
AS
121872011-10-20 Andreas Schwab <schwab@redhat.com>
12188
12189 [BZ #12892]
12190 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12191 it would create a cycle with a link time dependency.
12192
d9a4d2ab
UD
121932011-10-19 Ulrich Drepper <drepper@gmail.com>
12194
855d1560
UD
12195 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12196 instruction.
12197 * string/Makefile (strop-tests): Add rawmemchr.
12198 * string/test-rawmemchr.c: New file.
12199
d9a4d2ab
UD
12200 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12202 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12203 when compiling str{,n}casecmp and when AVX is available. Hook up
12204 new optimized code in initializers.
12205
8f3b1ffe
AS
122062011-10-19 Andreas Schwab <schwab@redhat.com>
12207
12208 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12209 __feraiseexcept instead of feraiseexcept.
12210
d38f1dba
UD
122112011-10-18 Ulrich Drepper <drepper@gmail.com>
12212
d9a8d0ab
UD
12213 * math/math_private.h: Define defaults for libc_fetestexcept and
12214 libc_feupdateenv.
12215 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12216 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12217 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12218 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12219 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12220 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12221 libc_fetestexcept and libc_feupdateenv.
12222
4855e3dd
UD
12223 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12224 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12225 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12226 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12227 libc_feholdexcept_setround.
12228
581d30e3
UD
12229 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12230 Add s_nearbyint-c and s_nearbyintf-c.
12231 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12232 nearbyintf inlines.
12233 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12234 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12235 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12236 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12237
d38f1dba
UD
12238 * math/math_private.h: Define defaults for libc_fegetround,
12239 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12240 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12241 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12243 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12244 standard functions.
12245 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12246 Remove comments and hacks for old compiler versions.
12247 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12248 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12249 libc_feholdexceptl.
12250
caa6c9d8
AS
122512011-10-18 Andreas Schwab <schwab@redhat.com>
12252
12253 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12254 (__feraiseexcept_renamed): Add __NTH.
12255 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12256 namespace violations.
12257
97c066e6
UD
122582011-10-17 Ulrich Drepper <drepper@gmail.com>
12259
99ce7b04
UD
12260 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12261
1004d182
UD
12262 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12263
228a984d
UD
12264 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12265 recently added interfaces.
12266 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12267
c8553a6a
UD
12268 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12269 about macro parameter expansion.
12270
ed22dcf6
UD
12271 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12272 __NO_MATH_INLINES is defined. Cleanups.
12273
12274 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12275 and __floorf is target has SSE4.1.
12276 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12278 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12279 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12280
b171c137
UD
12281 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12282 name.
12283 (floorf): Likewise.
12284
97c066e6
UD
12285 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12286
629f62ef
AS
122872011-10-17 Andreas Schwab <schwab@redhat.com>
12288
49a43d80
AS
12289 * misc/sys/cdefs.h: Fix last change.
12290
629f62ef
AS
12291 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12292 database lookup.
12293
e453f6cd
UD
122942011-10-16 Ulrich Drepper <drepper@gmail.com>
12295
aa78043a
UD
12296 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12297
ad0f5cad
UD
12298 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12304 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12305 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12306 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12307 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12308 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12309 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12310 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12311 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12312 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12313 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12314 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12315 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12316 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12317 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12318 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12319 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12320
12321 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12322 ceil, ceilf, floor, floorf.
12323
12324 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12325 Perform IRELATIVE relocations last.
12326
e453f6cd
UD
12327 * elf/do-rel.h: Add another parameter nrelative, replacing the
12328 local variable with the same name. Change name of the function
12329 to end in Rel or Rela (uppercase).
12330 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12331 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12332 elf_dynamic_do_##reloc function.
12333
fd5bdc09
UD
123342011-10-15 Ulrich Drepper <drepper@gmail.com>
12335
79b195b5
UD
12336 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12337 is sufficient, at least on modern CPUs.
12338
d4a28569
UD
12339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12340
b61099b5
UD
12341 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12342 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12343
bcf01e6d
UD
12344 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12345 __expl_finite.
12346 * math/bits/math-finite.h: Add entries for exp.
12347 * math/e_expl.c: Add __*_finite alias.
12348 * sysdeps/i386/fpu/e_exp.S: Likewise.
12349 * sysdeps/i386/fpu/e_expf.S: Likewise.
12350 * sysdeps/i386/fpu/e_expl.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12352 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12355 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12356 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12357 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12358
ba1a0d59
UD
12359 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12360 is sufficient, at least on modern CPUs.
12361
fd5bdc09
UD
12362 * ctype/ctype-info.c (__ctype_init): Define.
12363 * include/ctype.h (__ctype_init): Declare.
12364 (__ctype_b_loc): The variable is always initialized.
12365 (__ctype_toupper_loc): Likewise.
12366 (__ctype_tolower_loc): Likewise.
12367 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12368 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12369
7872cfb0
AS
123702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12371
b468825a
AS
12372 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12373
7872cfb0
AS
12374 * configure.in: Also look in $cxxmachine/include for C++ system
12375 headers.
12376
be13f7bf
LD
123772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12378
12379 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12380 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12381 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12382 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12383 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12384 (USE_AS_WMEMCMP): New macro.
12385 Fixing indents.
12386 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12387 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12388 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12389 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12391 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12392 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12393 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12394 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12395 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12396 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12397 (USE_AS_WMEMCMP): New macro.
12398 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12399 * sysdeps/string/test-memcmp.c: Update.
12400 Fix simple_wmemcmp.
12401 Add new tests.
12402 * wcsmbs/wmemcmp.c: Update.
12403 (WMEMCMP): New macro.
12404 Fix overflow bug.
12405
556a2007
AJ
124062011-10-12 Andreas Jaeger <aj@suse.de>
12407
12408 [BZ #13268]
12409 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12410
538faaa7
UD
124112011-10-15 Ulrich Drepper <drepper@gmail.com>
12412
ab6737ff
UD
12413 * libio/iofwide.c (do_length): Avoid warning.
12414
538faaa7
UD
12415 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12416
396a21b1
UD
124172011-10-14 Ulrich Drepper <drepper@gmail.com>
12418
cdf2901f
UD
12419 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12420
38ad40ce
UD
12421 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12422 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12423 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12424 * sysdeps/i386/i686/fpu/e_log.S: New file.
12425 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12426 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12427
396a21b1
UD
12428 * ctype/ctype.h: Add support for inlined isXXX functions when
12429 compiling C++ code.
12430
6b1f68c9
AS
124312011-10-14 Andreas Schwab <schwab@redhat.com>
12432
349290c0
AS
12433 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12434
6b1f68c9
AS
12435 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12436
f2282d42
RM
124372011-10-13 Roland McGrath <roland@hack.frob.com>
12438
12439 [BZ #13291]
12440 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12441
5298ffa8
AS
124422011-10-13 Andreas Schwab <schwab@redhat.com>
12443
714fad23
AS
12444 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12445 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12446 feraiseexcept.
12447
81dcc7fb
AS
12448 * sysdeps/x86_64/memrchr.S: Check for zero size.
12449
5298ffa8
AS
12450 * string/stratcliff.c: Add memrchr tests.
12451
951fbcec
LD
124522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12453
12454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12455 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12456 rawmemchr-sse2 rawmemchr-sse2-bsf.
12457 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12458 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12459 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12460 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12461 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12462 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12463 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12464 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12465 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12466 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12467 * string/memrchr.c (MEMRCHR): New macro.
12468
0ac5ae23
UD
124692011-10-12 Ulrich Drepper <drepper@gmail.com>
12470
12471 Add integration with gcc's -ffinite-math-only and optimize wrapper
12472 functions in libm.
12473 * Versions.def: Define GLIBC_2.15 version for libm.
12474 * math/Makefile (headers): Add bits/math-finite.h.
12475 * math/bits/math-finite.h: New file.
12476 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12477 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12478 * math/e_acoshl.c: Add __*_finite alias.
12479 * math/e_acosl.c: Likewise.
12480 * math/e_asinl.c: Likewise.
12481 * math/e_atan2l.c: Likewise.
12482 * math/e_atanhl.c: Likewise.
12483 * math/e_coshl.c: Likewise.
12484 * math/e_exp10.c: Likewise.
12485 * math/e_exp10f.c: Likewise.
12486 * math/e_exp10l.c: Likewise.
12487 * math/e_exp2l.c: Likewise.
12488 * math/e_fmodl.c: Likewise.
12489 * math/e_gammal_r.c: Likewise.
12490 * math/e_hypotl.c: Likewise.
12491 * math/e_j0l.c: Likewise.
12492 * math/e_j1l.c: Likewise.
12493 * math/e_jnl.c: Likewise.
12494 * math/e_lgammal_r.c: Likewise.
12495 * math/e_log10l.c: Likewise.
12496 * math/e_log2l.c: Likewise.
12497 * math/e_logl.c: Likewise.
12498 * math/e_powl.c: Likewise.
12499 * math/e_sinhl.c: Likewise.
12500 * math/e_sqrtl.c: Likewise.
12501 * math/e_scalb.c: Completely rewritten and optimized.
12502 * math/e_scalbf.c: Likewise.
12503 * math/e_scalbl.c: Likewise.
12504 * math/w_acos.c: Likewise.
12505 * math/w_acosf.c: Likewise.
12506 * math/w_acosl.c: Likewise.
12507 * math/w_acosh.c: Likewise.
12508 * math/w_acoshf.c: Likewise.
12509 * math/w_acoshl.c: Likewise.
12510 * math/w_asin.c: Likewise.
12511 * math/w_asinf.c: Likewise.
12512 * math/w_asinl.c: Likewise.
12513 * math/w_atan2.c: Likewise.
12514 * math/w_atan2f.c: Likewise.
12515 * math/w_atan2l.c: Likewise.
12516 * math/w_atanh.c: Likewise.
12517 * math/w_atanhf.c: Likewise.
12518 * math/w_atanhl.c: Likewise.
12519 * math/w_exp10.c: Likewise.
12520 * math/w_exp10f.c: Likewise.
12521 * math/w_exp10l.c: Likewise.
12522 * math/w_fmod.c: Likewise.
12523 * math/w_fmodf.c: Likewise.
12524 * math/w_fmodl.c: Likewise.
12525 * math/w_j0.c: Likewise.
12526 * math/w_j0f.c: Likewise.
12527 * math/w_j0l.c: Likewise.
12528 * math/w_j1.c: Likewise.
12529 * math/w_j1f.c: Likewise.
12530 * math/w_j1l.c: Likewise.
12531 * math/w_jn.c: Likewise.
12532 * math/w_jnf.c: Likewise.
12533 * math/w_log.c: Likewise.
12534 * math/w_logf.c: Likewise.
12535 * math/w_logl.c: Likewise.
12536 * math/w_log10.c: Likewise.
12537 * math/w_log10f.c: Likewise.
12538 * math/w_log10l.c: Likewise.
12539 * math/w_log2.c: Likewise.
12540 * math/w_log2f.c: Likewise.
12541 * math/w_log2l.c: Likewise.
12542 * math/w_pow.c: Likewise.
12543 * math/w_powf.c: Likewise.
12544 * math/w_powl.c: Likewise.
12545 * math/w_remainder.c: Likewise.
12546 * math/w_remainderf.c: Likewise.
12547 * math/w_remainderl.c: Likewise.
12548 * math/w_scalb.c: Likewise.
12549 * math/w_scalbf.c: Likewise.
12550 * math/w_scalbl.c: Likewise.
12551 * math/w_sqrt.c: Likewise.
12552 * math/w_sqrtf.c: Likewise.
12553 * math/w_sqrtl.c: Likewise.
12554 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12555 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12556 used.
12557 * math/math_private.h: Declare __kernel_standard_f.
12558 * math/w_cosh.c: Remove cruft and optimize a bit.
12559 * math/w_coshf.c: Likewise.
12560 * math/w_coshl.c: Likewise.
12561 * math/w_exp2.c: Likewise.
12562 * math/w_exp2f.c: Likewise.
12563 * math/w_exp2l.c: Likewise.
12564 * math/w_hypot.c: Likewise.
12565 * math/w_hypotf.c: Likewise.
12566 * math/w_hypotl.c: Likewise.
12567 * math/w_lgamma.c: Likewise.
12568 * math/w_lgamma_r.c: Likewise.
12569 * math/w_lgammaf.c: Likewise.
12570 * math/w_lgammaf_r.c: Likewise.
12571 * math/w_lgammal.c: Likewise.
12572 * math/w_lgammal_r.c: Likewise.
12573 * math/w_sinh.c: Likewise.
12574 * math/w_sinhf.c: Likewise.
12575 * math/w_sinhl.c: Likewise.
12576 * math/w_tgamma.c: Likewise.
12577 * math/w_tgammaf.c: Likewise.
12578 * math/w_tgammal.c: Likewise.
12579 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12581 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12582 Minor optimizations. Pretty printing. Remove cruft.
12583 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12584 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12585 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12586 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12587 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12588 * sysdeps/i386/fpu/e_asin.S: Likewise.
12589 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12590 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12591 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12592 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12593 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12594 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12596 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12597 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12598 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12599 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12600 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12601 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12602 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12603 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12604 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12605 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12606 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12607 * sysdeps/i386/fpu/e_log.S: Likewise.
12608 * sysdeps/i386/fpu/e_log10.S: Likewise.
12609 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12610 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12611 * sysdeps/i386/fpu/e_log2.S: Likewise.
12612 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12613 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12614 * sysdeps/i386/fpu/e_logf.S: Likewise.
12615 * sysdeps/i386/fpu/e_logl.S: Likewise.
12616 * sysdeps/i386/fpu/e_pow.S: Likewise.
12617 * sysdeps/i386/fpu/e_powf.S: Likewise.
12618 * sysdeps/i386/fpu/e_powl.S: Likewise.
12619 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12620 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12621 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12623 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12625 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12626 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12627 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12649 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12652 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12653 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12654 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12655 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12656 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12657 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12658 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12662 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12663 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12664 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12665 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12666 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12667 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12668 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12669 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12711 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12713 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12714 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12716 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12719 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12721 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12722 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12723 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12724 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12725 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12726 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12727 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12728 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12729 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12730 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12731 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12732 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12734 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12736 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12737 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12738 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12739 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12740 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12741 (__isnanf): Likewise.
12742 (__isinf_ns): Likewise.
12743 (__isinf_nsf): Likewise.
12744 (__finite): Likewise.
12745 (__finitef): Likewise.
12746 (__ieee754_sqrt): Define as macro.
12747 (__ieee754_sqrtf): Define as macro.
12748 (__ieee754_sqrtl): Define as macro.
12749 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12750 inlined copy.
12751 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12752 __FINITE_MATH_ONLY__ consistent.
12753 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12754
12cc2fcd
AS
127552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12756
a843a204
AS
12757 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12758 of rawmemchr.
12759
12cc2fcd
AS
12760 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12761
c853acd5
UD
127622011-10-09 Ulrich Drepper <drepper@gmail.com>
12763
12764 * po/ja.po: Update from translation team.
12765
c658d255
RM
127662011-10-08 Roland McGrath <roland@hack.frob.com>
12767
110946e4
RM
12768 * locale/programs/locarchive.c (prepare_address_space): New function.
12769 (create_archive, enlarge_archive, open_archive): Use it.
12770
50604220
RM
12771 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12772 inside [SHARED], where it is used.
12773
c658d255
RM
12774 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12775
12776 * nss/getent.c (netgroup_keys): Remove unused variable.
12777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12778
6a621eb7
UD
127792011-10-08 Ulrich Drepper <drepper@gmail.com>
12780
7edb55ce
UD
12781 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12782 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12784 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12785 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12786 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12787 * math/Makefile (libm-calls): Add s_isinf_ns.
12788 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12789 * math/multc3.c: Likewise.
12790 * math/s_casin.c: Likewise.
12791 * math/s_casinf.c: Likewise.
12792 * math/s_casinl.c: Likewise.
12793 * math/s_ccos.c: Likewise.
12794 * math/s_ccosf.c: Likewise.
12795 * math/s_ccosl.c: Likewise.
12796 * math/s_ctan.c: Likewise.
12797 * math/s_ctanf.c: Likewise.
12798 * math/s_ctanh.c: Likewise.
12799 * math/s_ctanhf.c: Likewise.
12800 * math/s_ctanhl.c: Likewise.
12801 * math/s_ctanl.c: Likewise.
12802 * math/w_fmod.c: Likewise.
12803 * math/w_fmodf.c: Likewise.
12804 * math/w_fmodl.c: Likewise.
12805 * math/w_remainder.c: Likewise.
12806 * math/w_remainderf.c: Likewise.
12807 * math/w_remainderl.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12809 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12810 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12812 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12813 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12814 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12815 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12816
187da0ae
UD
12817 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12818 of the number.
12819 * stdio-common/printf_fphex.c: Likewise.
12820 * stdio-common/printf_size.c: Likewise.
12821
9277c064
UD
12822 * math/e_exp10.c: Include math_private.h using <...> not "...".
12823 * math/e_exp10f.c: Likewise.
12824 * math/e_exp10l.c: Likewise.
12825 * math/e_exp2l.c: Likewise.
12826 * math/e_j0l.c: Likewise.
12827 * math/e_j1l.c: Likewise.
12828 * math/e_jnl.c: Likewise.
12829 * math/e_lgammal_r.c: Likewise.
12830 * math/e_rem_pio2l.c: Likewise.
12831 * math/e_scalb.c: Likewise.
12832 * math/e_scalbf.c: Likewise.
12833 * math/e_scalbl.c: Likewise.
12834 * math/k_cosl.c: Likewise.
12835 * math/k_sinl.c: Likewise.
12836 * math/k_tanl.c: Likewise.
12837 * math/s_cacoshf.c: Likewise.
12838 * math/s_catan.c: Likewise.
12839 * math/s_catanf.c: Likewise.
12840 * math/s_catanh.c: Likewise.
12841 * math/s_catanhf.c: Likewise.
12842 * math/s_catanhl.c: Likewise.
12843 * math/s_catanl.c: Likewise.
12844 * math/s_ccosh.c: Likewise.
12845 * math/s_ccoshf.c: Likewise.
12846 * math/s_ccoshl.c: Likewise.
12847 * math/s_cexp.c: Likewise.
12848 * math/s_cexpf.c: Likewise.
12849 * math/s_cexpl.c: Likewise.
12850 * math/s_clog.c: Likewise.
12851 * math/s_clog10.c: Likewise.
12852 * math/s_clog10f.c: Likewise.
12853 * math/s_clog10l.c: Likewise.
12854 * math/s_clogf.c: Likewise.
12855 * math/s_clogl.c: Likewise.
12856 * math/s_csin.c: Likewise.
12857 * math/s_csinf.c: Likewise.
12858 * math/s_csinh.c: Likewise.
12859 * math/s_csinhf.c: Likewise.
12860 * math/s_csinhl.c: Likewise.
12861 * math/s_csinl.c: Likewise.
12862 * math/s_csqrt.c: Likewise.
12863 * math/s_csqrtf.c: Likewise.
12864 * math/s_csqrtl.c: Likewise.
12865 * math/s_ctan.c: Likewise.
12866 * math/s_ctanf.c: Likewise.
12867 * math/s_ctanh.c: Likewise.
12868 * math/s_ctanhf.c: Likewise.
12869 * math/s_ctanhl.c: Likewise.
12870 * math/s_ctanl.c: Likewise.
12871 * math/s_ldexp.c: Likewise.
12872 * math/s_ldexpf.c: Likewise.
12873 * math/s_ldexpl.c: Likewise.
12874 * math/s_significand.c: Likewise.
12875 * math/s_significandf.c: Likewise.
12876 * math/s_significandl.c: Likewise.
12877 * math/w_acos.c: Likewise.
12878 * math/w_acosf.c: Likewise.
12879 * math/w_acosh.c: Likewise.
12880 * math/w_acoshf.c: Likewise.
12881 * math/w_acoshl.c: Likewise.
12882 * math/w_acosl.c: Likewise.
12883 * math/w_asin.c: Likewise.
12884 * math/w_asinf.c: Likewise.
12885 * math/w_asinl.c: Likewise.
12886 * math/w_atan2.c: Likewise.
12887 * math/w_atan2f.c: Likewise.
12888 * math/w_atan2l.c: Likewise.
12889 * math/w_atanh.c: Likewise.
12890 * math/w_atanhf.c: Likewise.
12891 * math/w_atanhl.c: Likewise.
12892 * math/w_cosh.c: Likewise.
12893 * math/w_coshf.c: Likewise.
12894 * math/w_coshl.c: Likewise.
12895 * math/w_dremf.c: Likewise.
12896 * math/w_exp10.c: Likewise.
12897 * math/w_exp10f.c: Likewise.
12898 * math/w_exp10l.c: Likewise.
12899 * math/w_exp2.c: Likewise.
12900 * math/w_exp2f.c: Likewise.
12901 * math/w_fmod.c: Likewise.
12902 * math/w_fmodf.c: Likewise.
12903 * math/w_fmodl.c: Likewise.
12904 * math/w_hypot.c: Likewise.
12905 * math/w_hypotf.c: Likewise.
12906 * math/w_hypotl.c: Likewise.
12907 * math/w_j0.c: Likewise.
12908 * math/w_j0f.c: Likewise.
12909 * math/w_j0l.c: Likewise.
12910 * math/w_j1.c: Likewise.
12911 * math/w_j1f.c: Likewise.
12912 * math/w_j1l.c: Likewise.
12913 * math/w_jn.c: Likewise.
12914 * math/w_jnf.c: Likewise.
12915 * math/w_jnl.c: Likewise.
12916 * math/w_lgamma.c: Likewise.
12917 * math/w_lgamma_r.c: Likewise.
12918 * math/w_lgammaf.c: Likewise.
12919 * math/w_lgammaf_r.c: Likewise.
12920 * math/w_lgammal.c: Likewise.
12921 * math/w_lgammal_r.c: Likewise.
12922 * math/w_log.c: Likewise.
12923 * math/w_log10.c: Likewise.
12924 * math/w_log10f.c: Likewise.
12925 * math/w_log10l.c: Likewise.
12926 * math/w_log2.c: Likewise.
12927 * math/w_log2f.c: Likewise.
12928 * math/w_log2l.c: Likewise.
12929 * math/w_logf.c: Likewise.
12930 * math/w_logl.c: Likewise.
12931 * math/w_pow.c: Likewise.
12932 * math/w_powf.c: Likewise.
12933 * math/w_powl.c: Likewise.
12934 * math/w_remainder.c: Likewise.
12935 * math/w_remainderf.c: Likewise.
12936 * math/w_remainderl.c: Likewise.
12937 * math/w_scalb.c: Likewise.
12938 * math/w_scalbf.c: Likewise.
12939 * math/w_scalbl.c: Likewise.
12940 * math/w_sinh.c: Likewise.
12941 * math/w_sinhf.c: Likewise.
12942 * math/w_sinhl.c: Likewise.
12943 * math/w_sqrt.c: Likewise.
12944 * math/w_sqrtf.c: Likewise.
12945 * math/w_sqrtl.c: Likewise.
12946 * math/w_tgamma.c: Likewise.
12947 * math/w_tgammaf.c: Likewise.
12948 * math/w_tgammal.c: Likewise.
12949
6a621eb7
UD
12950 * po/ja.po: Update from translation team.
12951
bf582445
AJ
129522011-09-29 Andreas Jaeger <aj@suse.de>
12953
f9efbf3a
AJ
12954 [BZ #13179]
12955 * sunrpc/netname.c (netname2host): Fix logic.
12956
bf582445
AJ
12957 [BZ #6779]
12958 [BZ #6783]
12959 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12960 correctly.
12961 * math/w_remainder.c (__remainder): Likewise.
12962 * math/w_remainderf.c (__remainderf): Likewise.
12963 * math/libm-test.inc (remainder_test): Add test cases.
12964
48693bea
AK
129652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12966
12967 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12968 sdiv_qrnnd.
12969
42622229
LD
129702011-10-07 Ulrich Drepper <drepper@gmail.com>
12971
12972 * string/test-memcmp.c: Avoid unncessary #defines.
12973 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12974
093ecf92
LD
129752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12976
12977 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12978 Use new sse2 version for core i3 - i7 as it's faster
12979 than sse42 version.
12980 (bit_Prefer_PMINUB_for_stringop): New.
12981 * sysdeps/x86_64/rawmemchr.S: Update.
12982 Replace with faster SSE2 version.
12983 * sysdeps/x86_64/memrchr.S: New file.
12984 * sysdeps/x86_64/memchr.S: Update.
12985 Replace with faster SSE2 version.
12986
fde56e5c
MP
129872011-09-12 Marek Polacek <mpolacek@redhat.com>
12988
12989 * elf/dl-load.c (lose): Add cast to avoid warning.
12990
21fd49a9
UD
129912011-10-07 Ulrich Drepper <drepper@gmail.com>
12992
5a06e643
UD
12993 * po/ca.po: Update from translation team.
12994
684ae515
UD
12995 * inet/getnetgrent_r.c: Hook up nscd.
12996 * nscd/Makefile (routines): Add nscd_netgroup.
12997 (nscd-modules): Add netgroupcache.
12998 (CFLAGS-netgroupcache.c): Define.
12999 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13000 (cache_search): Add const to second parameter.
13001 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13002 INNETGR.
13003 (dbs): Add netgrdb entry.
13004 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13005 (verify_persistent_db): Handle netgrdb.
13006 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13007 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13008 GETFDNETGR.
13009 (netgroup_response_header): Define.
13010 (innetgroup_response_header): Define.
13011 (datahead): Add netgroup_response_header and innetgroup_response_header
13012 elements.
13013 * nscd/nscd.conf: Add entries for netgroup cache.
13014 * nscd/nscd.h (dbtype): Add netgrdb.
13015 (_PATH_NSCD_NETGROUP_DB): Define.
13016 (netgroup_iov_disabled): Declare.
13017 (xmalloc, xcalloc, xrealloc): Move declarations here.
13018 (cache_search): Adjust prototype.
13019 Add netgroup-related prototypes.
13020 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13021 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13022 (__nscd_innetgr): Declare.
13023 * nscd/selinux.c (perms): Use access_vector_t as element type and
13024 add netgroup-related initializers.
13025 * nscd/netgroupcache.c: New file.
13026 * nscd/nscd_netgroup.c: New file.
13027 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13028 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13029 For four parameters use innetgr.
13030 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13031 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13032 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13033 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13034
21fd49a9
UD
13035 * nscd/connections.c (register_traced_file): Don't register file
13036 for disabled databases.
13037
054c0457
UD
130382011-10-06 Ulrich Drepper <drepper@gmail.com>
13039
32b63198
UD
13040 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13041
054c0457
UD
13042 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13043 from tree and freeing node.
13044
64031225
JO
130452011-09-25 Jiri Olsa <jolsa@redhat.com>
13046
13047 * nss/nsswitch.c (__nss_database_lookup): Handle
13048 nss_parse_service_list out of memory case.
13049
0490345c
JO
130502011-09-15 Jiri Olsa <jolsa@redhat.com>
13051
13052 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13053 out of memory case.
13054
3a62d00d
AS
130552011-10-04 Andreas Schwab <schwab@redhat.com>
13056
13057 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13058 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13059 pass it down.
13060 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13061 elf_machine_rela, elf_machine_lazy_rel.
13062 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13063 (ELF_DYNAMIC_DO_REL): Likewise.
13064 (ELF_DYNAMIC_DO_RELA): Likewise.
13065 (ELF_DYNAMIC_RELOCATE): Likewise.
13066 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13067 to ELF_DYNAMIC_DO_REL.
13068 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13069 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13070 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13071 elf_machine_rela.
13072 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13073 skip_ifunc, don't call ifunc function if non-zero.
13074 (elf_machine_rela): Likewise.
13075 (elf_machine_lazy_rel): Likewise.
13076 (elf_machine_lazy_rela): Likewise.
13077 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13078 (elf_machine_lazy_rel): Likewise.
13079 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13080 Likewise.
13081 (elf_machine_lazy_rel): Likewise.
13082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13083 Likewise.
13084 (elf_machine_lazy_rel): Likewise.
13085 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13086 (elf_machine_lazy_rel): Likewise.
13087 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13088 (elf_machine_lazy_rel): Likewise.
13089 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13090 (elf_machine_lazy_rel): Likewise.
13091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13092 (elf_machine_lazy_rel): Likewise.
13093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13094 (elf_machine_lazy_rel): Likewise.
13095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13096 (elf_machine_lazy_rel): Likewise.
13097
68577918
UD
130982011-09-28 Ulrich Drepper <drepper@gmail.com>
13099
13100 * nss/nss_files/files-init.c (_nss_files_init): Use static
13101 initialization for all the *_traced_file variables.
13102
68822d74
AS
131032011-09-28 Andreas Schwab <schwab@redhat.com>
13104
13105 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13106
2056100b
RM
131072011-09-27 Roland McGrath <roland@hack.frob.com>
13108
13109 [BZ #13226]
13110 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13111
32c76b63
AS
131122011-09-27 Andreas Schwab <schwab@redhat.com>
13113
13114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13115 Reread the line before reparsing it.
13116
bf972c9d
AS
131172011-09-26 Andreas Schwab <schwab@redhat.com>
13118
13119 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13120
e057a1b5
JM
131212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13122 Maxim Kuvyrkov <maxim@codesourcery.com>
13123 Joseph Myers <joseph@codesourcery.com>
13124
13125 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13126 if needed for __stack_chk_guard.
13127
bc7e1c36
RM
131282011-09-19 Roland McGrath <roland@hack.frob.com>
13129
ecb1482f
RM
13130 * sysdeps/posix/spawni.c (script_execute): Always define it.
13131 It will be optimized away if unused.
13132 (maybe_script_execute): New function.
13133 (__spawni): Call it.
13134
bc7e1c36
RM
13135 * Makerules: Don't include tls.make.
13136 (config-tls): Always set to thread.
13137 * tls.make.c: File removed.
13138
1c3b002b
MF
131392011-09-19 Mike Frysinger <vapier@gentoo.org>
13140
13141 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13142 * config.make.in (CPPFLAGS-config): New substituted variable.
13143
2840865d
UD
131442011-09-15 Ulrich Drepper <drepper@gmail.com>
13145
88738eb6
UD
13146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13147
cbf645a6 13148 [BZ #13192]
2840865d
UD
13149 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13150 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13151
b402e91a
RM
131522011-09-15 Roland McGrath <roland@hack.frob.com>
13153
13154 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13155 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13157 (CALL_FAIL): Likewise.
13158 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13159 (CALL_FAIL): Macro removed.
13160 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13161
4c1a1f71
UD
131622011-09-15 Ulrich Drepper <drepper@gmail.com>
13163
13164 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13165 for __FINITE_MATH_ONLY__ == 1.
13166
edc121be
AS
131672011-09-15 Andreas Schwab <schwab@redhat.com>
13168
13169 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13170 __ieee754_sqrt instead of sqrt.
13171 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13172 __ieee754_sqrtf instead of sqrtf.
13173 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13174 __floorf instead of floorf.
13175 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13176 __floorf, __truncf instead of floorf, truncf.
13177
cd205654
UD
131782011-09-14 Ulrich Drepper <drepper@gmail.com>
13179
ee4d0315
UD
13180 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13181
cd205654
UD
13182 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13183 __extern_always_inline.
13184 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13185 32-bit.
13186
48b67d71
AS
131872011-09-14 Andreas Schwab <schwab@redhat.com>
13188
13189 * elf/rtld.c (dl_main): Also relocate in dependency order when
13190 doing symbol dependency testing.
13191
1ae12c75
AS
131922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13193
13194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13195 Always define `refsym'.
13196
995a80df
AS
131972011-09-13 Andreas Schwab <schwab@redhat.com>
13198
e529793b
AS
13199 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13200 (__FD_ELT): Renamed from __FDELT.
13201 * misc/bits/select2.h (__FD_ELT): Likewise.
13202 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13203 __FD_MASK instead of __FDELT, __FDMASK.
13204 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13205 Likewise.
13206 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13207 Likewise.
13208
52d4fef8
AS
13209 * elf/Makefile (gen-ldd): Fix pattern.
13210
995a80df
AS
13211 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13212 (init_tls): Likewise.
13213
8682f8b0
UD
132142011-09-12 Ulrich Drepper <drepper@gmail.com>
13215
13216 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13217
de82006d
AS
132182011-09-12 Andreas Schwab <schwab@redhat.com>
13219
a7c8e6a1
AS
13220 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13221 `struct cmsghdr *' instead of `void *'.
13222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13223 Likewise.
13224
0f31fe77
AS
132252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13226
13227 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13228 if non-absolute.
13229 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13230 ldd_rewrite_script.
0f31fe77 13231
32b4c839
UD
132322011-09-11 Ulrich Drepper <drepper@gmail.com>
13233
83cd1420
UD
13234 * configure.in: Remove --with-tls option.
13235 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13236 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13237 out in case it is missing.
13238 * sysdeps/ia64/elf/configure.in: Likewise.
13239 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13240 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13241 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13242 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13243 * sysdeps/sh/elf/configure.in: Likewise.
13244 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13245 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13246 * sysdeps/x86_64/elf/configure.in: Likewise.
13247 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13248 * sysdeps/mach/hurd/tls.h: Likewise.
13249
633f745d
UD
13250 [BZ #13067]
13251 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13252
f318beb8
UD
13253 [BZ #13090]
13254 * configure.in: Fix use of AC_INIT.
13255
32b4c839
UD
13256 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13257
3ce1f295
UD
132582011-09-10 Ulrich Drepper <drepper@gmail.com>
13259
bb016596
UD
13260 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13261 __set_errno.
8e58439c
UD
13262 * malloc/hooks.c: Likewise.
13263
aebae053 13264 [BZ #11929]
02d46fc4
UD
13265 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13266 variables statically.
13267 (narenas): Initialize.
13268 (list_lock): Initialize.
bb016596
UD
13269 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13270 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13271 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13272 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13273 Add initializers to main_arena and mp_.
13274 (malloc_state): Remove pagesize member. Change all users to use
13275 GLRO(dl_pagesize).
13276
13277 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13278 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13279 is always initialized.
13280
22a89187
UD
13281 * malloc/malloc.c: Removed unused configurations and dead code.
13282 * malloc/arena.c: Likewise.
13283 * malloc/hooks.c: Likewise.
02d46fc4 13284 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13285
d063d164
UD
13286 * include/tls.h: Removed. USE___THREAD must always be defined.
13287 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13288 * elf/dl-libc.c: Likewise.
13289 * elf/dl-tsd.c: Likewise.
13290 * include/errno.h: Likewise.
13291 * include/netdb.h: Likewise.
13292 * include/resolv.h: Likewise.
13293 * inet/herrno-loc.c: Likewise.
13294 * inet/herrno.c: Likewise.
13295 * malloc/arena.c: Likewise.
13296 * malloc/hooks.c: Likewise.
13297 * malloc/malloc.c: Likewise.
13298 * resolv/res-state.c: Likewise.
13299 * resolv/res_libc.c: Likewise.
13300 * sysdeps/i386/dl-machine.h: Likewise.
13301 * sysdeps/ia64/dl-machine.h: Likewise.
13302 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13303 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13304 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13305 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13306 * sysdeps/sh/dl-machine.h: Likewise.
13307 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13308 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13309 * sysdeps/unix/i386/sysdep.S: Likewise.
13310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13311 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13316 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13320 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13321 * sysdeps/x86_64/dl-machine.h: Likewise.
13322 * tls.make.c: Likewise.
13323
3ce1f295
UD
13324 * configure.in: Remove --with-__thread option. Make tests for
13325 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13326 tls_model attribute fail if no support is available. Remove
13327 USE_IN_LIBIO.
13328 * Makeconfig: Adjust for dropped configure option. All features are
13329 now mandatory.
13330 * Makerules: Likewise.
13331 * Versions.def: Likewise.
13332 * argp/argp-fmtstream.c: Likewise.
13333 * argp/argp-fmtstream.h: Likewise.
13334 * argp/argp-help.c: Likewise.
13335 * assert/assert.c: Likewise.
13336 * config.h.in: Likewise.
13337 * config.make.in: Likewise.
13338 * configure: Likewise.
13339 * configure.in: Likewise.
13340 * csu/Versions: Likewise.
13341 * csu/init.c: Likewise.
13342 * elf/tst-audit2.c: Likewise.
13343 * elf/tst-tls10.c: Likewise.
13344 * elf/tst-tls10.h: Likewise.
13345 * elf/tst-tls11.c: Likewise.
13346 * elf/tst-tls12.c: Likewise.
13347 * elf/tst-tls14.c: Likewise.
13348 * elf/tst-tlsmod11.c: Likewise.
13349 * elf/tst-tlsmod12.c: Likewise.
13350 * elf/tst-tlsmod13.c: Likewise.
13351 * elf/tst-tlsmod13a.c: Likewise.
13352 * elf/tst-tlsmod14a.c: Likewise.
13353 * elf/tst-tlsmod15b.c: Likewise.
13354 * elf/tst-tlsmod16a.c: Likewise.
13355 * elf/tst-tlsmod16b.c: Likewise.
13356 * elf/tst-tlsmod7.c: Likewise.
13357 * elf/tst-tlsmod8.c: Likewise.
13358 * elf/tst-tlsmod9.c: Likewise.
13359 * gmon/gmon.c: Likewise.
13360 * grp/fgetgrent_r.c: Likewise.
13361 * grp/putgrent.c: Likewise.
13362 * hurd/fopenport.c: Likewise.
13363 * include/libc-symbols.h: Likewise.
13364 * include/tls.h: Likewise.
13365 * intl/gettextP.h: Likewise.
13366 * intl/loadinfo.h: Likewise.
13367 * locale/global-locale.c: Likewise.
13368 * locale/localeinfo.h: Likewise.
13369 * mach/devstream.c: Likewise.
13370 * malloc/arena.c: Likewise.
13371 * malloc/set-freeres.c: Likewise.
13372 * misc/err.c: Likewise.
13373 * misc/getttyent.c: Likewise.
13374 * misc/mntent_r.c: Likewise.
13375 * posix/getopt.c: Likewise.
13376 * posix/wordexp.c: Likewise.
13377 * pwd/fgetpwent_r.c: Likewise.
13378 * resolv/Versions: Likewise.
13379 * resolv/res_hconf.c: Likewise.
13380 * shadow/fgetspent_r.c: Likewise.
13381 * shadow/putspent.c: Likewise.
13382 * stdio-common/printf_fphex.c: Likewise.
13383 * stdio-common/tmpfile.c: Likewise.
13384 * stdlib/abort.c: Likewise.
13385 * stdlib/fmtmsg.c: Likewise.
13386 * sunrpc/auth_unix.c: Likewise.
13387 * sunrpc/clnt_perr.c: Likewise.
13388 * sunrpc/clnt_tcp.c: Likewise.
13389 * sunrpc/clnt_udp.c: Likewise.
13390 * sunrpc/clnt_unix.c: Likewise.
13391 * sunrpc/openchild.c: Likewise.
13392 * sunrpc/svc_simple.c: Likewise.
13393 * sunrpc/svc_tcp.c: Likewise.
13394 * sunrpc/svc_udp.c: Likewise.
13395 * sunrpc/svc_unix.c: Likewise.
13396 * sunrpc/xdr.c: Likewise.
13397 * sunrpc/xdr_array.c: Likewise.
13398 * sunrpc/xdr_rec.c: Likewise.
13399 * sunrpc/xdr_ref.c: Likewise.
13400 * sunrpc/xdr_stdio.c: Likewise.
13401
1248c1c4
PB
134022011-09-09 Ulrich Drepper <drepper@gmail.com>
13403
13404 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13405
134062011-07-03 Andreas Jaeger <aj@suse.de>
13407
13408 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13409 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13410 regenerate with gen-libm-tests.pl.
13411
134122010-05-12 Petr Baudis <pasky@suse.cz>
13413
13414 [BZ #11589]
13415 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13416 around j0() zero points by switching to j1().
13417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13421
f22e1074
UD
134222011-09-09 Ulrich Drepper <drepper@gmail.com>
13423
f19009c1
UD
13424 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13425 instead of 0.
13426 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13427 instead of 0. .
13428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13429 Patch in part by Pavel Roskin <proski@gnu.org>.
13430
3f8cc204
UD
13431 [BZ #13138]
13432 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13433 realloc.
13434 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13435 Free memory block if necessary.
13436
f22e1074
UD
13437 [BZ #12847]
13438 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13439 be NULL. Don't lock in this case.
13440
0a2349f9
RM
134412011-09-09 Roland McGrath <roland@hack.frob.com>
13442
13443 * elf/elf.h (ELFOSABI_GNU): New macro.
13444 (ELFOSABI_LINUX): Define to that.
13445
f3cdd467
DZ
134462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13447
13448 * string/strncat.c (strncat): Undef the symbol in case it has been
13449 defined in bits/string.h.
13450
74718d13
UD
134512011-09-09 Ulrich Drepper <drepper@gmail.com>
13452
633e9e0f
UD
13453 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13454
0a2349f9 13455 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13456 link map.
13457
f9924780
AJ
134582011-08-17 Andreas Jaeger <aj@suse.de>
13459
13460 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13461
7f5517aa
PP
134622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13463 Ian Lance Taylor <iant@google.com>
13464
13465 * math/libm-test.inc (lround_test): New testcase.
13466 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13467
762011fe
UD
134682011-09-08 Ulrich Drepper <drepper@gmail.com>
13469
92963737
UD
13470 * Makefile: Remove support for automatic cvs check-ins.
13471 * Makerules: Likewise.
13472 * config.make.in: Likewise.
13473 * configure.in: Likewise.
13474 * intl/Makefile: Likewise.
13475 * locale/Makefile: Likewise.
13476 * po/Makefile: Likewise.
13477 * posix/Makefile: Likewise.
13478 * sysdeps/gnu/Makefile: Likewise.
13479 * sysdeps/mach/hurd/Makefile: Likewise.
13480 * sysdeps/sparc/sparc32/Makefile: Likewise.
13481
b0727fd8
JS
13482 [BZ #13118]
13483 * posix/Makefile (bug-regex32-ENV): Define.
13484 Patch by John Stanley <jpsinthemix@verizon.net>.
13485
a0f33f99
UD
13486 * misc/Makefile (headers): Add bits/select2.h.
13487 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13488 * misc/bits/select2.h: New file.
13489 * include/bits/select2.h: New file.
13490 * debug/Makefile (routines): Add fdelt_chk.
13491 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13492 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13493 FD_ISSET.
13494 * debug/fdelt_chk.c: New file.
13495
762011fe
UD
13496 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13497 * wcsmbs/test-wmemcmp.c: Likewise.
13498 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13499 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13500
135012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13502
13503 * string/Makefile (strop-tests): Add memcmp.
13504 * string/test-wmemcmp.c: New file.
13505 * string/test-memcmp.c: Add wmemcmp support.
13506
7f513ec8
RM
135072011-09-08 Roland McGrath <roland@hack.frob.com>
13508
0442afb4
RM
13509 [BZ #13153]
13510 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13511 2011-07-19 change.
13512
7f513ec8
RM
13513 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13514 garbage value in a __mach_port_mod_refs call in the cases of the
13515 task-self and thread-self ports.
13516
a12b2239
ST
135172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13518
13519 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13520
610f9ab4
AS
135212011-09-08 Andreas Schwab <schwab@redhat.com>
13522
7f513ec8 13523 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13524
48882a1a
LD
135252011-09-07 Ulrich Drepper <drepper@gmail.com>
13526
b49865be
UD
13527 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13528
fdc86bc9
UD
13529 * elf/dl-libc.c (dlerror_run): Pass back error code from
13530 dl_catch_error.
13531
c966526a
UD
13532 [BZ #13123]
13533 * elf/dl-load.c (lose): Free l_origin if it is valid.
13534
48882a1a
LD
13535 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13536 names.
13537 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13540 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13541 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13542 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13543
77a2a8b4
AZ
135442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13545
13546 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13547 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13548 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13549 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13550 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13551 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13552 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13553 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13554 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13555 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13556
24f579d8
AM
135572011-08-15 Alan Modra <amodra@gmail.com>
13558
13559 [BZ #13092]
13560 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13561 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13562 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13563 ppc_mcount to static-only-routines.
13564 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13565 __mcount_internal.
13566 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13567 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13568
3d4837df
UD
135692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13570
13571 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13572 for finite and infinity parameters.
13573
22700377
WS
135742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13575
13576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13577 and add nop instructions for throughput optimization.
13578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13579
5025581e
WS
135802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13581
13582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13583 aligned copy for power7 with vector-scalar instructions.
13584 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13585
08a300c9
L
135862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13587
13588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13589 AVX check.
13590
59178ef9
AS
135912011-09-07 Andreas Schwab <schwab@redhat.com>
13592
13593 [BZ #13144]
13594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13595 last change.
13596
e38ba7ab
UD
135972011-09-07 Ulrich Drepper <drepper@gmail.com>
13598
13599 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13600 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13601 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13602 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13603 clock_gettime.
13604
d53a73ac
UD
136052011-09-06 Ulrich Drepper <drepper@gmail.com>
13606
fc8bffcc
UD
13607 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13608 Forgot to demangle the pointer.
13609
ceaa0c5d
UD
13610 * sysdeps/i386/sysdep.h: Define atom_text_section.
13611 * sysdeps/x86_64/sysdep.h: Likewise.
13612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13613 section with atom_text_section.
13614 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13616 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13618 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13619
a77d3c17
UD
13620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13621 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13622 already be defined. Change to take two parameters and don't assign
13623 result to variable. Adjust all users.
13624 Define INTERNAL_GETTIME if not already defined.
13625 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13626 call.
13627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13628 HAVE_CLOCK_GETTIME_VSYSCALL.
13629 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13630
d53a73ac
UD
13631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13632 gettimeofday vsyscall, just use time.
13633
a8f84144
AS
136342011-09-06 Andreas Schwab <schwab@redhat.com>
13635
13636 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13637 <errno.h>.
13638
ef606249
UD
136392011-09-06 Ulrich Drepper <drepper@gmail.com>
13640
13641 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13642 syscall on x86-64.
13643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13644 syscall.
13645 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13646 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13647 syscall if possible.
13648
6585cb60
UD
136492011-09-05 Ulrich Drepper <drepper@gmail.com>
13650
13651 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13652 e_ident. Don't pass to find_mapsXX.
13653 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13654
a5f524e4
LD
136552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13656
13657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13658 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13659 * sysdeps/x86_64/multiarch/strchr.S: Update.
13660 Check bit_slow_BSF bit.
13661 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13662 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13663 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13664
554881ef
UD
136652011-09-05 Ulrich Drepper <drepper@gmail.com>
13666
d96de963
UD
13667 [BZ #13134]
13668 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13669 before glibc 2.15.
13670 (tryshell): Define.
13671 (__spawni): Change last parameter to be flag. Test
13672 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13673 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13674 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13675 * posix/spawni.c: Likewise.
13676 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13677 * posix/spawnp.c: Likewise. Change normal version to use
13678 SPAWN_XFLAGS_USE_PATH.
13679 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13680 SPAWN_XFLAGS_TRY_SHELL.
13681
d48e5868
UD
13682 [BZ #13150]
13683 * posix/glob.h: Remove gcc 1.x support.
13684
554881ef
UD
13685 [BZ #13068]
13686 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13687
693fb948
LD
136882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13689
13690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13691 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13692 strrchr-sse2-bsf
13693 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13694 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13695 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13696 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13697 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13698 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13699
1b48c537
UD
137002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13701
49d42c37
UD
13702 * sysdeps/x86_64/wcscmp.S: New file.
13703
1b48c537
UD
13704 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13705 wcscmp-c wcscmp-sse2
13706 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13707 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13708 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13709 * wcsmbs/wcscmp.c: Allow renaming.
13710
15c95c5d
DM
137112011-09-05 David S. Miller <davem@davemloft.net>
13712
13713 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13714 stack slot, rather than the struct return pointer slot.
13715 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13716 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13718 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13719
2f0ad8f3
UD
137202011-09-05 Ulrich Drepper <drepper@gmail.com>
13721
d88ae418
UD
13722 * po/ja.po: Update from translation team.
13723
2f0ad8f3
UD
13724 [BZ #13144]
13725 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13726 kernel in 64-bit binaries.
13727
5f4318d1
DM
137282011-09-01 David S. Miller <davem@davemloft.net>
13729
13730 * elf/elf.h (HWCAP_SPARC_*): Move to..
13731 * sysdeps/sparc/sysdep.h: this new file and add new values.
13732 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13733 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13734 _DL_HWCAP_COUNT to 24.
13735 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13736 entries.
13737 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13738 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13739 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13741 instead of magic constants.
13742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13743
3ba57516
DM
137442011-08-31 David S. Miller <davem@davemloft.net>
13745
13746 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13748 Reimplement to do errno handling inline.
13749 (SYSCALL_ERROR_HANDLER): New macro.
13750 (__SYSCALL_STRING): Do not do errno handling in asm.
13751 (__CLONE_SYSCALL_STRING): Delete.
13752 (__INTERNAL_SYSCALL_STRING): Delete.
13753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13754 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13755 (PSEUDO): Reimplement to do errno handling inline.
13756 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13757 (SYSCALL_ERROR_HANDLER): New macro.
13758 (__SYSCALL_STRING): Do not do errno handling in asm.
13759 (__CLONE_SYSCALL_STRING): Delete.
13760 (__INTERNAL_SYSCALL_STRING): Delete.
13761 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13762 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13763 i386.
13764 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13765 (inline_syscall*): Add 'err' argument.
13766 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13767 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13768 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13769 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13770
13771 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13772 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13773
2bc17433
AS
137742011-08-30 Andreas Schwab <schwab@redhat.com>
13775
13776 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13777
fbeb5f4d
JO
137782011-08-29 Jiri Olsa <jolsa@redhat.com>
13779
13780 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13781 directive.
13782
ad69cc26
DM
137832011-08-24 David S. Miller <davem@davemloft.net>
13784
13785 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13786
39dd69df
AS
137872011-08-24 Andreas Schwab <schwab@redhat.com>
13788
13789 * elf/Makefile: Add rules to build and run unload8 test.
13790 * elf/unload8.c: New file.
13791 * elf/unload8mod1.c: New file.
13792 * elf/unload8mod1x.c: New file.
13793 * elf/unload8mod2.c: New file.
13794 * elf/unload8mod3.c: New file.
13795
13796 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13797 it wasn't used.
13798
2c0b250a
DM
137992011-08-23 David S. Miller <davem@davemloft.net>
13800
13801 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13802 subtract stack bias.
13803 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13804 %sp not %fp in calculations.
13805 (_JMPBUF_UNWINDS_ADJ): Likewise.
13806
22044b48
DM
13807 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13808 (aio_suspend): Call it to force an exception region around the
13809 AIO_MISC_WAIT() invocation.
13810
2cae4995
AS
138112011-08-23 Andreas Schwab <schwab@redhat.com>
13812
13813 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13814 backslash.
13815
873a772e
AJ
138162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13817
13818 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13819 protection macro.
13820 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13821 and <dl-machine.h>.
13822 (Elf64_FuncDesc): Remove.
13823
25ad0df1
DM
138242011-08-22 David S. Miller <davem@davemloft.net>
13825
13826 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13827 sigaltstack check, add missing cfi directives.
13828 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13829 missing cfi directives, and sigaltstack handling.
13830
e888bcbe
AS
138312011-08-16 Andreas Schwab <schwab@redhat.com>
13832
13833 [BZ #11724]
13834 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13835 object is seen twice.
13836 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13837
13838 * elf/Makefile (distribute): Add tst-initorder2.c.
13839 (tests): Add tst-initorder2.
13840 (modules-names): Add tst-initorder2a tst-initorder2b
13841 tst-initorder2c tst-initorder2d. Add rules to build them.
13842 ($(objpfx)tst-initorder2.out): New rule.
13843 * elf/tst-initorder2.c: New file.
13844 * elf/tst-initorder2.exp: New file.
13845
87162f46
AS
138462011-08-22 Andreas Schwab <schwab@redhat.com>
13847
70538b7f
AS
13848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13849
f55ffe58
AS
13850 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13851 dependencies back to end of function.
13852
87162f46
AS
13853 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13854 $(elfobjdir)/ld.so.
13855
91b392a4
UD
138562011-08-21 Ulrich Drepper <drepper@gmail.com>
13857
13858 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13859 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13861 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13862 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13863 of __vdso_gettimeofday.
13864 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13865 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13866 attribute_hidden.
13867 (_libc_vdso_platform_setup): Remove initialization of
13868 __vdso_gettimeofday and __vdso_time.
13869
5c43483f
UD
138702011-08-20 Ulrich Drepper <drepper@gmail.com>
13871
775a77e7
UD
13872 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13873 and fgetc_unlocked.
13874 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13875 getc_unlocked.
89f447ed 13876
49c74ba9
UD
13877 * elf/dl-open.c (add_to_global): Report additions to the global scope
13878 for LD_DEBUG=scopes.
13879 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13880 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13881
5c43483f
UD
13882 [BZ #13114]
13883 * stdio-common/Makefile (tests): Add bug24.
13884 * stdio-common/bug24.c: New file.
13885
a101b025
AJ
138862011-08-19 Andreas Jaeger <aj@suse.de>
13887
13888 [BZ #13114]
13889 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13890 non-existant file when using close-on-exec mode.
13891
c88f1766
UD
138922011-08-20 Ulrich Drepper <drepper@gmail.com>
13893
0276a718
UD
13894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13895 the very first instruction.
13896
c88f1766
UD
13897 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13898 the CFI state in the end.
13899 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13900 inclusion of dl-trampoline.h.
13901 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13902
51ccffa0
AS
139032011-08-19 Andreas Schwab <schwab@redhat.com>
13904
94d7165f
AS
13905 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13906 expectations for long double.
13907
51ccffa0
AS
13908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13909 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13910
fd708658 139112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13912
13913 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13914 artificual limit depends upon the system page size.
13915
44f0a71e
UD
139162011-08-17 Ulrich Drepper <drepper@gmail.com>
13917
13918 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13919 * resolv/Makefile: Define CFLAGS-libresolv.
13920
8de79a24
AS
139212011-08-17 Andreas Schwab <schwab@redhat.com>
13922
13923 * nss/makedb.c (compute_tables): Make variables used in nested
13924 function static.
13925
27724598
UD
139262011-08-17 Ulrich Drepper <drepper@gmail.com>
13927
c5305d88
UD
13928 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13929 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13930 if buffer was too small.
13931
27724598
UD
13932 * elf/pldd.c (main): Attach to all threads in the process.
13933 Rewrite /proc handling to use *at functions.
13934
076fe015
UD
139352011-08-16 Ulrich Drepper <drepper@gmail.com>
13936
174baab3
UD
13937 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13938 specifies first scope to show.
13939 (dl_open_worker): Update callers. Move printing scope of new
13940 object to before the relocation.
44f0a71e 13941 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13942 * sysdeps/generic/ldsodefs.h: Update declaration.
13943
076fe015
UD
13944 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13945 string for the scope number.
13946
a60df2c3
UD
139472011-08-14 Ulrich Drepper <drepper@gmail.com>
13948
13949 * nscd/servicescache.c (cache_addserv): Make sure written is always
13950 initialized.
13951
5e4287d1
RM
139522011-08-14 Roland McGrath <roland@hack.frob.com>
13953
85ae0589
RM
13954 * sysdeps/i386/i486/bits/atomic.h
13955 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13956 statement expression, so as to suppress "set but not used" warning.
13957 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13958
69f63097
RM
13959 * string/strncat.c (STRNCAT): Use prototype definition.
13960
675456ef
RM
13961 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13962 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13963 -Iprograms here.
13964 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13965 (localedef-modules): Add localedef.
13966 (locale-modules): Add locale.
13967
5e4287d1
RM
13968 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13969 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13970 to avoid a warning.
13971
9c96ff23
DM
139722011-08-14 David S. Miller <davem@davemloft.net>
13973
13974 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13975 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13976
f9ddf089
UD
139772011-08-13 Ulrich Drepper <drepper@gmail.com>
13978
44f0a71e 13979 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13980 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13981 * elf/rtld.c (dl_main): Set l_name of vDSO.
13982 Call _dl_show_scope when DL_DEBUG_SCOPES.
13983 (process_dl_debug): Recognize scopes flag and also set it for all.
13984 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13985 Declare _dl_show_scope.
13986
1dc27704
UD
13987 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13988 (do_dlopen): Pass caller_dlopen to dl_open.
13989 (__libc_dlopen_mode): Initialize caller_dlopen.
13990
f9ddf089
UD
13991 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13992 of libc. Make tolower call locale-independent. Optimize a bit by
13993 using isdigit instead of isalnum.
13994 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13995
9ac533d3
UD
139962011-08-12 Ulrich Drepper <drepper@gmail.com>
13997
13998 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13999 was a dependency or dynamically loaded.
14000
89edf2e9
UD
140012011-08-11 Ulrich Drepper <drepper@gmail.com>
14002
8e999d29
UD
14003 * intl/l10nflist.c: Allow architecture-specific pop function.
14004 * sysdeps/x86_64/l10nflist.c: New file.
14005
89edf2e9
UD
14006 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14007 classification.
14008
14d96785
AS
140092011-08-10 Andreas Schwab <schwab@redhat.com>
14010
14011 * include/dirent.h: Add libc_hidden_proto for scandirat and
14012 scandirat64. Don't declare __scandirat64.
14013 * dirent/scandirat.c: Add libc_hidden_def.
14014 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14015 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14016
6761ac04
DM
140172011-08-10 David S. Miller <davem@davemloft.net>
14018
14019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14020 enum.
14021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14024
c55fbd1e
UD
140252011-08-09 Ulrich Drepper <drepper@gmail.com>
14026
14027 * Versions.def [libc]: Add GLIBC_2.15.
14028 * dirent/Makefile (routines): Add scandirat and scandirat64.
14029 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14030 GLIBC_2.15.
14031 * dirent/dirent.h: Declare scandirat and scandirat64.
14032 * dirent/scandirat.c: New file.
14033 * dirent/scandirat64.c: New file.
14034 * sysdeps/wordsize-64/scandirat.c: New file.
14035 * sysdeps/wordsize-64/scandirat64.c: New file.
14036 * dirent/opendir.c: Define opendirat.
14037 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14038 using scandirat.
14039 * dirent/scandir64.c: Adjust for scandir.c change.
14040 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14041 __scandirat64, and __scandir_cancel_handler.
14042 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14043 additional parameter and use openat instead of open (outside of ld.so).
14044 Add new __opendir as wrapper around __opendirat.
14045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14046 here without requiring old scandirat implementation.
14047
879165f2
UD
140482011-08-08 Ulrich Drepper <drepper@gmail.com>
14049
14050 * dirent/scandir.c (cancel_handler): Renamed to
14051 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14052 defined. Adjust users.
14053 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14055
cb7e923b
UD
140562011-08-04 Ulrich Drepper <drepper@gmail.com>
14057
16292edd
UD
14058 * string/test-string.h (IMPL): Use __STRING to expand name and then
14059 stringify it.
14060
cb7e923b
UD
14061 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14062 of cleanups.
14063
cff82933
LD
140642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14065
14066 * string/Makefile: Update.
14067 (strop-tests): Append strncat.
14068 * string/test-wcscmp.c: New file.
14069 New comprehensive test for wcscmp.
14070 * string/test-strcmp.c: Update.
14071 (WIDE): New define.
14072
9be9bfcc
AS
140732011-07-22 Andreas Schwab <schwab@redhat.com>
14074
14075 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14076 line.
14077
2e96f1c7
AS
140782011-07-26 Andreas Schwab <schwab@redhat.com>
14079
14080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14081 encoding to ACE if AI_IDN.
14082
85188888
JJ
140832011-08-01 Jakub Jelinek <jakub@redhat.com>
14084
14085 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14086 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14087
5fa16e9b
LD
140882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14089
14090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14091 Fix overflow bug in strncat.
14092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14093
14094 * string/test-strncat.c: Update.
14095 Add new tests for checking overflow bugs.
14096
140972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14098
14099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14100 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14101 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14102 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14104 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14105 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14106 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14107 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14108
14109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14110 (USE_AS_STRCAT): Define.
14111 Add strcat and strncat support.
14112 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14113
8c1a459f
AS
141142011-07-25 Andreas Schwab <schwab@redhat.com>
14115
14116 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14117 __n bigger than INT_MAX+1.
14118 (__strncmp_g): Likewise.
14119
bba33c28
UD
141202011-07-23 Ulrich Drepper <drepper@gmail.com>
14121
798be72d
UD
14122 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14123 * libio/stido.h: Likewise.
14124
8accd4dc
UD
14125 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14126 (AF_NFC): Define.
14127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14128 (AF_NFC): Define.
14129
cbff0d96
UD
14130 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14133 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14135
9191c04a
UD
14136 [BZ #13021]
14137 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14138 installed.
14139
bba33c28
UD
14140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14141 typo.
14142 (_dl_x86_64_save_sse): Likewise.
14143
90f139dd
UD
141442011-07-22 Ulrich Drepper <drepper@gmail.com>
14145
1aae088a
UD
14146 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14147 OSXSAVE.
14148 (_dl_x86_64_save_sse): Likewise.
14149
8e2045f5
UD
14150 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14151
90f139dd
UD
14152 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14153
1d002f25
AS
141542011-07-21 Andreas Schwab <schwab@redhat.com>
14155
14156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14157 change.
14158 (_dl_x86_64_save_sse): Use correct AVX check.
14159
21137f89
UD
141602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14161
14162 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14163 bug in strncpy/strncat.
14164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14165
a65c0b7a
UD
141662011-07-21 Ulrich Drepper <drepper@gmail.com>
14167
14168 * string/tester.c (test_strcat): Add tests for different alignments
14169 of source and destination.
14170 (test_strncat): Likewise.
14171
6986b98a
UD
141722011-07-20 Ulrich Drepper <drepper@gmail.com>
14173
90bb2039
UD
14174 [BZ #12852]
14175 * posix/glob.c (glob): Check passed in values before using them in
14176 expressions to avoid some overflows.
14177 (glob_in_dir): Likewise.
14178
5644ef54
UD
14179 [BZ #13007]
14180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14181 check for AVX enablement so that we don't crash with old kernels and
14182 new hardware.
14183 * elf/tst-audit4.c: Add same checks here.
14184 * elf/tst-audit6.c: Likewise.
14185
14186 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14187
bfc9dc9b
AS
141882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14189
14190 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14191
702e64bb
UD
141922011-07-20 Ulrich Drepper <drepper@gmail.com>
14193
14194 * po/cs.po: Update from translation team.
14195 * po/bg.po: Likewise.
14196
295e904f
MP
141972011-07-12 Marek Polacek <mpolacek@redhat.com>
14198
14199 * misc/sys/cdefs.h: Add support for const attribute.
14200 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14201 to gnu_dev_{major,minor,makedev} functions.
14202
3ff94596
MP
142032011-07-20 Marek Polacek <mpolacek@redhat.com>
14204
14205 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14206
28b59fca
AS
142072011-07-20 Andreas Schwab <schwab@redhat.com>
14208
14209 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14210 strlen results.
14211
19df733e
AK
142122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14213
14214 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14215 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14216 register in order to avoid conflicts with the soft frame pointer
14217 being held in r11 when necessary.
14218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14219 (INTERNAL_VSYSCALL_NCS): Likewise.
14220
c8835729
MP
142212011-07-14 Marek Polacek <mpolacek@redhat.com>
14222
14223 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14224 * elf/dl-fini.c (_dl_fini): Adjust caller.
14225 * elf/dl-close.c (_dl_close_worker): Likewise.
14226 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14227
b902330c
MP
142282011-07-15 Marek Polacek <mpolacek@redhat.com>
14229
8991e135
MP
14230 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14231 "aux_cache->nlibs < 0".
14232
b902330c
MP
14233 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14234 in the reload-count case.
14235
99710781
LD
142362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14237
14238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14239 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14240 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14241 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14242 * sysdeps/x86_64/multiarch/strcat.S: New file.
14243 * sysdeps/x86_64/multiarch/strncat.S: New file.
14244 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14245 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14246 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14247 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14249 (USE_AS_STRCAT): Define.
14250 Add strcat and strncat support.
14251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14253 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14254 * string/strncat.c: Update.
14255 (USE_AS_STRNCAT): Define.
14256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14257 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14258 and i7.
14259 * sysdeps/x86_64/multiarch/init-arch.h
14260 (bit_Prefer_PMINUB_for_stringop): New.
14261 (index_Prefer_PMINUB_for_stringop): Likewise.
14262 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14263 bit_Prefer_PMINUB_for_stringop.
14264
7dc6bd90
UD
142652011-07-19 Ulrich Drepper <drepper@gmail.com>
14266
14267 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14268 buffer64.
14269 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14270 of casting of buffer.
14271 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14272 buffer32 and buffer64.
14273 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14274 writes instead of casting of buffer.
14275 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14276 buffer32.
14277 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14278 casting of buffer.
14279
e0e72284
AS
142802011-07-19 Andreas Schwab <schwab@redhat.com>
14281
14282 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14283
feb1eb0b
UD
142842011-07-19 Ulrich Drepper <drepper@gmail.com>
14285
14286 * nscd/nscd.c (termination_handler): Don't do anything for a database
14287 if it has not yet been initialized.
14288
298711ff
UD
142892011-07-18 Ulrich Drepper <drepper@gmail.com>
14290
14291 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14292
142932011-07-15 Marek Polacek <mpolacek@redhat.com>
14294
14295 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14296
f9d68389
UD
142972011-07-18 Ulrich Drepper <drepper@gmail.com>
14298
14299 * po/nl.po: Update from translation team.
14300 * po/sv.po: Likewise.
14301
db290cf5
RM
143022011-07-16 Roland McGrath <roland@hack.frob.com>
14303
14304 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14305 now disallowed by GCC.
5c550700 14306
fd5e21c7
RM
14307 * configure.in (use-default-link): Default to yes if a test -shared
14308 link meets our qualifications.
14309 * configure: Regenerated.
14310
5c550700
RM
14311 * config.make.in (output-format): New variable.
14312 * configure.in: Check for ld --print-output-format support.
14313 * configure: Regenerated.
14314 * Makerules ($(common-objpfx)format.lds)
14315 [$(output-format) != unknown]: Just use $(output-format),
14316 instead of the linker-script munging.
14317
9fa2c032
RM
143182011-07-14 Roland McGrath <roland@hack.frob.com>
14319
a6928d51
RM
14320 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14321 of $(common-objpfx)shlib.lds.
14322 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14323
661607b3
RM
14324 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14325 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14326
9fa2c032
RM
14327 * configure.in (-z relro check): Adjust test code to add a large
14328 writable data section after it.
14329 * configure: Regenerated.
14330
defe9061
RM
143312011-07-11 Roland McGrath <roland@hack.frob.com>
14332
14333 * configure.in (-z relro check): Fix test code to make the variable
14334 truly const.
14335 * configure: Regenerated.
14336
319b9ad4
UD
143372011-07-11 Ulrich Drepper <drepper@gmail.com>
14338
14339 * nscd/nscd.h (struct traced_file): Define.
14340 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14341 elements. Add traced_files.
14342 (inotify_fd): Declare.
14343 (register_traced_file): Declare.
14344 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14345 (inotify_fd): Export.
14346 (resolv_conf_descr): Remove.
14347 (nscd_init): Move inotify descriptor creation to main.
14348 Don't register files for notification here.
14349 (register_traced_file): New function.
14350 (invalidate_cache): Don't use reset_res to determine whether to call
14351 res_init, go through the list of registered files.
14352 (main_loop_poll): The inotify descriptors are now stored in the
14353 structures for the traced files.
14354 (main_loop_epoll): Likewise
14355 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14356 to __nss_disable_nscd.
14357 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14358 for a database anymore. Check the records for all the registered
14359 files instead.
14360 * nss/Makefile (libnss_files-routines): Add files-init.
14361 (libnss_db-routines): Add db-init.
14362 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14363 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14364 * nss/nss_db/db-init.c: New file.
14365 * nss/nss_files/files-init.c: New file.
14366 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14367 __nss_lookup_function.
14368 (__nss_lookup_function): Call nss_load_library.
14369 (nss_load_all_libraries): New function.
14370 (__nss_disable_nscd): Take parameter with callback function for files
14371 to register. Set is_nscd. Load all the DSOs for the NSS modules
14372 used for the cached services.
14373 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14374 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14375 options for features to all the files in nscd.
14376
14377 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14378
23bee3e8
RM
143792011-07-10 Roland McGrath <roland@hack.frob.com>
14380
14381 * csu/elf-init.c (__libc_csu_init): Comment typo.
14382
46a5b7f0
UD
143832011-07-09 Ulrich Drepper <drepper@gmail.com>
14384
14385 * po/pl.po: Update from translation team.
14386 * po/ja.po: Likewise.
14387 * po/ru.po: Likewise.
14388 * po/ko.po: Likewise.
14389 * po/fr.po: Likewise.
14390
d30cf5bb
RM
143912011-07-09 Roland McGrath <roland@hack.frob.com>
14392
113ddea4
RM
14393 * configure.in (.ctors/.dtors header and trailer check):
14394 Use an empirical test on a built program.
14395 * configure: Regenerated.
14396
574920b4
RM
14397 * configure.in (-z relro check): Use an empirical test on a built DSO.
14398 Detect, but do not require, on ia64.
14399 * configure: Regenerated.
14400
d30cf5bb
RM
14401 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14402 Update tests that use readelf to use $READELF instead.
14403 * configure: Regenerated.
14404
8538fdb3
UD
144052011-07-08 Ulrich Drepper <drepper@gmail.com>
14406
14407 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14408 if the result is not used.
14409
04d08991
AJ
144102011-07-05 Andreas Jaeger <aj@suse.de>
14411
14412 [BZ#9696]
14413 * stdlib/tst-strtod.c: Add testcase.
14414
de283087
AD
144152011-07-07 Ulrich Drepper <drepper@gmail.com>
14416
4e5f31c8 14417 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14418 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14419 The latter has a higher limit. Take additional parameter to pass to
14420 the new function.
14421 (__pathconf): Pass file to __statfs_link_max.
14422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14423 __statfs_link_max.
14424 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14425 __statfs_link_max.
14426
de283087
AD
14427 [BZ #12868]
14428 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14430 Handle Lustre.
14431 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14432 (__statfs_filesize_max): Likewise.
14433 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14434
c75fa153
AJ
144352011-07-05 Andreas Jaeger <aj@suse.de>
14436
14437 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14438
1a544854
UD
144392011-07-06 Marek Polacek <mpolacek@redhat.com>
14440
14441 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14442 `status' variable.
14443 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14444 Likewise.
14445
6f0eec67
UD
144462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14447
14448 * Makefile (strop-tests): Add strncat.
14449 * string/test-strncat.c: New file.
14450
aae30307
UD
144512011-06-30 Marek Polacek <mpolacek@redhat.com>
14452
14453 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14454
c0cfb5eb
UD
144552011-06-21 Andreas Jaeger <aj@suse.de>
14456
14457 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14458 Copy rule from iconvdata/Makefile.
14459
01636b21
UD
144602011-07-06 Ulrich Drepper <drepper@gmail.com>
14461
14462 [BZ #12922]
14463 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14464 but no long options are defined, just return 'W'.
14465
9895c8bc
UD
144662011-06-22 Marek Polacek <mpolacek@redhat.com>
14467
14468 [BZ #9696]
14469 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14470
5d4cf042
UD
144712011-07-06 Ulrich Drepper <drepper@gmail.com>
14472
14473 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14474 netgroups to read.
960e5535 14475 (innetgr): Likewise.
5d4cf042 14476
751eb97e
RM
144772011-07-05 Roland McGrath <roland@hack.frob.com>
14478
14479 * config.make.in (install_root): Default to $(DESTDIR).
14480
f15f1e45
UD
144812011-07-05 Ulrich Drepper <drepper@gmail.com>
14482
14483 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14484
4e34ac6a
RM
144852011-07-02 Roland McGrath <roland@hack.frob.com>
14486
5e9b6af4
RM
14487 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14488
84f9ea0f
RM
14489 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14490 containing directory rather than embedding absolute directory names.
14491
ea5ee9f7
RM
14492 * scripts/check-local-headers.sh: Rewritten using awk.
14493 Match by word, not by line. Print error messages for matches.
14494 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14495
1b74661a
RM
14496 * Makerules [shlib-lds-flags empty]:
14497 ($(common-objpfx)libc_pic.opts): New target.
14498 ($(common-objpfx)libc_pic.os.clean): New target.
14499 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14500
14501 * config.make.in (OBJCOPY): New variable.
14502 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14503 * configure: Regenerated.
14504
f781ef40
RM
14505 * config.make.in (use-default-link): New variable.
14506 * configure.in (use_default_link): Grok --with-default-link to set it.
14507 * configure: Regenerated.
14508 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14509 (shlib-lds, shlib-lds-flags): Define to empty.
14510
2d4fa81e
RM
14511 * Makerules (shlib-lds): New variable.
14512 (shlib-lds-flags): New variable.
14513 (build-shlib, build-moduile, build-module-asneeded): Use it.
14514 ($(common-objpfx)libc.so): Use $(shlib-lds).
14515 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14516 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14517
31fffa6b
RM
14518 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14519 DT_FLAGS/DT_FLAGS_1 with zero flags.
14520
4e34ac6a
RM
14521 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14522 linker script munging.
14523
fcfc776b
UD
145242011-07-02 Ulrich Drepper <drepper@gmail.com>
14525
14526 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14527 as 128-bit value.
14528 * crypt/sha512.c (sha512_process_block): Perform total addition using
14529 128-bit if possible.
14530 (__sha512_finish_ctx): Likewise.
14531 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14532 as 64-bit value.
14533 * crypt/sha256.c (SWAP64): Define.
14534 (sha256_process_block): Perform total addition using 64-bit if
14535 possible.
14536 (__sha256_finish_ctx): Likewise.
14537
99231d9a
UD
145382011-07-01 Ulrich Drepper <drepper@gmail.com>
14539
14540 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14542 * nscd/hstcache.c (cache_addhst): Likewise.
14543 * nscd/grpcache.c (cache_addgr): Likewise.
14544 * nscd/aicache.c (addhstaiX): Likewise
14545 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14546
445b4a53
TK
145472011-07-01 Thorsten Kukuk <kukuk@suse.de>
14548
14549 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14551 * nscd/hstcache.c (cache_addhst): Likewise.
14552 * nscd/grpcache.c (cache_addgr): Likewise.
14553 * nscd/aicache.c (addhstaiX): Likewise
14554
6d4d8e8e
AS
145552011-07-01 Andreas Schwab <schwab@redhat.com>
14556
14557 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14558 domain only when needed.
14559
89f654c5
AS
145602011-06-30 Andreas Schwab <schwab@redhat.com>
14561
14562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14563 is always restored.
14564
cf3b23ff
UD
145652011-06-29 Ulrich Drepper <drepper@gmail.com>
14566
14567 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14568 are re-adding the entry.
14569 * nscd/servicescache.c (cache_addserv): Likewise.
14570
751626f9
AJ
145712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14572
14573 * sysdeps/generic/dl-irel.h: fix protection against multiple
14574 inclusions.
14575 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14576
9113ea1f
UD
145772011-06-28 Ulrich Drepper <drepper@gmail.com>
14578
5c0b8d90
UD
14579 [BZ #12935]
14580 * malloc/memusage.sh: Fix quoting in message.
14581 * debug/xtrace.sh: Likewise.
14582
9113ea1f
UD
14583 * configure.in: Remove support for --experimental-malloc option, make
14584 it the default.
14585 * config.make.in: Likewise.
14586 * malloc/Makefile: Likewise.
14587
a4172181
AS
145882011-06-27 Andreas Schwab <schwab@redhat.com>
14589
14590 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14591 two-byte characters.
14592
78a7eee7
RM
145932011-06-27 Roland McGrath <roland@hack.frob.com>
14594
62bede13
RM
14595 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14596 AC_CACHE_CHECK invocation.
14597 * configure: Regenerated.
14598
78a7eee7
RM
14599 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14600
5ce33a62
UD
146012011-06-27 Ulrich Drepper <drepper@gmail.com>
14602
034807a9
UD
14603 [BZ #12350]
14604 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14605 bit from old_res_options.
14606
4902da17
UD
14607 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14608
5ce33a62
UD
14609 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14610 value type for setfct.
14611
c2344f56
L
146122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14613
14614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14615 __gettimeofday instead of gettimeofday.
14616
68468076
UD
146172011-06-26 Ulrich Drepper <drepper@gmail.com>
14618
14619 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14620
acb0d739
L
146212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14622
14623 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14624
14625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14626 info.
14627
8912479f
L
146282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14629
14630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14631 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14632 strcpy-sse2-unaligned strncpy-sse2-unaligned
14633 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14634 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14635 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14636 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14637 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14640 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14641 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14642 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14643 (STRCPY): Support SSE2 and SSSE3 versions.
14644
d5495a11
UD
146452011-06-24 Ulrich Drepper <drepper@gmail.com>
14646
14647 [BZ #12874]
14648 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14649 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14650 kernels which artificially limit size of requests.
14651
0b1cbaae
L
146522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14655 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14656 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14657 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14658 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14659 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14660 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14661 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14662 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14664 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14665 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14666 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14667 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14668 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14670 Enable unaligned load optimization for Intel Core i3, i5 and i7
14671 processors.
14672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14673 Define.
14674 (index_Fast_Unaligned_Load): Define.
14675 (HAS_FAST_UNALIGNED_LOAD): Define.
14676
07f494a0
MP
146772011-06-23 Marek Polacek <mpolacek@redhat.com>
14678
14679 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14680
fa3fc0fe
UD
146812011-06-22 Ulrich Drepper <drepper@gmail.com>
14682
14683 [BZ #12907]
14684 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14685 until it is clear that the information is realy needed.
14686 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14687
e12df166
AS
146882011-06-22 Andreas Schwab <schwab@redhat.com>
14689
14690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14691
852eb34d
UD
146922011-06-22 Ulrich Drepper <drepper@gmail.com>
14693
84e2a551
UD
14694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14695 /sys/devices/system/cpu/online if it is usable.
14696
852eb34d
UD
14697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14698 reading the information from the /proc filesystem to once a second.
14699
6e502e19
UD
147002011-06-21 Andreas Jaeger <aj@suse.de>
14701
14702 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14703 NULL after inclusion of kernel headers.
14704
75d39ff2
UD
147052011-06-21 Ulrich Drepper <drepper@gmail.com>
14706
51f9aa6a
UD
14707 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14708 calls to internal_setent.
14709
c0244a9d
UD
14710 [BZ #12885]
14711 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14712 addresses using gethostbyname4_r ignore IPv4 addresses.
14713
c5e3c2ae
UD
14714 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14715 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14716
75d39ff2
UD
14717 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14718
42675c6f
DM
147192011-06-20 David S. Miller <davem@davemloft.net>
14720
14721 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14722 inclusions.
14723 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14724
14725 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14726 (elf_irel): Use it.
14727 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14728 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14729 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14730 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14731 * sysdeps/x86_64/dl-irel.h: Likewise.
14732
14733 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14734 * elf/dl-sym.c: Likewise.
14735
57912a71
UD
147362011-06-15 Ulrich Drepper <drepper@gmail.com>
14737
14738 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14739 need to dereference resplen2.
14740
ee22793d
AS
147412011-06-14 Andreas Schwab <schwab@redhat.com>
14742
14743 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14744
a9e836b0
UD
147452011-06-15 Ulrich Drepper <drepper@gmail.com>
14746
77fb9117
UD
14747 * Makeconfig: Define vardbdir and inst_vardbdir.
14748 * nss/Makefile: Add rules to install db-Makefile.
14749
40c1b22c
UD
14750 * nss/nss_db/db-XXX.c: Cleanup.
14751
9f2da732
UD
14752 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14753 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14754 GLIBC_PRIVATE.
14755 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14756 * nss/makedb.c: Implement -g option to specify that value strings
14757 are generated and should not be added to table iterated over for
14758 get*ent calls.
14759 * nss/nss_db/db-initgroups.c: New file.
14760
82e9a1f7
UD
14761 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14762 interface.
14763
c41af17e
UD
14764 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14765 (internal_getgrouplist): Adjust to name change.
14766 Update use_initgroups_entry if this is not the first call.
14767 * nss/databases.def: Add initgroups entry.
14768
a9e836b0
UD
14769 * nss/makedb.c (compute_tables): Check result of multiple hash table
14770 sizes to minimize maximum chain length.
14771
2666d441
UD
147722011-06-14 Ulrich Drepper <drepper@gmail.com>
14773
14774 * Versions.def: Add entry for libnss_db.
14775 * shlib-versions: Likewise.
14776 * nss/Makefile: Add rules to build libnss_db.
14777 * nss/Versions: Add libnss_db information. Organize libnss_files
14778 entries better.
14779 * nss/db-Makefile: Add gshadow support. Change rules for the new
14780 makedb progra. Some minor improvements to generate smaller files.
14781 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14782 here from...
14783 * nss/makedb.c: ...here.
14784 Improve database format to be smaller and require less memory at
14785 runtime.
14786 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14787 db anymore.
14788 * nss/nss_db/db-netgrp.c: Likewise.
14789 * nss/nss_db/db-open.c: Likewise.
14790 * nss/nss_files/flies-XXX.x: Adjust comments.
14791 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14792 * nss/nss_files/files-grp.c: Likewise.
14793 * nss/nss_files/files-hosts.c: Likewise.
14794 * nss/nss_files/files-network.c: Likewise.
14795 * nss/nss_files/files-proto.c: Likewise.
14796 * nss/nss_files/files-pwd.c: Likewise.
14797 * nss/nss_files/files-rpc.c: Likewise.
14798 * nss/nss_files/files-service.c: Likewise.
14799 * nss/nss_files/files-sgrp.c: Likewise.
14800 * nss/nss_files/files-spwd.c: Likewise.
14801 * nss/nss_db/db-alias.c: Removed.
14802 * nss/nss_db/dummy-db.h: Removed.
14803
9ee76b5a
UD
148042011-06-02 Ulrich Drepper <drepper@gmail.com>
14805
14806 * nss/makedb.c: Rewritten to not use database library.
14807 * nss/Makefile: Update to build new makedb program.
14808
c71ca1f8
AJ
148092011-06-14 Andreas Jaeger <aj@suse.de>
14810
14811 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14812 memset declaration.
14813
3154bfb8
UD
148142011-06-10 Andreas Schwab <schwab@redhat.com>
14815
14816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14817 tmpbuf.
14818
b350afab
RM
148192011-06-10 Roland McGrath <roland@hack.frob.com>
14820
decd4e50
RM
14821 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14822 * elf/Makefile ($(objpfx)ld.so): Likewise.
14823
5615eaf2
RM
14824 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14825 Don't list ld.so twice in dependencies.
14826
14827 * posix/bug-regex31.c: Include <stdlib.h>.
14828
14829 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14830
14831 * nis/nss_compat/compat-spwd.c
14832 (getspent_next_nss_netgr): Remove unused variable.
14833 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14834
14835 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14836 nonmembers" output to use the right array.
14837
14838 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14839
14840 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14841
14842 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14843 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14844 * catgets/gencat.c (read_input_file): Likewise.
14845 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14846
14847 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14848 variable definition inside #if's controlling its use.
14849
14850 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14851
14852 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14853
14854 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14855
14856 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14857 unreachable code.
14858
14859 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14860
b68e08db
RM
14861 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14862 * configure: Regenerated.
14863
b350afab
RM
14864 * Makerules: Revert last change.
14865 * elf/Makefile: Likewise.
14866
28368601
RM
148672011-06-09 Roland McGrath <roland@hack.frob.com>
14868
14869 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14870 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14871 (reloc-link): Likewise.
14872
11988f8f
UD
148732011-06-09 Ulrich Drepper <drepper@gmail.com>
14874
14875 * elf/Makefile: Add rules to build pldd.
14876 * elf/pldd.c: New file.
14877 * elf/pldd-xx.c: New file.
14878
e80fab37
UD
148792011-06-07 Ulrich Drepper <drepper@gmail.com>
14880
14881 * version.h: Update for 2.15 development version.
14882
9b849836
DM
148832011-06-07 David S. Miller <davem@davemloft.net>
14884
14885 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14886 ifuncs.
14887 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14888 elf_machine_lazy_rel): Likewise.
14889 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14891 elf_machine_lazy_rel): Likewise.
14892 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14893 dl_hwcap via passed in argument.
14894 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14895 Likewise.
14896
5a31b283
AK
148972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14898
14899 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14900
069e52f8
RM
149012011-06-06 Roland McGrath <roland@hack.frob.com>
14902
14903 [BZ #12849]
14904 * manual/fdl-1.1.texi: New file, verbatim from:
14905 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14906 * manual/lgpl-2.1.texi: New file, verbatim from:
14907 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14908 * manual/Makefile (licenses): New variable, list those new file names.
14909 (texis): Use it.
14910 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14911
14912 * manual/fdl.texi: File removed.
14913 * manual/lesser.texi: File removed.
14914 * manual/libc.texinfo (Copying, Documentation License):
14915 Use new @include file names, put @appendix directive before @include.
14916
f16846a5
JJ
149172011-06-04 Jakub Jelinek <jakub@redhat.com>
14918
14919 [BZ #12841]
14920 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14921 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14922 (mq_open): Add __NTH.
14923
3d29045b
L
149242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14925
14926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14927 Assume Intel Core i3/i5/i7 processor if AVX is available.
14928
8c297311
UD
149292011-05-31 Ulrich Drepper <drepper@gmail.com>
14930
14931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14932 typo.
14933
c8fc0c91
UD
149342011-05-31 Andreas Schwab <schwab@redhat.com>
14935
14936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14937 memory. Use alloca_account. Fix memory leak when retrying.
14938
5b27a807
UD
149392011-05-31 Ulrich Drepper <drepper@gmail.com>
14940
356f8bc6
UD
14941 * version.h (RELEASE): Bump for 2.14 release.
14942 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14943
5b27a807
UD
14944 * config.make.in (RANLIB): Remove entry.
14945
01f16ab0
UD
149462011-05-30 Ulrich Drepper <drepper@gmail.com>
14947
41fce8bd
UD
14948 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14949 (libc.pot): Work around missing support for .ksh extension in xgettext.
14950
4769ae77
UD
14951 [BZ #12684]
14952 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14953 if both request failed.
14954 (send_dg): In case of server errors clear resplen or *resplen2.
14955
6b1e7d19
UD
14956 [BZ #12454]
14957 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14958 when there are multiple maps.
14959 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14960 (_dl_fini): Remove test here.
14961
01f16ab0
UD
14962 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14963
b1ebd700
UD
149642011-05-29 Ulrich Drepper <drepper@gmail.com>
14965
7ae22829
UD
14966 [BZ #12350]
14967 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14968 bit from old_res_options.
14969 (gaih_inet): Likewise.
14970
553149f6 14971 [BZ #11099]
18a84741 14972 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14973 as signed.
14974
652ffab1
UD
14975 * resolv/res_init.c (res_setoptions): Make the code more compact.
14976
16985fd0
UD
14977 [BZ #11558]
14978 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14979 set RES_USEVC.
14980
0464f746
UD
14981 [BZ #11634]
14982 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14983
7d17596c
UD
14984 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14985
cf6bbbd7
UD
14986 [BZ #11781]
14987 * malloc/malloc.h: Declare malloc hook variables as volatile.
14988
13f1ab36
UD
14989 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14990 in last patch.
14991
b1ebd700
UD
14992 [BZ #11799]
14993 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14994 raise in the comment.
80e2212d
UD
14995 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14996 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14997 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14998
ce67228d
UD
149992011-05-28 Ulrich Drepper <drepper@gmail.com>
15000
8887a920
UD
15001 [BZ #12811]
15002 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15003 grow the buffers more if it already has to be sufficient.
15004 (build_wcs_upper_buffer): Likewise.
15005 * posix/regexec.c (check_matching): Likewise.
15006 (clean_state_log_if_needed): Likewise.
15007 (extend_buffers): Don't enlarge buffers beyond size of the input
15008 buffer.
15009 Patches mostly by Emil Wojak <emil@wojak.eu>.
15010 * posix/bug-regex32.c: New file.
15011 * posix/Makefile (tests): Add bug-regex32.
15012
4f031072
UD
15013 * locale/findlocale.c (_nl_find_locale): Return right away if
15014 _nl_explode_name failed.
15015 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15016
d0478f0c
UD
15017 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15018
de81b246
UD
15019 * debug/xtrace.sh: Unify messages.
15020 * malloc/memusage.sh: Likewise.
15021
c738465a
UD
15022 [BZ #12813]
15023 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15024 time symbol from vDSO. Substitute with vsyscall if not available.
15025 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15026 __vdso_time.
15027
f1f929d7
UD
15028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15029 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15030 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15031 Add sendmmsg and internal_sendmmsg.
15032 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15033 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15035
ce67228d
UD
15036 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15037 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15038 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15039
e57420c6
UD
150402011-05-27 Ulrich Drepper <drepper@gmail.com>
15041
a8509ca5
UD
15042 [BZ #12813]
15043 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15044 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15045 available.
15046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15047 __vdso_getcpu.
15048
e57420c6
UD
15049 [BZ #12814]
15050 * iconvdata/Makefile (tests): Add bug-iconv9.
15051 * iconvdata/bug-iconv9.c: New file.
15052
4d07db15
AS
150532011-05-27 Andreas Schwab <schwab@redhat.com>
15054
15055 [BZ #12814]
15056 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15057
ea486f69
JJ
150582011-05-25 Jakub Jelinek <jakub@redhat.com>
15059
15060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15061 (struct user_regs_struct): Change intcs field back to cs.
15062
6f038433
UD
150632011-05-25 Ulrich Drepper <drepper@gmail.com>
15064
15065 * po/ja.po: Update from translation team.
15066
67f86a25
UD
150672011-05-23 Ulrich Drepper <drepper@gmail.com>
15068
15069 [BZ #12795]
15070 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15071 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15072
def7fbd6
AS
150732011-05-20 Andreas Schwab <schwab@redhat.com>
15074
15075 * stdlib/longlong.h: Update from GCC.
15076
f50ef8f1
AS
150772011-05-23 Andreas Schwab <schwab@redhat.com>
15078
15079 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15080 parameter name.
15081 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15082 Add parameter name.
15083 (__sysconf): Pass it down.
15084
de7ce8f1
UD
150852011-05-22 Ulrich Drepper <drepper@gmail.com>
15086
f2962a71
UD
15087 [BZ #12671]
15088 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15089 some situations.
15090 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15091 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15092 add in in __libc_use_alloca calls. Adjust callers.
15093 (glob): Use malloc in some situations.
15094
de7ce8f1
UD
15095 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15096 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15097 pltexit.
15098
aec84f53
UD
150992011-05-21 Ulrich Drepper <drepper@gmail.com>
15100
05bb4a68
UD
15101 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15102 and CLOCK_BOOTTIME_ALARM.
15103
7ea72f99
UD
15104 [BZ #12782]
15105 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15106 is returned.
15107
7e4afad5
UD
15108 * string/_strerror.c (__strerror_r): Print negative errors as signed
15109 numbers.
15110
8e211fec
UD
15111 [BZ #12777]
15112 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15113 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15114 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15115
f7d82dc9
UD
15116 * configure.in: Fix typo in redirection and correct removal of test
15117 files in two cases.
15118
cc9e536d
UD
15119 [BZ #12788]
15120 * locale/setlocale.c (new_composite_name): Fix test to check for
15121 identical name of all categories.
15122
aec84f53
UD
15123 [BZ #12792]
15124 * libio/filedoalloc.c (local_isatty): New function.
15125 (_IO_file_doallocate): Use local_isatty.
15126 * stdio-common/perror.c (perror): In case a new stream is used
15127 forward the stream error.
15128 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15129 error flag.
15130
78e64fdc
RT
151312011-05-20 Ulrich Drepper <drepper@gmail.com>
15132
34a9094f
UD
15133 [BZ #11869]
15134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15135 alloca.
15136 * include/alloca.h (extend_alloca_account): Define.
15137
78e64fdc
RT
15138 [BZ #11857]
15139 * posix/regex.h: Fix comments with documentation of user-accessible
15140 fields after compilation and describe correct free'ing of pattern
15141 after re_compile_pattern.
15142 Patch by Reuben Thomas <rrt@sc3d.org>.
15143
457bddfc
RA
151442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15145
15146 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15147 and -mno-altivec to prevent the compiler from using Altivec and/or
15148 VSX instructions when the corresponding registers are not available.
15149
a4527b51
AS
151502011-05-19 Andreas Schwab <schwab@redhat.com>
15151
15152 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15153
ed690b2f
UD
151542011-05-19 Ulrich Drepper <drepper@gmail.com>
15155
15156 * libio/freopen.c (freopen): Use __dup2, not dup2.
15157 * libio/freopen64.c (freopen64): Likewise.
15158
8db73634
L
151592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15160
15161 [BZ #12775]
15162 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15163 * math/Makefile (tests): Add test-powl.
15164 (CFLAGS-test-powl.c): Define.
15165 * math/test-powl.c: New file.
15166
0a197a9d
L
151672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15168
15169 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15170
ee30c380
UD
151712011-05-17 Ulrich Drepper <drepper@gmail.com>
15172
15173 [BZ #11837]
15174 * iconvdata/gb18030.c: Update to GB18020-2005.
15175
6ce75379
UD
151762011-05-16 Ulrich Drepper <drepper@gmail.com>
15177
a4b89fd8
AR
15178 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15179 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15180 Patch by Aharon Robbins <arnold@skeeve.com>.
15181
ea389b12
UD
15182 [BZ #11892]
15183 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15184 on the stack.
15185
68a3f91f
UD
15186 [BZ #11895]
15187 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15188 through underflows.
15189
15cc7dd1
UD
15190 [BZ #12766]
15191 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15192 point to strings before performing equality test for error_one_per_line
15193 mode.
15194
f3799213
UD
15195 [BZ #11697]
15196 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15197
d79a9c94
UD
15198 [BZ #11820]
15199 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15200 (struct user_fpregs_struct): Avoid __uint*_t types.
15201
56e5eb46
UD
15202 [BZ #6420]
15203 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15204 symbol info. Use it instead of calling _dl_addr locally.
15205 (lock_and_info): New function.
15206 (tr_freehook): Call lock_and_info and pass symbol info as additional
15207 parameter to tr_where.
15208 (tr_mallochook): Likewise.
15209 (tr_reallochook): Likewise.
15210 (tr_memalignhook): Likewise.
15211
6ce75379
UD
15212 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15213 used and couldn't be at all thread-safe.
15214
f8a3b5bf
UD
152152011-05-15 Ulrich Drepper <drepper@gmail.com>
15216
94b7cc37
UD
15217 * libio/freopen.c (freopen): Don't close old file descriptor
15218 before the new one is opened. Instead dup the new file descriptor
15219 to the old one after the new stream is created.
15220 * libio/freopen64.c (freopen64): Likewise.
15221 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15222 * libio/fileops.c (_IO_new_file_close_it): Handle new
15223 _IO_FLAGS2_NOCLOSE flag.
15224 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15225 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15226 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15227 _IO_FLAGS2_NOCLOSE flag.
15228 * include/unistd.h: Add hidden_proto for dup3.
15229 Define __have_dup3.
15230 * io/dup3.c: Define hidden symbol.
15231 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15232
bd25564e
UD
15233 [BZ #7101]
15234 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15235 when an incomplete long option is used.
15236 * posix/tst-getopt_long1.c: New file.
15237 * posix/Makefile (tests): Add tst-getopt_long1.
15238
c84cfef4
UD
15239 [BZ #10138]
15240 * scripts/config.guess: Update from autoconf-2.68.
15241 * scripts/config.sub: Likewise.
15242
3b85df27
UD
15243 [BZ #10157]
15244 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15245 tests into ...
15246 (has_cpuclock): ...this. New function.
15247 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15248 macro here based on has_cpuclock code.
15249
15a856b1
UD
15250 [BZ #10149]
15251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15252 First byte (not low byte) is now always NUL.
15253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15254
05f399e6
UD
15255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15256 Use non-cancelable interfaces.
15257
10a52685 15258 [BZ #9809]
94ecc67d
UD
15259 * locale/iso-639.def: Add entry for Sorani.
15260
f8a3b5bf
UD
15261 [BZ #11901]
15262 * include/stdlib.h: Move include protection to the right place.
15263 Define abort_msg_s. Declare __abort_msg with it.
15264 * stdlib/abort.c (__abort_msg): Adjust type.
15265 * assert/assert.c (__assert_fail_base): New function. Majority
15266 of code from __assert_fail. Allocate memory for __abort_msg with
15267 mmap.
15268 (__assert_fail): Now call __assert_fail_base.
15269 * assert/assert-perr.c: Remove bulk of implementation. Use
15270 __assert_fail_base.
15271 * include/assert.hL Declare __assert_fail_base.
15272 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15273 mmap.
15274 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15275
1af4e298
UD
152762011-05-14 Ulrich Drepper <drepper@gmail.com>
15277
f8a3b5bf 15278 [BZ #11952]
d26dfc60
MG
15279 [BZ #12453]
15280 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15281 until all modules are registered in the DTV.
15282 * elf/Makefile: Add rules to build and run tst-tls19.
15283 * elf/tst-tls19.c: New file.
15284 * elf/tst-tls19mod1.c: New file.
15285 * elf/tst-tls19mod2.c: New file.
15286 * elf/tst-tls19mod3.c: New file.
15287 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15288
2fc54d6f
UD
15289 [BZ #12083]
15290 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15291 correctly.
15292
98d76b46
UD
15293 [BZ #12601]
15294 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15295 two-byte sequence errors.
15296 * iconvdata/Makefile (tests): Add bug-iconv8.
15297 * iconvdata/bug-iconv8.c: New file.
15298
da3c19ef
UD
15299 [BZ #12626]
15300 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15301 buf2 definition.
15302
ca408c15
UD
15303 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15304
d6f67f7d
UD
15305 [BZ #12432]
15306 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15307 (dummy_getcfa): New function.
15308 (init): Get _Unwind_GetCFA address, use dummy if not found.
15309 (backtrace_helper): In recursion check, also check whether CFA changes.
15310 (__backtrace): Completely initialize arg.
15311
1af4e298 15312 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15313 storing incomplete byte sequence in state object. Avoid testing for
15314 guaranteed too small input if we know there is enough data available.
1af4e298 15315
da62f81b
AS
153162011-05-11 Andreas Schwab <schwab@redhat.com>
15317
15318 * Makeconfig (+link-pie): Indent.
15319 * Rules (binaries-pie): Define if $(have-fpie) and
15320 $(build-shared).
15321 (binaries-shared): Also filter out $(binaries-pie).
15322 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15323 * nscd/Makefile (others-pie): Add nscd.
15324 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15325 ($(objpfx)nscd): Remove command override.
15326 * login/Makefile (others-pie): Add pt_chown.
15327 ($(objpfx)pt_chown): Remove command override.
15328 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15329 remove command overrides.
15330
fcabc0f8
UD
153312011-05-13 Ulrich Drepper <drepper@gmail.com>
15332
20030ae6
UD
15333 * libio/tst_putwc.c: Fix error messages.
15334
fcabc0f8
UD
15335 [BZ #12724]
15336 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15337 currently writing and seek to current position when not.
15338 * libio/Makefile (tests): Add bug-fclose1.
15339 * libio/bug-fclose1.c: New file.
15340
320a5dc0
PB
153412011-05-12 Ulrich Drepper <drepper@gmail.com>
15342
15343 [BZ #12511]
15344 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15345 don't set DF_1_NODELETE here.
15346 (do_lookup_x): When entering new entry test for copy relocation
15347 and if necessary set DF_1_NODELETE flag.
15348 * elf/tst-unique4.cc: New file.
15349 * elf/tst-unique4.h: New file.
15350 * elf/tst-unique4lib.cc: New file.
15351 * elf/Makefile: Add rules to build and run tst-unique4.
15352 Patch by Piotr Bury <pbury@goahead.com>.
15353
22836f52
UD
153542011-05-11 Ulrich Drepper <drepper@gmail.com>
15355
f574184a
UD
15356 [BZ #12052]
15357 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15358
e1fb097f
UD
15359 [BZ #12625]
15360 * misc/mntent_r.c (addmntent): Flush the stream after the output
15361
22836f52
UD
15362 [BZ #12393]
15363 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15364 (is_trusted_path_normalize): Skip initial colon. Append slash
15365 to empty buffer. Duplicate is_trusted_path code but allow
15366 constructed patch to be prefix.
15367 (is_dst): Allow $ORIGIN followed by /.
15368 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15369 Correct testing of result of is_trusted_path_normalize
15370 (decompose_rpath): Fix warning.
15371
7b3b0b2a
UD
153722011-05-10 Ulrich Drepper <drepper@gmail.com>
15373
15374 [BZ #11257]
15375 * grp/initgroups.c (internal_getgrouplist): When we found the service
15376 list through the initgroups entry in nsswitch.conf do not always
15377 continue on a successful lookup. Don't always use the
eac80ce2 15378 __nss_group_database value if it is set.
7b3b0b2a
UD
15379 * nss/nsswitch.conf (initgroups): Change action for successful db
15380 lookup to continue for compatibility.
15381
2a81eaa5
UD
153822011-05-09 Ulrich Drepper <drepper@gmail.com>
15383
be97a69e
UD
15384 [BZ #11532]
15385 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15386 and CP774 modules.
15387 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15388 and CP774 modules.
15389 * iconvdata/tst-tables.sh: Likewise.
15390 * iconvdata/cp770.c: New file.
15391 * iconvdata/cp771.c: New file.
15392 * iconvdata/cp772.c: New file.
15393 * iconvdata/cp773.c: New file.
15394 * iconvdata/cp774.c: New file.
15395 * iconvdata/testdata/CP770: New file.
15396 * iconvdata/testdata/CP770..UTF8: New file.
15397 * iconvdata/testdata/CP771: New file.
15398 * iconvdata/testdata/CP771..UTF8: New file.
15399 * iconvdata/testdata/CP772: New file.
15400 * iconvdata/testdata/CP772..UTF8: New file.
15401 * iconvdata/testdata/CP773: New file.
15402 * iconvdata/testdata/CP773..UTF8: New file.
15403 * iconvdata/testdata/CP774: New file.
15404 * iconvdata/testdata/CP774..UTF8: New file.
15405
15406 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15407 END CHARMAP line.
15408 * iconvdata/gen-8bit-gap.sh: Likewise.
15409 * iconvdata/gen-8bit.sh: Likewise.
15410
c1e9e399
UD
15411 * locale/iso-639.def: Add ary entry.
15412
24c55fb3 15413 [BZ #11258]
96b4b1b0
UD
15414 * locale/C-translit.h.in: Add U20A1 transliteration.
15415
bdc2f971
KB
15416 [BZ #12178]
15417 * locale/iso-639.def: Add wae entry.
15418 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15419
2952b117
UD
15420 [BZ #12545]
15421 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15422 for n.
15423
2a81eaa5
UD
15424 [BZ #12711]
15425 * locale/C-translit.h.in: Add entry for U20B9.
15426 Patch by pravin.d.s@gmail.com.
15427
28377d1b
UD
154282011-05-08 Ulrich Drepper <drepper@gmail.com>
15429
7fb90fb8
UD
15430 [BZ #12713]
15431 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15432 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15433 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15434 in rtld. Use *stat64.
7fb90fb8 15435 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15436 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15437 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15438 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15439 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15440 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15441 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15442 __fstatat64 macros.
7fb90fb8
UD
15443 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15444 * dirent/rewinddir.c: Add libc_hidden_def.
15445 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15446 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15447
28377d1b
UD
15448 * include/dirent.h (__alloc_dir): Add flags parameter.
15449 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15450 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15451 __alloc_dir.
15452 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15453 from fdopendir if O_CLOEXEC is already set.
15454
66bdbaa4
AM
154552011-03-15 Alan Modra <amodra@gmail.com>
15456
15457 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15458 l_tls_firstbyte_offset non-zero. Save padding offset in
15459 l_tls_firstbyte_offset for later use.
15460 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15461 freeing static tls block.
15462
95721191
JN
154632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15464
15465 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15466 where #ifdef was intended. The intent is to prevent ARG_MAX from
15467 being defined by the kernel headers.
15468
f87dfb1f
UD
154692011-05-07 Ulrich Drepper <drepper@gmail.com>
15470
15471 [BZ #12734]
15472 * resolv/resolv.h: Define RES_NOTLDQUERY.
15473 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15474 no-tld-query and set RES_NOTLDQUERY.
15475 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15476 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15477 modern BIND to search name as TLD unless forbidden.
15478
47c3cd7a
UD
154792011-05-07 Petr Baudis <pasky@suse.cz>
15480 Ulrich Drepper <drepper@gmail.com>
15481
15482 [BZ #12393]
15483 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15484 (is_trusted_path): ...to here.
c1e9ea35 15485 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15486 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15487 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15488
8a35c912
PP
154892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15490
15491 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15492 __BEGIN/__END_DECLS.
15493
acd41f47
UD
154942011-05-06 Ulrich Drepper <drepper@gmail.com>
15495
15496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15497 NSS_STATUS_NOTFOUND if no record was found.
15498
597df647
AS
154992011-05-05 Andreas Schwab <schwab@redhat.com>
15500
15501 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15502 (headers-not-in-tirpc): Remove rpc/netdb.h
15503 * resolv/netdb.h: Revert last change.
15504
b9af1301
PP
155052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15506
15507 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15508 circular dependency between libgcc.a and libc.a.
15509
4e34d5f5
AS
155102011-05-05 Andreas Schwab <schwab@redhat.com>
15511
15512 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15513 * nis/Makefile: Don't install rpcsvc/*.
15514 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15515 instead of <rpc/types.h>.
15516 (MAXHOSTNAMELEN): Define.
15517
00ee369c
AS
155182011-05-03 Andreas Schwab <schwab@redhat.com>
15519
15520 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15521
0b592a30
MB
155222011-04-28 Maciej Babinski <mbabinski@google.com>
15523
15524 [BZ #12714]
15525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15526 gethostbyname4_r when IPv6 results are possible.
15527
6e04cbbe
UD
155282011-05-02 Ulrich Drepper <drepper@gmail.com>
15529
15530 [BZ #12723]
15531 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15532 _PC_PIPE_BUF handling.
15533
e4ecafe0
BH
155342011-04-30 Bruno Haible <bruno@clisp.org>
15535
15536 [BZ #12717]
15537 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15538 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15539 to 'int'.
15540 * inet/getnameinfo.c (getnameinfo): Likewise.
15541
125ee683
UD
155422011-04-29 Ulrich Drepper <drepper@gmail.com>
15543
15544 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15545 to groups setting in database lookup.
15546 * nss/nsswitch.conf: Add initgroups entry.
15547
b722481a
EB
155482011-04-22 Ulrich Drepper <drepper@gmail.com>
15549
15550 [BZ #12685]
15551 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15552 mode string.
15553 Patch by Eric Blake <eblake@redhat.com>.
15554
4df46dbd
L
155552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15556
15557 * sunrpc/Makefile (need-export-routines): Add svc_run.
15558 (routines): Remove svc_run.
15559 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15560 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15561 * sunrpc/svc_run.c (svc_run): Likewise.
15562 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15563
e84142d2
UD
155642011-04-21 Ulrich Drepper <drepper@gmail.com>
15565
15566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15567 problem in reallocation in last patch.
15568
877175d8
UD
155692011-04-20 Ulrich Drepper <drepper@gmail.com>
15570
15571 * sunrpc/Makefile: Move inclusion of Rules.
15572
ab8eed78
UD
155732011-04-19 Ulrich Drepper <drepper@gmail.com>
15574
15575 * nss/nss_files/files-initgroups.c: New file.
15576 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15577 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15578 _nss_files_initgroups_dyn.
15579
e3d8f584
RS
155802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15581
15582 * elf/elf.h (R_ARM_IRELATIVE): Define.
15583
af190f45
UD
155842011-04-19 Ulrich Drepper <drepper@gmail.com>
15585
15586 * po/ru.po: Update from translation team.
15587
53cf59ef
UD
155882011-04-17 Ulrich Drepper <drepper@gmail.com>
15589
15590 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15591 dependencies.
15592
4c559bcd
MF
155932011-02-06 Mike Frysinger <vapier@gentoo.org>
15594
15595 [BZ #12653]
15596 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15597 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15600 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15601
4420675c
AS
156022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15603
15604 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15605 differing bytes.
15606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15609
75ea32ab
UD
156102011-04-17 Ulrich Drepper <drepper@gmail.com>
15611
15612 [BZ #12420]
15613 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15614 storing it.
15615 * stdlib/bug-getcontext.c: New file.
15616 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15617
27390476
AK
156182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15619
15620 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15621 instructions into .machine "z9-109".
15622 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15623 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15624
10442705
AK
156252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15626
15627 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15628 between environment variables and auxiliary vector.
15629
7b57bfe5
UD
156302011-04-16 Ulrich Drepper <drepper@gmail.com>
15631
15632 * Makefile: Add rules to build linkobj/libc.so.
15633 * include/libc-symbols.h: Define libc_hidden_nolink.
15634 * include/rpc/auth.h: Mark functions which are to be hidden.
15635 * include/rpc/auth_des.h: Likewise.
15636 * include/rpc/auth_unix.h: Likewise.
15637 * include/rpc/clnt.h: Likewise.
15638 * include/rpc/des_crypt.h: Likewise.
15639 * include/rpc/key_prot.h: Likewise.
15640 * include/rpc/pmap_clnt.h: Likewise.
15641 * include/rpc/pmap_prot.h: Likewise.
15642 * include/rpc/pmap_rmt.h: Likewise.
15643 * include/rpc/rpc_msg.h: Likewise.
15644 * include/rpc/svc.h: Likewise.
15645 * include/rpc/svc_auth.h: Likewise.
15646 * include/rpc/xdr.h: Likewise.
15647 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15648 * nss/Makefile: Likewise.
15649 * sunrpc/Makefile: Don't install headers. Build library with normal
15650 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15651 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15652 for the compat linking library. Remove use of INTDEF/INTUSE.
15653 * sunrpc/auth_none.c: Likewise.
15654 * sunrpc/auth_unix.c: Likewise.
15655 * sunrpc/authdes_prot.c: Likewise.
15656 * sunrpc/authuxprot.c: Likewise.
15657 * sunrpc/clnt_gen.c: Likewise.
15658 * sunrpc/clnt_perr.c: Likewise.
15659 * sunrpc/clnt_raw.c: Likewise.
15660 * sunrpc/clnt_simp.c: Likewise.
15661 * sunrpc/clnt_tcp.c: Likewise.
15662 * sunrpc/clnt_udp.c: Likewise.
15663 * sunrpc/clnt_unix.c: Likewise.
15664 * sunrpc/des_crypt.c: Likewise.
15665 * sunrpc/des_soft.c: Likewise.
15666 * sunrpc/get_myaddr.c: Likewise.
15667 * sunrpc/key_call.c: Likewise.
15668 * sunrpc/key_prot.c: Likewise.
15669 * sunrpc/netname.c: Likewise.
15670 * sunrpc/pm_getmaps.c: Likewise.
15671 * sunrpc/pm_getport.c: Likewise.
15672 * sunrpc/pmap_clnt.c: Likewise.
15673 * sunrpc/pmap_prot.c: Likewise.
15674 * sunrpc/pmap_prot2.c: Likewise.
15675 * sunrpc/pmap_rmt.c: Likewise.
15676 * sunrpc/publickey.c: Likewise.
15677 * sunrpc/rpc_cmsg.c: Likewise.
15678 * sunrpc/rpc_common.c: Likewise.
15679 * sunrpc/rpc_dtable.c: Likewise.
15680 * sunrpc/rpc_prot.c: Likewise.
15681 * sunrpc/rpc_thread.c: Likewise.
15682 * sunrpc/rtime.c: Likewise.
15683 * sunrpc/svc.c: Likewise.
15684 * sunrpc/svc_auth.c: Likewise.
15685 * sunrpc/svc_authux.c: Likewise.
15686 * sunrpc/svc_raw.c: Likewise.
15687 * sunrpc/svc_run.c: Likewise.
15688 * sunrpc/svc_simple.c: Likewise.
15689 * sunrpc/svc_tcp.c: Likewise.
15690 * sunrpc/svc_udp.c: Likewise.
15691 * sunrpc/svc_unix.c: Likewise.
15692 * sunrpc/svcauth_des.c: Likewise.
15693 * sunrpc/xcrypt.c: Likewise.
15694 * sunrpc/xdr.c: Likewise.
15695 * sunrpc/xdr_array.c: Likewise.
15696 * sunrpc/xdr_float.c: Likewise.
15697 * sunrpc/xdr_intXX_t.c: Likewise.
15698 * sunrpc/xdr_mem.c: Likewise.
15699 * sunrpc/xdr_rec.c: Likewise.
15700 * sunrpc/xdr_ref.c: Likewise.
15701 * sunrpc/xdr_sizeof.c: Likewise.
15702 * sunrpc/xdr_stdio.c: Likewise.
15703
e6c61494
UD
157042011-04-10 Ulrich Drepper <drepper@gmail.com>
15705
15706 [BZ #12650]
15707 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15708 * sysdeps/ia64/dl-tls.h: Likewise.
15709 * sysdeps/powerpc/dl-tls.h: Likewise.
15710 * sysdeps/s390/dl-tls.h: Likewise.
15711 * sysdeps/sh/dl-tls.h: Likewise.
15712 * sysdeps/sparc/dl-tls.h: Likewise.
15713 * sysdeps/x86_64/dl-tls.h: Likewise.
15714 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15715
34fe483e
AS
157162011-03-14 Andreas Schwab <schwab@redhat.com>
15717
15718 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15719 rpath element also skip the following colon.
15720 (expand_dynamic_string_token): Add is_path parameter and pass
15721 down to DL_DST_REQUIRED and _dl_dst_substitute.
15722 (decompose_rpath): Call expand_dynamic_string_token with
15723 non-zero is_path. Ignore empty rpaths.
15724 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15725 with zero is_path.
15726
f12a32e6
AS
157272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15728
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15730 Make cancelable.
15731
38a7d692
UD
157322011-04-09 Ulrich Drepper <drepper@gmail.com>
15733
15734 [BZ #12655]
15735 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15736 Patch by Filipe David Manana <fdmanana@apache.org>.
15737
e451d22b
AS
157382011-04-07 Andreas Schwab <schwab@redhat.com>
15739
15740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15741 Maintain aligned stack.
15742 (CHECK_RSP): Remove unused macro.
15743
dedc7c7b
UD
157442011-04-03 Ulrich Drepper <drepper@gmail.com>
15745
15746 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15747 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15748
94521213
UD
157492011-04-02 Ulrich Drepper <drepper@gmail.com>
15750
15751 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15752
8cb700c0 15753 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15754
0354e355
L
157552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15756
15757 [BZ #12518]
15758 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15759 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15760 * sysdeps/x86_64/memmove.c: New file.
15761 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15762 (memcpy): Renamed to ...
15763 (__new_memcpy): This.
15764 (memcpy): Provide GLIBC_2_14 memcpy.
15765 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15766 (memcpy): Provide GLIBC_2_2_5 memcpy.
15767
8593482f
UD
157682011-04-01 Ulrich Drepper <drepper@gmail.com>
15769
15770 [BZ #12631]
15771 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15772
81a5726b
AS
157732011-03-30 Andreas Schwab <schwab@redhat.com>
15774
15775 * misc/syncfs.c: New file.
15776 * misc/Makefile (routines): Add syncfs.
15777 * posix/unistd.h: Declare syncfs.
15778 * sysdeps/unix/syscalls.list: Add syncfs.
15779
00e5419f
AS
157802011-04-01 Andreas Schwab <schwab@redhat.com>
15781
15782 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15783 open_by_handle_at.
15784 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15785 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15789 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15791
748876bf
UD
157922011-04-01 Ulrich Drepper <drepper@gmail.com>
15793
658e451d
UD
15794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15796 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15801
748876bf
UD
15802 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15803 sync_file_range.c with -fexceptions.
15804 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15805 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15806 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15807 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15808 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15809 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15811 sync_file_range as cancellation point
15812 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15813 now a wrapper around __call_sync_file_range with cancellation handling.
15814 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15815 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15816 function name to __call_sync_file_range.
15817 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15818 Add call_sync_file_range.
748876bf 15819
6e63d5e1
AS
158202011-04-01 Andreas Schwab <schwab@redhat.com>
15821
15822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15823 bits/timex.h.
6e63d5e1 15824
46998f74
UD
158252011-04-01 Ulrich Drepper <drepper@gmail.com>
15826
4c1423ed
UD
15827 * iconv/iconv.h: Fix typo in comment.
15828 * io/fcntl.h: Likewise.
15829 * libio/stdio.h: Likewise.
15830 * posix/spawn.h: Likewise.
15831 * posix/unistd.h: Likewise.
15832 * stdlib/stdlib.h: Likewise.
15833 * time/time.h: Likewise.
15834 * wcsmbs/wchar.h: Likewise.
15835
158648c0
UD
15836 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15837 open_by_handle): Add.
15838 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15839 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15840 Augment a few comments.
15841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15845 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15846 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15847 open_by_handle.
15848
46998f74
UD
15849 * io/fcntl.h (AT_EMPTY_PATH): Define.
15850
83fe108b
UD
158512011-03-30 Ulrich Drepper <drepper@gmail.com>
15852
15853 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15854 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15855 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15856 to...
15857 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15858 * Versions.def: Add GLIBC_2.14.
15859 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15860 Export.
83fe108b 15861
bb242059
UD
158622011-03-22 Ulrich Drepper <drepper@gmail.com>
15863
15864 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15865 round counter.
15866 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15867
c97a1282
L
158682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15869
15870 [BZ #12597]
15871 * string/test-strncmp.c (do_page_test): New function.
15872 (check2): Likewise.
15873 (test_main): Call check2.
15874 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15875
2a115601
UD
158762011-03-20 Ulrich Drepper <drepper@gmail.com>
15877
15878 [BZ #12587]
15879 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15880 Handle cache information in CPU leaf 4.
15881 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15882
8126d904
UD
158832011-03-18 Ulrich Drepper <drepper@gmail.com>
15884
042c49c6 15885 [BZ #12583]
8126d904
UD
15886 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15887 character representation.
15888 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15889
ccfe366e
RA
158902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15891
15892 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15893 END(__isnan) to END(__isnanf) to match function entry point/label
15894 EALIGN(__isnanf,...).
15895
c6e13027
JJ
158962011-03-10 Jakub Jelinek <jakub@redhat.com>
15897
15898 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15899
33f85a3f
UD
159002011-03-10 Ulrich Drepper <drepper@gmail.com>
15901
028478fa
UD
15902 [BZ #12510]
15903 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15904 copy from the symbol referenced in the relocation to initialize the
15905 used variable.
15906 Patch by Piotr Bury <pbury@goahead.com>.
15907 * elf/Makefile: Add rules to build and tst-unique3.
15908 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15909 * elf/tst-unique3.cc: New file.
15910 * elf/tst-unique3.h: New file.
15911 * elf/tst-unique3lib.cc: New file.
15912 * elf/tst-unique3lib2.cc: New file.
15913
33f85a3f
UD
15914 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15915
03592fc7
MF
159162011-03-10 Mike Frysinger <vapier@gentoo.org>
15917
15918 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15919 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15920 to _start.
03592fc7 15921
6a5ee102
UD
159222011-03-06 Ulrich Drepper <drepper@gmail.com>
15923
15924 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15925 to-be-loaded object along a path to loader is ld.so.
15926
7e4ba49c
HJ
159272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15928 Ulrich Drepper <drepper@gmail.com>
15929
15930 * sysdeps/x86_64/memset.S: After aligning destination, code
15931 branches to different locations depending on the value of
15932 misalignment, when multiarch is enabled. Fix this.
15933
159342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15935
15936 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15937 Set _x86_64_preferred_memory_instruction for AMD processsors.
15938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15939 Set bit_Prefer_SSE_for_memop for AMD processors.
15940
13a804de
UD
159412011-03-04 Ulrich Drepper <drepper@gmail.com>
15942
15943 * libio/fmemopen.c (fmemopen): Optimize a bit.
15944
9d25c392
AS
159452011-03-03 Andreas Schwab <schwab@redhat.com>
15946
15947 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15948
a5543c6a
RM
159492011-03-03 Roland McGrath <roland@redhat.com>
15950
15951 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15952
012d35f7
DM
159532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15954
7e4ba49c 15955 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15956 __bzero_ultra1 instead of __memset_ultra1.
15957
4bff6e01
AS
159582011-02-23 Andreas Schwab <schwab@redhat.com>
15959 Ulrich Drepper <drepper@gmail.com>
15960
15961 [BZ #12509]
15962 * include/link.h (struct link_map): Add l_orig_initfini.
15963 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15964 returning unsuccessfully.
15965 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15966 close of a file loaded at startup, restore the original l_initfini
15967 list.
15968 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15969 list, store the pointer.
15970 * elf/Makefile ($(objpfx)noload-mem): New rule.
15971 (noload-ENV): Define.
15972 (tests): Add $(objpfx)noload-mem.
15973 * elf/noload.c: Include <memcheck.h>.
15974 (main): Call mtrace. Close all opened handles.
15975
f2092faf
AS
159762011-02-17 Andreas Schwab <schwab@redhat.com>
15977
15978 [BZ #12454]
15979 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15980 dependencies are missing.
15981
6c8a2e88
ST
159822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15983
f2092faf 15984 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15985 Hurd needs munmap.
15986 * sysdeps/mach/hurd/ifreq.h: New file.
15987
84a42118
PB
159882011-01-27 Petr Baudis <pasky@suse.cz>
15989 Ulrich Drepper <drepper@gmail.com>
15990
071f805e 15991 [BZ 12445]#
84a42118
PB
15992 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15993 to extend_alloca().
15994 * stdio-common/bug23.c: New file.
15995 * stdio-common/Makefile (tests): Add bug23.
15996
e23fe25b
AS
159972010-09-28 Andreas Schwab <schwab@redhat.com>
15998 Ulrich Drepper <drepper@gmail.com>
15999
16000 [BZ #12489]
16001 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16002 before performing relro protection. At old place add assertion
16003 to make sure nothing changed.
16004
d3f02e10
NS
160052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16006 Glauber de Oliveira Costa <glommer@gmail.com>
16007
16008 * elf/elf.h: Add new ARM TLS relocs.
16009
d55fd7a5
RA
160102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16011
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16013 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16014 cast from r3.
16015 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16016 'tests' variable.
16017 * sysdeps/wordsize-64/tst-writev.c: New file.
16018
2206397e
RA
160192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16020
16021 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16022 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16023 insns in _dl_start to prevent a TOC reference before relocs are
16024 resolved.
16025
e9433893
UD
160262011-02-15 Ulrich Drepper <drepper@gmail.com>
16027
16028 [BZ #12469]
16029 * Makeconfig: Remove RANLIB definition.
16030 * Makerules: Don't use RANLIB.
16031 * aclocal.m4: Remove ranlib test.
16032 * configure.in: No need to check for ranlib.
16033 * elf/rtld-Rules: Don't use RANLIB.
16034
f75286c6
ST
160352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16036
8e31c82d
ST
16037 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16038 protection macro.
16039 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16040 inclusion protection macro.
16041
f75286c6
ST
16042 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16043 SIGRTMIN and SIGRTMAX and print information in that case only when
16044 SIGRTMIN is defined.
16045
c1d0e639
JJ
160462011-02-11 Jakub Jelinek <jakub@redhat.com>
16047
16048 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16049 arginfo fn returning -1.
16050
16051 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16052 and thousands string is zero terminated.
16053
edf9294e
AS
160542011-02-03 Andreas Schwab <schwab@redhat.com>
16055
16056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16057 sysdeps/unix/sysv/linux/bits/socket.h.
16058
2b7e92df
ST
160592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16060
edf9294e
AS
16061 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16062 (__CPU_COUNT): Remove old macros.
16063 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16064 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16065 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16066 (__sched_cpualloc, __sched_cpufree): Add declarations.
16067
a4c7ea7b
UD
160682011-02-05 Ulrich Drepper <drepper@gmail.com>
16069
16070 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16071 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16072 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16073 (readdhstai): Return value of addhstaiX call.
16074 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16075 (addgrbyX): Return value returned by cache_addgr.
16076 (readdgrbyname): Return value returned by addgrbyX.
16077 (readdgrbygid): Likewise.
16078 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16079 (addpwbyX): Return value returned by cache_addpw.
16080 (readdpwbyname): Return value returned by addhstbyX.
16081 (readdpwbyuid): Likewise.
16082 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16083 (addservbyX): Return value returned by cache_addserv.
16084 (readdservbyname): Return value returned by addservbyX:
16085 (readdservbyport): Likewise.
16086 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16087 (addhstbyX): Return value returned by cache_addhst.
16088 (readdhstbyname): Return value returned by addhstbyX.
16089 (readdhstbyaddr): Likewise.
16090 (readdhstbynamev6): Likewise.
16091 (readdhstbyaddrv6): Likewise.
16092 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16093 (readdinitgroups): Return value returned by addinitgroupsX.
16094 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16095 (prune_cache): Keep track of timeout value of re-added entries.
16096 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16097 * nscd/nscd.h: Adjust prototypes of readd* functions.
16098
a0bf67cc
RM
160992011-02-04 Roland McGrath <roland@redhat.com>
16100
16101 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16102 (nis_stats): Likewise.
16103 * nis/nis_modify.c (nis_modify): Likewise.
16104 * nis/nis_remove.c (nis_remove): Likewise.
16105 * nis/nis_add.c (nis_add): Likewise.
16106
16107 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16108
16109 * posix/fnmatch_loop.c: Add some consts.
16110
16111 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16112
435b95eb
L
161132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16114
16115 [BZ #12460]
16116 * config.make.in (config-cflags-novzeroupper): Define.
16117 * configure.in: Substitute libc_cv_cc_novzeroupper.
16118 * elf/Makefile (AVX-CFLAGS): Define.
16119 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16120 (CFLAGS-tst-auditmod4a.c): Likewise.
16121 (CFLAGS-tst-auditmod4b.c): Likewise.
16122 (CFLAGS-tst-auditmod6b.c): Likewise.
16123 (CFLAGS-tst-auditmod6c.c): Likewise.
16124 (CFLAGS-tst-auditmod7b.c): Likewise.
16125 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16126
8517b15e
UD
161272011-02-02 Ulrich Drepper <drepper@gmail.com>
16128
16129 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16130 function to the callback.
16131 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16132
10a656fe
AS
161332011-02-02 Andreas Schwab <schwab@redhat.com>
16134
16135 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16136 of errno.
16137
968dad0a
UD
161382011-01-19 Ulrich Drepper <drepper@gmail.com>
16139
9f94d2ea 16140 [BZ #11724]
968dad0a
UD
16141 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16142 of constructors.
16143 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16144 of destructors.
16145 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16146
16147 [BZ #11724]
16148 * elf/Makefile: Add rules to build and run new test.
16149 * elf/tst-initorder.c: New file.
16150 * elf/tst-initorder.exp: New file.
16151 * elf/tst-initordera1.c: New file.
16152 * elf/tst-initordera2.c: New file.
16153 * elf/tst-initordera3.c: New file.
16154 * elf/tst-initordera4.c: New file.
16155 * elf/tst-initorderb1.c: New file.
16156 * elf/tst-initorderb2.c: New file.
16157 * elf/tst-order-a1.c: New file.
16158 * elf/tst-order-a2.c: New file.
16159 * elf/tst-order-a3.c: New file.
16160 * elf/tst-order-a4.c: New file.
16161 * elf/tst-order-b1.c: New file.
16162 * elf/tst-order-b2.c: New file.
16163 * elf/tst-order-main.c: New file.
16164 New test case by George Gensure <werkt0@gmail.com>.
16165
86e92359
UD
161662010-10-01 Andreas Schwab <schwab@redhat.com>
16167
16168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16169 decoding ACE if AI_CANONIDN.
16170
5d5732b0
UD
161712011-01-18 Ulrich Drepper <drepper@gmail.com>
16172
16173 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16174
a77e8cbc
UD
161752011-01-17 Ulrich Drepper <drepper@gmail.com>
16176
6392473f
UD
16177 * version.h (RELEASE): Bump for 2.13 release.
16178 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16179
620a0529
UD
16180 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16181
18ba70a5
UD
16182 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16183 MADV_NOHUGEPAGE.
32465c3e
UD
16184 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16185 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16187 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16190
c0dafcf1
UD
16191 * posix/getconf.c: Update copyright year.
16192 * catgets/gencat.c: Likewise.
16193 * csu/version.c: Likewise.
16194 * debug/catchsegv.sh: Likewise.
16195 * debug/xtrace.sh: Likewise.
16196 * elf/ldconfig.c: Likewise.
16197 * elf/ldd.bash.in: Likewise.
16198 * elf/sprof.c (print_version): Likewise.
16199 * iconv/iconv_prog.c: Likewise.
16200 * iconv/iconvconfig.c: Likewise.
16201 * locale/programs/locale.c: Likewise.
16202 * locale/programs/localedef.c: Likewise.
16203 * malloc/memusage.sh: Likewise.
16204 * malloc/mtrace.pl: Likewise.
16205 * nscd/nscd.c (print_version): Likewise.
16206 * nss/getent.c: Likewise.
16207
a77e8cbc
UD
16208 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16209 PF_CAIF, and PF_ALG.
16210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16211
77e8bddf
AS
162122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16213
1f20b93a
AS
16214 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16215 (modules-names): Use them.
16216 (ifunc-test-modules, ifunc-pie-tests): Define.
16217 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16218 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16219 (test-extras): Likewise.
16220 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16221 $(compile-command.c).
16222 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16223 (all-built-dso): Define.
16224 (check-textrel.out, check-execstack.out): Depend on it.
16225
77e8bddf
AS
16226 * configure.in: Don't override --enable-multi-arch.
16227
bc425b33
UD
162282011-01-15 Ulrich Drepper <drepper@gmail.com>
16229
16230 [BZ #6812]
16231 * nscd/hstcache.c (tryagain): Define.
16232 (cache_addhst): Return tryagain not notfound for temporary errors.
16233 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16234 failed.
16235
794c3ad3
UD
162362011-01-14 Ulrich Drepper <drepper@gmail.com>
16237
70181fdd
UD
16238 [BZ #10563]
16239 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16240 to make the syscall.
16241 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16242
794c3ad3
UD
16243 [BZ #12378]
16244 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16245 and fall back to matching as normal character if the string ends before
16246 the matching ']' is found. This is what POSIX requires.
16247 * posix/testfnm.c: Adjust test result.
16248 * posix/globtest.sh: Adjust test result. Add new test.
16249 * posix/tst-fnmatch.input: Likewise.
16250 * posix/tst-fnmatch2.c: Add new test.
16251
68dc9497
AS
162522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16253
16254 * elf/Makefile (check-execstack): Revert last change. Depend on
16255 check-execstack.h.
16256 (check-execstack.h): New target.
16257 (generated): Add check-execstack.h.
16258 * elf/check-execstack.c: Include "check-execstack.h".
16259 (main): Revert last change.
16260 (handle_file): Return zero if GNU_STACK is absent and
16261 DEFAULT_STACK_PERMS doesn't include PF_X.
16262
451f001b
UD
162632011-01-13 Ulrich Drepper <drepper@gmail.com>
16264
cfa28e56
UD
16265 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16266 in child fails because the descriptor is already closed.
8cf8ce17
UD
16267 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16268 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16269 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16270
1086d70d
UD
16271 [BZ #12397]
16272 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16273 syscall.
16274
451f001b
UD
16275 [BZ #10484]
16276 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16277 temporary buffer used to handle multi lookups locally.
a85b5cb4 16278 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16279
08769175
UD
162802011-01-12 Ulrich Drepper <drepper@gmail.com>
16281
16282 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16283 loader is ld.so.
16284
5e49c52e
UD
162852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16286
16287 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16288 alignment for SSE2.
16289
60522a5f
UD
162902011-01-12 Ulrich Drepper <drepper@gmail.com>
16291
16292 [BZ #12394]
16293 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16294 characters. When rounding increased number of integer digits recompute
16295 number of groups.
16296 * stdio-common/tst-grouping.c: New file.
16297 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16298
f257bbd7
UD
162992011-01-09 Ulrich Drepper <drepper@gmail.com>
16300
16301 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16302 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16303
16304 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16305 void.
16306 * bits/select.h: Likewise.
16307
fa9c15cb
UD
163082011-01-08 Ulrich Drepper <drepper@gmail.com>
16309
16310 * po/ja.po: Update from translation team.
16311
16c2895f
DM
163122011-01-04 David S. Miller <davem@sunset.davemloft.net>
16313
16314 [BZ #11155]
16315 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16316 implementation just like for lxstat, fxstatat, et al.
16317
2543fef2
JM
163182010-12-27 Jim Meyering <meyering@redhat.com>
16319
16320 [BZ #12348]
16321 * posix/regexec.c (build_trtable): Return failure indication upon
16322 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16323
98727dbe
UD
163242010-12-25 Ulrich Drepper <drepper@gmail.com>
16325
5bd6dc5c
UD
16326 [BZ #12201]
16327 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16328 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16330 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16331
97983464
UD
16332 [BZ #12207]
16333 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16334
98727dbe
UD
16335 [BZ #12204]
16336 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16337 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16338
4a531bb0
L
163392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16340
16341 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16342 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16343 script has SORT_BY_INIT_PRIORITY.
16344 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16345 NO_CTORS_DTORS_SECTIONS is defined.
16346 * elf/soinit.c: Likewise.
16347 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16348 NO_CTORS_DTORS_SECTIONS is defined.
16349 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16350 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16351 * sysdeps/sh/init-first.c: Likewise.
16352 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16353
07eb4b71
UD
163542010-12-24 Ulrich Drepper <drepper@gmail.com>
16355
16356 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16357 always use the slow path.
16358
30950a5f
RA
163592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16360
16361 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16362 similar rule which adds the sysdep directories to the header search in
16363 order to pick up the correct platform stackinfo.h.
16364 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16365 perform test if it is, otherwise return successfully without testing.
16366 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16367 DEFAULT_STACK_PERMS define in stackinfo.h.
16368 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16369 defined in stackinfo.h.
16370 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16371 DEFAULT_STACK_PERMS defined in stackinfo.h.
16372 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16373 * sysdeps/ia64/stackinfo.h: Likewise.
16374 * sysdeps/s390/stackinfo.h: Likewise.
16375 * sysdeps/sh/stackinfo.h: Likewise.
16376 * sysdeps/sparc/stackinfo.h: Likewise.
16377 * sysdeps/x86_64/stackinfo.h: Likewise.
16378 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16379 PF_X for powerpc64. Retain PF_X for powerpc32.
16380
db753e2c
UD
163812010-12-19 Ulrich Drepper <drepper@gmail.com>
16382
14b697f7
UD
16383 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16384 accurately.
db753e2c
UD
16385 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16386 GETDENTS_64BIT_ALIGNED.
16387
28300719
UD
163882010-12-14 Ulrich Drepper <dreper@gmail.com>
16389
14b697f7 16390 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16391
4f197237
AS
163922010-12-10 Andreas Schwab <schwab@redhat.com>
16393
dbb0472f
AS
16394 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16395 _GNU_SOURCE.
16396
4f197237
AS
16397 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16398 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16399 Remove __restrict.
16400 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16401 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16402
fb88ac72
UD
164032010-12-09 Ulrich Drepper <drepper@gmail.com>
16404
16405 [BZ #11655]
16406 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16407 are initialized.
16408
42acbb92
JJ
164092010-12-09 Jakub Jelinek <jakub@redhat.com>
16410
16411 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16412
c038d98d
UD
164132010-12-03 Ulrich Drepper <drepper@gmail.com>
16414
16415 * po/it.po: Update from translation team.
16416
3a4a2499
L
164172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16418
16419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16420 unused codes.
16421
1e24cf6e
UD
164222010-11-30 Ulrich Drepper <drepper@gmail.com>
16423
16424 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16425
a7690819
AS
164262010-11-24 Andreas Schwab <schwab@redhat.com>
16427
16428 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16429 specially.
16430 (gaih_getanswer_slice): Likewise.
16431
3bf8d1b1
JJ
164322010-10-20 Jakub Jelinek <jakub@redhat.com>
16433
16434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16435
6db52fbb
PB
164362010-05-31 Petr Baudis <pasky@suse.cz>
16437
16438 [BZ #11149]
16439 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16440 silently even in the chroot mode.
16441
eaca7569
UD
164422010-11-22 Ulrich Drepper <drepper@gmail.com>
16443
16444 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16445 last patch a bit. Pretty printing
16446
3056dcdb
UD
164472010-05-31 Petr Baudis <pasky@suse.cz>
16448
16449 [BZ #10085]
16450 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16451 initialization of skip_initgroups_dyn.
16452
cf7c9078
UD
164532010-11-19 Ulrich Drepper <drepper@gmail.com>
16454
16455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16457
a1fb5e3e
UD
164582010-11-16 Ulrich Drepper <drepper@gmail.com>
16459
16460 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16461
3540d66b
AS
164622010-11-11 Andreas Schwab <schwab@redhat.com>
16463
16464 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16465 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16466 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16467 ($(objpfx)tst-fnmatch-mem): New rule.
16468 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16469 * posix/tst-fnmatch.c (main): Call mtrace.
16470
13b69574
L
164712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16474 Support Intel processor model 6 and model 0x2c.
16475
da93d214
LM
164762010-11-10 Luis Machado <luisgpm@br.ibm.com>
16477
16478 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16479 signed comparison.
16480
8ca52c6e
L
164812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16482
16483 [BZ #12205]
16484 * string/test-strncasecmp.c (check_result): New function.
16485 (do_one_test): Use it.
16486 (check1): New function.
16487 (test_main): Use it.
16488 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16489 Support strcasecmp and strncasecmp.
16490
69da074d
UD
164912010-11-08 Ulrich Drepper <drepper@gmail.com>
16492
16493 [BZ #12194]
16494 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16495 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16496
ff02d528
L
164972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16498
16499 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16500 IFUNC support.
16501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16502 memset-x86-64.
16503 * sysdeps/x86_64/multiarch/bzero.S: New file.
16504 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16505 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16506 * sysdeps/x86_64/multiarch/memset.S: New file.
16507 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16509 Set bit_Prefer_SSE_for_memop for Intel processors.
16510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16511 Define.
16512 (index_Prefer_SSE_for_memop): Define.
16513 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16514
344d0b54
LM
165152010-11-04 Luis Machado <luisgpm@br.ibm.com>
16516
16517 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16518 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16519
c0dde15b
UD
165202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16521
16522 [BZ #12191]
16523 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16524 (__x86_64_raw_data_cache_size_half): Likewise.
16525 (__x86_64_raw_shared_cache_size): Likewise.
16526 (__x86_64_raw_shared_cache_size_half): Likewise.
16527
16528 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16529 (__x86_64_raw_data_cache_size_half): Likewise.
16530 (__x86_64_raw_shared_cache_size): Likewise.
16531 (__x86_64_raw_shared_cache_size_half): Likewise.
16532 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16533 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16534 and __x86_64_raw_shared_cache_size_half. Round
16535 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16536 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16537 to multiple of 256 bytes.
16538
0e516e0e
MS
165392010-11-03 Ulrich Drepper <drepper@gmail.com>
16540
16541 [BZ #12167]
16542 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16543 of inacessible symlinks. Verify result of symlink before returning it.
16544 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16545 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16546
0e012e87
ER
165472010-10-28 Erich Ritz <erichritz@gmail.com>
16548
16549 * math/math.h (isinf): Fix typo in comment.
16550
de0ff7bc
UD
165512010-11-01 Ulrich Drepper <drepper@gmail.com>
16552
16553 * po/da.po: Update from translation team.
16554
fa41c84d
UD
165552010-10-26 Ulrich Drepper <drepper@gmail.com>
16556
16557 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16558 is added to the list.
16559
f0967738
AK
165602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16561 Ulrich Drepper <drepper@gmail.com>
16562
16563 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16564 the global list here. Move code to...
16565 (_dl_add_to_namespace_list): ...here. New function.
16566 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16567 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16568 * elf/dl-load.c (lose): Don't remove the element from the list.
16569 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16570 (_dl_map_object): Likewise.
16571
165722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16573
16574 [BZ #12159]
16575 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16576 into all bytes of SSE register.
16577 Patch by Richard Li <richardpku@gmail.com>.
16578
f0967738 165792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16580
16581 [BZ #12140]
16582 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16583 perturbing.
16584
d0b9e94f
MB
165852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16586
16587 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16588 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16589 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16590 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16592 submachine.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16594
8e9f92e9
AS
165952010-10-22 Andreas Schwab <schwab@redhat.com>
16596
16597 * include/dlfcn.h (__RTLD_SECURE): Define.
16598 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16599 mode & __RTLD_SECURE instead.
16600 (open_path): Rename preloaded parameter to secure.
16601 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16602 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16603 * elf/dl-deps.c (openaux): Likewise.
16604 * elf/rtld.c (struct map_args): Remove is_preloaded.
16605 (map_doit): Don't use it.
16606 (dl_main): Likewise.
16607 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16608 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16609
bc96fbda
AS
166102010-09-09 Andreas Schwab <schwab@redhat.com>
16611
16612 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16613 (sysd-rules-targets): Remove duplicates.
16614 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16615 rtld-%.$o dependency.
16616
22cd1c9b
AS
166172010-10-18 Andreas Schwab <schwab@redhat.com>
16618
16619 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16620 _dl_map_object do it.
16621
18edac48
UD
166222010-10-19 Ulrich Drepper <drepper@gmail.com>
16623
16624 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16625 fast fma builtins, define the macros in the C99 standard.
16626 (FP_FAST_FMAF): Likewise.
16627 (FP_FAST_FMAL): Likewise.
16628 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16629
16630 * bits/mathdef.h: Update copyright year.
16631 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16632
d2050124
MM
166332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16634
16635 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16636 builtins, define the macros in the C99 standard.
16637 (FP_FAST_FMAF): Likewise.
16638 (FP_FAST_FMAL): Likewise.
16639 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16640 multiply/add.
16641 (FP_FAST_FMAF): Likewise.
16642
475facd1
JJ
166432010-10-15 Jakub Jelinek <jakub@redhat.com>
16644
16645 [BZ #3268]
16646 * math/libm-test.inc (fma_test): Some new testcases.
16647 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16648 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16649 y and infinite z. Do multiplication by C already in long double.
16650 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16652 y and infinite z. Do bitwise or of inexact bit into u.d.
16653 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16654 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16655 * sysdeps/i386/fpu/s_fma.S: Removed.
16656 * sysdeps/i386/fpu/s_fmal.S: Removed.
16657
7c08a05c
JJ
166582010-10-16 Jakub Jelinek <jakub@redhat.com>
16659
16660 [BZ #3268]
16661 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16663 computation is not scheduled after fetestexcept. Fix value
16664 of minimum denormal long double.
16665
f3f7372d
JJ
166662010-10-14 Jakub Jelinek <jakub@redhat.com>
16667
16668 [BZ #3268]
16669 * math/libm-test.inc (fma_test): Add some more tests.
16670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16671 correctly.
16672
14d43591
AS
166732010-10-15 Andreas Schwab <schwab@redhat.com>
16674
16675 * scripts/data/localplt-s390-linux-gnu.data: New file.
16676 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16677
5e908464
JJ
166782010-10-13 Jakub Jelinek <jakub@redhat.com>
16679
16680 [BZ #3268]
16681 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16682 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16683 instead of dbl-64.
16684 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16685 inlines.
16686 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16688 if one of x and y is very large and the other is subnormal.
16689 * sysdeps/s390/fpu/s_fmaf.c: New file.
16690 * sysdeps/s390/fpu/s_fma.c: New file.
16691 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16692 * sysdeps/powerpc/fpu/s_fma.S: New file.
16693 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16694 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16695 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16696
166972010-10-12 Jakub Jelinek <jakub@redhat.com>
16698
16699 [BZ #3268]
16700 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16701 fma tests.
16702 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16703 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16704 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16705 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16706 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16707 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16709
b833d51f
UD
167102010-10-12 Ulrich Drepper <drepper@redhat.com>
16711
16712 [BZ #12078]
16713 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16714 * posix/bug-regex31.input: Add test case.
16715
1751705d
UD
167162010-10-11 Ulrich Drepper <drepper@gmail.com>
16717
e9b9cbf5
UD
16718 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16719 * posix/bug-regex31.input: New file.
16720
16721 [BZ #12078]
16722 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16723 (parse_sub_exp): Fix last change, use postorder.
16724
ef06edbe
UD
16725 * posix/bug-regex31.c: New file.
16726 * posix/Makefile: Add rules to build and run bug-regex31.
16727
a129c80d
UD
16728 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16729
16730 [BZ #12078]
16731 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16732
b76b818e
UD
16733 [BZ #12108]
16734 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16735 to have entries in sys_siglist.
16736
1751705d
UD
16737 [BZ #12093]
16738 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16739 be NULL.
16740
9ff8d36f
JJ
167412010-10-07 Jakub Jelinek <jakub@redhat.com>
16742
16743 [BZ #3268]
16744 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16745 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16746 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16747 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16748 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16749 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16750 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16751 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16752 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16753 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16754 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16755 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16756 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16757 * math/ftestexcept.c (fetestexcept): Likewise.
16758 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16759 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16760 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16761 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16762 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16763 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16764 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16765
af325969
UD
167662010-10-11 Ulrich Drepper <drepper@gmail.com>
16767
c579b202 16768 [BZ #12107]
af325969
UD
16769 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16770 newline.
16771
67a67b95
UD
167722010-10-06 Ulrich Drepper <drepper@gmail.com>
16773
16774 * string/bug-strstr1.c: New file.
16775 * string/Makefile: Add rules to build and run bug-strstr1.
16776
5fb308bc
EB
167772010-10-05 Eric Blake <eblake@redhat.com>
16778
16779 [BZ #12092]
16780 * string/str-two-way.h (two_way_long_needle): Always clear memory
16781 when skipping input due to the shift table.
16782
45db99c7
UD
167832010-10-03 Ulrich Drepper <drepper@gmail.com>
16784
3b111893
UD
16785 [BZ #12005]
16786 * malloc/mcheck.c: Handle large requests.
16787
45db99c7
UD
16788 [BZ #12077]
16789 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16790 for strncmp and strncasecmp.
16791 * string/stratcliff.c: Add tests for strcmp and strncmp.
16792 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16793
cf7a1eb8
NI
167942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16795
16796 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16797 __set_fpscr.
16798
6484ba5e
AJ
167992010-09-30 Andreas Jaeger <aj@suse.de>
16800
16801 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16802 (CGROUP_SUPER_MAGIC): Define.
16803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16804 Handle btrfs and cgroup file systems.
16805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16806 Likewise.
16807
91c42559
LM
168082010-09-27 Luis Machado <luisgpm@br.ibm.com>
16809
16810 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16811 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16812
87a97932
AK
168132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16814
16815 [BZ #12067]
16816 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16817 trying to locate the ELF header.
16818
c21cc9bc
AS
168192010-09-27 Andreas Schwab <schwab@redhat.com>
16820
16821 [BZ #11611]
16822 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16823 Mask out sign-bit copies when constructing f_fsid.
16824
315970f6
PB
168252010-09-24 Petr Baudis <pasky@suse.cz>
16826
16827 * debug/stack_chk_fail_local.c: Add missing licence exception.
16828 * debug/warning-nop.c: Likewise.
16829
1ac7a2c7
JM
168302010-09-15 Joseph Myers <joseph@codesourcery.com>
16831
16832 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16833 implementing getdents64 using getdents syscall, set d_type if
16834 __ASSUME_GETDENTS32_D_TYPE.
16835
56801c50
AS
168362010-09-16 Andreas Schwab <schwab@redhat.com>
16837
16838 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16839 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16840
dda51327
UD
168412010-09-21 Ulrich Drepper <drepper@redhat.com>
16842
16843 [BZ #12037]
16844 * posix/unistd.h: Undo change of feature selection for ftruncate from
16845 2010-01-11.
16846
8ffcee4a
UD
168472010-09-20 Ulrich Drepper <drepper@redhat.com>
16848
a545ecd9 16849 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16850 detection.
16851
e24f0a8b
AS
168522010-09-20 Andreas Schwab <schwab@redhat.com>
16853
16854 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16855 fanotify_mark.
16856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16857
7291c56f
AS
168582010-09-14 Andreas Schwab <schwab@redhat.com>
16859
16860 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16861 variables after CHECK_SP call.
16862 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16863
bc5fb037
AS
168642010-09-13 Andreas Schwab <schwab@redhat.com>
16865 Ulrich Drepper <drepper@redhat.com>
16866
16867 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16868 re-relocationg ld.so.
16869 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16870 _dl_init_paths call.
16871 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16872 here anymore.
16873
e66e7419
UD
168742010-09-14 Ulrich Drepper <drepper@redhat.com>
16875
16876 * resolv/res_init.c (__res_vinit): Count the default server we added.
16877
c044aa75
CLT
168782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16879 Ulrich Drepper <drepper@redhat.com>
16880
16881 [BZ #11968]
16882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16883 (____longjmp_chk): Use %ebx for saving value across system call.
16884 Add unwind info.
16885
32cf4069
AS
168862010-09-06 Andreas Schwab <schwab@redhat.com>
16887
16888 * manual/Makefile: Don't mix pattern rules with normal rules.
16889
817328ee
AS
168902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16891
16892 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16893 operation.
16894 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16895 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16896 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16897 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16899 Likewise.
16900
29fddf61
UD
169012010-09-04 Ulrich Drepper <drepper@redhat.com>
16902
16903 [BZ #11979]
16904 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16905 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16906
0959ffc9
UD
169072010-09-02 Ulrich Drepper <drepper@redhat.com>
16908
16909 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16910 * sysdeps/x86_64/addmul_1.S: Likewise.
16911 * sysdeps/x86_64/lshift.S: Likewise.
16912 * sysdeps/x86_64/mul_1.S: Likewise.
16913 * sysdeps/x86_64/rshift.S: Likewise.
16914 * sysdeps/x86_64/sub_n.S: Likewise.
16915 * sysdeps/x86_64/submul_1.S: Likewise.
16916
ece29840
ST
169172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16918
0959ffc9
UD
16919 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16920 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16921 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16922 * bits/sched.h [__need_schedparam]
ece29840 16923 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16924 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16925 (__defined_schedparam): Define to 1.
ece29840
ST
16926 (__sched_param): New structure, identical to sched_param.
16927 (__need_schedparam): Undefine.
16928
e53a31fe
MF
169292010-08-31 Mike Frysinger <vapier@gentoo.org>
16930
fdc0c10d
MF
16931 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16932 (epoll_create1): Declare.
16933
e53a31fe
MF
16934 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16935
a726d796
AS
169362010-08-31 Andreas Schwab <schwab@redhat.com>
16937
16938 [BZ #7066]
16939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16940 shifting retval into place.
16941
2f3e3dc7
UD
169422010-09-01 Ulrich Drepper <drepper@redhat.com>
16943
f2933da9
UD
16944 * nis/rpcsvc/nis.h: Update copyright notice.
16945 * nis/rpcsvc/nis.x: Likewise.
16946 * nis/rpcsvc/nis_callback.h: Likewise.
16947 * nis/rpcsvc/nis_callback.x: Likewise.
16948 * nis/rpcsvc/nis_object.x: Likewise.
16949 * nis/rpcsvc/nis_tags.h: Likewise.
16950 * nis/rpcsvc/yp.h: Likewise.
16951 * nis/rpcsvc/yp.x: Likewise.
16952 * nis/rpcsvc/ypupd.h: Likewise.
16953 * nis/yp_xdr.c: Likewise.
16954 * nis/ypupdate_xdr.c: Likewise.
16955
2f3e3dc7
UD
16956 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16957 mainly the body of pmap_getport. Add parameters to specify timeouts.
16958 (pmap_getport): Use __libc_rpc_getport.
16959 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16960 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16961 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16962
f3dcc2f9
AS
169632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16964
16965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16966 fanotify_mark.
16967
6d34eb5b
RM
169682010-08-27 Roland McGrath <roland@redhat.com>
16969
16970 * sysdeps/i386/i686/multiarch/Makefile
16971 (CFLAGS-varshift.c): New variable.
16972
9ea3de11
UD
169732010-08-27 Ulrich Drepper <drepper@redhat.com>
16974
c96d23fc
UD
16975 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16976 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16977
9ea3de11
UD
16978 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16979
16980 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16981
623aac7f
L
169822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16983
16984 * sysdeps/x86_64/strlen.S: Unroll the loop.
16985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16986 strlen-sse2 strlen-sse2-bsf.
16987 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16988 __strlen_no_bsf if bit_Slow_BSF is set.
16989 (__strlen_sse42): Removed.
16990 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16991 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16992
8b2b7715
RM
169932010-08-25 Roland McGrath <roland@redhat.com>
16994
16995 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16996 * sysdeps/x86_64/multiarch/varshift.c: New file.
16997 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16998 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16999 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17000 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17001
e73015f2
L
170022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17003
17004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17005 strlen-sse2 strlen-sse2-bsf.
17006 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17007 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17008 (__strlen_sse2): Removed.
17009 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17012 bit_Slow_BSF for Atom.
17013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17014 (index_Slow_BSF): Define.
17015 (HAS_SLOW_BSF): Define.
17016
df24a73e
UD
170172010-08-25 Ulrich Drepper <drepper@redhat.com>
17018
17019 [BZ #10851]
17020 * resolv/res_init.c (__res_vinit): When no server address at all
17021 is given default to loopback.
17022
f2ac4868
RM
170232010-08-24 Roland McGrath <roland@redhat.com>
17024
09055553
RM
17025 * configure.in: Remove config-name.h generation.
17026 * configure: Regenerated.
17027 * config-name.in: File removed.
17028 * scripts/config-uname.sh: New file.
17029 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17030 ($(objdir)config-name.h): New target.
17031
f2ac4868
RM
17032 * sunrpc/rpc_parse.h: Avoid nested comment.
17033
73f27d5e
RH
170342010-08-24 Richard Henderson <rth@redhat.com>
17035 Ulrich Drepper <drepper@redhat.com>
17036 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17040 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17041 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17042 _mm_alignr_epi8 with _mm_loadu_si128.
17043 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17044 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17045 (__m128i_shift_right): Removed.
17046 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17047 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17048 * sysdeps/x86_64/multiarch/varshift.h: New file.
17049 * sysdeps/x86_64/multiarch/varshift.S: New file.
17050
84b9230c
MF
170512010-08-21 Mike Frysinger <vapier@gentoo.org>
17052
17053 * configure.in: Move assembler checks to before sysdep dir checking.
17054
9bbd0ddc
PB
170552010-08-20 Petr Baudis <pasky@suse.cz>
17056
17057 * LICENSES: Sync the sunrpc license.
17058
9da4bb31
UD
170592010-08-19 Ulrich Drepper <drepper@redhat.com>
17060
a7ab6ec8
UD
17061 * sunrpc/auth_des.c: Update copyright notice once again.
17062 * sunrpc/auth_none.c: Likewise.
17063 * sunrpc/auth_unix.c: Likewise.
17064 * sunrpc/authdes_prot.c: Likewise.
17065 * sunrpc/authuxprot.c: Likewise.
17066 * sunrpc/bindrsvprt.c: Likewise.
17067 * sunrpc/clnt_gen.c: Likewise.
17068 * sunrpc/clnt_perr.c: Likewise.
17069 * sunrpc/clnt_raw.c: Likewise.
17070 * sunrpc/clnt_simp.c: Likewise.
17071 * sunrpc/clnt_tcp.c: Likewise.
17072 * sunrpc/clnt_udp.c: Likewise.
17073 * sunrpc/clnt_unix.c: Likewise.
17074 * sunrpc/des_crypt.c: Likewise.
17075 * sunrpc/des_soft.c: Likewise.
17076 * sunrpc/get_myaddr.c: Likewise.
17077 * sunrpc/getrpcport.c: Likewise.
17078 * sunrpc/key_call.c: Likewise.
17079 * sunrpc/key_prot.c: Likewise.
17080 * sunrpc/openchild.c: Likewise.
17081 * sunrpc/pm_getmaps.c: Likewise.
17082 * sunrpc/pm_getport.c: Likewise.
17083 * sunrpc/pmap_clnt.c: Likewise.
17084 * sunrpc/pmap_prot.c: Likewise.
17085 * sunrpc/pmap_prot2.c: Likewise.
17086 * sunrpc/pmap_rmt.c: Likewise.
17087 * sunrpc/rpc/auth.h: Likewise.
17088 * sunrpc/rpc/auth_unix.h: Likewise.
17089 * sunrpc/rpc/clnt.h: Likewise.
17090 * sunrpc/rpc/des_crypt.h: Likewise.
17091 * sunrpc/rpc/key_prot.h: Likewise.
17092 * sunrpc/rpc/netdb.h: Likewise.
17093 * sunrpc/rpc/pmap_clnt.h: Likewise.
17094 * sunrpc/rpc/pmap_prot.h: Likewise.
17095 * sunrpc/rpc/pmap_rmt.h: Likewise.
17096 * sunrpc/rpc/rpc.h: Likewise.
17097 * sunrpc/rpc/rpc_des.h: Likewise.
17098 * sunrpc/rpc/rpc_msg.h: Likewise.
17099 * sunrpc/rpc/svc.h: Likewise.
17100 * sunrpc/rpc/svc_auth.h: Likewise.
17101 * sunrpc/rpc/types.h: Likewise.
17102 * sunrpc/rpc/xdr.h: Likewise.
17103 * sunrpc/rpc_clntout.c: Likewise.
17104 * sunrpc/rpc_cmsg.c: Likewise.
17105 * sunrpc/rpc_common.c: Likewise.
17106 * sunrpc/rpc_cout.c: Likewise.
17107 * sunrpc/rpc_dtable.c: Likewise.
17108 * sunrpc/rpc_hout.c: Likewise.
17109 * sunrpc/rpc_main.c: Likewise.
17110 * sunrpc/rpc_parse.c: Likewise.
17111 * sunrpc/rpc_parse.h: Likewise.
17112 * sunrpc/rpc_prot.c: Likewise.
17113 * sunrpc/rpc_sample.c: Likewise.
17114 * sunrpc/rpc_scan.c: Likewise.
17115 * sunrpc/rpc_scan.h: Likewise.
17116 * sunrpc/rpc_svcout.c: Likewise.
17117 * sunrpc/rpc_tblout.c: Likewise.
17118 * sunrpc/rpc_util.c: Likewise.
17119 * sunrpc/rpc_util.h: Likewise.
17120 * sunrpc/rpcinfo.c: Likewise.
17121 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17122 * sunrpc/rpcsvc/key_prot.x: Likewise.
17123 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17124 * sunrpc/rpcsvc/mount.x: Likewise.
17125 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17126 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17127 * sunrpc/rpcsvc/rex.x: Likewise.
17128 * sunrpc/rpcsvc/rstat.x: Likewise.
17129 * sunrpc/rpcsvc/rusers.x: Likewise.
17130 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17131 * sunrpc/rpcsvc/spray.x: Likewise.
17132 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17133 * sunrpc/rtime.c: Likewise.
17134 * sunrpc/svc.c: Likewise.
17135 * sunrpc/svc_auth.c: Likewise.
17136 * sunrpc/svc_authux.c: Likewise.
17137 * sunrpc/svc_raw.c: Likewise.
17138 * sunrpc/svc_run.c: Likewise.
17139 * sunrpc/svc_simple.c: Likewise.
17140 * sunrpc/svc_tcp.c: Likewise.
17141 * sunrpc/svc_udp.c: Likewise.
17142 * sunrpc/svc_unix.c: Likewise.
17143 * sunrpc/svcauth_des.c: Likewise.
17144 * sunrpc/xcrypt.c: Likewise.
17145 * sunrpc/xdr.c: Likewise.
17146 * sunrpc/xdr_array.c: Likewise.
17147 * sunrpc/xdr_float.c: Likewise.
17148 * sunrpc/xdr_mem.c: Likewise.
17149 * sunrpc/xdr_rec.c: Likewise.
17150 * sunrpc/xdr_ref.c: Likewise.
17151 * sunrpc/xdr_sizeof.c: Likewise.
17152 * sunrpc/xdr_stdio.c: Likewise.
17153
9da4bb31
UD
17154 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17155 handling.
17156
bdaa77bc
AS
171572010-08-19 Andreas Schwab <schwab@redhat.com>
17158
17159 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17160
fe2f79db
LM
171612010-08-19 Luis Machado <luisgpm@br.ibm.com>
17162
17163 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17164 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17165 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17166 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17167 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17168 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17169 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17170 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17171 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17172 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17173 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17174 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17175 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17176 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17177
b9b42ee0
AB
171782010-07-26 Anton Blanchard <anton@samba.org>
17179
17180 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17181 * malloc/arena.c (heap_trim): Likewise.
17182
1c06ba31
UD
171832010-08-16 Ulrich Drepper <drepper@redhat.com>
17184
17185 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17186 here. Not...
17187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17188 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17189
f8392f40
L
171902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17191
17192 * sysdeps/i386/elf/Makefile: New file.
17193
3162f12e
AS
171942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17195
17196 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17197 from fanotify_init.
17198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17200
28c90b2c
UD
172012010-08-15 Ulrich Drepper <drepper@redhat.com>
17202
17203 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17204 of strncasecmp_l.
1feccb6c 17205 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17206
ca6bb004
UD
172072010-08-14 Ulrich Drepper <drepper@redhat.com>
17208
e9f82e0d
UD
17209 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17210 strncase_l-nonascii.
17211 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17212 Add strncase_l-ssse3.
17213 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17214 * sysdeps/x86_64/strcmp.S: Likewise.
17215 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17216 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17217 * sysdeps/x86_64/strncase.S: New file.
17218 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17219 * sysdeps/x86_64/strncase_l.S: New file.
17220 * string/Makefile (strop-tests): Add strncasecmp.
17221 * string/test-strncasecmp.c: New file.
17222
17223 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17224 warning.
17225
ca6bb004
UD
17226 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17227 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17228
052fa7b3
AS
172292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17230
17231 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17232
962dba78
UD
172332010-08-12 Ulrich Drepper <drepper@redhat.com>
17234
17235 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17236 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17238
bebff237
AM
172392010-05-01 Alan Modra <amodra@gmail.com>
17240
17241 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17242 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17243 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17244 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17245 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17246 tidying. Don't tail-call __sigjmp_save for static lib.
17247 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17248 save location.
17249 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17250 (CALL_MCOUNT): Add eh info, and nop after bl.
17251 (TAIL_CALL_SYSCALL_ERROR): New macro.
17252 (PSEUDO_RET): Use it.
17253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17254 Correct save location of integer regs and cr.
17255 (_dl_profile_resolve): Correct cr save location. Delete nops
17256 after bl when SHARED. Reduce cfi size a little by better
17257 placement of cfi directives.
17258 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17259 make a stack frame. Instead use parm save area as a temp.
17260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17261 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17263 Don't make a stack frame for parent, use parm save area.
17264 Increase child stack frame to 112 bytes. Don't save unused reg,
17265 and adjust reg usage. Set up cfi on error recovery and
17266 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17268 (__makecontext): Add dummy nop after jump to exit.
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17270 Use correct parm save area and cr save, reduce stack frame.
17271 Correct cfi for possible PSEUDO_RET frame setup.
17272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17273 Branch to local label emitted by PSEUDO_RET rather than
17274 __syscall_error.
17275
02637374
AS
172762010-08-12 Andreas Schwab <schwab@redhat.com>
17277
17278 [BZ #11904]
17279 * locale/programs/locale.c (print_assignment): New function.
17280 (show_locale_vars): Use it.
17281
c3e2f19b
UD
172822010-08-11 Ulrich Drepper <drepper@redhat.com>
17283
3cdaa6ad
UD
17284 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17285 field.
17286 (struct statfs64): Likewise.
17287 (_STATFS_F_FLAGS): Define.
17288 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17290 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17291 (ST_VALID): Define locally.
17292 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17293 __statvfs_getflags, use the provided value.
17294 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17295 __ASSUME_STATFS_F_FLAGS.
17296
754f7da3
UD
17297 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17298
10b3bedc
UD
17299 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17300 Add sys/fanotify.h.
17301 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17302 fanotify_mask for GLIBC_2.13.
17303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17304 fanotify_init and fanotify_mark.
17305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17306 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17307
c08fb0d7
UD
17308 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17309 Add prlimit.
17310 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17311 prlimit64 for GLIBC_2.13.
17312 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17313 prlimit64.
17314 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17315 syscall.
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17318 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17321 add prlimit alias.
17322 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17323
15bac72b
UD
17324 [BZ #11903]
17325 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17326 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17327
c3e2f19b
UD
17328 * nss/Makefile: Add rules to build and run tst-nss-test1.
17329 * shlib-versions: Add entry for libnss_test1.
17330 * nss/nss_test1.c: New file.
17331 * nss/tst-nss-test1.c: New file.
17332
17333 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17334 (__nss_configure_lookup): Set appropriate entry in
17335 __nss_configure_lookup to true.
17336 * nss/nsswitch.h: Define enum with indeces of databases in
17337 databases and __nss_database_custom arrays. Declare
17338 __nss_database_custom.
17339 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17340 to avoid using nscd when custom rules are installed.
17341 * nss/getXXbyYY_r.c: Likewise.
17342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17343
17344 * nss/nss_files/files-parse.c: Whitespace fixes.
17345
f15ce4d8
UD
173462010-08-09 Ulrich Drepper <drepper@redhat.com>
17347
17348 [BZ #11883]
17349 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17350 * posix/fnmatch_loop.c: Likewise.
17351
d22e4cc9
AK
173522010-07-17 Andi Kleen <ak@linux.intel.com>
17353
17354 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17355 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17356 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17357 * Versions.def [GLIBC_2.13]: Add.
17358
805bc17d
UD
173592010-08-06 Ulrich Drepper <drepper@redhat.com>
17360
17361 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17362 Also fail if tpwd after pwuid call is NULL.
17363
5a42321d
ST
173642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17365
17366 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17367 when converting to ms.
17368
fd3ebeda
ST
173692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17370
17371 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17372 EOPNOTSUPP errors with ENOTTY.
17373 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17374 EOPNOTSUPP errors with ENOTTY.
17375
73507d3a
UD
173762010-07-31 Ulrich Drepper <drepper@redhat.com>
17377
17378 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17379 Add strcasecmp_l-ssse3.
17380 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17381 strcasecmp.
17382 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17383 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17384 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17385
fe36dd02
UD
173862010-07-30 Ulrich Drepper <drepper@redhat.com>
17387
66f6765a
UD
17388 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17389
42e08a54
UD
17390 * string/Makefile (strop-tests): Add strcasecmp.
17391 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17392 strcasecmp_l-nonascii.
17393 (gen-as-const-headers): Add locale-defines.sym.
17394 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17395 * sysdeps/x86_64/strcasecmp.S: New file.
17396 * sysdeps/x86_64/strcasecmp_l.S: New file.
17397 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17398 * sysdeps/x86_64/locale-defines.sym: New file.
17399 * string/test-strcasecmp.c: New file.
17400
fe36dd02
UD
17401 * string/test-strcasestr.c: Test both ends of the range of characters.
17402 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17403
48cbc0d6
RM
174042010-07-29 Roland McGrath <roland@redhat.com>
17405
76e6d6bc 17406 [BZ #11856]
48cbc0d6
RM
17407 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17408
880113d9
UD
174092010-07-27 Ulrich Drepper <drepper@redhat.com>
17410
17411 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17412 for ld.so.
17413
deb9cabb
AS
174142010-07-27 Andreas Schwab <schwab@redhat.com>
17415
17416 * manual/memory.texi (Malloc Tunable Parameters): Document
17417 M_PERTURB.
17418
1c7570ff
RM
174192010-07-26 Roland McGrath <roland@redhat.com>
17420
17421 [BZ #11840]
17422 * configure.in (-fgnu89-inline check): Set and substitute
17423 gnu89_inline, not libc_cv_gnu89_inline.
17424 * configure: Regenerated.
17425 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17426
24fb0f88
UD
174272010-07-26 Ulrich Drepper <drepper@redhat.com>
17428
17429 * string/test-strnlen.c: New file.
17430 * string/Makefile (strop-tests): Add strnlen.
17431 * string/tester.c (test_strnlen): Add a few more test cases.
17432 * string/tst-strlen.c: Better error reporting.
17433
17434 * sysdeps/x86_64/strnlen.S: New file.
17435
8e96b93a
UD
174362010-07-24 Ulrich Drepper <drepper@redhat.com>
17437
17438 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17439 lower-latency instructions.
17440
dbc676d4
UD
174412010-07-23 Ulrich Drepper <drepper@redhat.com>
17442
17443 * string/test-strcasestr.c: New file.
17444 * string/test-strstr.c: New file.
17445 * string/Makefile (strop-tests): Add strstr and strcasestr.
17446 * string/str-two-way.h: Don't undefine MAX.
17447 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17448
f6a31e0e
AS
174492010-07-21 Andreas Schwab <schwab@redhat.com>
17450
17451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17452 strcasestr-nonascii.
17453 (CFLAGS-strcasestr-nonascii.c): Define.
17454 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17455 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17456 Remove unused attribute.
17457
5dbc3b6c
RM
174582010-07-20 Roland McGrath <roland@redhat.com>
17459
17460 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17461 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17462 ld.so.cache was broken. With it, there is no way to disable dsocaps
17463 like LD_HWCAP_MASK can disable hwcaps.
17464
23d101d8
EPM
174652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17466
17467 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17468
cc9f2e47
UD
174692010-07-16 Ulrich Drepper <drepper@redhat.com>
17470
17471 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17472 call in strcasestr.
17473 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17474 __strcasestr_sse42_nonascii.
17475 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17476 strcasestr-nonascii.c.
17477 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17478
77c1b069
LM
174792010-06-15 Luis Machado <luisgpm@br.ibm.com>
17480
17481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17485
440566c3
UD
174862010-07-09 Ulrich Drepper <drepper@redhat.com>
17487
17488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17489 fcntl.
17490
5be9d05d
AS
174912010-07-06 Andreas Schwab <schwab@redhat.com>
17492
c30b7ee2 17493 [BZ #11577]
5be9d05d
AS
17494 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17495 dl_signal_cerror.
17496
8a492a67
UD
174972010-07-06 Ulrich Drepper <drepper@redhat.com>
17498
17499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17500 _PC_PIPE_BUF using F_GETPIPE_SZ.
17501
713df3d5
RM
175022010-07-05 Roland McGrath <roland@redhat.com>
17503
17504 * manual/arith.texi (Rounding Functions): Fix rint description
17505 implicit in round description.
17506
702e8f14
UD
175072010-07-02 Ulrich Drepper <drepper@redhat.com>
17508
17509 * elf/Makefile: Fix linking for a few tests to make recent linker
17510 happy.
17511
52ed8be9
AS
175122010-06-30 Andreas Schwab <schwab@redhat.com>
17513
17514 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17515 $(common-objpfx)libc_nonshared.a.
17516
f47c9a11
LM
175172010-06-21 Luis Machado <luisgpm@br.ibm.com>
17518
17519 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17520 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17521 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17522 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17523 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17524 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17525 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17526 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17541 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17542 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17543 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17544 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17545 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17546 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17547 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17548 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17549 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17550 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17551 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17552 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17567
6fb8cbcb
L
175682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17569
17570 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17571 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17572 * string/memmove.c (memmove): Renamed to ...
17573 (MEMMOVE): ...this. Default to memmove.
17574 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17575 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17576 (END_CHK): Define.
17577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17578 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17579 mempcpy-ssse3-back memmove-ssse3-back.
17580 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17583 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17584 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17585 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17586 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17587 * sysdeps/x86_64/multiarch/memmove.c: New file.
17588 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17589 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17590 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17591 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17592 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17594 Define.
17595 (index_Fast_Copy_Backward): Define.
17596 (HAS_ARCH_FEATURE): Define.
17597 (HAS_FAST_REP_STRING): Define.
17598 (HAS_FAST_COPY_BACKWARD): Define.
17599
4e733bac 176002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17601
17602 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17603 Restore proper fallback handling.
17604
63c4ed22
UD
176052010-06-19 Ulrich Drepper <drepper@redhat.com>
17606
ac2b484c
UD
17607 [BZ #11701]
17608 * posix/group_member.c (__group_member): Correct checking loop.
17609
63c4ed22
UD
17610 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17611 OOM in getpwuid_r correctly. Return error number when the caller
17612 should return, otherwise -1.
17613 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17614 call returning > 0 value.
17615 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17616
765ade4b
AS
176172010-06-07 Andreas Schwab <schwab@redhat.com>
17618
17619 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17620 libc_nonshared.a from targets in modules-names.
17621
80da2e09
KS
176222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17623
17624 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17625 requires it.
17626
158db122
LM
176272010-06-10 Luis Machado <luisgpm@br.ibm.com>
17628
17629 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17630 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17633
caa78cf8
AS
176342010-06-02 Andreas Schwab <schwab@redhat.com>
17635
17636 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17637
b2ef2c01
UD
176382010-06-14 Ulrich Drepper <drepper@redhat.com>
17639
17640 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17641 and F_GETPIPE_SZ.
17642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17647 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17648
fbd643b6
RM
176492010-06-14 Roland McGrath <roland@redhat.com>
17650
17651 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17652
f32f2869
JJ
176532010-06-07 Jakub Jelinek <jakub@redhat.com>
17654
17655 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17656 __REDIRECT followed by __THROW.
17657 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17658 * posix/getopt.h (getopt): Likewise.
17659
2a50c078
EPM
176602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17661
17662 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17663 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17664 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17665 in AT_FLAGS.
17666 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17667 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17668
eb5ad2eb
LM
176692010-05-28 Luis Machado <luisgpm@br.ibm.com>
17670
17671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17672
3c88fe1e
L
176732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17674
17675 [BZ #11640]
17676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17677 Properly check family and model.
17678
d2f73151
TY
176792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17680
17681 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17682
ebd2e13d
LM
176832010-05-24 Luis Machado <luisgpm@br.ibm.com>
17684
17685 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17686
b32b8b45
UD
176872010-05-21 Ulrich Drepper <drepper@redhat.com>
17688
17689 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17690 symbol reference.
17691
9acbe24d
AS
176922010-05-19 Andreas Schwab <schwab@redhat.com>
17693
17694 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17695 symbol reference.
17696
f0ccf6ea
AS
176972010-05-21 Andreas Schwab <schwab@redhat.com>
17698
3d04ff3a
AS
17699 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17700 and internal_recvmmsg.
17701 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17702 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17703 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17704 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17705
f0ccf6ea
AS
17706 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17707 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17708 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17709
5b08ac57
AS
177102010-05-20 Andreas Schwab <schwab@redhat.com>
17711
17712 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17713
4828935d
LM
177142010-05-17 Luis Machado <luisgpm@br.ibm.com>
17715
17716 POWER7 optimizations.
17717 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17718 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17719
373d545e
UD
177202010-05-19 Ulrich Drepper <drepper@redhat.com>
17721
17722 * version.h: Update for 2.13 development version.
17723
21a2b1ae
AS
177242010-05-12 Andrew Stubbs <ams@codesourcery.com>
17725
17726 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17727 exceptions. Return 0.
17728
3f7dcb2b
RM
177292010-05-07 Roland McGrath <roland@redhat.com>
17730
17731 * elf/ldconfig.c (main): Add a const.
17732
5f24d53a 177332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17734
a160f8d8
UD
17735 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17736 (args_options): Add no-idn option.
17737 (ahosts_keys_int): Add idn_flags to ai_flags.
17738 (parse_option): Handle 'i' option to clear idn_flags.
17739
5f24d53a
UD
17740 * malloc/malloc.c (_int_free): Possible race in the most recently
17741 added check. Only act on the data if no current modification
17742 happened.
265bb1ce
UD
17743
17744See ChangeLog.17 for earlier changes.
This page took 2.326046 seconds and 5 git commands to generate.