]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
foo
[thirdparty/glibc.git] / ChangeLog
CommitLineData
09c0ee5f
RM
12012-08-01 Roland McGrath <roland@hack.frob.com>
2
cd97c966
RM
3 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4 Define mkstemp64 as an alias.
5 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6 Define mkostemp64 as an alias.
7 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8 Conditionalize body on this.
9 * misc/mkostemp64.c: Likewise.
10 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12 * sysdeps/wordsize-64/mkostemp.c: File removed.
13 * sysdeps/wordsize-64/mkstemp.c: File removed.
14 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18
09c0ee5f
RM
19 [BZ #14138]
20 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
23 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24
25 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26 compat_symbol macros from <shlib-compat.h> rather than the underlying
27 default_symbol_version and symbol_version macros, so that DEFAULT
28 lines in shlib-versions are respected.
29 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30
7e66ee51
FW
312012-08-01 Florian Weimer <fweimer@redhat.com>
32
33 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34 Declare with warn_unused_result.
35 (setgid, setregid, setegid, setresgid): Likewise.
36 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37 Likewise.
38 * WUR-REPORT: Remove set*id functions.
39
d2a54255
PT
402012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41
42 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43
7ecdb005
RM
442012-07-31 Roland McGrath <roland@hack.frob.com>
45
789bd351
RM
46 * include/sys/socket.h (__libc_accept, __libc_accept4):
47 Add attribute_hidden.
48 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
49
40ce302d
RM
50 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51 use of PTR_MANGLE.
52 * inet/getnetgrent_r.c (setup): Likewise.
53
7ecdb005
RM
54 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55
e2eabb2c
DM
562012-07-31 David S. Miller <davem@davemloft.net>
57
58 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59
d0419dbf
JM
602012-07-31 Joseph Myers <joseph@codesourcery.com>
61
62 [BZ #13629]
63 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64 value between 1.0 and 2.0 and smaller part has absolute value less
65 than 1.0.
66 * math/s_clog10.c (__clog10): Likewise.
67 * math/s_clog10f.c (__clog10f): Likewise.
68 * math/s_clog10l.c (__clog10l): Likewise.
69 * math/s_clogf.c (__clogf): Likewise.
70 * math/s_clogl.c (__clogl): Likewise.
71 * math/libm-test.inc (clog_test): Add more tests.
72 (clog10_test): Likewise.
73 * sysdeps/i386/fpu/libm-test-ulps: Update.
74 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75
2bc13872
FW
762012-07-31 Florian Weimer <fweimer@redhat.com>
77
78 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
79 Exit with zero in case no suitable GID is found, and write a
80 message to standard error.
81
bea9b193
RM
822012-07-30 Roland McGrath <roland@hack.frob.com>
83
84 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
85 rather than to 1.
86 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
87 (MAXPATHLEN): Removed.
88 (NOGROUP, NODEV): New macros.
89 (setbit, clrbit, isset, isclr): New macros.
90 (howmany, roundup, powerof2): New macros.
91 (DEV_BSIZE): New macro.
92
93 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
94 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
95
96 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
97 definition on [!__NO_LONG_DOUBLE_MATH].
98
99 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
100 PTR_MANGLE and PTR_DEMANGLE.
101
102 * socket/accept4.c (accept4): Rename to __libc_accept4.
103 Define accept4 as a weak alias.
104
105 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
106 on [_DIRENT_HAVE_D_TYPE].
107 * io/ftw.c (ftw_dir): Likewise.
108
109 * io/xmknod.c (__xmknod): Don't check PATH for being null.
110
111 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
112
113 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
114 Use the BSD numbers rather than the arbitrary ones we had.
115 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
116 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
117 (SIGXCPU, SIGXFSZ): New macros.
118 (_NSIG): Now 32.
119
120 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
121 initializer on [_LIBC_REENTRANT].
122
123 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
124 definitions inside [_POSIX_MAPPED_FILES].
125
126 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
127
128 * dirent/opendir.c: Include <fcntl.h>.
129
130 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
131 (__libc_getspecific): Likewise.
132 (__libc_key_create): Likewise.
133
134 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
135 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
136 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
137 (tmpfile64): Define as alias.
138 * sysdeps/wordsize-64/tmpfile.c: File removed.
139 * sysdeps/wordsize-64/tmpfile64.c: File removed.
140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
141 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
142
143 * stdio-common/vfscanf.c: Include <stdbool.h>.
144 * nss/makedb.c: Likewise.
145 * stdio-common/_i18n_number.h: Likewise.
146 * argp/argp-help.c: Likewise.
147 * posix/wordexp.c: Likewise.
148 * sysdeps/posix/spawni.c: Likewise.
149 * nss/nss_files/files-initgroups.c: Likewise.
150 * stdio-common/reg-modifier.c: Include <stdlib.h>.
151 * nss/nss_files/files-initgroups.c: Likewise.
152 * nss/nss_db/db-netgrp.c: Likewise.
153 * nss/nss_db/db-initgroups.c: Likewise.
154 * io/fchmodat.c: Include <sys/stat.h>.
155
156 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
157 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
158
159 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
160 [HAVE_MMAP].
161
162 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
163 Add multiple inclusion protection.
164
e5abc686
DM
1652012-07-27 David S. Miller <davem@davemloft.net>
166
167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
168
815e6fa3
GB
1692012-07-27 Gary Benson <gbenson@redhat.com>
170
171 [BZ #14298]
172 * elf/rtld.c: Include <stap-probe.h>.
173 (dl_main): Added static probes "init_start" and "init_complete".
174 * elf/dl-load.c: Include <stap-probe.h>.
175 (lose): Take new parameter "nsid".
176 Added static probe "map_failed".
177 (_dl_map_object_from_fd): Pass namespace id to lose.
178 Added static probe "map_start".
179 (open_verify): Pass namespace id to lose.
180 * elf/dl-open.c: Include <stap-probe.h>.
181 (dl_open_worker) Added static probes "map_complete", "reloc_start"
182 and "reloc_complete".
183 * elf/dl-close.c: Include <stap-probe.h>.
184 (_dl_close_worker): Added static probes "unmap_start" and
185 "unmap_complete".
186 * elf/rtld-debugger-interface.txt: New file documenting the above.
187
9f98c16c
RM
1882012-07-26 Roland McGrath <roland@hack.frob.com>
189
190 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
191 rather than a string variable.
192 * sunrpc/rpc_main.c (h_output): Likewise.
193 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
194
f3c22df3
PT
1952012-07-26 Pino Toscano <toscano.pino@tiscali.it>
196
197 * inet/check_native.c: New file.
198
3129cfc6
JM
1992012-07-26 Joseph Myers <joseph@codesourcery.com>
200
da865e95
JM
201 [BZ #13629]
202 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
203 if larger part has absolute value 1.0.
204 * math/s_clog10.c (__clog10): Likewise.
205 * math/s_clog10f.c (__clog10f): Likewise.
206 * math/s_clog10l.c (__clog10l): Likewise.
207 * math/s_clogf.c (__clogf): Likewise.
208 * math/s_clogl.c (__clogl): Likewise.
209 * math/libm-test.inc (clog_test): Add more tests.
210 (clog10_test): Likewise.
211 * sysdeps/i386/fpu/libm-test-ulps: Update.
212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
213
3129cfc6
JM
214 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
215 (pltexit): Likewise.
216 (La_regs): Likewise.
217 (La_retval): Likewise.
218 (int_retval): Likewise.
219 Update #error for removed macros to refer only to definitions in
220 tst-audit.h.
221 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
222 macro.
223 (pltexit): Likewise.
224 (La_regs): Likewise.
225 (La_retval): Likewise.
226 (int_retval): Likewise.
227 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
228 macro.
229 (pltexit): Likewise.
230 (La_regs): Likewise.
231 (La_retval): Likewise.
232 (int_retval): Likewise.
233 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
234 macro.
235 (pltexit): Likewise.
236 (La_regs): Likewise.
237 (La_retval): Likewise.
238 (int_retval): Likewise.
239 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
240 macro.
241 (pltexit): Likewise.
242 (La_regs): Likewise.
243 (La_retval): Likewise.
244 (int_retval): Likewise.
245 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
246 macro.
247 (pltexit): Likewise.
248 (La_regs): Likewise.
249 (La_retval): Likewise.
250 (int_retval): Likewise.
251 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
252 macro.
253 (pltexit): Likewise.
254 (La_regs): Likewise.
255 (La_retval): Likewise.
256 (int_retval): Likewise.
257 * sysdeps/generic/tst-audit.h: Update comment to refer only to
258 macro definitions in tst-audit.h.
259 * sysdeps/i386/tst-audit.h: New file.
260 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
261 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
262 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
263 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
264 * sysdeps/sh/tst-audit.h: Likewise.
265 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
266 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
267 * sysdeps/x86_64/tst-audit.h: Likewise.
268
bfc07087
AJ
2692012-07-26 Andreas Jaeger <aj@suse.de>
270
b1b2aaf8
AJ
271 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
272 ptrace.
273
274 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
275 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
276 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
277 PTRACE_O_MASK.
278 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
279 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
280 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
281
bfc07087
AJ
282 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
283 value.
284
285 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
286 _sigsys.
287 (si_call_addr, si_syscall, si_arch): Define new macro.
288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
289 _sigsys.
290 (si_call_addr, si_syscall, si_arch): Define new marcro.
291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
292 _sigsys.
293 (si_call_addr, si_syscall, si_arch): Define new macro.
294 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
295 _sigsys.
296 (si_call_addr, si_syscall, si_arch): Define new macro.
297
89b4b02f
JM
2982012-07-25 Joseph Myers <joseph@codesourcery.com>
299
300 [BZ #13717]
301 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
302 Change to 2.4.21 where previously 2.4.1.
303 * sysdeps/unix/sysv/linux/configure: Regenerated.
304 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
305 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
306 Linux kernel version.
307 (__ASSUME_STD_AUXV): Remove.
308 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
309 kernel version.
310 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
311 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
312 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
313 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
314 (__ASSUME_NETLINK_SUPPORT): Likewise.
315 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
316 (__no_netlink_support): Remove conditional definition.
317 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
318 Remove.
319 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
320 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
321 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
322 (if_nameindex_ioctl): Remove.
323 (if_nameindex_netlink): Do not handle __no_netlink_support.
324 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
325 code.
326 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
327 Remove conditional code.
328 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
329 code.
330 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
331 unconditional.
332 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
333 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
334 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
335 Remove.
336 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
337 [!__ASSUME_STD_AUXV]: Remove conditional code.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
339 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
340 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
342 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
343 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
344 code.
345 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
347 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
348 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
349 conditional code.
350 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
352 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
353 code.
354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
355 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
356 conditional code.
357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
358 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
359 code unconditional.
360 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
361 conditional code.
362 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
363 unconditional.
364 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
365 conditional code.
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
367 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
368 unconditional.
369 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
370 conditional code.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
372 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
373 code unconditional.
374 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
375 conditional code.
376 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
377 unconditional.
378 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
379 conditional code.
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
381 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
382 code unconditional.
383 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
384 conditional code.
385 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
386 unconditional.
387 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
388 conditional code.
389
842a39cd
AS
3902012-07-25 Andreas Schwab <schwab@linux-m68k.org>
391
392 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
393 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
394 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
395 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
396 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
398 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
399 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
400 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
401 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
402 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
403 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
404 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
405 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
406 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
407 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
408 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
410 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
412 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
413 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
415
84b3fd84
FW
4162012-07-25 Florian Weimer <fweimer@redhat.com>
417
418 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
419 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
420 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
421 Introduce __libc_secure_getenv.
0c7936d5
FW
422 * stdlib/Versions (2.17): Add secure_getenv
423 (GLIBC_PRIVATE): Add __libc_secure_getenv.
424 * stdlib/secure-getenv.c: Rename __secure_getenv to
425 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
426 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
427 * stdlib/tst-secure-getenv.c: New.
428 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
429 * manual/startup.texi (Environment Access): Document
430 secure_getenv.
84b3fd84
FW
431 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
432 __libc_secure_getenv.
433 * inet/ruserpass.c (ruserpass): Likewise.
434 * malloc/mtrace.c (mtrace): Likewise.
435 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 436 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
437 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
438 * sysdeps/posix/tempname.c: Likewise. Evaluate
439 HAVE_SECURE_GETENV.
440 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 441 __secure_getenv to __libc_secure_getenv.
84b3fd84 442 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
444 Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
446 Likewise.
447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 454
56e49b71
JM
4552012-07-25 Joseph Myers <joseph@codesourcery.com>
456
457 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
458 (struct La_i86_retval): Likewise.
459 (struct La_x86_64_regs): Likewise.
460 (struct La_x86_64_retval): Likewise.
461 (struct La_x32_regs): Likewise.
462 (struct La_x32_retval): Likewise.
463 (struct La_ppc32_regs): Likewise.
464 (struct La_ppc32_retval): Likewise.
465 (struct La_ppc64_regs): Likewise.
466 (struct La_ppc64_retval): Likewise.
467 (struct La_sh_regs): Likewise.
468 (struct La_sh_retval): Likewise.
469 (struct La_s390_32_regs): Likewise.
470 (struct La_s390_32_retval): Likewise.
471 (struct La_s390_64_regs): Likewise.
472 (struct La_s390_64_retval): Likewise.
473 (struct La_sparc32_regs): Likewise.
474 (struct La_sparc32_retval): Likewise.
475 (struct La_sparc64_regs): Likewise.
476 (struct La_sparc64_retval): Likewise.
477 (struct audit_ifaces): Remove architecture-specific pltenter and
478 pltexit members.
479 * sysdeps/i386/ldsodefs.h: New file.
480 * sysdeps/powerpc/ldsodefs.h: Likewise.
481 * sysdeps/s390/ldsodefs.h: Likewise.
482 * sysdeps/sh/ldsodefs.h: Likewise.
483 * sysdeps/sparc/ldsodefs.h: Likewise.
484 * sysdeps/x86_64/ldsodefs.h: Likewise.
485
354691b7
MP
4862012-07-25 Marek Polacek <polacek@redhat.com>
487
488 [BZ #6808]
489 * math/libm-test.inc (yn_test): Add another test.
490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
491 to ERANGE when the result is +-Inf.
492 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
493 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
494 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
495 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
496
bf9e2071
JM
4972012-07-24 Joseph Myers <joseph@codesourcery.com>
498
499 * conform/data/time.h-data (NULL): Use macro-constant. Require
500 equal to 0.
501 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
502 clock_t.
503 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
504
57633811
TS
5052012-07-23 Thomas Schwinge <thomas@codesourcery.com>
506
507 * configure.in <sysdeps resolving>: Correct printing
508 Implies_before.
509 * configure: Regenerate.
510
c23c33b0
TS
5112012-07-22 Thomas Schwinge <thomas@codesourcery.com>
512
513 * math/w_ilogb.c: Include <limits.h>.
514 * math/w_ilogbl.c: Likewise.
515
b5982523
JM
5162012-07-20 Joseph Myers <joseph@codesourcery.com>
517
518 * manual/lang.texi (__va_copy): Document primarily as ISO C99
519 va_copy. Document allowing for unavailable va_copy only as
520 pre-C99 compatibility.
521 * manual/string.texi (Copying and Concatenation): Use va_copy
522 instead of __va_copy in concat example.
523
ac4ea442
PT
5242012-07-20 Pino Toscano <toscano.pino@tiscali.it>
525
526 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
527 (__sendto): Use create_address_port. Initialize APORT and deallocate
528 it if not null.
529
f98eafbd
PT
530 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
531 with O_NOLINK passed to __file_name_lookup.
532
898c7aab
PT
533 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
534 with O_NOLINK passed to __file_name_lookup.
535
0ced335a
PT
536 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
537 negative N or less than NGIDS.
538
b3404dbd
PT
539 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
540 type to string_t. Set ERANGE as errno and return it if NAME is not big
541 enough. Use memcpy instead of strncpy.
542
0f48659e
JM
5432012-07-20 Joseph Myers <joseph@codesourcery.com>
544
545 * elf/Makefile (check-data): Remove.
546 (localplt.data): New vpath directive.
547 ($(objpfx)check-localplt.out): Use localplt.data from vpath
548 instead of $(check-data).
549 * scripts/data/localplt-generic.data: Move to ...
550 * sysdeps/generic/localplt.data: ... here.
551 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
552 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
553 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
555 ... here.
556 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
558 ... here.
559 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
561 ... here.
562 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
564 ... here.
565 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
567 ... here.
568 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
570 ... here.
571
d37cbdaa
AZ
5722012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
573
574 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
575 PPC32 and PPC64 files.
576 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
577 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
578
46f85fc2
AK
5792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
580
581 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
582 __makecontext_ret to ...
583 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
584 ... here and call exit if uc_link is NULL. New file.
585 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
586 __makecontext_ret.S.
587 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
588 __makecontext_ret to ...
589 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
590 ... here and call exit if uc_link is NULL. New file.
591 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
592 __makecontext_ret.S.
593
08f43f9b
AK
5942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
595
596 * elf/elf.h (R_390_IRELATIVE): New definition.
597 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
598 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
599 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
600 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
601 (elf_machine_lazy_rel): Likewise.
602 * sysdeps/s390/dl-irel.h: New file.
603 * sysdeps/s390/s390-64/memcpy.S: New asm code.
604 * sysdeps/s390/s390-64/memset.S: New asm code.
605 * sysdeps/s390/s390-64/memcmp.S: New asm code.
606 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
607 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
608 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
609 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
610 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
612 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
613 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
614 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
615 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
616 * sysdeps/s390/s390-32/memcpy.S: New asm code.
617 * sysdeps/s390/s390-32/memset.S: New asm code.
618 * sysdeps/s390/s390-32/memcmp.S: New asm code.
619
3b05db33
MP
6202012-07-17 Marek Polacek <polacek@redhat.com>
621
622 [BZ #14349]
623 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
624 * sysdeps/s390/s390-64/configure.in: Likewise.
625 * sysdeps/sparc/configure.in: Likewise.
626 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
627 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
628 * sysdeps/i386/configure.in: Likewise.
629 * sysdeps/x86_64/configure.in: Likewise.
630 * sysdeps/sh/configure.in: Likewise.
631 * sysdeps/s390/s390-32/configure: Regenerated.
632 * sysdeps/s390/s390-64/configure: Likewise.
633 * sysdeps/x86_64/configure: Likewise.
634 * sysdeps/sh/configure: Likewise.
635 * sysdeps/powerpc/powerpc64/configure: Likewise.
636 * sysdeps/powerpc/powerpc32/configure: Likewise.
637 * sysdeps/sparc/configure: Likwise.
638 * sysdeps/i386/configure: Likewise.
639
a66877c6
MP
640 * elf/dl-open.c: Comment fixes.
641
cfc82fd8
JM
6422012-07-17 Joseph Myers <joseph@codesourcery.com>
643
bd29910a
JM
644 * Makefile [CXX] (check-data): Remove.
645 [CXX] (c++-types.data): New vpath directive.
646 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
647 vpath. Do not allow for C++ type data being missing.
648 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
649 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
650 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
651 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
652 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
653 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
654 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
656 ... here.
657 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
659 ... here.
660 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
662 ... here.
663 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
665 ... here.
666 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
668 ... here.
669 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
671 ... here.
672 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
674 ... here.
675 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
677
cfc82fd8
JM
678 * elf/tls-macros.h (TLS_LE): Move architecture-specific
679 definitions to architecture-specific files.
680 (TLS_IE): Likewise.
681 (TLS_LD): Likewise.
682 (TLS_GD): Likewise.
683 * sysdeps/i386/tls-macros.h: New file.
684 * sysdeps/powerpc/tls-macros.h: Likewise.
685 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
686 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
687 * sysdeps/sh/tls-macros.h: Likewise.
688 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
689 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
690 * sysdeps/x86_64/tls-macros.h: Likewise.
691
f7db3170
TS
6922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
693
07cbfc23
TS
694 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
695 zero value for regular exit case.
696
f7db3170
TS
697 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
698 (__start_context): Preserve zero value for regular exit case.
699
dc97c227
TS
7002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
701 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
702
703 * manual/setjmp.texi (setcontext): Clarify normal process
704 termination when uc_link is the null pointer.
705 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
706 exit call.
707
d0cd7d02
AS
7082012-07-16 Andreas Schwab <schwab@linux-m68k.org>
709
710 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
711 preprocessor. Test for each exception mask separately.
712
dd318934
AJ
7132012-07-16 Andreas Jaeger <aj@suse.de>
714
715 * po/ru.po: Update from translation team.
716
8048311a
JM
7172012-07-15 Joseph Myers <joseph@codesourcery.com>
718
719 * conform/data/string.h-data (NULL): Use macro-constant. Require
720 equal to 0.
721 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
722 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
723 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
724 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
726
b637d46e
AJ
7272012-07-13 Andreas Jaeger <aj@suse.de>
728
729 * po/fr.po: Update from translation team.
730
541428fe
MP
7312012-07-12 Marek Polacek <polacek@redhat.com>
732
733 [BZ #14173]
734 * math/libm-test.inc (yn_test): Add test for BZ #14173.
735 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
736 loop condition.
737
ec332e94
JM
7382012-07-12 Joseph Myers <joseph@codesourcery.com>
739
740 [BZ #13717]
741 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
742 Change to 2.4.1 where previously 2.4.0.
743 * sysdeps/unix/sysv/linux/configure: Regenerated.
744 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
745 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
746 version.
747 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
748 (__ASSUME_AT_CLKTCK): Remove.
749 (__ASSUME_AT_PAGESIZE): Likewise.
750 (__ASSUME_AT_XID): Likewise.
751 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
752 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
753 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
754 unconditionally.
755 (HAVE_AUX_PAGESIZE): Likewise.
756 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
757 [__ASSUME_AT_CLKTCK]: Make code unconditional.
758 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
759
7b6e99be
JB
7602012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
761
762 [BZ #14307]
763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
764 the temporary buffer used to invoke __gethostbyname2_r,
765 __gethostbyaddr_r and gethostbyname4_r to make room for struct
766 host_data / struct gaih_addrtuple.
767 * resolv/nss_dns/dns-host.c (global scope): Move definition of
768 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
769 header file nss/nsswitch.h.
770 * nss/nsswitch.h (global scope): Add definition of implementation
771 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
772 resolv/nss_dns/dns-host.c).
773
608404eb
AJ
7742012-07-11 Andreas Jaeger <aj@suse.de>
775
776 * po/fr.po: Update from translation team.
777
71220aca
AJ
778 * po/sv.po: Update from translation team
779 * po/fr.po: Another update from translation team.
780
28cfe843
AZ
7812012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
782
783 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
784 for subnormals or multiply small sinh result by itself.
785 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
787
6b90f981
DM
7882012-07-11 David S. Miller <davem@davemloft.net>
789
790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
791
c6825772
AS
7922012-07-10 Andreas Schwab <schwab@linux-m68k.org>
793
794 [BZ #14347]
795 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
796 (INTERNAL_MARK): Shift it here.
797
7b8e0d49
MP
7982012-07-10 Marek Polacek <polacek@redhat.com>
799
800 [BZ #14151]
801 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
802 libc_cv_asm_global_directive with .globl.
803 * configure: Regenerated.
804 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
805 with .globl.
806 * sysdeps/i386/configure: Regenerated.
807 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
808 with .globl.
809 * sysdeps/x86_64/configure: Regenerated.
810 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
811 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
812 * elf/tst-unique2mod2.c: Likewise.
813 * elf/tst-unique2mod1.c: Likewise.
814 * elf/tst-unique1mod2.c: Likewise.
815 * elf/tst-unique1mod1.c: Likewise.
816 * sysdeps/s390/s390-32/sysdep.h: Likewise.
817 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
819 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
820 * sysdeps/mach/sysdep.h: Likewise.
821 * sysdeps/i386/sysdep.h: Likewise.
822 * sysdeps/i386/i386-mcount.S: Likewise.
823 * sysdeps/x86_64/_mcount.S: Likewise.
824 * sysdeps/x86_64/sysdep.h: Likewise.
825 * sysdeps/sh/_mcount.S: Likewise.
826 * sysdeps/sh/sysdep.h: Likewise.
827 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
828 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
829 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
830 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
831 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
832 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
833 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
834 * locale/localeinfo.h: Likewise.
835 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
836 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
837
6c55cda3
RM
8382012-07-09 Roland McGrath <roland@hack.frob.com>
839
840 [BZ #14336]
841 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
842 system".
843 * manual/message.texi (The Uniforum approach): Likewise.
844 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
845 (glibc iconv Implementation): Likewise.
846
638a572e
JM
8472012-07-09 Joseph Myers <joseph@codesourcery.com>
848
849 [BZ #14337]
850 * math/s_clog.c (__clog): Avoid scaling a value down where that
851 could result in underflow.
852 * math/s_clog10.c (__clog10): Likewise.
853 * math/s_clog10f.c (__clog10f): Likewise.
854 * math/s_clog10l.c (__clog10l): Likewise.
855 * math/s_clogf.c (__clogf): Likewise.
856 * math/s_clogl.c (__clogl): Likewise.
857 * math/libm-test.inc (clog_test): Add more tests.
858 (clog10_test): Likewise.
859 * sysdeps/i386/fpu/libm-test-ulps: Update.
860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861
261f4859
AS
8622012-07-06 Andreas Schwab <schwab@linux-m68k.org>
863
0abaf3e4
AS
864 [BZ #14283]
865 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
866 by 7 not 8 to examine high bit of fractional part.
867
261f4859
AS
868 [BZ #14042]
869 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
870 for call to __mcount_internal.
871 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
872 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
873 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
874
f17ac40d
JM
8752012-07-06 Joseph Myers <joseph@codesourcery.com>
876
9ad63c23
JM
877 [BZ #14154]
878 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
879 approximation for values within 0x1p-13f of an odd multiple of
880 pi/4.
881 * math/libm-test.inc (tan_test): Do not allow spurious underflow
882 exception. Add more tests.
883 * sysdeps/i386/fpu/libm-test-ulps: Update.
884
f17ac40d
JM
885 [BZ #6778]
886 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
887 inputs and return -1 for them. Do not check for +Inf in case not
888 reachable for +Inf.
889 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
890 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
891 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
892 and return -1 for them. Do not check for +Inf in case not
893 reachable for +Inf.
894 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
895 define.
896 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
897 and return -1 for them. Do not check for +Inf in case not
898 reachable for +Inf.
899 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
900 spurious underflow.
901 * sysdeps/i386/fpu/libm-test-ulps: Update.
902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
903
fb21f89b
MF
9042012-07-06 Mike Frysinger <vapier@gentoo.org>
905
906 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
907
cdfe2c5e
JM
9082012-07-05 Joseph Myers <joseph@codesourcery.com>
909
910 [BZ #14157]
911 [BZ #14331]
912 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
913 could result in spurious underflow. Scale down values above
914 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
915 * math/s_csqrtf.c (__csqrtf): Likewise.
916 * math/s_csqrtl.c (__csqrtl): Likewise.
917 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
918 spurious underflow.
919 * sysdeps/i386/fpu/libm-test-ulps: Update.
920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
921
70d35b67
AS
9222012-07-04 Andreas Schwab <schwab@linux-m68k.org>
923
704bc459
AS
924 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
925 xopen-msg.sed.
926 * catgets/xopen-msg.awk: New file.
927 * catgets/xopen-msg.sed: Removed.
928
70d35b67
AS
929 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
930 po2text.sed.
931 * intl/po2test.awk: New file.
932 * intl/po2test.sed: Removed.
933
ca61cf32
JM
9342012-07-04 Joseph Myers <joseph@codesourcery.com>
935
936 [BZ #14328]
937 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
938 or multiply small sinh result by itself.
939 * math/s_ctanf.c (__ctanf): Likewise.
940 * math/s_ctanh.c (__ctanh): Likewise.
941 * math/s_ctanhf.c (__ctanhf): Likewise.
942 * math/s_ctanhl.c (__ctanhl): Likewise.
943 * math/s_ctanl.c (__ctanl): Likewise.
944 * math/libm-test.inc (ctan_test_tonearest): New function.
945 (ctan_test_towardzero): Likewise.
946 (ctan_test_downward): Likewise.
947 (ctan_test_upward): Likewise.
948 (ctanh_test_tonearest): Likewise.
949 (ctanh_test_towardzero): Likewise.
950 (ctanh_test_downward): Likewise.
951 (ctanh_test_upward): Likewise.
952 (main): Call these new functions.
953 * sysdeps/i386/fpu/libm-test-ulps: Update.
954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
955
ca48a46a
MF
9562012-07-03 Mike Frysinger <vapier@gentoo.org>
957
958 * .gitignore: Delete /ports entry.
959
9d63d37d
AJ
9602012-07-03 Andreas Jaeger <aj@suse.de>
961
962 * po/bg.po: Update from translation team.
963 * po/cs.po: Likewise.
964 * po/de.po: Likewise.
965 * po/hr.po: Likewise.
966 * po/nl.pl: Likewise.
967 * po/pl.po: Likewise.
968 * po/vi.po: Likewise.
969
370ca3d2
JM
9702012-07-03 Joseph Myers <joseph@codesourcery.com>
971
95f5a9a8
JM
972 * Makeconfig [!+link] (+link-before-libc): New variable.
973 [!+link] (+link-after-libc): Likewise.
974 [!+link] (+link-tests): Likewise.
975 [!+link] (+link): Define in terms of $(+link-before-libc) and
976 $(+link-after-libc).
977 [!+link-static] (+link-static-before-libc): New variable.
978 [!+link-static] (+link-static-after-libc): Likewise.
979 [!+link-static] (+link-static-tests): Likewise.
980 [!+link-static] (+link-static): Define in terms of
981 $(+link-static-before-libc) and $(+link-static-after-libc).
982 [build-shared] (link-libc-before-gnulib): New variable.
983 [build-shared] (link-libc-tests): Likewise.
984 [build-shared] (link-libc): Define in terms of
985 $(link-libc-before-gnulib).
986 [!build-shared] (link-libc-tests): New variable.
987 (link-libc-static-tests): New variable.
988 [!gnulib] (gnulib-arch): New variable.
989 [!gnulib] (gnulib-tests): Likewise.
990 [!gnulib] (static-gnulib-arch): Likewise.
991 [!gnulib] (static-gnulib-tests): Likewise.
992 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
993 Define with "=" instead of ":=".
994 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
995 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
996 * Rules (binaries-all-notests): New variable.
997 (binaries-all-tests): Likewise.
998 (binaries-static-notests): Likewise.
999 (binaries-static-tests): Likewise.
1000 (binaries-all): Define using $(binaries-all-notests) and
1001 $(binaries-all-tests).
1002 (binaries-static): Define using $(binaries-static-notests) and
1003 $(binaries-static-tests).
1004 (binaries-shared-tests): New variable.
1005 (binaries-shared-notests): Likewise.
1006 (binaries-shared): Remove variable.
1007 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1008 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1009 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1010 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1011 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1012 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1013 * elf/Makefile (sln-modules): New variable.
1014 (extra-objs): Add $(sln-modules:=.o).
1015 (ldconfig-modules): Add static-stubs.
1016 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1017 * elf/static-stubs.c: New file.
1018
7a845b2c
JM
1019 [BZ #14283]
1020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1021 by 7 not 8 to examine high bit of fractional part. Use volatile
1022 variables when splitting into final array of floats if
1023 __FLT_EVAL_METHOD__ != 0.
1024 * math/libm-test.inc (cos_test): Add another test.
1025 (sin_test): Likewise.
1026 * sysdeps/i386/fpu/libm-test-ulps: Update.
1027
e2283f38
JM
1028 [BZ #14273]
1029 * math/libm-test.inc (cosh_test): Add more tests.
1030
370ca3d2
JM
1031 * version.h (RELEASE): Set to "development".
1032 (VERSION): Set to "2.16.90".
1033
ee9247c3
CD
10342012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1035
1036 * NEWS: Update copyright. Remove last-updated date.
1037 Mention math library bug fixes and timezone data changes.
1038 * README: Mention GNU/Hurd, x32, and HPPA support status.
1039
4648c381
TS
10402012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1041
1042 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1043
aac78a43
AJ
10442012-06-27 Andreas Jaeger <aj@suse.de>
1045
1046 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1047
ed3dbfad
AJ
10482012-06-25 Andreas Jaeger <aj@suse.de>
1049
1050 * sysdeps/s390/fpu/libm-test-ulps: Update.
1051
4d0ee855
AS
10522012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1053 Thomas Schwinge <thomas@codesourcery.com>
1054
1055 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1056 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1058 fanotify_mark.
1059
af1bce34
TS
10602012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1061
a9fa33ba
TS
1062 * sysdeps/mach/start.c: Remove file.
1063 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1064 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1065 * sysdeps/sh/init-first.c: Likewise.
1066
58f902b8
TS
1067 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1068 registers for frame unwinding purposes, add CFI directives.
1069 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1070 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1071 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1072 Likewise.
1073
1518f58b
TS
1074 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1075 __fortify_fail returning.
1076 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1077
db9b5059
TS
1078 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1079 sysdeps/sh/____longjmp_chk.S.
1080 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1081 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1082 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1083 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1084
967705fe
TS
1085 * sysdeps/sh/abort-instr.h: New file.
1086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1087 process in case exit returns.
1088
a9def8c4
TS
1089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1090 initialize the GOT register before use.
1091
2a649725
TS
1092 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1093 calculation of ARGC > 4.
1094
af1bce34
TS
1095 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1096 meaningful names to some local labels.
1097
d230f50a
KK
10982012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1099 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1100
1101 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1102 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1103 (__arch_compare_and_exchange_val_16_acq): Likewise.
1104 (__arch_compare_and_exchange_val_32_acq): Likewise.
1105 (atomic_exchange_and_add): Fix gUSA sequence.
1106 (atomic_add): Likewise.
1107 (atomic_add_negative): Likewise.
1108 (atomic_add_zero): Likewise.
1109 (atomic_bit_test_set): Likewise.
1110
0479b305
AS
11112012-06-22 Andreas Schwab <schwab@redhat.com>
1112
1113 [BZ #13579]
1114 * include/link.h (struct link_map): Add l_free_initfini.
1115 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1116 l_initfini.
1117 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1118 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1119 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1120 set.
1121
0e3933b9
CD
11222012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1123
1124 * configure.in: Use AC_LANG_SOURCE.
1125 * configure: Regenerate.
1126
4248b1b1
RM
11272012-06-22 Roland McGrath <roland@hack.frob.com>
1128
1129 * configure.in (libc_cv_localstatedir): New substituted variable.
1130 * configure: Regenerated.
1131 * config.make.in (localstatedir): New variable, substituted from
1132 libc_cv_localstatedir.
1133 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1134 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1135 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1136 * sysdeps/gnu/configure: Regenerated.
1137
006dd861
JL
11382012-06-21 Jeff Law <law@redhat.com>
1139
1140 [BZ #14277]
1141 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1142 free. Simplify list management for _LIBC case.
1143
79662d42
JM
11442012-06-21 Joseph Myers <joseph@codesourcery.com>
1145
b7abb4bf
JM
1146 [BZ #14273]
1147 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1148 Clear sign bit of 64-bit integer value before comparing against
1149 overflow value.
1150
79662d42
JM
1151 * sysdeps/mach/configure: Regenerated.
1152
1f150908
L
11532012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 [BZ #14278]
1156 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1157
28363bbf
JL
11582012-06-21 Jeff Law <law@redhat.com>
1159
1160 [BZ #13882]
1161 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1162 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1163 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1164 * elf/dl-open.c (dl_open_worker): Likewise.
1165
09615db4
CD
11662012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1167
1168 * scripts/list-sources.sh: Scan PORTS for translations.
1169 * po/libc.pot: Regenerated.
1170
2174c6dd
AJ
11712012-06-21 Andreas Jaeger <aj@suse.de>
1172
1173 [BZ #12194]
1174 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1175 warning.
1176 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1177 * bits/byteswap-16.h (__bswap_16): Likewise.
1178 * bits/byteswap.h (__bswap_constant_16): Likewise.
1179
3ee947b1
L
11802012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 [BZ #14117]
a2f34833
L
1183 * sysdeps/i386/fpu_control.h: Removed.
1184 * sysdeps/x86_64/fpu_control.h: Moved to ...
1185 * sysdeps/x86/fpu_control.h: Here.
1186
3ee947b1
L
1187 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1188 (_FPU_SETCW): Likewise.
1189
ed1825f8
L
11902012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1191
25f1282a
L
1192 [BZ #14117]
1193 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1194 * sysdeps/x86/fpu/bits/mathinline.h: This.
1195 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1196
ed1825f8
L
1197 [BZ #14050]
1198 [BZ #14117]
1199 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1200 functions if __x86_64__ is defined.
1201
36d54b74
CLT
12022012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1203
1204 * string/endian.h: Add !__ASSEMBLER__ condition for including
1205 conversion interfaces.
1206
10285c21
JM
12072012-06-15 Joseph Myers <joseph@codesourcery.com>
1208
1209 [BZ #14241]
1210 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1211 of ABS(x) in calculating zero to negative powers other than odd
1212 integers.
1213 * math/libm-test.inc (pow_test): Add more tests.
1214
06c5abbd
AJ
12152012-06-15 Andreas Jaeger <aj@suse.de>
1216
1217 * manual/contrib.texi (Contributors): Update entry of Liubov
1218 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1219 Machado Filho.
1220
a3aeac40
CH
12212012-06-15 Cyril Hrubis <metan@ucw.cz>
1222
1223 * string/string.h: Add __wur to GNU version of strerror_r.
1224
49bdf4c1
L
12252012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1226
1227 [BZ #14229]
1228 * string/Makefile (tests): Add tst-strtok_r.
1229 * string/tst-strtok_r.c: New file.
1230 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1231 RAX_LP/RDX_LP on SAVE_PTR.
1232
834f9b8d
RM
12332012-06-14 Roland McGrath <roland@hack.frob.com>
1234
1235 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1236
75fa1921
JM
12372012-06-14 Joseph Myers <joseph@codesourcery.com>
1238
1239 * libm_test.inc (csqrt_test): Allow more spurious underflow
1240 exceptions.
1241 (j0_test): Likewise.
1242 (j1_test): Likewise.
1243 (y0_test): Likewise.
1244 (y1_test): Likewise.
1245
771766df
CD
12462012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1247
1248 * po/Makefile (libc.pot): Use UTF-8 charset.
1249
ceb9e56b
PP
12502012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1251
1252 [BZ #14210]
1253 Suppress sign-conversion warning from FD_SET.
1254 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1255 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1256 not unsigned long int.
1257 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1258
ddb28975
L
12592012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1260
1261 [BZ #14050]
1262 [BZ #14117]
1263 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1264 __extern_always_inline instead of __extern_inline.
1265 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1266 (__signbit): Likewise.
1267 (__signbitl): Support C++ namespace.
1268 (lrintf): New inline function.
1269 (lrint): Likewise.
1270 (llrintf): Likewise.
1271 (llrint): Likewise.
1272 (fmaxf): Likewise.
1273 (fmax): Likewise.
1274 (fminf): Likewise.
1275 (fmin): Likewise.
1276 (rint): Likewise.
1277 (rintf): Likewise.
1278 (ceil): Likewise.
1279 (ceilf): Likewise.
1280 (floor): Likewise.
1281 (floorf): Likewise.
1282 (nearbyint): Likewise.
1283 (nearbyintf): Likewise.
1284
d7b4fb26
TS
12852012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1286
1287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1288 non-default versions.
1289
eb55f5c2
RM
12902012-06-11 Roland McGrath <roland@hack.frob.com>
1291
1292 [BZ #14218]
1293 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1294
366af02c
TS
12952012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1296
99ff6e5c
TS
1297 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1298 (FE_UPWARD, FE_DOWNWARD): Don't define.
1299 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1300 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1301
366af02c
TS
1302 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1303 reading it.
1304 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1305 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1306
793ea851
KK
13072012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1308
1309 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1310 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1311 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1312 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1313
a728a38f
L
13142012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1315
1316 [BZ #14117]
c08010c7
L
1317 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1318 * sysdeps/i386/fpu/Implies: New file.
1319 * sysdeps/x86_64/fpu/Implies: Likewise.
1320 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1321 * sysdeps/x86/fpu/bits/fenv.h: This.
1322
a728a38f
L
1323 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1324 __SSE_MATH__.
1325
6e230d11
SP
13262012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1327
1328 [BZ #14134]
1329 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1330 character 0xffff that matches the last element of the
1331 conversion table.
1332
1b671feb
AZ
13332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1334
1335 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1336 fmodl commit.
1337
6043738b
AZ
13382012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1339
1340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1341 values higher than 25.6283.
1342
34ae0b32
AZ
13432012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344
1345 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1346 subnormal exponent extraction and add some __builtin_expect.
1347 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1348 Fix for subnormal mantissa calculation.
1349
1214ec8f
MF
13502012-06-04 Mike Frysinger <vapier@gentoo.org>
1351
1352 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1353 cpu2 is -1 and errno is not ENOSYS.
1354
f3d1f93c
L
13552012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1356
1357 [BZ #14117]
0e4a3cd7
L
1358 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1359 * sysdeps/x86/bits/string.h: This.
1360 * sysdeps/x86_64/bits/string.h: Removed.
1361
6704c645
L
1362 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1363 if not compiling for x86-64, but compiling for >= i486.
1364
48495318
L
1365 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1366 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1367
14adcbfc
L
1368 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1369 New macro from Linux kernel 3.4.0.
1370 (FP_XSTATE_MAGIC2): Likewise.
1371 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1372 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1373 (struct _fpx_sw_bytes): New struct.
1374 (struct _xsave_hdr): Likewise.
1375 (struct _ymmh_state): Likewise.
1376 (struct _xstate): Likewise.
1377
68e408ab
L
1378 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1379 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1380 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1381 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1382 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1383 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1384
f3d1f93c
L
1385 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1386 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1387 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1388 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1389 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1390 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1391
d9dc34cd
TMQMF
13922012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1393
1394 [BZ #13743]
1395 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1396 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1397 (sysdep_headers): Include sys/platform/ppc.h.
1398 * sysdeps/powerpc/test-gettimebase.c: Test for
1399 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1400 * manual/Makefile (appendices): Include platform.texi.
1401 * manual/contrib.texi (Contributors): Update @node pointers.
1402 * manual/maint.texi (Maintenance): Likewise.
1403 (Platform): New node.
1404 * manual/platform.texi: New file. Document the new features.
1405
4af3879c
SP
14062012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 Jakub Jelinek <jakub@redhat.com>
1408
1409 [BZ #14188]
1410 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1411 where __builtin_expect is unavailable.
1412
2fd6ff13
DM
14132012-06-03 David S. Miller <davem@davemloft.net>
1414
1415 * stdlib/longlong.h: Updated from GCC.
1416
173f7220
AS
14172012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1418
1419 [BZ #14042]
1420 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1421 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1422 __mcount_internal.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1424 (GLIBC_2.16): Likewise.
1425
f34a1c6f
L
14262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1429
88a4576f
JM
14302012-06-01 Joseph Myers <joseph@codesourcery.com>
1431
ea32bcdd
JM
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1433 (default-abi): New variable.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1435 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1436 variable.
1437 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1438 Likewise.
1439 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1440 Likewise.
1441 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1442 Likewise.
1443
88a4576f
JM
1444 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1445 definition. Document in comment.
1446
402fe938
DM
14472012-06-01 David S. Miller <davem@davemloft.net>
1448
1449 * stdlib/longlong.h: Updated from GCC.
1450
3553723f
L
14512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 [BZ #14117]
3bd872c4
L
1454 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1455 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1456 sys/debugreg.h sys/io.h here.
1457 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1458 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1459 sys/io.h.
1460 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1461 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1462 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1463 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1464 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1465 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1466
3553723f
L
1467 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1468 Define only if __x86_64__ is defined.
1469
4842e4fe
JM
14702012-06-01 Joseph Myers <joseph@codesourcery.com>
1471
c5bfe3d5
JM
1472 [BZ #14048]
1473 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1474 Use int64_t for variable i.
1475 * math/libm-test.inc (fmod_test): Add more tests.
1476
4842e4fe
JM
1477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1478 z computation is not scheduled after fetestexcept.
1479 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1480 Use math_force_eval instead of asm to ensure calculation scheduled
1481 before exception test.
1482 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1483 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1484
efb73488
AJ
14852012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1486
1487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1488 computation is not scheduled after fetestexcept.
1489
29bcce7c
L
14902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1491
1492 [BZ #14117]
1493 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1494 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1495
73a68f94
AZ
14962012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497
1498 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1499 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1500
67b6df78
L
15012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1502
edf2933a 1503 [BZ #14117]
ebc64a18
L
1504 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1505 <bits/wordsize.h>.
1506 (__WCHAR_MIN): Support __WORDSIZE == 64.
1507 (__WCHAR_MAX): Likewise.
1508
edf2933a
L
1509 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1510 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1511
57c6cf40
L
1512 [BZ #14183]
1513 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1514 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1515
67b6df78 1516 [BZ #14117]
8eb6281e
L
1517 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1518 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1519
aac639f4
L
1520 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1521 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1522
67b6df78
L
1523 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1524 Defined to 1 if __x86_64__ isn't defined.
1525 (_STAT_VER_LINUX_OLD): New.
1526 (st_atime): Remove duplicate.
1527 (st_mtime): Likewise.
1528 (st_ctime): Likewise.
1529
1c2cfe81
DM
15302012-05-31 David S. Miller <davem@davemloft.net>
1531
1532 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1533 entries.
1534
5be8418c
AS
15352012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1536
e7725326
AS
1537 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1538 gen-libm-test.pl.
1539
5be8418c
AS
1540 [BZ #14132]
1541 * elf/dl-reloc.c: Include <_itoa.h>.
1542 (_dl_reloc_bad_type): Remove use of INTUSE.
1543 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1544 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1545 * stdio-common/psiginfo.c (psiginfo): Likewise.
1546 * stdio-common/psignal.c (psignal): Likewise.
1547 * string/strsignal.c (strsignal): Likewise.
1548 * include/signal.h (_sys_siglist): Declare hidden proto.
1549 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1550 INTVARDEF with libc_hidden_data_def.
1551 * stdio-common/itoa-udigits.c: Likewise.
1552 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1553 (_itoa_lower_digits_internal): Remove declaration.
1554 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1555 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1556 (_sys_sigabbrev_internal): Remove aliases.
1557 (_sys_siglist): Define hidden alias.
1558
507352f1
MT
15592012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1560
1561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1562 bits/sysctl.h.
1563
42bbb1c3
L
15642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 [BZ #14117]
6bd784b6
L
1567 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1568 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1569
8bca20f0
L
1570 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1571 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1572 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1573 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1574 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1575 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1576
f9e890a9
L
1577 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1578 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1579 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1580
471101a1
L
1581 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1582 with __addr.
1583 (insw): Likewise.
1584 (insl): Likewise.
1585 (outsb): Likewise.
1586 (outsw): Likewise.
1587 (outsl): Likewise.
1588
6451c862
L
1589 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1590 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1591 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1592
a254b8c9
L
1593 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1594 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1595 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1596 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1597 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1598 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1599
b8dfdd92
L
1600 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1601 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1602
578cd270
L
1603 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1604 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1605
de662f5f
L
1606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1608 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1609
25653439
L
1610 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1611 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1612 to ...
1613 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1614
6bad24a0
L
1615 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1616 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1617 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1618
42bbb1c3
L
1619 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1620 for x86-64.
1621 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1622
2d10d547
JM
16232012-05-31 Joseph Myers <joseph@codesourcery.com>
1624
1625 * math/math.h (M_El): Use two more decimal places.
1626 (M_LOG2El): Likewise.
1627 (M_LOG10El): Likewise.
1628 (M_LN2l): Likewise.
1629 (M_LN10l): Likewise.
1630 (M_PIl): Likewise.
1631 (M_PI_2l): Likewise.
1632 (M_PI_4l): Likewise.
1633 (M_1_PIl): Likewise.
1634 (M_2_PIl): Likewise.
1635 (M_2_SQRTPIl): Likewise.
1636 (M_SQRT2l): Likewise.
1637 (M_SQRT1_2l): Likewise.
1638
f230c29b
DM
16392012-05-31 David S. Miller <davem@davemloft.net>
1640
1641 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1642 values between float registers.
1643 * sysdeps/sparc/sparc64/memset.S: Likewise.
1644 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1645
fed806c3
MF
16462012-05-31 Mike Frysinger <vapier@gentoo.org>
1647
1648 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1649 -D_FORTIFY_SOURCE=1.
1650 (CPPFLAGS-tst-longjmp_chk.c): Define.
1651 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1652 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1653 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1654 CFLAGS-tst-wchar-h.c.
1655
30917259
MP
16562012-05-31 Marek Polacek <polacek@redhat.com>
1657
1658 [BZ #14132]
1659 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1660 __endmntent_internal): Remove declaration.
1661 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1662 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1663 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1664
1c58d5dc
DM
16652012-05-30 David S. Miller <davem@davemloft.net>
1666
1667 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1668 (___Q_simulate_exceptions): Use real FP ops rather than writing
1669 into the %fsr.
1670 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1671 Likewise.
1672
7dc00e0d
L
16732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1674
1675 [BZ #14117]
0bd53985
L
1676 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1677 * sysdeps/x86/bits/xtitypes.h: This.
1678
3a257e66
L
1679 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1680 * sysdeps/x86/bits/wordsize.h: This.
1681
62f62904
L
1682 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1683 * sysdeps/x86/bits/huge_vall.h: This.
1684
404fe9d9
L
1685 * sysdeps/i386/bits/select.h: Removed.
1686 * sysdeps/x86_64/bits/select.h: Renamed to ...
1687 * sysdeps/x86/bits/select.h: This.
1688
d48d0446
L
1689 * sysdeps/i386/bits/setjmp.h: Removed.
1690 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1691 * sysdeps/x86/bits/setjmp.h: This.
1692
7dc00e0d
L
1693 * sysdeps/i386/bits/mathdef.h: Removed.
1694 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1695 * sysdeps/x86/bits/mathdef.h: This.
1696
03277f8f
AS
16972012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1698
1699 [BZ #14132]
1700 * include/sys/socket.h (__connect_internal)
1701 (__libc_sa_len_internal): Remove declaration.
1702 (__connect, __libc_sa_len): Declare hidden_proto.
1703 (SA_LEN): Remove use of INTUSE.
1704 * socket/connect.c: Add libc_hidden_def.
1705 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1706 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1707 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1708 alias.
1709 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1710 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1711 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1712 of adding _internal alias.
1713
13764867
L
17142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1715
1716 [BZ #14117]
6bd97696
L
1717 * sysdeps/i386/bits/link.h: Removed.
1718 * sysdeps/i386/bits/linkmap.h: Likewise.
1719 * sysdeps/x86_64/bits/link.h: Renamed to ...
1720 * sysdeps/x86/bits/link.h: This.
1721 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1722 * sysdeps/x86/bits/linkmap.h: This.
1723
f726f0bb
L
1724 * sysdeps/i386/bits/endian.h: Removed.
1725 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1726 * sysdeps/x86/bits/endian.h: This.
1727
13764867
L
1728 * sysdeps/i386/bits/byteswap.h: Removed.
1729 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1730 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1731 * sysdeps/x86/bits/byteswap.h: This.
1732 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1733 * sysdeps/x86/bits/byteswap-16.h: This.
1734 * sysdeps/i386/Implies: Add x86.
1735 * sysdeps/x86_64/Implies: Likewise.
1736
ae251b0b
DM
17372012-05-30 David S. Miller <davem@davemloft.net>
1738
1739 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1740 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1741 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1742 (FP_TRAPPING_EXCEPTIONS): Define.
1743 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1744 (FP_TRAPPING_EXCEPTIONS): Define.
1745 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1746 subnormals only when inexact has been signalled or underflow
1747 exceptions are enabled.
1748 (_FP_PACK_CANONICAL): Likewise.
1749
d5c90867
L
17502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1751
1752 [BZ #14183]
1753 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1754 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1755
63f1549e
RH
17562012-05-30 Richard Henderson <rth@twiddle.net>
1757
8d8f2279
RH
1758 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1759 with #ifndef NOT_IN_libc.
1760
63f1549e
RH
1761 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1762 marked to avoid plt entry.
1763
0ab0291b
L
17642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1765
1766 [BZ #14112]
1767 * Makeconfig (default-abi): New macro.
1768 (abi-includes): Likewise.
1769 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1770 $(abi-$(default-abi)-lib-soname) for soname if defined.
1771 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1772 abi-variants.
1773 * Makefile (installed-stubs): Likewise.
1774 * include/stubs-biarch.h: Removed.
1775 * scripts/lib-names.awk: Only handle one library at a time.
1776 * scripts/soversions.awk: Remove WORDSIZE support.
1777 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1778 entries.
1779 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1780 Removed.
1781 (syscall-list-default-condition): Likewise.
1782 (syscall-list-default-condition): Likewise.
1783 (syscall-list-includes): Likewise.
1784 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1785 syscall-list-* with abi-*. Handle undefined abi-variants.
1786 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1787 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1788 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1789 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1791 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1792 Removed.
1793 (syscall-list-32-options): Likewise.
1794 (syscall-list-32-condition): Likewise.
1795 (syscall-list-64-options): Likewise.
1796 (syscall-list-64-condition): Likewise.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1798 macro.
1799 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1800 Renamed to ...
1801 (abi-*): This.
1802 (abi-64-ld-soname): New macro.
1803 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1805 Renamed to ...
1806 (abi-*): This.
1807 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1808 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1809
4da0431d
JM
18102012-05-30 Joseph Myers <joseph@codesourcery.com>
1811
3a85279c
JM
1812 * sysdeps/unix/sysv/linux/kernel-features.h
1813 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1814 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1815 include <kernel-features.h>.
1816 [!__NR_ftruncate64]: Remove conditional code.
1817 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1818 [__NR_ftruncate64]: Make code unconditional.
1819 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1820 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1821 include <kernel-features.h>.
1822 [!__NR_ftruncate64]: Remove conditional code.
1823 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1824 [__NR_ftruncate64]: Make code unconditional.
1825 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1827 include <kernel-features.h>.
1828 [!__NR_ftruncate64]: Remove conditional code.
1829 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1830 [__NR_ftruncate64]: Make code unconditional.
1831 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1833 include <kernel-features.h>.
1834 [!__NR_ftruncate64]: Remove conditional code.
1835 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1836 [__NR_ftruncate64]: Make code unconditional.
1837 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1838
4da0431d
JM
1839 * configure.in (libc_cv_fpie): Weaken to a compile test using
1840 LIBC_TRY_CC_OPTION.
1841 * configure: Regenerated.
1842
11ef492c
AK
18432012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1844
1845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1849 Refreshed.
1850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1856 Refreshed.
1857
d66ef399
DM
18582012-05-27 David S. Miller <davem@davemloft.net>
1859
1860 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1861 (___Q_zero): New.
1862 (__Q_simulate_exceptions): Return void. Change to simulate
1863 exceptions by writing into the %fsr.
1864 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1865 (__Qp_handle_exceptions): Likewise.
1866 (numbers): Delete.
1867 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1868 __Qp_handle_exceptions.
1869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1870 __Qp_handle_exceptions.
1871 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1872 as unused and give dummy FP_RND_NEAREST initializer.
1873 (FP_INHIBIT_RESULTS): Define.
1874 (___Q_simulate_exceptions): Update declaration.
1875 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1876 formatting.
1877 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1878 as unused and give dummy FP_RND_NEAREST initializer.
1879 (__Qp_handle_exceptions): Update declaration.
1880 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1881 formatting.
1882
04fb54b5
TS
18832012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1884
1885 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1886 the temporary FPU control word.
1887 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1888 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1889 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1890 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1891 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1892 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1893 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1894 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1895 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1896 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1897 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1898
3f99608f
KK
18992012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1900
1901 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1902 fields.
1903
65a4de4e
CLT
19042012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1905
1906 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1907 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1908 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1909 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1910 Likewise.
1911 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1912 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1913 Likewise.
1914
15749d40
UD
19152012-05-27 Ulrich Drepper <drepper@gmail.com>
1916
1917 * po/h.po: Update from translation team.
1918
25dbcb27
AS
19192012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1920
3d3f8e55
AS
1921 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1922
25dbcb27
AS
1923 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1924 handling of denormals.
1925 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1926 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1927 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1928 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1932 Likewise.
1933
7ad47a80 19342012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1935
1936 [BZ #14152]
1937 * math/libm-test.inc (fma_test): Don't always expect underflow
1938 exception.
1939
9c6ea9fa
SP
19402012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1941
1942 [BZ #12416]
1943 * elf/tst-execstack.c: Include stackinfo.h.
1944 (do_test): Adjust test case to ensure that pthread_getattr_np
1945 behaviour remains the same after marking stack executable.
1946
a8239222
JM
19472012-05-25 Joseph Myers <joseph@codesourcery.com>
1948
1949 * sysdeps/unix/sysv/linux/kernel-features.h
1950 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1951 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1952 kernel-features.h.
1953 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1954 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1955 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1956 kernel-features.h.
1957 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1958 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1959
918b5606
L
19602012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1961
1962 * configure.in: Define the default includes to being none.
1963 * configure: Regenerated.
1964
3a097cc7
RM
19652012-05-25 Roland McGrath <roland@hack.frob.com>
1966
8422c9a5
RM
1967 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1968 * sysdeps/x86_64/setjmp.S: Likewise.
1969 * sysdeps/i386/bsd-setjmp.S: Likewise.
1970 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1971 * sysdeps/i386/setjmp.S: Likewise.
1972 * sysdeps/i386/__longjmp.S: Likewise.
1973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1974 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1975
3a097cc7
RM
1976 * include/stap-probe.h: New file.
1977 * configure.in: Handle --enable-systemtap.
1978 * configure: Regenerated.
1979 * config.h.in (USE_STAP_PROBE): New #undef.
1980 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1981 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1982 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1983
21708942
JM
19842012-05-25 Joseph Myers <joseph@codesourcery.com>
1985
1986 [BZ #13717]
1987 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1988 to 2.4.0 where earlier.
1989 * sysdeps/unix/sysv/linux/configure: Regenerated.
1990 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1991 <kernel-features.h>.
1992 [__ASSUME_32BITUIDS]: Make code unconditional.
1993 [!__ASSUME_32BITUIDS]: Remove conditional code.
1994 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1995 <kernel-features.h>.
1996 [__ASSUME_32BITUIDS]: Make code unconditional.
1997 [!__ASSUME_32BITUIDS]: Remove conditional code.
1998 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1999 [__ASSUME_32BITUIDS]: Make code unconditional.
2000 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2001 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2002 <kernel-features.h>.
2003 [__ASSUME_32BITUIDS]: Make code unconditional.
2004 [!__ASSUME_32BITUIDS]: Remove conditional code.
2005 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2006 <kernel-features.h>.
2007 [__ASSUME_32BITUIDS]: Make code unconditional.
2008 [!__ASSUME_32BITUIDS]: Remove conditional code.
2009 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2010 <kernel-features.h>.
2011 [__ASSUME_32BITUIDS]: Make code unconditional.
2012 [!__ASSUME_32BITUIDS]: Remove conditional code.
2013 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2014 <kernel-features.h>.
2015 [__ASSUME_32BITUIDS]: Make code unconditional.
2016 [!__ASSUME_32BITUIDS]: Remove conditional code.
2017 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2018 <kernel-features.h>.
2019 [__ASSUME_32BITUIDS]: Make code unconditional.
2020 [!__ASSUME_32BITUIDS]: Remove conditional code.
2021 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2022 <kernel-features.h>.
2023 [__ASSUME_32BITUIDS]: Make code unconditional.
2024 [!__ASSUME_32BITUIDS]: Remove conditional code.
2025 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2026 <kernel-features.h>.
2027 [__ASSUME_32BITUIDS]: Make code unconditional.
2028 [!__ASSUME_32BITUIDS]: Remove conditional code.
2029 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2030 <kernel-features.h>.
2031 [__ASSUME_32BITUIDS]: Make code unconditional.
2032 [!__ASSUME_32BITUIDS]: Remove conditional code.
2033 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2034 <kernel-features.h>.
2035 [__ASSUME_32BITUIDS]: Make code unconditional.
2036 [!__ASSUME_32BITUIDS]: Remove conditional code.
2037 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2038 <kernel-features.h>.
2039 [__ASSUME_32BITUIDS]: Make code unconditional.
2040 [!__ASSUME_32BITUIDS]: Remove conditional code.
2041 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2042 <kernel-features.h>.
2043 [__NR_setresgid] (__setresgid): Do not declare.
2044 [__ASSUME_32BITUIDS]: Make code unconditional.
2045 [!__ASSUME_32BITUIDS]: Remove conditional code.
2046 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2047 <kernel-features.h>.
2048 [__NR_setresuid] (__setresuid): Do not declare.
2049 [__ASSUME_32BITUIDS]: Make code unconditional.
2050 [!__ASSUME_32BITUIDS]: Remove conditional code.
2051 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2052 <kernel-features.h>.
2053 [__ASSUME_32BITUIDS]: Make code unconditional.
2054 [!__ASSUME_32BITUIDS]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2056 <kernel-features.h>.
2057 [__ASSUME_32BITUIDS]: Make code unconditional.
2058 [!__ASSUME_32BITUIDS]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2060 <kernel-features.h>.
2061 [__ASSUME_32BITUIDS]: Make code unconditional.
2062 [!__ASSUME_32BITUIDS]: Remove conditional code.
2063 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2064 <kernel-features.h>.
2065 [__ASSUME_32BITUIDS]: Make code unconditional.
2066 [!__ASSUME_32BITUIDS]: Remove conditional code.
2067 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2068 <kernel-features.h>.
2069 [__ASSUME_32BITUIDS]: Make code unconditional.
2070 [!__ASSUME_32BITUIDS]: Remove conditional code.
2071 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2072 <kernel-features.h>.
2073 [__ASSUME_32BITUIDS]: Make code unconditional.
2074 [!__ASSUME_32BITUIDS]: Remove conditional code.
2075 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2076 <kernel-features.h>.
2077 [__ASSUME_32BITUIDS]: Make code unconditional.
2078 [!__ASSUME_32BITUIDS]: Remove conditional code.
2079 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2080 <kernel-features.h>.
2081 [__ASSUME_32BITUIDS]: Make code unconditional.
2082 [!__ASSUME_32BITUIDS]: Remove conditional code.
2083 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2084 <kernel-features.h>.
2085 [__ASSUME_32BITUIDS]: Make code unconditional.
2086 [!__ASSUME_32BITUIDS]: Remove conditional code.
2087 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2088 <kernel-features.h>.
2089 [__ASSUME_32BITUIDS]: Make code unconditional.
2090 [!__ASSUME_32BITUIDS]: Remove conditional code.
2091 * sysdeps/unix/sysv/linux/kernel-features.h
2092 (__ASSUME_SETRESUID_SYSCALL): Remove.
2093 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2094 (__ASSUME_32BITUIDS): Likewise.
2095 (__ASSUME_LDT_WORKS): Likewise.
2096 (__ASSUME_O_DIRECTORY): Likewise.
2097 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2098 architecture but not kernel version.
2099 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2100 (__ASSUME_MMAP2_SYSCALL): Likewise.
2101 (__ASSUME_STAT64_SYSCALL): Likewise.
2102 (__ASSUME_IPC64): Likewise.
2103 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2104 <kernel-features.h>.
2105 [__ASSUME_32BITUIDS]: Make code unconditional.
2106 [!__ASSUME_32BITUIDS]: Remove conditional code.
2107 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2108 <kernel-features.h>.
2109 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2110 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2111 132096]: Remove conditional code.
2112 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2113 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2114 <kernel-features.h>.
2115 [__ASSUME_32BITUIDS]: Make code unconditional.
2116 [!__ASSUME_32BITUIDS]: Remove conditional code.
2117 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2118 <kernel-features.h>.
2119 [__ASSUME_32BITUIDS]: Make code unconditional.
2120 [!__ASSUME_32BITUIDS]: Remove conditional code.
2121 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2122 <kernel-features.h>.
2123 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2124 unconditional.
2125 (__setresgid): Do not declare.
2126 [__ASSUME_32BITUIDS]: Make code unconditional.
2127 [!__ASSUME_32BITUIDS]: Remove conditional code.
2128 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2129 <kernel-features.h>.
2130 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2131 unconditional.
2132 (__setresuid): Do not declare.
2133 [__ASSUME_32BITUIDS]: Make code unconditional.
2134 [!__ASSUME_32BITUIDS]: Remove conditional code.
2135 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2136 <kernel-features.h>.
2137 [__ASSUME_32BITUIDS]: Make code unconditional.
2138 [!__ASSUME_32BITUIDS]: Remove conditional code.
2139 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2140 <kernel-features.h>.
2141 [__ASSUME_32BITUIDS]: Make code unconditional.
2142 [!__ASSUME_32BITUIDS]: Remove conditional code.
2143
a386f1cc
RH
21442012-05-25 Richard Henderson <rth@twiddle.net>
2145
2146 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2147 dl_hwcap to ifunc resolver.
2148 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2149 elf_ifunc_invoke.
2150 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2151 dl_hwcap to ifunc resolver.
2152 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2153
b6550497
JM
21542012-05-24 Joseph Myers <joseph@codesourcery.com>
2155
2156 [BZ #14153]
2157 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2158 for |x| <= 2**-26, not 2**-57.
2159 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2160 exception.
2161
b0bc23a1
JL
21622012-05-24 Jeff Law <law@redhat.com>
2163
2164 * stdio-common/Makefile (tests): Add bug25.
2165 * stdio-common/bug25.c: New test.
2166
347c92e9
L
21672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 [BZ #13576]
2170 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2171 multiple of MALLOC_ALIGNMENT in size.
2172 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2173
6bcc8b3f
JM
21742012-05-24 Joseph Myers <joseph@codesourcery.com>
2175
2176 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2177 Require >= 256.
2178 (FILENAME_MAX): Use macro-int-constant.
2179 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2180 (_IOFBF): Use macro-int-constant.
2181 (_IOLBF): Likewise.
2182 (_IONBF): Likewise.
2183 (SEEK_CUR): Likewise.
2184 (SEEK_END): Likewise.
2185 (SEEK_SET): Likewise.
2186 (TMP_MAX): Likewise.
2187 (EOF): Use macro-int-constant. Require < 0.
2188 (NULL): Use macro-constant. Require == 0.
2189 (stdin): Require type to be FILE *.
2190 (stdout): Likewise.
2191 (stderr): Likewise.
2192 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2193 macro-int-constant.
2194 (EXIT_SUCCESS): Likewise.
2195 (NULL): Use macro-constant. Require == 0.
2196 (RAND_MAX): Use macro-int-constant.
2197 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2198 [C99-based standards] (strtof): Require function.
2199 [C99-based standards] (strtold): Likewise.
2200 [C99-based standards] (strtoll): Likewise.
2201 [C99-based standards] (strtoull): Likewise.
2202 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2203 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2204 [ISO || ISO99 || ISO11] (math.h): Likewise.
2205 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2206 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2208
d18ea0c5
AS
22092012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2210
2211 [BZ #14132]
56d25bb8
AS
2212 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2213 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2214 * intl/dgettext.c (DCGETTEXT): Likewise.
2215 * intl/gettext.c (DCGETTEXT): Likewise.
2216 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2217 * posix/regex_internal.h (gettext): Likewise.
2218 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2219 Remove declaration.
2220 * include/argz.h (__argz_count_internal)
2221 (__argz_stringify_internal): Remove declaration.
2222 (__argz_count, __argz_stringify): Declare hidden proto.
2223 * intl/dcgettext.c: Remove use of INTDEF.
2224 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2225 * string/argz-stringify.c: Likewise.
2226 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2227 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2228 Declare hidden proto.
d18ea0c5
AS
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.
2232 * include/stdio.h (__asprintf_internal): Don't declare.
2233 (__asprintf): Don't define as macro. Declare hidden proto.
2234 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2235 (__fsetlocking): Declare hidden proto.
2236 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2237 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2238 hidden proto.
2239 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2240 (_IO_setlinebuf): Remove use of INTUSE.
2241 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2242 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2243 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2244 Remove declaration.
2245 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2246 (_IO_do_flush): Remove use of INTUSE.
2247 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2248 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2249 (_IO_adjust_column, _IO_least_wmarker)
2250 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2251 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2252 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2253 (_IO_default_doallocate, _IO_wdefault_doallocate)
2254 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2255 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2256 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2257 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2258 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2259 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2260 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2261 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2262 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2263 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2264 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2265 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2266 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2267 proto.
2268 (_IO_flush_all_internal, _IO_adjust_column_internal)
2269 (_IO_default_uflow_internal, _IO_default_finish_internal)
2270 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2271 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2272 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2273 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2274 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2275 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2276 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2277 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2278 (_IO_file_close_internal, _IO_file_close_it_internal)
2279 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2280 (_IO_file_init_internal, _IO_file_attach_internal)
2281 (_IO_file_fopen_internal, _IO_file_read_internal)
2282 (_IO_file_sync_internal, _IO_file_seek_internal)
2283 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2284 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2285 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2286 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2287 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2288 (_IO_list_all_internal, _IO_link_in_internal)
2289 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2290 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2291 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2292 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2293 (_IO_do_write_internal, _IO_padn_internal)
2294 (_IO_getline_info_internal, _IO_getline_internal)
2295 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2296 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2297 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2298 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2299 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2300 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2301 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2302 with libc_hidden_ver, remove use of INTUSE.
2303 * libio/genops.c: Likewise.
2304 * libio/freopen.c: Likewise.
2305 * libio/freopen64.c: Likewise.
2306 * libio/iofclose.c: Likewise.
2307 * libio/iofdopen.c: Likewise.
2308 * libio/iofflush.c: Likewise.
2309 * libio/iofflush_u.c: Likewise.
2310 * libio/iofgets.c: Likewise.
2311 * libio/iofgets_u.c: Likewise.
2312 * libio/iofopen.c: Likewise.
2313 * libio/iofopncook.c: Likewise.
2314 * libio/iofread.c: Likewise.
2315 * libio/iofread_u.c: Likewise.
2316 * libio/ioftell.c: Likewise.
2317 * libio/iofwrite.c: Likewise.
2318 * libio/iogetline.c: Likewise.
2319 * libio/iogets.c: Likewise.
2320 * libio/iogetwline.c: Likewise.
2321 * libio/iopadn.c: Likewise.
2322 * libio/iopopen.c: Likewise.
2323 * libio/ioseekoff.c: Likewise.
2324 * libio/ioseekpos.c: Likewise.
2325 * libio/iosetbuffer.c: Likewise.
2326 * libio/iosetvbuf.c: Likewise.
2327 * libio/ioungetc.c: Likewise.
2328 * libio/ioungetwc.c: Likewise.
2329 * libio/iovdprintf.c: Likewise.
2330 * libio/iovsprintf.c: Likewise.
2331 * libio/iovsscanf.c: Likewise.
2332 * libio/memstream.c: Likewise.
2333 * libio/obprintf.c: Likewise.
2334 * libio/oldfileops.c: Likewise.
2335 * libio/oldiofclose.c: Likewise.
2336 * libio/oldiofdopen.c: Likewise.
2337 * libio/oldiofopen.c: Likewise.
2338 * libio/oldiopopen.c: Likewise.
2339 * libio/oldstdfiles.c: Likewise.
2340 * libio/putc.c: Likewise.
2341 * libio/setbuf.c: Likewise.
2342 * libio/setlinebuf.c: Likewise.
2343 * libio/stdfiles.c: Likewise.
2344 * libio/strops.c: Likewise.
2345 * libio/vasprintf.c: Likewise.
2346 * libio/vscanf.c: Likewise.
2347 * libio/vsnprintf.c: Likewise.
2348 * libio/vswprintf.c: Likewise.
2349 * libio/wfiledoalloc.c: Likewise.
2350 * libio/wfileops.c: Likewise.
2351 * libio/wgenops.c: Likewise.
2352 * libio/wmemstream.c: Likewise.
2353 * libio/wstrops.c: Likewise.
2354 * libio/__fpurge.c: Likewise.
2355 * libio/__fsetlocking.c: Likewise.
2356 * assert/assert.c: Likewise.
2357 * debug/fgets_chk.c: Likewise.
2358 * debug/fgets_u_chk.c: Likewise.
2359 * debug/fread_chk.c: Likewise.
2360 * debug/fread_u_chk.c: Likewise.
2361 * debug/gets_chk.c: Likewise.
2362 * debug/obprintf_chk.c: Likewise.
2363 * debug/vasprintf_chk.c: Likewise.
2364 * debug/vdprintf_chk.c: Likewise.
2365 * debug/vsnprintf_chk.c: Likewise.
2366 * debug/vsprintf_chk.c: Likewise.
2367 * malloc/mtrace.c: Likewise.
2368 * misc/error.c: Likewise.
2369 * misc/syslog.c: Likewise.
2370 * stdio-common/asprintf.c: Likewise.
2371 * stdio-common/fxprintf.c: Likewise.
2372 * stdio-common/getw.c: Likewise.
2373 * stdio-common/isoc99_fscanf.c: Likewise.
2374 * stdio-common/isoc99_scanf.c: Likewise.
2375 * stdio-common/isoc99_vfscanf.c: Likewise.
2376 * stdio-common/isoc99_vscanf.c: Likewise.
2377 * stdio-common/isoc99_vsscanf.c: Likewise.
2378 * stdio-common/printf-prs.c: Likewise.
2379 * stdio-common/printf_fp.c: Likewise.
2380 * stdio-common/printf_fphex.c: Likewise.
2381 * stdio-common/printf_size.c: Likewise.
2382 * stdio-common/putw.c: Likewise.
2383 * stdio-common/scanf.c: Likewise.
2384 * stdio-common/sprintf.c: Likewise.
2385 * stdio-common/tmpfile.c: Likewise.
2386 * stdio-common/vfprintf.c: Likewise.
2387 * stdio-common/vfscanf.c: Likewise.
2388 * stdlib/strfmon_l.c: Likewise.
2389 * sunrpc/openchild.c: Likewise.
2390 * sunrpc/xdr_stdio.c: Likewise.
2391 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2392 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2393
d6c33fda
RM
23942012-05-24 Roland McGrath <roland@hack.frob.com>
2395
c1487492
RM
2396 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2397
2398 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2399 in the third column, to generate for the shared library an IFUNC
2400 that uses _dl_vdso_vsym.
2401 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2402 * Makeconfig (object-suffixes-noshared): New variable.
2403
2404 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2405 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2406 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2407 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2408
d6c33fda
RM
2409 [BZ #14132]
2410 * include/sys/time.h (__gettimeofday): Remove macro.
2411 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2412 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2413 Remove INTDEF.
2414 (__gettimeofday): Add libc_hidden_def.
2415 (gettimeofday): Add libc_hidden_weak.
2416 * sysdeps/mach/gettimeofday.c: Likewise.
2417 * sysdeps/posix/gettimeofday.c: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2419 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2421 (__gettimeofday_internal): Remove strong_alias.
2422 (__gettimeofday): Add libc_hidden_def.
2423 (gettimeofday): Add libc_hidden_weak.
2424 * sysdeps/unix/syscalls.list (gettimeofday):
2425 Remove __gettimeofday_internal alias.
2426
b5a2bbe6
L
24272012-05-24 Daniel Jacobowitz <drow@false.org>
2428 H.J. Lu <hongjiu.lu@intel.com>
2429
2430 [BZ #12495]
2431 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2432 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2433 (largebin_index_32_big): New.
2434 (largebin_index): Use it for 16-byte alignment.
2435 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2436 correction with front_misalign.
2437
cfba4fda
L
24382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2439
7f907421
L
2440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2442 Likewise.
2443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2444 Likewise.
2445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2446 Likewise.
2447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2448 Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2450 Likewise.
2451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2452 Likewise.
2453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2454 Likewise.
2455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2456 Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2458 Likewise.
2459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2460 Likewise.
2461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2462 Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2464 Likewise.
2465
cfba4fda
L
2466 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2467 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2468
80bad0cc
JM
24692012-05-24 Joseph Myers <joseph@codesourcery.com>
2470
7a25eb06
JM
2471 [BZ #10846]
2472 [BZ #14036]
2473 * math/libm-test.inc (exp_test): Add test from bug 14036.
2474 (pow_test): Add test from bug 10846.
2475
795405f9
JM
2476 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2477 and other flags.
2478 (special_function): Do not include flags in test name.
2479 (parse_args): Likewise.
2480 * sysdeps/i386/fpu/libm-test-ulps: Update.
2481 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2482 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2483 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2485
80bad0cc
JM
2486 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2487 exceptions.
2488 * math/libm-test.inc ("Philosophy"): Update comment about
2489 exception testing.
2490 (UNDERFLOW_EXCEPTION): New macro.
2491 (UNDERFLOW_EXCEPTION_OK): Likewise.
2492 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2493 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2494 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2495 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2496 (INVALID_EXCEPTION_OK): Update value.
2497 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2498 (OVERFLOW_EXCEPTION_OK): Likewise.
2499 (IGNORE_ZERO_INF_SIGN): Likewise.
2500 (test_exceptions): Handle underflow exceptions.
2501 (acos_test): Update for underflow exception expectations.
2502 (cexp_test): Likewise.
2503 (clog_test): Likewise.
2504 (clog10_test): Likewise.
2505 (csqrt_test): Likewise.
2506 (ctan_test): Likewise.
2507 (ctanh_test): Likewise.
2508 (exp_test): Likewise.
2509 (exp10_test): Likewise.
2510 (exp2_test): Likewise.
2511 (expm1_test): Likewise.
2512 (fma_test): Likewise.
2513 (j0_test): Likewise.
2514 (jn_test): Likewise.
2515 (nexttoward_test): Likewise.
2516 (pow_test): Likewise.
2517 (scalbn_test): Likewise.
2518 (scalbln_test): Likewise.
2519 (tan_test): Likewise.
2520 (y1_test): Likewise.
2521 * sysdeps/i386/fpu/libm-test-ulps: Update.
2522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2523
9e0e3d0b
DM
25242012-05-23 David S. Miller <davem@davemloft.net>
2525
2526 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2527 (__libc_sigaction): Remove unused local variables.
2528
ccd0a08f
L
25292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2530
2531 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2532
62bdf9a6
PE
25332012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2534
f8591f80
PE
2535 mktime: avoid signed integer overflow
2536 * time/mktime.c (__mktime_internal): Do not mishandle the case
2537 where diff == INT_MIN.
2538
94c7d826
PE
2539 mktime: simplify computation of average
2540 * time/mktime.c (ranged_convert): Use new time_t_avg function
2541 instead of rolling our own (probably-slower) code.
2542
ce73d683
PE
2543 mktime: do not assume signed right shift propagates sign bit
2544 * time/mktime.c (isdst_differ): New static function.
2545 (__mktime_internal): No need to normalize tm_isdst now.
2546 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2547 tm_isdst values.
2548
72a22e59
PE
2549 mktime: merge another wrapv change from gnulib
2550 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2551 from some compilers.
2552
68605433
PE
2553 mktime: remove incorrect attempt at unusual arithmetics
2554 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2555 The code didn't really work on such machines anyway.
2556 (TYPE_MINIMUM): Assume two's complement.
2557 (twos_complement_arithmetic): Verify that long_int and time_t
2558 are two's complement (or unsigned, in the latter case).
2559
03cf7fe3
PE
2560 mktime: check signed shifts on long_int and time_t, too
2561 * time/mktime.c (SHR): Check that shifts work as desired
2562 on the types long_int and time_t too, as SHR is used on
2563 such types.
2564
f04dfbc2
PE
2565 mktime: do not assume 'long' is wide enough
2566 * time/mktime.c (verify): Move decl up.
2567 (long_int): New type.
2568 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2569 to remove assumption in the code that 'long' is wide enough to
2570 store year values. This assumption is not true on x32 and on
2571 some non-glibc platforms.
2572
62bdf9a6
PE
2573 mktime: merge wrapv change from gnulib
2574 * time/mktime.c (WRAPV): New macro.
2575 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2576 (guess_time_tm, __mktime_internal): Do not assume that signed
2577 integer overflow wraps around; modern compilers generate code
2578 where this assumption is no longer valid.
2579
5e292e4f
L
25802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2581
2582 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2583 Replace "jmp L(pseudo_end)" with "ret".
2584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2585 Likewise.
2586
8caf8c87
AJ
25872012-05-23 Andreas Jaeger <aj@suse.de>
2588
2589 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2590 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2591
1a09dc56
AJ
25922012-05-23 Andreas Jaeger <aj@suse.de>
2593 Maximilian Attems <max@stro.at>
2594
2595 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2596 New macros.
2597
1c87aba0
L
25982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2601 code so that pseudo_end is just ret and the stack pointer is
2602 correct also for static library in error case.
2603
40e45bd5
JM
26042012-05-23 Joseph Myers <joseph@codesourcery.com>
2605
c2670533
JM
2606 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2607 move to syscalls.list.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2612
40e45bd5
JM
2613 * manual/install.texi (Running make install): Do not mention Linux
2614 kernel version for which pt_chown is not needed.
2615 (Linux): Do not mention problems with nscd with 2.0 kernels.
2616 * INSTALL: Regenerated.
2617
be08eda5
AJ
26182012-05-23 Andreas Jaeger <aj@suse.de>
2619
2620 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2621 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2622 macro.
2623 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2625 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2627 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2629 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2633 * sysdeps/unix/sysv/linux/bits/in.h
2634 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2635
a6a056bb
RM
26362012-05-22 Roland McGrath <roland@hack.frob.com>
2637
2638 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2639 (PREPARE_VERSION): Just use assert instead, it will be elided
2640 under [NDEBUG] anyway.
2641
c9009328
L
26422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * sysdeps/unix/sysv/linux/Makefile: Include
2645 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2646 (sysdep_routines): Remove sysctl.
c9009328
L
2647 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2648 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2649 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2650 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2651 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2652
73338355
AJ
26532012-05-22 Andreas Jaeger <aj@suse.de>
2654
2655 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2656 that pseudo_end is just ret and the stack pointer is correct also
2657 for static library in error case.
2658
d44638b0
PP
26592012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2660
2661 [BZ #14122]
2662 * nss/nsswitch.c (defconfig_entries): New variable.
2663 (__nss_database_lookup): Don't leak defconfig entries.
2664 (nss_parse_service_list): Don't leak on error paths.
2665 (free_database_entries): New function.
2666 (free_defconfig): New function.
2667 (free_mem): Move common code to free_database_entries.
2668
31a39bd8
L
26692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2670
da0331a8
L
2671 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2672 Add arch_prctl.
2673 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2674
31a39bd8
L
2675 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2676 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2678 New macro.
2679 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2680 (INTERNAL_SYSCALL_TYPES): Likewise.
2681 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2682 (LOAD_REGS_TYPES_[1-6]): Likewise.
2683 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2684 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2685
45470df3
AZ
26862012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2687
2688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2689 copysignl for GLIBC_2_0.
2690 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2691 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2693 logbl for GLIBC_2_0.
2694 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2695 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2696
98a61bcb
L
26972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2698
a4f6e481
L
2699 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2700 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2701
f63d5db6
L
2702 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2703 Use "neg %eax".
2704
98a61bcb
L
2705 * time/mktime.c: Update copyright years.
2706
95770f14
PE
27072012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2708
6226efbd
PE
2709 mktime: merge comment-quoting-style change from gnulib
2710 * time/mktime.c: Quote 'like this' in comments.
2711 The GNU coding standards suggest that we no longer quote `like this',
2712 as "`" and "'" are typically rendered asymmetrically nowadays.
2713 The typical gnulib style is to quote 'like this' when quoting
2714 code, and "like this" when quoting English.
2715
b99e4f78
PE
2716 * time/mktime.c (compile-command): Add "-I.".
2717
643e01e6
PE
2718 mktime: merge mktime-internal.h change from gnulib
2719 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2720
2554247d
PE
2721 mktime: merge time_r change from gnulib
2722 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2723
826dd0ab
PE
2724 mktime: merge DEBUG change from gnulib
2725 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2726 case system <time.h> has a #define.
2727
bd83aabe
PE
2728 mktime: merge <sys/types.h> change from gnulib
2729 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2730 since <time.t> is now guaranteed to define time_t.
2731
95770f14
PE
2732 mktime: merge HAVE_CONFIG_H change from gnulib
2733 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2734
5e1a27a9
L
27352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2736
0e44a77e
L
2737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2738 Use "neg %eax".
2739
5e1a27a9
L
2740 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2741 __rlim_t cast.
2742 (struct rusage): Use anonymous union to pad each field to
2743 __syscall_slong_t.
2744
46259bec
DM
27452012-05-21 David S. Miller <davem@davemloft.net>
2746
2747 * Makefules (o-iterator): Remove .s cases.
2748 (compile-command.s): Delete.
2749 (COMPILE.s): Delete.
2750 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2751
59f0c22e
JM
27522012-05-21 Joseph Myers <joseph@codesourcery.com>
2753
2754 * configure.in (libc_cv_predef_stack_protector): Only consider
2755 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2756 * configure: Regenerated.
2757
20c07380
L
27582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2759
bbb3154b
L
2760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2761 New macro. Use R*LP on int and pointer.
2762 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2763 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2764 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2765 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2766
20c07380
L
2767 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2768 [__WORDSIZE_TIME64_COMPAT32] instead of
2769 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2770 (struct utmp): Likewise.
2771 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2772 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2773 Renamed to ...
2774 (__WORDSIZE_TIME64_COMPAT32): This.
2775 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2776 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2777 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2779 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2780 (__WORDSIZE_TIME64_COMPAT32): New macro.
2781
d8d1017e
AJ
27822012-05-21 Andreas Jaeger <aj@suse.de>
2783
2784 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2785 only if [SHARED]. Add prototype for __wcschr_ia32.
2786
6c7fb145
RM
27872012-05-21 Roland McGrath <roland@hack.frob.com>
2788
2789 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2790 of %rbp unmolested in the jmp_buf while mangling the low bits.
2791 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2792 unmolested high bits of %rbp while demangling the low bits.
2793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2794
66274218
AJ
27952012-05-21 Andreas Jaeger <aj@suse.de>
2796
07c58f8f
AJ
2797 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2798 * sunrpc/svc_simple.c: Use it for registerrpc.
2799 * sunrpc/xcrypt.c: Use it for passwd2des.
2800
66274218
AJ
2801 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2802
61f65140
L
28032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2804
2805 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2806 Don't define if [__SYSCALL_WORDSIZE != 32].
2807 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2808 New macro.
2809
5fefb436
AJ
28102012-05-21 Bruno Haible <bruno@clisp.org>
2811 Andreas Jaeger <aj@suse.de>
2812
2813 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2814 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2815 inptr and inend for must_buffer_ch.
2816 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2817 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2818 * stdio-common/Makefile (tests): Remove bug15.
2819 (bug15-ENV): Remove macro.
2820 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2821 anymore.
2822
d8e272ab
AJ
28232012-05-19 Andreas Jaeger <aj@suse.de>
2824 Roland McGrath <roland@hack.frob.com>
2825
2826 * manual/contrib.texi: Completely rewritten. It contains now an
2827 alphabetical list of contributors and their contributions.
2828
4a56a162
RH
28292012-05-21 Richard Henderson <rth@twiddle.net>
2830
2831 * misc/getauxval.c (__getauxval): Use unsigned long int.
2832 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2833 (getauxval): Use unsigned long int.
2834
d024d23c
L
28352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2838
cbc00a03
RM
28392012-05-21 Roland McGrath <roland@hack.frob.com>
2840
2841 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2842 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2843 __alignof__ (long double).
2844
478143fa
AZ
28452012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2846
2847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2848
c7683a6d
RH
28492012-05-20 Richard Henderson <rth@twiddle.net>
2850
2851 * misc/getauxval.c: New file.
2852 * misc/sys/auxv.h: New file.
2853 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2854 (routines): Add getauxval.
2855 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2856 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2857 * elf/dl-sysdep.c (_dl_auxv): Remove.
2858 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2859 * elf/dl-support.c (_dl_auxv): New variable.
2860 (_dl_aux_init): Initialize it.
2861 * manual/startup.texi (Auxiliary Vector): New node.
2862 * sysdeps/generic/bits/hwcap.h: New file.
2863 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2864 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2865 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2866 * sysdeps/sparc/sysdep.h: ... here. Include it.
2867 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2868 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2870 Update.
c7683a6d
RH
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2879
a6f1845d
AZ
28802012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2881
2882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2883
cbcbe830
DM
28842012-05-19 David S. Miller <davem@davemloft.net>
2885
2886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2887
e0b16cc2
JM
28882012-05-19 Joseph Myers <joseph@codesourcery.com>
2889
2890 [BZ #14123]
2891 * math/s_ccosh.c: Include <float.h>
2892 (__ccosh): Avoid internal overflow calculating sinh and cosh
2893 values before multiplying by sin and cos values.
2894 * math/s_ccoshf.c: Likewise.
2895 * math/s_ccoshl.c: Likewise.
2896 * math/s_csin.c: Likewise.
2897 * math/s_csinf.c: Likewise.
2898 * math/s_csinl.c: Likewise.
2899 * math/s_csinh.c: Likewise.
2900 * math/s_csinhf.c: Likewise.
2901 * math/s_csinhl.c: Likewise.
2902 * math/libm-test.inc (ccos_test): Add more tests.
2903 (ccosh_test): Likewise.
2904 (csin_test): Likewise.
2905 (csinh_test): Likewise.
2906 * sysdeps/i386/fpu/libm-test-ulps: Update.
2907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2908
6ad13e08
L
29092012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2910
f66f0ce8
L
2911 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2912 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2913
6ad13e08
L
2914 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2915
b1d072a7
JM
29162012-05-19 Joseph Myers <joseph@codesourcery.com>
2917
2918 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2919 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2920 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2921 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2922 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2923 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2924 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2925 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2926 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2927 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2928 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2929 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2930 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2931 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2932 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2933 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2934 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2935 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2936 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2937 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2938 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2939 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2940 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2941 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2942 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2943 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2944 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2945 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2946 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2947 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2948 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2949
9eae47cb
AJ
29502012-05-18 Andreas Jaeger <aj@suse.de>
2951
2952 * csu/.gitignore: Delete.
2953
bb07f69f
L
29542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2955
2956 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2957 (timex): Use __syscall_slong_t.
2958
e6bdb741
AJ
29592012-05-18 Andreas Jaeger <aj@suse.de>
2960 Carlos O'Donell <carlos_odonell@mentor.com>
2961
2962 * manual/install.texi (Configuring and compiling): Update
2963 description about files modified in the source directory.
d6c33fda 2964 * INSTALL: Regenerated.
e6bdb741 2965
1b74487e
L
29662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2967
2968 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2969 value. Use "or" to set return value to -1.
2970 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2971 negate return value.
2972
a88b64b9
TMQMF
29732012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2974
2975 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2976 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2977 failure if the compiler has Graphite support disabled.
2978 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2979 Likewise.
2980 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2981 CFLAGS-memmove.c): Likewise.
2982 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2983 Likewise.
2984
3707636e
L
29852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2986
610b8622
L
2987 * sysdeps/x86_64/x32/_itoa.h: New file.
2988
7cd195df
L
2989 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2990 getdents system call only if kernel and user dirents have the
2991 same d_ino and d_off.
2992
94b07d20
L
2993 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2994 LLONG_MAX != LONG_MAX.
2995 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2996 (_fitoa_word): Likewise.
2997
18298070
L
2998 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2999 years.
3000 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3001 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3002 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3003
553c7ea4
L
3004 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3005 include <bits/wordsize.h>. Check __x86_64__ instead of
3006 __WORDSIZE.
3007 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3008 if __x86_64__ is defined. Use anonymous union on fpstate.
3009
3707636e
L
3010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3011 anonymous union.
3012
b53ef01a
AS
30132012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3014
37fb1dc0
AS
3015 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3016 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3017 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3018 Refer to _rtld_local_ro instead of _rtld_global_ro.
3019 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3020 Likewise.
3021 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3022 Likewise.
3023 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3024 Likewise.
3025 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3026 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3027 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3028
b53ef01a
AS
3029 * sysdeps/powerpc/powerpc32/dl-machine.c
3030 (__elf_machine_runtime_setup) [PROF]: Don't reference
3031 _dl_prof_resolve.
3032
7a185db2
AJ
30332012-05-18 Andreas Jaeger <aj@suse.de>
3034
3035 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3036 function only available for GCCs before 3.4 since GCC 3.4
3037 introduced a builtin.
3038 (lrint): Likewise.
3039 (llrintf): Likewise.
3040 (llrint): Likewise.
3041 (fmaxf): Likewise.
3042 (fmax): Likewise.
3043 (fminf): Likewise.
3044 (fmin): Likewise.
3045 (rint): Likewise.
3046 (rintf): Likewise.
3047 (nearbyint): Likewise.
3048 (nearbyintf): Likewise.
3049 (ceil): Likewise.
3050 (ceilf): Likewise.
3051 (floor): Likewise.
3052 (floorf): Likewise.
3053
3e5aef87
L
30542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3055
428bd707
L
3056 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3057 on both fields and cast pointer to __syscall_ulong_t.
3058
3e5aef87
L
3059 * bits/types.h (__fsword_t): New type.
3060 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3061 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3063 (__FSWORD_T_TYPE): Likewise.
3064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3065 (__FSWORD_T_TYPE): Likewise.
3066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3067 (__FSWORD_T_TYPE): Likewise.
3068 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3069 (__FSWORD_T_TYPE): Likewise.
3070 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3071 __SWORD_TYPE with __fsword_t.
3072 (statfs64): Likewise.
3073
1ba7c3dc
DM
30742012-05-17 David S. Miller <davem@davemloft.net>
3075
3076 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3077
59910343
AJ
30782012-05-17 Andreas Jaeger <aj@suse.de>
3079
3080 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3081 warning.
3082
2e4c1e9e
L
30832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3084
3085 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3086
de7f5ce7
AJ
30872012-05-17 Andreas Jaeger <aj@suse.de>
3088
3089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3090 when it is used.
3091
286abc3d
CM
30922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3093
3094 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3095
477cc68e
L
30962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3099 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3100
1a0994f5
CD
31012012-05-17 Andreas Jaeger <aj@suse.de>
3102 Carlos O'Donell <carlos_odonell@mentor.com>
3103
3104 [BZ #14059]
3105 * sysdeps/x86_64/multiarch/init-arch.h
3106 (bit_YMM_Usable): Rename to...
3107 (bit_AVX_Usable): ... this.
3108 (bit_FMA4_Usable): New macro.
3109 (bit_XMM_state): New macro.
3110 (bit_YMM_state): New macro.
3111 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3112 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3113 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3114 (CPUID_OSXSAVE): New macro.
3115 (CPUID_AVX): New macro.
3116 (CPUID_FMA4): New macro.
3117 (index_YMM_Usable): Rename to...
3118 (index_AVX_Usable): ... this.
3119 (HAS_AVX): Use HAS_ARCH_FEATURE.
3120 (HAS_FMA4): Likewise.
3121 (HAS_YMM_USABLE): Remove.
3122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3123 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3124 are present.
3125 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3126 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3127 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3128 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3129 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3130
0af797de
CM
31312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3132
3133 * math/libm-test.c: Support platforms without multiple rounding modes.
3134 * math/bug-nextafter.c: Support platforms without FP exceptions.
3135 * math/bug-nexttoward.c: Likewise.
3136 * math/test-fenv.c: Likewise.
3137 * math/test-misc.c: Likewise.
3138 * stdlib/bug-getcontext.c: Likewise.
3139
e39745ff
AJ
31402012-05-17 Andreas Jaeger <aj@suse.de>
3141
3142 * manual/examples/search.c (critter_cmp): Change signature to
3143 avoid warnings.
3144 * manual/string.texi (Collation Functions): Likewise.
3145
48970aba
L
31462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3147
3148 * bits/types.h: Fold copyright years.
3149 * bits/typesizes.h: Likewise.
3150 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3154 * time/time.h: Likewise.
3155
bedee953
PP
31562012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3157
3158 [BZ #208]
3159 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3160 in instead of returning them. Return void.
3161 (__libc_mallinfo): Accumulate over all arenas.
3162 (__malloc_stats): Adjust for change in int_mallinfo interface.
3163
61653dfb
RM
31642012-05-16 Roland McGrath <roland@hack.frob.com>
3165
30b99d79
RM
3166 [BZ #10375]
3167 * configure.in (NM): Add AC_CHECK_TOOL for it.
3168 (libc_extra_cflags): New substituted variable.
3169 Check for -fstack-protector being used implicitly.
3170 * configure: Regenerated.
3171 * config.make.in (config-extra-cflags): New variable,
3172 gets @libc_extra_cflags@.
3173 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3174
61653dfb
RM
3175 [BZ #10375]
3176 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3177 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3178 * configure: Regenerated.
3179 * config.make.in (CPPUNDEFS): New substituted variable.
3180 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3181 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3182 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3183
661768bb
L
31842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3187 (mq_attr): Use __syscall_slong_t.
3188
d4261567
L
31892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3192 Check __x86_64__ instead of __WORDSIZE.
3193 (_STAT_VER_LINUX): Likewise.
3194 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3195 __syscall_ulong_t and __syscall_slong_t.
3196 (stat64): Likewise.
3197
cf3ff365
L
31982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3199
3200 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3201
76cf3e4d
L
32022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3203
3204 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3205
a637753a
L
32062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3207
3208 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3209 __syscall_ulong_t.
3210
d5e05119
L
3211 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3212 include <bits/wordsize.h>. Check __x86_64__ instead of
3213 __WORDSIZE.
3214 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3215 defined.
3216 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3217
f62ee380
L
3218 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3219 include <bits/wordsize.h>. Check __x86_64__ instead of
3220 __WORDSIZE.
3221 (user_regs_struct): Use "__extension__ unsigned long long"
3222 instead of "unsigned long" if __x86_64__ is defined.
3223 (user): Likewise. Pad after pointer field if __ILP32__ is
3224 defined.
3225
4e124ced
JM
32262012-05-16 Joseph Myers <joseph@codesourcery.com>
3227
6a3951a0
JM
3228 * configure.in (makeinfo): Require version 4.5 or later. Allow
3229 versions 5 to 9.
3230 * configure: Regenerated.
3231 * manual/install.texi (texinfo): Increase version requirement to
3232 4.5 or later.
3233 * INSTALL: Regenerated.
3234
4e124ced
JM
3235 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3236
953ca31a
L
32372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3238
3239 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3240
617aca05
L
3241 * sysdeps/x86_64/x32/ffs.c: New file.
3242
5762f7ae
L
3243 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3244 __syscall_ulong_t.
3245 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3246 defined. Use __syscall_ulong_t.
3247 (shminfo): Use __syscall_ulong_t.
3248 (shm_info): Likewise.
3249
a26b6856
L
3250 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3251 __syscall_ulong_t.
3252
cb2b9ef7
L
3253 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3254 <bits/wordsize.h>.
3255 (msgqnum_t): Use __syscall_ulong_t.
3256 (msglen_t): Likewise.
3257 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3258 __syscall_ulong_t.
3259
34683bb0
L
3260 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3261 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3262
84a68786
L
3263 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3264
48baa5f1
L
3265 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3266 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3267
180be88b
L
3268 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3269 __syscall_slong_t.
3270
5e90c8ad
L
3271 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3272 include <bits/wordsize.h>. Check __x86_64__ instead of
3273 __WORDSIZE.
3274
23dfb58b
L
3275 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3276 "unsigned long long int" if __x86_64__ is defined.
3277 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3278
ce5d54b0
L
3279 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3280 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3281 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3282
13dc9eac
L
3283 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3284 <stdint.h>.
3285 (GET_PC): Cast to uintptr_t first.
3286 (GET_FRAME): Likewise.
3287 (GET_STACK): Likewise.
3288
a7895d15
L
3289 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3290 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3291 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3292 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3293 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3296 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3298 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3302 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3303 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3304 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3306 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3307 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3308 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3309 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3310 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3312 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3314 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3315 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3316 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3317 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3318
656416c9
AS
33192012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3320
5bd66283
AS
3321 * Makerules (+depfiles): Also collect depfiles from .oS in
3322 $(extra-objs).
3323 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3324 .oS, $(libnldbl-routines)).
3325
656416c9
AS
3326 * Makerules (native-compile-mkdep-flags): Define.
3327 * sunrpc/Makefile (extra-objs): Add $(addprefix
3328 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3329 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3330 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3331 calling $(make-target-directory).
3332
a46f2169
L
33332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3334
3335 * bits/types.h (__snseconds_t): Removed.
3336 * time/time.h (struct timespec): Replace __snseconds_t with
3337 __syscall_slong_t.
3338 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3339 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3340 Likewise.
3341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3342 (__SNSECONDS_T_TYPE): Likewise.
3343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3344 (__SNSECONDS_T_TYPE): Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3346 (__SNSECONDS_T_TYPE): Likewise.
3347
6af6528b
L
33482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * sysdeps/mach/hurd/bits/typesizes.h
3351 (__SYSCALL_SLONG_TYPE): New macro.
3352 (__SYSCALL_ULONG_TYPE): Likewise.
3353
de986b56
L
33542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 * bits/types.h (__syscall_slong_t): New type.
3357 (__syscall_ulong_t): Likewise.
3358
3359 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3360 (__SYSCALL_ULONG_TYPE): Likewise.
3361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3362 (__SYSCALL_SLONG_TYPE): Likewise.
3363 (__SYSCALL_ULONG_TYPE): Likewise.
3364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3365 (__SYSCALL_SLONG_TYPE): Likewise.
3366 (__SYSCALL_ULONG_TYPE): Likewise.
3367 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3368 (__SYSCALL_SLONG_TYPE): Likewise.
3369 (__SYSCALL_ULONG_TYPE): Likewise.
3370
85736dc7
L
33712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3372
3373 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3374 Add sigaltstack-offsets.sym.
3375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3376 <sigaltstack-offsets.h>.
3377 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3378 longjmp_msg pointer.
3379 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3380 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3381 signal stack.
3382 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3383
cc03b296
JM
33842012-05-15 Joseph Myers <joseph@codesourcery.com>
3385
a9538892
JM
3386 * elf/stackguard-macros.h: Remove file.
3387 * sysdeps/generic/stackguard-macros.h: New file.
3388 * sysdeps/i386/stackguard-macros.h: Likewise.
3389 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3390 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3391 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3392 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3393 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3394 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3395 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3396 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3397 <elf/stackguard-macros.h>.
3398
cc03b296
JM
3399 [BZ #14109]
3400 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3401 __aligned__ in attribute.
3402 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3403 (gregset_t): Likewise.
3404
93171016
L
34052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3408 * sysdeps/x86_64/64/Implies-after: Here. New file.
3409 * sysdeps/x86_64/x32/Implies-after: New file.
3410
d86813a0
L
34112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3412
3413 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3414 and access return value for _dl_profile_fixup. Use R10_LP to
3415 load frame size.
3416
2953ec75
L
34172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3418
3419 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3420
3b550e9e
L
34212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3424 * sysdeps/x86_64/x32/sysdep.h: New file.
3425
eda41706
L
34262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3427
3428 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3429 * sysdeps/x86_64/setjmp.S: Likewise.
3430
9ea01d93
AZ
34312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3434 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3435 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3436 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3437 remove unused global constant.
3438
02a91938
CM
34392012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3440
3441 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3442 include of <not-cancel.h>.
3443
6540185f
RM
34442012-05-15 Roland McGrath <roland@hack.frob.com>
3445
3446 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3447
509072a0
AJ
34482012-05-15 Jeff Law <law@redhat.com>
3449 Andreas Jaeger <aj@suse.de>
3450
3451 [BZ #13594]
3452 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3453 out from...
3454 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3455 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3456 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3457 code changing __hst_map_handle.map.
3458
ba75122d
RM
34592012-05-15 Roland McGrath <roland@hack.frob.com>
3460
3461 * configure.in (sysnames): Look for Implies-before and Implies-after
3462 files.
3463 * configure: Regenerated.
3464
890d8bd8
L
34652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3466
3467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3468 8-byte data alignment with LP_SIZE alignment.
3469
f6ee6623
L
34702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3473 into R10_LP.
3474
ea2626f6
L
34752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3476
3477 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3478
085f715e
L
34792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3480
3481 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3482 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3483 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3484 Likewise.
3485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3486
be8498fc
L
34872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3488
3489 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3490 (stackinfo_sub_sp): Likewise.
3491
70bc83b9
L
34922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3493
3494 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3495 RAX_LP.
3496
9bc0b730
L
34972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3498
3499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3500 into R*_LP.
3501
6d2850e7
L
35022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3503
3504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3505 sizes into R*_LP.
3506
3cb84561
L
35072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3508
3509 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3510
54e2ed81
L
35112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3514 into R11_LP and load __x86_64_shared_cache_size_half into
3515 R8_LP.
3516
8a17f349
L
35172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3518
3519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3520 R8_LP.
3521
777b1eea
AZ
35222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3523
3524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3525 logb for POWER7.
3526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3527 logbf for POWER7.
3528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3529 logbl for POWER7.
3530 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3531 powerpc32/power7/fpu/s_logb.c via #include.
3532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3533 powerpc32/power7/fpu/s_logbf.c via #include.
3534 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3535 powerpc32/power7/fpu/s_logbl.c via #include.
3536
d20d4ac2
JM
35372012-05-15 Joseph Myers <joseph@codesourcery.com>
3538
3539 * README.libm: Remove file.
3540
6cdef1ab
L
35412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3542
3543 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3544 count for x32. Use R*_LP and omit operand-size suffix.
3545
0b254d8f
L
35462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3547
3548 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3549 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3550 * sysdeps/x86_64/x32/shlib-versions: New file.
3551
ceb809dc
RM
35522012-05-14 Roland McGrath <roland@hack.frob.com>
3553
3554 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3555 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3556 Use _dl_fatal_printf instead.
3557
37f1abd4
JM
35582012-05-14 Joseph Myers <joseph@codesourcery.com>
3559
3560 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3561 set if not set by the user. Do not allow for being unset.
3562 * sysdeps/unix/sysv/linux/configure: Regenerated.
3563
11de3a33
L
35642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3565
3566 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3567 the `q' suffix from lea and replace .quad with ASM_ADDR.
3568
e02f153a
L
35692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3570
3571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3572 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3573 instead of $17.
3574 (PTR_DEMANGLE): Likewise.
3575
520ae0fd
L
35762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3577
3578 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3579 (LP_OP): Likewise.
3580 (ASM_ADDR): Likewise.
3581 (RAX_LP): Likewise.
3582 (RBP_LP): Likewise.
3583 (RBX_LP): Likewise.
3584 (RCX_LP): Likewise.
3585 (RDI_LP): Likewise.
3586 (RSI_LP): Likewise.
3587 (RSP_LP): Likewise.
3588 (R8_LP): Likewise.
3589 (R9_LP): Likewise.
3590 (R10_LP): Likewise.
3591 (R10_LP): Likewise.
3592 (R11_LP): Likewise.
3593 (R12_LP): Likewise.
3594 (R13_LP): Likewise.
3595 (R14_LP): Likewise.
3596 (R15_LP): Likewise.
3597
b985be81
L
35982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3599
3600 * sysdeps/x86_64/x32/dl-machine.h: New file.
3601
6a4888ff
AJ
36022012-05-14 Andreas Jaeger <aj@suse.de>
3603
3604 * manual/Makefile (subdir): Remove export of subdir.
3605 (all): Remove target.
3606 (.PHONY): Remove all from list.
3607 (mkinstalldirs): Remove.
3608 (.PHONY): Remove installdirs from list.
3609 ($(inst_infodir)/libc.info): Use make-target-directory.
3610 (installdirs): Remove.
3611 (subdir_%): Remove.
3612 (glibc-targets): Remove.
3613 (lib): Remove.
3614 (stubs): Remove.
3615 ($(objpfx)stubs ../po/manual.pot): Remove.
3616 ($(objpfx)stamp%): Remove.
3617 (make-target-directory): Remove.
3618 (subdir_install): Remove.
3619 (routines): Remove.
3620 (aux): Remove.
3621 (sources): Remove.
3622 (objects): Remove.
3623 (headers): Remove.
3624
3625 [BZ #13750]
3626 * manual/.gitignore: Remove, it's not needed anymore.
3627 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3628 all files in it.
3629 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3630 directory.
3631 (texis): Renamed to $(objpfx)texis.
3632 (texis-path): New, contains path to generated files.
3633 (chapters.%): Use texis-path for complete path, add extra argument
3634 libc-texinfo.sh.
3635 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3636 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3637 (summary,texi, stamp-summary): Use complete path of
3638 files. Generate files in build dir.
3639 (dir-add.texi): Build in build dir.
3640 (libm-err.texi,stamp-libm-err): Likewise.
3641 (version.texi, stamp-version): Likewise.
3642 (.%c.texi): Likewise.
3643 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3644 (mostlyclean): Remove target.
3645 (realclean): Remove target.
3646 (generated): Add new variable with contents from mostlyclean and
3647 realclean, remove entries duplicated in common-mostlyclean, add
3648 stamp-libm-err and stamp-version.
3649 (generated-dirs): Add libc directory.
3650 ($(inst_infodir)/libc.info): Install files from build dir.
3651
3652 * manual/install.texi (Configuring and compiling): Adjust since
3653 the info files are not part of the tar ball anymore.
3654
7ac77294
AJ
36552012-05-14 Andreas Jaeger <aj@suse.de>
3656
3657 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3658 variable.
3659
ffb7875d
JM
36602012-05-14 Joseph Myers <joseph@codesourcery.com>
3661
3662 [BZ #13717]
3663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3664 to 2.2.0 where earlier.
3665 * sysdeps/unix/sysv/linux/configure: Regenerated.
3666 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3667 Remove conditional code.
3668 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3669 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3670 Remove conditional code.
3671 [!__NR_lchown]: Likewise.
3672 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3673 [__NR_lchown]: Likewise.
3674 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3675 comment referencing __ASSUME_LCHOWN_SYSCALL.
3676 * sysdeps/unix/sysv/linux/i386/sigaction.c
3677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3679 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3680 Remove conditional code.
3681 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3682 (__protocol_available): Remove #if 0 code.
3683 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3684 conditional code.
3685 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3686 * sysdeps/unix/sysv/linux/kernel-features.h
3687 (__ASSUME_GETCWD_SYSCALL): Don't define.
3688 (__ASSUME_REALTIME_SIGNALS): Likewise.
3689 (__ASSUME_PREAD_SYSCALL): Likewise.
3690 (__ASSUME_PWRITE_SYSCALL): Likewise.
3691 (__ASSUME_POLL_SYSCALL): Likewise.
3692 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3693 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3694 non-SPARC.
3695 (__ASSUME_SIOCGIFNAME): Don't define.
3696 (__ASSUME_MSG_NOSIGNAL): Likewise.
3697 (__ASSUME_SENDFILE): Define unconditionally.
3698 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3699 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3700 conditional code.
3701 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3702 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3703 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3704 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3705 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3706 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3707 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3709 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3712 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3715 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3718 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3721 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3724 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3732 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3733 Remove conditional code.
3734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3735 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3736 Remove conditional code.
3737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3738 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3739 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3740 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3741 Remove conditional code.
3742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3743 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3744 Remove conditional code.
3745 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3746 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3747 Remove conditional code.
3748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3749 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3750 Remove conditional code.
3751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3752 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3753 Remove conditional code.
3754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3755 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3758 * sysdeps/unix/sysv/linux/sigaction.c
3759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3761 * sysdeps/unix/sysv/linux/sigpending.c
3762 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3763 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3764 * sysdeps/unix/sysv/linux/sigprocmask.c
3765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3767 * sysdeps/unix/sysv/linux/sigsuspend.c
3768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3770 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3771 (__libc_missing_rt_sigs): Remove.
3772 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3773 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3774 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3775 Remove conditional code.
3776 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3777 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3778 return 1.
3779 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3780 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3781 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3782 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3783
1bfb7291
AJ
37842012-05-14 Andreas Jaeger <aj@suse.de>
3785
caae5a81
AJ
3786 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3787 it's not used in glibc.
3788 (__coshm1): Likewise.
3789 (__acosh1p): Likewise.
3790 (__sgn): Likewise.
3791
1bfb7291
AJ
3792 * manual/string.texi (Copying and Concatenation): Add missing
3793 variable in concat example.
3794 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3795
c044d724
L
37962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3797
144c5467 3798 [BZ #14103]
c044d724
L
3799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3800 __builtin_clzl with __builtin_clzll.
3801
2523c62b
L
38022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 [BZ #14104]
3805 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3806 libc_freeres_ptr.
3807
d7bb4c42
LD
38082012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3809
3810 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3811 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3812 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3814
9dc4e1fb
MF
38152012-05-14 Mike Frysinger <vapier@gentoo.org>
3816
3817 * NEWS: Update ia64 info.
3818
c7df0112
AS
38192012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3820
3821 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3822 used as bcopy.
3823
dc70356c
TS
38242012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3825
3826 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3827 * sysdeps/unix/syscalls.list (dup3): Likewise.
3828 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3829 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3830
9fb1a21f
L
38312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3832
3833 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3834 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3835
4822a2a5
L
38362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3837
3838 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3839 thread pointer.
3840 (TLS_IE): Use mov/add instead of movq/addq to load thread
3841 pointer.
3842 (TLS_GD_PREFIX): New.
3843 (TLS_GD): Use it.
3844
842b81d6
DM
38452012-05-11 David S. Miller <davem@davemloft.net>
3846
3847 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3848 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3849 (_FPU_SETCW): Likewise.
3850
1cf463cd
L
38512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3854 is 32-byte aligned.
3855
60cc4a18
AS
38562012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3857
3858 [BZ #11837]
3859 * iconvdata/gb18030.c: Update tables.
3860 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3861 characters specially.
3862 (BODY for TO_LOOP): Add encoding of missing ranges.
3863
febb44a4
TS
38642012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3865
3866 [BZ #13673]
3867 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3868 * sysdeps/mach/hurd/dup3.c: Likewise.
3869 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3870 * sysdeps/powerpc/memmove.c:: Likewise.
3871
0a10fb9e
L
38722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3873
3874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3875 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3876
df8a552f
L
38772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 * elf/elf.h (R_X86_64_RELATIVE64): New.
3880 (R_X86_64_NUM): Updated.
3881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3882 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3883 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3884 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3885 tst-quad1pie tst-quad2pie
3886 (modules-names): Add tst-quadmod1 tst-quadmod2.
3887 ($(objpfx)tst-quad1): New dependency.
3888 ($(objpfx)tst-quad2): Likewise.
3889 ($(objpfx)tst-quad1pie): Likewise.
3890 ($(objpfx)tst-quad2pie): Likewise.
3891 * sysdeps/x86_64/tst-quad1.c: New file.
3892 * sysdeps/x86_64/tst-quad1pie.c: New file.
3893 * sysdeps/x86_64/tst-quad2.c: Likewise.
3894 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3895 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3896 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3897 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3898 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3899
f34d6f84
ST
39002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3901
f42d41d1
ST
3902 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3903 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3904 * streams/stropts.h (t_scalar_t): Define type.
3905
3c3571fc
ST
3906 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3907 (_PATH_PRESERVE): Set to "/var/lib".
3908 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3909
61f06bd3
ST
3910 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3911 instead of int.
3912
918d4d71
ST
3913 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3914 if __dir_mkfile succeeded.
3915
f34d6f84
ST
3916 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3917 checking for _hurd_dtablesize. Unlock it right after having
3918 finished _hurd_dtable allocation.
3919
10589b4a
TS
39202012-05-10 Thomas Schwinge <thomas@schwinge.name>
3921
674cdbc7
TS
3922 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3923 * sysdeps/mach/hurd/configure: Regenerated.
3924 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3925 special-casing to...
3926 * sysdeps/gnu/configure.in: ... this new file.
3927 * sysdeps/unix/sysv/linux/configure: Regenerated.
3928 * sysdeps/gnu/configure: New generated file.
3929
8e41b99f
TS
3930 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3931 for Linux: use nsec instead of usec, as well as:
3932 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3933 members of type struct timespec.
3934 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3935 New macros.
3936 (struct stat64): Likewise.
3937 (_STATBUF_ST_NSEC): New macro.
3938 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3939
10589b4a
TS
3940 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3941 __strtoul_internal rather than strtoul.
3942
63643c85
PT
39432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3944
3945 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3946 and reject them.
3947
3faebe6a
ST
39482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3949
3950 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3951 which preserves existing values.
3952 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3953
c6474b07
PT
39542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3955
3956 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3957 TIMEOUT values. Return EINVAL for NFDS values either negative or
3958 greater than FD_SETSIZE.
3959
1043890b
ST
39602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3961
3962 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3963 allocated, call __vm_protect to finish enabling the existing space, and
3964 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3965 allocate the remainder.
3966
37ed8b9b
PT
39672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3968
3969 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3970 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3971
db653660
ST
39722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3973
37ed8b9b
PT
3974 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3975 sysdeps/mach/hurd/readlink.c.
b29d4053 3976
db653660
ST
3977 * posix/tst-sysconf.c (posix_options): Only use
3978 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3979 _POSIX_SYNCHRONIZED_IO when they are defined
3980 * sysdeps/mach/hurd/bits/posix_opt.h:
3981 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3982 (_XOPEN_REALTIME): Undefine macro.
3983 (_XOPEN_REALTIME_THREADS): Undefine macro.
3984 (_XOPEN_SHM): Undefine macro.
3985 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3986 macro to -1.
3987 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3988 macro to -1.
3989 (_POSIX_ASYNC_IO): Undefine macro.
3990 (_POSIX_PRIORITIZED_IO): Undefine macro.
3991 (_POSIX_SPIN_LOCKS): Define macro to -1.
3992
ee16e894
ST
3993 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3994 SA_NODEFER, SA_RESETHAND.
3995 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3996 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3997 F_DUPFD_CLOEXEC.
3998
6103ae3b
TS
39992012-05-10 Thomas Schwinge <thomas@schwinge.name>
4000
4001 * elf/Makefile (pldd-modules): Define unconditionally.
4002
80b4e5f3
TS
40032012-05-10 Thomas Schwinge <thomas@schwinge.name>
4004
4005 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4006
edadcbd6
ST
40072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4008
4009 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4010 Return ENOENT when name is empty.
4011 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4012
80694780
TS
40132012-05-10 Thomas Schwinge <thomas@schwinge.name>
4014
1792c087
TS
4015 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4016
80694780
TS
4017 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4018
6b645f0d
ST
40192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4020
80694780
TS
4021 Fix mlock in all cases except non-readable pages.
4022 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4023 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4024
6b645f0d
ST
4025 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4026 (__mkdir): When path is `/', just fail with EEXIST.
4027 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4028
e468f8a3
TS
40292012-05-10 Thomas Schwinge <thomas@schwinge.name>
4030
4031 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4032 <sys/uio.h> (for writev).
4033 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4034 and <sys/param.h> (for MIN).
4035
a4186cff
PT
40362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4037
4038 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4039 REQUESTED_TIME. Properly set the remaining time and return EINTR
4040 if interrupted.
4041
510bbf14
TS
40422012-05-10 Thomas Schwinge <thomas@schwinge.name>
4043
4044 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4045 Depend on against $(link-rpcuserlibs).
4046
5d5722e8
ST
40472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4048
a4186cff
PT
4049 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4050 (__libc_stack_end): Do not use attribute_relro.
4051 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4052 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4053 to libthread-provided value.
a4186cff
PT
4054 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4055 attribute_relro.
5d5722e8 4056
37233df9
TS
40572012-05-10 Thomas Schwinge <thomas@schwinge.name>
4058
be971a2b
TS
4059 [BZ #3748]
4060 * bits/libc-lock.h (__libc_once_get): New macro.
4061 * sysdeps/mach/bits/libc-lock.h: Likewise.
4062 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4063 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4064 instead of using implementation details.
4065
37233df9
TS
4066 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4067 * libio/freopen.c: Likewise.
4068 * libio/freopen64.c: Likewise.
4069 * misc/syslog.c: Likewise.
4070 * nscd/connections.c: Likewise.
4071 * nscd/netgroupcache.c: Likewise.
4072 * sysdeps/posix/getcwd.c: Likewise.
4073
38de94a5
RM
40742012-05-10 Roland McGrath <roland@hack.frob.com>
4075
4076 * math/w_ilogbf.c: Add #include <limits.h>.
4077
67530489
ST
40782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4079
a4186cff 4080 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4081 path instead of returning without unlocking.
4082
67530489
ST
4083 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4084 immediate-write ioctls.
4085 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4086
5aa3a74a
TS
40872012-05-10 Thomas Schwinge <thomas@schwinge.name>
4088
18bad2ae
TS
4089 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4090 __builtin_frame_address instead of making assumptions about the
4091 location of the return address relative to DATA. Force early load of
4092 the return address.
4093 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4094 __builtin_frame_address.
4095
5aa3a74a
TS
4096 dup3 for GNU Hurd.
4097 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4098 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4099 implement dup3 and do some further code clean-ups.
4100 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4101 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4102
ecd0de9a
ST
41032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4104
cd9fa985
ST
4105 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4106
a4186cff
PT
4107 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4108 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4109 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4110 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4111 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4112 d->port.lock.
802ca5a5 4113
a4186cff
PT
4114 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4115 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4116 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4117
bcf55240
TS
41182012-05-10 Thomas Schwinge <thomas@schwinge.name>
4119
6960eb42
TS
4120 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4121 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4122 definitions.
4123
eb43375f
TS
4124 accept4 for GNU Hurd.
4125 * include/sys/socket.h (__libc_accept4): New prototype.
4126 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4127 to implement __libc_accept4.
4128 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4129 __libc_accept4.
4130 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4131
bcf55240
TS
4132 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4133 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4134 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4135 signal-defines.sym.
4136
6178c55b
ST
41372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4138
a4186cff 4139 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4140
6f080c2f
TS
41412012-05-10 Thomas Schwinge <thomas@schwinge.name>
4142
4143 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4144 assertion on O_CLOEXEC flag.
4145 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4146 * hurd/intern-fd.c: Likewise.
4147 * hurd/port2fd.c: Likewise.
4148
bcfe3a54
ST
41492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4150
4151 [BZ #3906]
4152 * bits/in.h (IPV6_PKTINFO): Define new macro.
4153 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4154
89c9aa49
AZ
41552012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4156
4157 [BZ #13954]
4158 [BZ #13955]
4159 [BZ #13956]
4160 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4162 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4163 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4165 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4166 * math/libm-test.inc (logb_test) : Additional logb tests.
4167
021db4be
AJ
41682012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4169 Andreas Jaeger <aj@suse.de>
4170
4171 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4172 * configure: Regenerated.
4173 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4174 * config.make.in (link-obsolete-rpc): New substituted variable.
4175 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4176 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4177 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4178 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4179 so that libc.a contains the symbols.
4180 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4181 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4182 * sunrpc/auth_none.c: Likewise.
4183 * sunrpc/auth_unix.c: Likewise.
4184 * sunrpc/authdes_prot.c: Likewise.
4185 * sunrpc/authuxprot.c: Likewise.
4186 * sunrpc/clnt_gen.c: Likewise.
4187 * sunrpc/clnt_perr.c: Likewise.
4188 * sunrpc/clnt_raw.c: Likewise.
4189 * sunrpc/clnt_simp.c: Likewise.
4190 * sunrpc/clnt_tcp.c: Likewise.
4191 * sunrpc/clnt_udp.c: Likewise.
4192 * sunrpc/clnt_unix.c: Likewise.
4193 * sunrpc/des_crypt.c: Likewise.
4194 * sunrpc/des_soft.c: Likewise.
4195 * sunrpc/get_myaddr.c: Likewise.
4196 * sunrpc/key_call.c: Likewise.
4197 * sunrpc/key_prot.c: Likewise.
4198 * sunrpc/netname.c: Likewise.
4199 * sunrpc/pm_getmaps.c: Likewise.
4200 * sunrpc/pm_getport.c: Likewise.
4201 * sunrpc/pmap_clnt.c: Likewise.
4202 * sunrpc/pmap_prot.c: Likewise.
4203 * sunrpc/pmap_prot2.c: Likewise.
4204 * sunrpc/pmap_rmt.c: Likewise.
4205 * sunrpc/publickey.c: Likewise.
4206 * sunrpc/rpc_cmsg.c: Likewise.
4207 * sunrpc/rpc_common.c: Likewise.
4208 * sunrpc/rpc_dtable.c: Likewise.
4209 * sunrpc/rpc_prot.c: Likewise.
4210 * sunrpc/rpc_thread.c: Likewise.
4211 * sunrpc/rtime.c: Likewise.
4212 * sunrpc/svc.c: Likewise.
4213 * sunrpc/svc_auth.c: Likewise.
4214 * sunrpc/svc_raw.c: Likewise.
4215 * sunrpc/svc_run.c: Likewise.
4216 * sunrpc/svc_tcp.c: Likewise.
4217 * sunrpc/svc_udp.c: Likewise.
4218 * sunrpc/svc_unix.c: Likewise.
4219 * sunrpc/svcauth_des.c: Likewise.
4220 * sunrpc/xcrypt.c: Likewise.
4221 * sunrpc/xdr.c: Likewise.
4222 * sunrpc/xdr_array.c: Likewise.
4223 * sunrpc/xdr_float.c: Likewise.
4224 * sunrpc/xdr_intXX_t.c: Likewise.
4225 * sunrpc/xdr_mem.c: Likewise.
4226 * sunrpc/xdr_rec.c: Likewise.
4227 * sunrpc/xdr_ref.c: Likewise.
4228 * sunrpc/xdr_sizeof.c: Likewise.
4229 * sunrpc/xdr_stdio.c: Likewise.
4230
b5c086a2
RM
42312012-05-10 Roland McGrath <roland@hack.frob.com>
4232
4233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4234 change. Update copyright years.
4235
6d74dd09
JM
42362012-05-10 Joseph Myers <joseph@codesourcery.com>
4237
4238 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4239
28e72501
MK
42402012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4241 Joseph Myers <joseph@codesourcery.com>
4242 Paul Pluzhnikov <ppluzhnikov@google.com>
4243
4244 [BZ #14012]
4245 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4246 requiring rpcgen.
4247 [cross-compiling] (extra-libs): Likewise.
4248 [cross-compiling] (extra-libs-others): Likewise.
4249 [cross-compiling] (librpcsvc-routines): Likewise.
4250 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4251 [cross-compiling] (omit-deps): Likewise.
4252 (sunrpc-CPPFLAGS): New variable.
4253 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4254 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4255 (cross-rpcgen-objs): New variable.
4256 (extra-objs): Append $(cross-rpcgen-objs).
4257 ($(cross-rpcgen-objs)): New rule.
4258 ($(objpfx)cross-rpcgen): Likewise.
4259 (rpcgen-cmd): Define to use $(built-program-file). Expand
4260 comment.
4261 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4262 ($(objpfx)x%.stmp): Likewise.
4263 * sunrpc/proto.h [IS_IN_build] (_): Define.
4264 [IS_IN_build] (_libc_intl_domainname): Likewise.
4265
c8c59454
L
42662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4269 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4270 and R_X86_64_TPOFF64.
4271
6f27cd16
JM
42722012-05-10 Joseph Myers <joseph@codesourcery.com>
4273
4274 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4275 sysdeps/unix/sysv/syscalls.list.
4276 (stime): Likewise.
4277 (utime): Likewise.
4278 * sysdeps/unix/sysv/syscalls.list: Remove file.
4279
02467e1c
PE
42802012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4281
4282 [BZ #3440]
4283 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4284 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4285 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4286 (__LC_IDENTIFICATION): Make these macros useful in #if
4287 expressions, as required by C99.
4288
da392631
AS
42892012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4290
4291 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4292 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4293 after this.
4294
8115f29b
L
42952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 * stdlib/longlong.h: Updated from GCC.
4298
bdd74070
AJ
42992012-05-09 Andreas Jaeger <aj@suse.de>
4300
edfe0dbe
AJ
4301 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4302 default is first entry.
4303 (run_mode): Set type.
4304 (main): Remove informal message about syslog.
4305 (options): Fix typo.
4306
bcfe3a54
ST
4307 [BZ #14053]
4308 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4309 to asm.
bcfe3a54
ST
4310 (lrint): Likewise.
4311 (llrintf): Likewise.
4312 (llrint): Likewise.
4313 (rint): Likewise.
4314 (rintf): Likewise.
4315 (nearbyint): Likewise.
4316 (nearbyintf): Likewise.
bdd74070 4317
91d8d69e
AJ
43182012-05-09 Andreas Jaeger <aj@suse.de>
4319 Pedro Alves <palves@redhat.com>
4320
4321 * nscd/nscd.c (run_mode): Use enum.
4322 (main): Cleanup coding style issue.
4323
bb90b80b
AJ
43242012-05-09 Alexandre Oliva <aoliva@redhat.com>
4325 Andreas Jaeger <aj@suse.de>
4326
bcfe3a54
ST
4327 * nscd/nscd.c (go_background): Replaced with...
4328 (run_mode): ... this.
bb90b80b 4329 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4330 (options): Add -F --foreground.
4331 (main): Implement it.
4332 (parse_opt): Parse it.
bb90b80b 4333
1a4b75a1
AJ
43342012-05-09 Andreas Jaeger <aj@suse.de>
4335
4336 [BZ #14083]
4337 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4338 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4339 -Wconversion warning.
4340 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4341 Likewise.
4342
b1cc2472
JM
43432012-05-09 Joseph Myers <joseph@codesourcery.com>
4344
4345 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4346 == 0.
4347 (LC_ALL): Use macro-int-constant.
4348 (LC_COLLATE): Likewise.
4349 (LC_CTYPE): Likewise.
4350 (LC_MESSAGES): Likewise.
4351 (LC_MONETARY): Likewise.
4352 (LC_NUMERIC): Likewise.
4353 (LC_TIME): Likewise.
4354 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4355 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4356 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4357 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4358 Specify type.
4359 [C99-based standards] (float_t): Expect type.
4360 [C99-based standards] (double_t): Expect type.
4361 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4362 type.
4363 [C99-based standards] (HUGE_VALL): Likewise.
4364 [C99-based standards] (INFINITY): Likewise.
4365 [C99-based standards] (NAN): Likewise.
4366 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4367 [C99-based standards] (FP_NAN): Likewise.
4368 [C99-based standards] (FP_NORMAL): Likewise.
4369 [C99-based standards] (FP_SUBNORMAL): Likewise.
4370 [C99-based standards] (FP_ZERO): Likewise.
4371 [C99-based standards] (FP_FAST_FMA): Use
4372 optional-macro-int-constant. Specify type. Require == 1.
4373 [C99-based standards] (FP_FAST_FMAF): Likewise.
4374 [C99-based standards] (FP_FAST_FMAL): Likewise.
4375 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4376 [C99-based standards] (FP_ILOGBNAN): Likewise.
4377 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4378 Specify type.
4379 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4380 [C99-based standards] (math_errhandling): Specify type.
4381 [ISO99 || ISO11] (signgam): Do not allow.
4382 [non-C99-based standards] (copysignf): Do not allow.
4383 [non-C99-based standards] (exp2f): Likewise.
4384 [non-C99-based standards] (log2f): Likewise.
4385 [non-C99-based standards] (modff): Allow.
4386 [non-C99-based standards] (erff): Do not allow.
4387 [non-C99-based standards] (erfcf): Likewise.
4388 [non-C99-based standards] (gammaf): Likewise.
4389 [non-C99-based standards] (hypotf): Likewise.
4390 [non-C99-based standards] (j0f): Likewise.
4391 [non-C99-based standards] (j1f): Likewise.
4392 [non-C99-based standards] (jnf): Likewise.
4393 [non-C99-based standards] (lgammaf): Likewise.
4394 [non-C99-based standards] (tgammaf): Likewise.
4395 [non-C99-based standards] (y0f): Likewise.
4396 [non-C99-based standards] (y1f): Likewise.
4397 [non-C99-based standards] (ynf): Likewise.
4398 [non-C99-based standards] (isnanf): Likewise.
4399 [non-C99-based standards] (acoshf): Likewise.
4400 [non-C99-based standards] (asinhf): Likewise.
4401 [non-C99-based standards] (atanhf): Likewise.
4402 [non-C99-based standards] (cbrtf): Likewise.
4403 [non-C99-based standards] (expm1f): Likewise.
4404 [non-C99-based standards] (ilogbf): Likewise.
4405 [non-C99-based standards] (log1pf): Likewise.
4406 [non-C99-based standards] (logbf): Likewise.
4407 [non-C99-based standards] (nextafterf): Likewise.
4408 [non-C99-based standards] (remainderf): Likewise.
4409 [non-C99-based standards] (rintf): Likewise.
4410 [non-C99-based standards] (scalbf): Likewise.
4411 [non-C99-based standards] (copysignl): Likewise.
4412 [non-C99-based standards] (exp2l): Likewise.
4413 [non-C99-based standards] (log2l): Likewise.
4414 [non-C99-based standards] (modfl): Allow.
4415 [non-C99-based standards] (erfl): Do not allow.
4416 [non-C99-based standards] (erfcl): Likewise.
4417 [non-C99-based standards] (gammal): Likewise.
4418 [non-C99-based standards] (hypotl): Likewise.
4419 [non-C99-based standards] (j0l): Likewise.
4420 [non-C99-based standards] (j1l): Likewise.
4421 [non-C99-based standards] (jnl): Likewise.
4422 [non-C99-based standards] (lgammal): Likewise.
4423 [non-C99-based standards] (tgammal): Likewise.
4424 [non-C99-based standards] (y0l): Likewise.
4425 [non-C99-based standards] (y1l): Likewise.
4426 [non-C99-based standards] (ynl): Likewise.
4427 [non-C99-based standards] (isnanl): Likewise.
4428 [non-C99-based standards] (acoshl): Likewise.
4429 [non-C99-based standards] (asinhl): Likewise.
4430 [non-C99-based standards] (atanhl): Likewise.
4431 [non-C99-based standards] (cbrtl): Likewise.
4432 [non-C99-based standards] (expm1l): Likewise.
4433 [non-C99-based standards] (ilogbl): Likewise.
4434 [non-C99-based standards] (log1pl): Likewise.
4435 [non-C99-based standards] (logbl): Likewise.
4436 [non-C99-based standards] (nextafterl): Likewise.
4437 [non-C99-based standards] (remainderl): Likewise.
4438 [non-C99-based standards] (rintl): Likewise.
4439 [non-C99-based standards] (scalbl): Likewise.
4440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4441 [non-C99-based standards] (FP_*): Do not allow.
4442 [C99-based standards] (FP_*): Change to
4443 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4444 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4445 allow.
4446 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4447 (SIG_ERR): Likewise.
4448 [X/Open-based standards] (SIG_HOLD): Likewise.
4449 (SIG_IGN): Likewise.
4450 (SIGABRT): Use macro-int-constant. Specify type. Require
4451 positive value.
4452 (SIGFPE): Likewise.
4453 (SIGILL): Likewise.
4454 (SIGINT): Likewise.
4455 (SIGSEGV): Likewise.
4456 (SIGTER): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4458 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4459 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4464 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4465 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4466 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4467 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4468 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4469 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4470 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4471 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4472 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4473 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4474 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4475 [X/Open-based standards] (SIGTRAP): Likewise.
4476 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4477 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4478 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4479 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4480 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4481 allow.
4482
b9f1922d
IW
44832012-05-08 Ian Wienand <ianw@vmware.com>
4484
4485 [BZ #14080]
4486 * time/tzset.c (__tzset_parse_tz): Update default rules for
4487 daylight time changes in the Energy Policy Act of 2005.
4488
1db86e88
AJ
44892012-05-09 Andreas Jaeger <aj@suse.de>
4490
4491 [BZ #13983]
4492 * elf/ldconfig.c (parse_conf): Change string to make clear that
4493 ldconfig only issued a warning if ld.so.conf does not exist.
4494
dee4a4e3
DM
44952012-05-08 David S. Miller <davem@davemloft.net>
4496
ee0db190
DM
4497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4498 movxtod instead of popping the value on the stack.
4499
dee4a4e3
DM
4500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4501
6a43ec98
CD
45022012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4503
4504 * config.h.in: Add HAVE_ARM_PCS_VFP.
4505
05c2c961
RMG
45062012-05-08 Roland Mc Grath <roland@hack.frob.com>
4507
bcfe3a54
ST
4508 [BZ #13979]
4509 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4510 checking but the checks are disabled for any reason.
05c2c961 4511
4b30f61a
L
45122012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4513
4514 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4515 and ELF64_R_TYPE with ELFW(R_TYPE).
4516
eee2bc67
JM
45172012-05-08 Joseph Myers <joseph@codesourcery.com>
4518
7ea5391a
JM
4519 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4520 (ulimit): Likewise.
4521
eee2bc67
JM
4522 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4523 (settimeofday): Likewise.
4524
abb66a67
MF
45252012-05-08 Mike Frysinger <vapier@gentoo.org>
4526
4527 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4528 a struct th_u2 inside the union, and move tu_block/tu_code into
4529 a new th_u3 union of tu_block/tu_code inside of that. Move
4530 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4531 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4532 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4533 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4534 (th_stuff): Change to th_u1.tu_stuff.
4535 (th_data): Define.
4536 (th_msg): Change to th_u1.th_u2.tu_data.
4537
7f18b530
DM
45382012-05-07 David S. Miller <davem@davemloft.net>
4539
05760585
DM
4540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4541
7f18b530
DM
4542 [BZ #14074]
4543 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4544 (SETUP_PIC_REG): Use it.
4545 (SETUP_PIC_REG_LEAF): Use it.
4546
495fd99f
JM
45472012-05-07 Joseph Myers <joseph@codesourcery.com>
4548
4549 [BZ #13885]
4550 [BZ #13923]
4551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4552 USE_AS_EXPM1L.
4553 (EXPL_FINITE): Likewise.
4554 (FLDLOG): Likewise.
4555 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4556 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4557 e_expl.S.
4558 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4559 USE_AS_EXPM1L.
4560 (EXPL_FINITE): Likewise.
4561 (FLDLOG): Likewise.
4562 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4563 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4564 e_expl.S.
4565 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4566 test of -max_value argument for long double.
4567 * sysdeps/i386/fpu/libm-test-ulps: Update.
4568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4569
6693d694
DM
45702012-05-06 David S. Miller <davem@davemloft.net>
4571
4572 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4573 quad soft-float symbols whose references which are compiler
4574 generated.
4575 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4576
6c23e11c
JM
45772012-05-06 Joseph Myers <joseph@codesourcery.com>
4578
d8b82cad
JM
4579 [BZ #13884]
4580 [BZ #13914]
4581 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4582 USE_AS_EXP10L.
4583 (EXPL_FINITE): Likewise.
4584 (FLDLOG): Likewise.
4585 (c0): Likewise.
4586 (c1): Likewise.
4587 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4588 Adjust comments for base varying.
4589 (__expl_finite): Change alias to EXPL_FINITE.
4590 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4591 e_expl.S.
4592 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4593 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4594 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4595 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4597 USE_AS_EXP10L.
4598 (EXPL_FINITE): Likewise.
4599 (FLDLOG): Likewise.
4600 (c0): Likewise.
4601 (c1): Likewise.
4602 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4603 Adjust comments for base varying.
4604 (__expl_finite): Change alias to EXPL_FINITE.
4605 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4606 tests for bugs.
4607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4608
6c23e11c
JM
4609 [BZ #14064]
4610 * math/libm-test.inc (check_float_internal): Correct ulp
4611 calculation for subnormal expected results.
4612
29ba805c
AJ
46132012-05-06 Andreas Jaeger <aj@suse.de>
4614
4615 * Makeconfig (+math-flags): New, set to -frounding-math.
4616 (+cflags): Add +math-flags so that all of glibc gets compiled with
4617 it.
4618
4619 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4620
7b17aeda
JM
46212012-05-05 Joseph Myers <joseph@codesourcery.com>
4622
5779f134
JM
4623 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4624 Disable one test.
4625
41498f4d
JM
4626 [BZ #13787]
4627 [BZ #13922]
4628 [BZ #14036]
4629 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4630 (__ieee754_expl): Allow for and saturate large arguments.
4631 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4632 (u_threshold): Likewise.
4633 (__exp): Call __ieee754_exp before checking for overflow and
4634 underflow.
4635 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4636 (u_threshold): Likewise.
4637 (__expf): Call __ieee754_expf before checking for overflow and
4638 underflow.
4639 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4640 (u_threshold): Likewise.
4641 (__expl): Call __ieee754_expl before checking for overflow and
4642 underflow.
4643 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4644 (__ieee754_expl): Allow for and saturate large arguments.
4645 * math/libm-test.inc (exp_test): Add another test. Do not allow
4646 missing overflow exception on overflow.
4647 (expm1_test): Do not allow missing overflow exception on overflow.
4648
6698b8bf
JM
4649 * sysdeps/i386/fpu/e_expl.c: Move to ...
4650 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4651 rather than using inline asm.
4652 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4653 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4654 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4655
7b17aeda
JM
4656 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4657 (nice): Likewise.
4658 (poll): Likewise.
4659 (signal): Likewise.
4660 (time): Likewise.
4661 (times): Likewise.
4662
f7c85819
JM
46632012-05-04 Joseph Myers <joseph@codesourcery.com>
4664
4665 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4666 sysdeps/unix/common/syscalls.list.
4667 (fchmod): Likewise.
4668 (fchown): Likewise.
4669 (ftruncate): Likewise.
4670 (getrusage): Likewise.
4671 (gettimeofday): Likewise.
4672 (setpgid): Likewise.
4673 (setregid): Likewise.
4674 (setreuid): Likewise.
4675 (sigaction): Likewise.
4676 (truncate): Likewise.
4677 (vhangup): Likewise.
4678 * sysdeps/unix/common/syscalls.list: Remove file.
4679 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4680 * sysdeps/unix/sysv/linux/Implies: Likewise.
4681
336270d0
L
46822012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4683
4684 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4686 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4687 Moved to ...
4688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4689 Here.
4690 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4691 to ...
4692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4693 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4694 to ...
4695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4696 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4697 to ...
4698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4699 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4700 to ...
4701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4702 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4703 to ...
4704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4705 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4706 to ...
4707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4708 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4709 to ...
4710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4711 Here.
4712 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4713 to ...
4714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4715 Here.
4716 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4717 to ...
4718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4719 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4720 Moved to ...
4721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4722 Here.
4723 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4724 to ...
4725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4726
d128e450
JM
47272012-05-04 Joseph Myers <joseph@codesourcery.com>
4728
fa8ee516
JM
4729 * sysdeps/unix/common/bits/dirent.h: Remove file.
4730 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4731
d128e450
JM
4732 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4733 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4734 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4735 * sysdeps/unix/bsd/isatty.c: Likewise.
4736 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4737 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4738 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4739
ff8faaf0 47402012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4741
62881be4 4742 [BZ #13563]
31dc8730
AZ
4743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4744 long double comparison inaccuracies.
4745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4747
6fef930c
AS
47482012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4749
4750 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4752
8f203e6c
JM
47532012-05-04 Joseph Myers <joseph@codesourcery.com>
4754
4755 [BZ #14049]
4756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4757 nonzero digits before rounding a hex value.
4758 * stdlib/tst-strtod.c (tests): Add another test.
4759
5197d9c2
AK
47602012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4761
4762 * sysdeps/s390/fpu/libm-test-ulps: Update.
4763
f0c1dedf
AJ
47642012-05-03 Andreas Jaeger <aj@suse.de>
4765
4766 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4767 does not get optimized out.
4768 (malloc_opt_barrier): New.
4769
a65ef2ae 47702012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4771 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4772
2b942cb7 4773 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4774 intermediate file deletion.
2b942cb7 4775 (generated): Add .symlist files.
a65ef2ae 4776
54b71e02
JM
47772012-05-03 Joseph Myers <joseph@codesourcery.com>
4778
4779 [BZ #13775]
4780 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4781 Redirect under this condition.
4782 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4783 [__USE_GNU] (__dprintf_chk): Not under this condition.
4784 [__USE_GNU] (__vdprintf_chk): Likewise.
4785 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4786 under this condition.
4787 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4788 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4789 [__USE_XOPEN2K8] (vdprintf): Likewise.
4790 [__USE_GNU] (__dprintf_chk): Not under this condition.
4791 [__USE_GNU] (__vdprintf_chk): Likewise.
4792 [__USE_GNU] (dprintf): Likewise.
4793 [__USE_GNU] (vdprintf): Likewise.
4794
d3dfcc41
RM
47952012-05-03 Roland McGrath <roland@hack.frob.com>
4796
4797 * elf/Makefile (common-generated): Set this instead of generated for
4798 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4799 $(all-built-dso)-derived lists.
4800
7ac30cc5
AJ
48012012-05-03 Andreas Jaeger <aj@suse.de>
4802
0c51e550
AJ
4803 * sysdeps/i386/fpu/libm-test-ulps: Update.
4804
7ac30cc5
AJ
4805 * FAQ: Removed.
4806 * FAQ.in: Likewise.
4807 * scripts/gen-FAQ.pl: Likewise.
4808 * manual/install.texi (Installation): Point to online location of
4809 FAQ.
4810 * Makefile (files-for-dist): Remove FAQ.
4811 (FAQ): Remove.
4812
d4c2917f
AM
48132012-05-02 Allan McRae <allan@archlinux.org>
4814
4815 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4816 (LDFLAGS-reldepmod5.so): Likewise.
4817 (LDFLAGS-reldep6mod1.so): Likewise.
4818 (LDFLAGS-reldep6mod4.so): Likewise.
4819 (LDFLAGS-reldep8mod3.so): Likewise.
4820 (LDFLAGS-unload4mod1.so): Likewise.
4821 (LDFLAGS-unload4mod2.so): Likewise.
4822 (LDFLAGS-tst-initorder): Likewise.
4823 (LDFLAGS-tst-initordera2.so): Likewise.
4824 (LDFLAGS-tst-initordera3.so): Likewise.
4825 (LDFLAGS-tst-initordera4.so): Likewise.
4826 (LDFLAGS-tst-initorderb2.so): Likewise.
4827 (LDFLAGS-noload): Likewise.
4828 (LDFLAGS-next): Likewise.
4829 (LDFLAGS-order2mod1.so): Likewise.
4830 (LDFLAGS-order2mod2.so): Likewise.
4831 (LDFLAGS-tst-initorder2): Likewise.
4832 (LDFLAGS-tst-initorder2a.so): Likewise.
4833 (LDFLAGS-tst-initorder2b.so): Likewise.
4834 (LDFLAGS-tst-initorder2c.so): Likewise.
4835 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4836
d77f993f
DM
48372012-05-02 David S. Miller <davem@davemloft.net>
4838
4839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4840
171a70b4
PP
48412012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4842
4843 [BZ #14055]
4844 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4845
0be196ad
AJ
48462012-05-02 Andreas Jaeger <aj@suse.de>
4847
4848 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4849 since we manipulate rounding mode.
4850 (CPPFLAGS-test-idouble.c): Likewise.
4851 (CPPFLAGS-test-ifloat.c): Likewise.
4852 (CFLAGS-test-ldouble.c): Likewise.
4853 (CFLAGS-test-double.c): Likewise.
4854 (CFLAGS-test-float.c): Likewise.
4855 (CFLAGS-test-misc.c): Likewise.
4856 (CFLAGS-test-test-fenv.c): Likewise.
4857
4f9d04aa
AZ
48582012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4859
2b942cb7
RM
4860 [BZ #2550]
4861 [BZ #2570]
4862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4863 comparisons to determine direction to adjust input.
4f9d04aa 4864
82a79e7d
RM
48652012-05-01 Roland McGrath <roland@hack.frob.com>
4866
f5a01ca9
RM
4867 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4868 output to the target.
4869
90fe4186
RM
4870 * scripts/localplt.awk: New file.
4871 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4872 (check-localplt-CFLAGS): Variable removed.
4873 ($(all-built-dso:=.jmprel)): New static pattern rule.
4874 (generated): Add those targets.
4875 (localplt-built-dso): New variable.
4876 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4877
4878 * elf/check-localplt.c: File removed.
4879
82397ed6
RM
4880 * scripts/check-execstack.awk: New file.
4881 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4882 (check-execstack-CFLAGS): Variable removed.
4883 ($(objpfx)check-execstack.h): Target removed.
4884 ($(objpfx)execstack-default): New target.
4885 (generated): Add that instead of check-execstack.h.
4886 ($(all-built-dso:=.phdr)): New static pattern rule.
4887 (generated): Add those targets.
4888 * elf/check-execstack.c: File removed.
4889
82a79e7d
RM
4890 * scripts/check-textrel.awk: New file.
4891 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4892 (check-textrel-CFLAGS): Variable removed.
4893 (all-built-dso): Use := to define.o
4894 ($(all-built-dso:=.dyn)): New static pattern rule.
4895 (generated): Add those targets.
4896 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4897 * config.make.in (READELF): New substituted variable.
4898 * elf/check-textrel.c: File removed.
4899
62fde54f 49002012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4901
615605c9
JM
4902 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4903 allow.
4904 * conform/data/ctype.h-data [C99-based standards] (isblank):
4905 Expect function.
4906 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4907 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4909 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4910 Specify type. Require positive value.
4911 (EILSEQ): Likewise.
4912 (ERANGE): Likewise.
4913 [ISO || POSIX] (EILSEQ): Do not expect.
4914 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4915 Specify type. Require positive value.
4916 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4917 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4918 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4919 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4925 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4926 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4931 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4932 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4933 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4934 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4939 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4945 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4958 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4959 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4974 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4976 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4990 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4991 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4992 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4993 Require >= 2.
4994 (FLT_ROUNDS): Expect as macro, not constant.
4995 (FLT_MANT_DIG): Use macro-int-constant.
4996 (DBL_MANT_DIG): Likewise.
4997 (LDBL_MANT_DIG): Likewise.
4998 (FLT_DIG): Likewise.
4999 (DBL_DIG): Likewise.
5000 (LDBL_DIG): Likewise.
5001 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5002 (DBL_MIN_EXP): Likewise.
5003 (LDBL_MIN_EXP): Likewise.
5004 (FLT_MAX_EXP): Use macro-int-constant.
5005 (DBL_MAX_EXP): Likewise.
5006 (LDBL_MAX_EXP): Likewise.
5007 (FLT_MAX_10_EXP): Likewise.
5008 (DBL_MAX_10_EXP): Likewise.
5009 (LDBL_MAX_10_EXP): Likewise.
5010 (FLT_MAX): Use macro-constant.
5011 (DBL_MAX): Likewise.
5012 (LDBL_MAX): Likewise.
5013 (FLT_EPSILON): Use macro-constant. Give upper bound.
5014 (DBL_EPSILON): Likewise.
5015 (LDBL_EPSILON): Likewise.
5016 (FLT_MIN): Likewise.
5017 (DBL_MIN): Likewise.
5018 (LDBL_MIN): Likewise.
5019 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5020 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5021 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5022 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5023 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5024 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5025 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5026 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5027 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5028 [ISO11] (FLT_TRUE_MIN): Likewise.
5029 [ISO11] (LDBL_TRUE_MIN): Likewise.
5030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5031 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5032 (SCHAR_MIN): Use macro-int-constant. Specify type.
5033 (SCHAR_MAX): Likewise.
5034 (UCHAR_MAX): Likewise.
5035 (CHAR_MIN): Likewise.
5036 (CHAR_MAX): Likewise.
5037 (MB_LEN_MAX): Use macro-int-constant.
5038 (SHRT_MIN): Use macro-int-constant. Specify type.
5039 (SHRT_MAX): Likewise.
5040 (USHRT_MAX): Likewise.
5041 (INT_MAX): Likewise.
5042 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5043 bound negative.
5044 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5045 bound with "U".
5046 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5047 bound with "L".
5048 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5049 bound negative. Suffix upper bound with "L".
5050 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5051 bound with "UL".
5052 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5053 Specify type.
5054 [C99-based standards] (LLONG_MAX): Likewise.
5055 [C99-based standards] (ULLONG_MAX): Likewise.
5056 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5057 == 0.
5058 [ISO11] (max_align_t): Require type.
5059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5060
c9140a62
JM
5061 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5062 from $CFLAGS, without defining away __attribute__ calls.
5063 (checknamespace): Use $CFLAGS_namespace.
5064
9af0bf29
JM
5065 * conform/conformtest.pl (@keywords): Only include C99 keywords
5066 for standards based on C99 or C11.
5067
343222a2
JM
5068 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5069 Disable tests.
5070 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5071 UNIX98]: Likewise.
5072
661f8cf0
JM
5073 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5074 usability of symbols in #if.
5075
ee74b9cb
JM
5076 * conform/conformtest.pl: If macro or constant types start
5077 "promoted:", expect the symbol to be of the following type
5078 promoted by the integer promotions.
62fde54f 5079
aafc49b3
JM
5080 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5081 in one place. Also handle "macro-constant".
5082
fefdf574
JM
5083 * conform/conformtest.pl: Only accept expected macro values with
5084 "==". Parse all "macro" lines in one place.
5085 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5086
f2d922fe
JM
5087 * conform/conformtest.pl: Handle braced types on "constant" lines
5088 instead of handling "typed-constant".
5089 * conform/data/signal.h-data: Use "constant" instead of
5090 "typed-constant".
5091
d22956c9
JM
5092 * conform/conformtest.pl: Handle "optional-" at start of lines in
5093 one place rather than duplicating several cases. Handle each
5094 format of "macro" line with initial "optional-".
5095
028e2e38
JM
5096 * conform/conformtest.pl: Only accept expected constant or
5097 optional-constant values with "==". Parse all "constant" lines in
5098 one place. Parse all "optional-constant" lines in one place.
5099 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5100 * conform/data/fmtmsg.h-data: Likewise.
5101 * conform/data/netinet/in.h-data: Likewise.
5102 * conform/data/tar.h-data: Likewise.
5103 * conform/data/limits.h-data: Use "==" form on "constant" and
5104 "optional-constant" lines.
5105
1b8f2850
JM
5106 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5107 Use -std=c99 for XOPEN2K.
5108 (@knownproblems): Remove.
5109 (newtoken): Don't check %isknown.
5110
a05a144b
JM
5111 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5112 Do not expect macro.
5113 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5114 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5115 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5116 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5117 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5118 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5119 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5120 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5121 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5122 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5123 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5124 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5125 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5126 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5127 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5128 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5129 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5130 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5131 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5132 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5133 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5134 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5135 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5136 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5137 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5138 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5139 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5140 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5141 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5142 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5143 [XPG3] (acosh): Likewise.
5144 [XPG3] (asinh): Likewise.
5145 [XPG3] (atanh): Likewise.
5146 [XPG3] (cbrt): Likewise.
5147 [XPG3] (expm1): Likewise.
5148 [XPG3] (ilogb): Likewise.
5149 [XPG3] (log1p): Likewise.
5150 [XPG3] (logb): Likewise.
5151 [XPG3] (nextafter): Likewise.
5152 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5153 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5154 [XPG3] (remainder): Likewise.
5155 [XPG3] (rint): Likewise.
5156 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5163 [UNIX98 || XOPEN2K] (scalb): Expect.
5164 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5165 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5168 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5169 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5186 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5187 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5206 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5207 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5208 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5288 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5289 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5290 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5291 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5292 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5293 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5294 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5301
73c5ebe3
JM
5302 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5303 _XOPEN_SOURCE_EXTENDED for XPG4.
5304
39c33b6c
JM
5305 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5306
62fde54f
JM
5307 * Makeconfig (localtime): Remove variable.
5308 (inst_localtime-file): Likewise.
5309
0741d64c
AS
53102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5311
5312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5313 Update.
5314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5315 Update.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5317 Update.
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5319 Update.
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5321 Update.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5323 Update.
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5325 Update.
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5327 Update.
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5329 Update.
5330
7cb029ee
JM
53312012-05-01 Joseph Myers <joseph@codesourcery.com>
5332
5333 [BZ #2550]
5334 [BZ #2570]
5335 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5336 comparisons to determine direction to adjust input.
5337 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5338 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5340 Likewise.
5341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5342 Likewise.
5343 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5344 Likewise.
5345 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5346 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5347 Likewise.
5348 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5349 Likewise.
5350 * math/libm-test.inc (nexttoward_test): Add more tests.
5351
412bd966
AS
53522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5353
5354 [BZ #14040]
5355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5356 in version GLIBC_2.1, not GLIBC_2.0.
5357 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5358 Likewise.
5359
9568c0c2
JM
53602012-04-30 Joseph Myers <joseph@codesourcery.com>
5361
adfbc8ac
JM
5362 [BZ #13942]
5363 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5364 (1 - x) * (1 + x).
5365 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5366 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5367 * math/libm-test.inc (acos_test): Add more tests.
5368 (asin_test): Likewise.
5369 * sysdeps/i386/fpu/libm-test-ulps: Update.
5370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5371
5ba3cc69
JM
5372 [BZ #14034]
5373 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5374 of square root.
5375 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5376 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5377 * math/libm-test.inc (acos_test_tonearest): New function.
5378 (acos_test_towardzero): Likewise.
5379 (acos_test_downward): Likewise.
5380 (acos_test_upward): Likewise.
5381 (asin_test_tonearest): Likewise.
5382 (asin_test_towardzero): Likewise.
5383 (asin_test_downward): Likewise.
5384 (asin_test_upward): Likewise.
5385 (main): Call the new functions.
5386 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5388
9568c0c2
JM
5389 [BZ #13884]
5390 [BZ #13924]
5391 * math/e_exp10.c: Include <float.h>.
5392 (__ieee754_exp10): Handle underflow here rather than multiplying
5393 large negative argument by M_LN10.
5394 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5395 of __ieee754_expf.
5396 * math/e_exp10l.c: Include <float.h>.
5397 (__ieee754_exp10l): Handle underflow here rather than multiplying
5398 large negative argument by M_LN10l.
5399 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5400 spurious overflow exception on underflow.
5401
5ac3ea17
MP
54022012-04-29 Marek Polacek <polacek@redhat.com>
5403
5404 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5405 (__fortify_function): New macro.
5406 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5407 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5408 __extern_always_inline.
5409 * libio/bits/stdio2.h: Likewise.
5410 * libio/bits/stdio.h: Likewise.
5411 * string/string.h: Likewise.
5412 * string/bits/string3.h: Likewise.
5413 * include/stdio.h: Likewise.
5414 * stdlib/bits/stdlib.h: Likewise.
5415 * stdlib/stdlib.h: Likewise.
5416 * rt/bits/mqueue2.h: Likewise.
5417 * rt/mqueue.h: Likewise.
5418 * posix/bits/unistd.h: Likewise.
5419 * posix/unistd.h: Likewise.
5420 * io/bits/poll2.h: Likewise.
5421 * io/bits/fcntl2.h: Likewise.
5422 * io/fcntl.h: Likewise.
5423 * io/sys/poll.h: Likewise.
5424 * misc/bits/syslog.h: Likewise.
5425 * misc/bits/syslog-ldbl.h: Likewise.
5426 * misc/sys/syslog.h: Likewise.
5427 * socket/bits/socket2.h: Likewise.
5428 * socket/sys/socket.h: Likewise.
5429 * debug/tst-chk1.c: Likewise.
5430 * wcsmbs/bits/wchar2.h: Likewise.
5431 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5432 * wcsmbs/wchar.h: Likewise.
5433
ecf0ebfb
AJ
54342012-04-29 Andreas Jaeger <aj@suse.de>
5435
5436 * Makerules (tests): Remove enable-check-abi protection.
5437 (check-abi-warn): Remove.
5438 (check-abi-%): Remove check-abi-warn usage.
5439
5440 * configure.in: Remove check-abi configure option.
5441 * configure: Regenerated.
5442 * config.make.in (enable-check-abi): Remove.
5443
6d5c57fa
AS
54442012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5445
24c5d07e 5446 [BZ #14033]
ded5180a
AS
5447 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5448 double functions to double *_finite functions.
5449
7e0d315d
AS
5450 [BZ #13941]
5451 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5452 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5453 LDBL_MIN_EXP.
5454 * stdio-common/Makefile (tests): Add tst-sprintf3.
5455 * stdio-common/tst-sprintf3.c: New file.
5456
6d5c57fa
AS
5457 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5458 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5459
0749ff8b
JM
54602012-04-28 Joseph Myers <joseph@codesourcery.com>
5461
5462 * conform/conformtest.pl: Remove duplicate typed-constant
5463 handling.
5464
8dbd5d7b
DM
54652012-04-28 David S. Miller <davem@davemloft.net>
5466
5467 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5468 (check-abi-%): Remove AWK script prerequisite and explicit
5469 abilist directory.
5470 (check-abi): Rewrite to just diff the symlist with the abilist.
5471 (config-tls, config-abi-config): Delete, no longer used.
5472 (update-abi-%): Remove AWK script and explicit abilist directory.
5473 (update-abi): Rewrite to simply compare and conditionally copy the
5474 symlist and the sysdep abilist file. Remove update-abi-config
5475 checks.
5476 * abilist/ld.abilist: Remove.
5477 * abilist/libBrokenLocale.abilist: Remove.
5478 * abilist/libanl.abilist: Remove.
5479 * abilist/libcrypt.abilist: Remove.
5480 * abilist/libdl.abilist: Remove.
5481 * abilist/librt.abilist: Remove.
5482 * abilist/libthread_db.abilist: Remove.
5483 * abilist/libutil.abilist: Remove.
5484 * scripts/extract-abilist.awk: Remove.
5485 * scripts/merge-abilist.awk: Remove.
5486 * sysdeps/generic/libcidn.abilist: New file.
5487 * sysdeps/generic/libnss_compat.abilist: New file.
5488 * sysdeps/generic/libnss_db.abilist: New file.
5489 * sysdeps/generic/libnss_dns.abilist: New file.
5490 * sysdeps/generic/libnss_files.abilist: New file.
5491 * sysdeps/generic/libnss_hesiod.abilist: New file.
5492 * sysdeps/generic/libnss_nis.abilist: New file.
5493 * sysdeps/generic/libnss_nisplus.abilist: New file.
5494 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5495 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5496 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5497 file.
5498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5499 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5500 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5501 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5502 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5503 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5504 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5505 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5506 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5507 file.
5508 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5509 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5510 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5511 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5512 file.
5513 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5514 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5515 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5516 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5517 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5518 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5519 file.
5520 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5521 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5522 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5523 file.
5524 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5526 New file.
5527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5528 New file.
5529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5530 New file.
5531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5532 New file.
5533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5534 New file.
5535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5536 New file.
5537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5538 New file.
5539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5540 New file.
5541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5542 New file.
5543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5544 New file.
5545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5546 New file.
5547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5548 New file.
5549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5550 New file.
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5552 file.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5554 New file.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5556 New file.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5558 file.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5560 New file.
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5562 New file.
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5564 file.
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5566 New file.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5568 New file.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5570 New file.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5572 New file.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5574 New file.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5576 New file.
5577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5579 file.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5581 New file.
5582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5583 file.
5584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5585 file.
5586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5587 file.
5588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5589 file.
5590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5591 file.
5592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5593 New file.
5594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5595 file.
5596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5597 file.
5598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5599 New file.
5600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5601 file.
5602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5604 file.
5605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5606 New file.
5607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5608 file.
5609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5610 file.
5611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5612 file.
5613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5614 file.
5615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5616 file.
5617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5618 New file.
5619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5620 file.
5621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5622 file.
5623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5624 New file.
5625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5626 file.
5627 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5628 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5629 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5630 file.
5631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5632 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5633 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5634 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5635 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5636 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5637 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5638 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5639 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5640 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5643 file.
5644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5645 New file.
5646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5647 file.
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5649 file.
5650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5651 file.
5652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5653 file.
5654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5655 file.
5656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5657 New file.
5658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5659 New file.
5660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5661 file.
5662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5663 New file.
5664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5665 file.
5666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5668 file.
5669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5670 New file.
5671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5672 file.
5673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5674 file.
5675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5676 file.
5677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5678 file.
5679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5680 file.
5681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5682 New file.
5683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5684 New file.
5685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5686 file.
5687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5688 New file.
5689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5690 file.
5691
41d73a1b
JM
56922012-04-28 Joseph Myers <joseph@codesourcery.com>
5693
5694 * conform/conformtest.pl: Fix typo in handling typed-constant from
5695 allow-header.
5696
28aeeda4
JM
56972012-04-27 Joseph Myers <joseph@codesourcery.com>
5698
adae8f5e
JM
5699 * README: Cut down references to pre-2.6 Linux kernels and
5700 Linuxthreads. Update lists of configurations in libc and ports
5701 and sort alphabetically. Say "or newer" with Linux kernel version
5702 requirements.
5703
28aeeda4
JM
5704 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5705
a462cb63
RA
57062012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5707
5708 [BZ #887]
5709 * math/libm-test.inc (logb_test_downward): New test to expose
5710 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5711 rounding mode.
5712
6ad3493e
JM
57132012-04-27 Joseph Myers <joseph@codesourcery.com>
5714
5715 [BZ #14027]
5716 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5717 to be done.
5718 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5719 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5720
2ce4f015
JM
57212012-04-26 Joseph Myers <joseph@codesourcery.com>
5722
5aeb141a
JM
5723 * sysdeps/unix/i386/brk.S: Remove file.
5724 * sysdeps/unix/i386/dl-brk.S: Likewise.
5725 * sysdeps/unix/i386/pipe.S: Likewise.
5726 * sysdeps/unix/i386/sigreturn.S: Likewise.
5727 * sysdeps/unix/i386/syscall.S: Likewise.
5728 * sysdeps/unix/i386/vfork.S: Likewise.
5729 * sysdeps/unix/i386/wait.S: Likewise.
5730
7143acae
JM
5731 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5732 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5733
2ce4f015
JM
5734 * configure.in (arm*-none*): Do not allow without
5735 --enable-hacker-mode.
5736 (netbsd*): Remove case setting base_os.
5737 (386bsd*): Likewise.
5738 (freebsd*): Likewise.
5739 (bsdi*): Likewise.
5740 (osf*): Likewise.
5741 (sunos*): Likewise.
5742 (ultrix*): Likewise.
5743 (newsos*): Likewise.
5744 (dynix*): Likewise.
5745 (*bsd*): Likewise.
5746 (sysv*): Likewise.
5747 (isc*): Likewise.
5748 (esix*): Likewise.
5749 (sco*): Likewise.
5750 (minix*): Likewise.
5751 (irix4*): Likewise.
5752 (irix6*): Likewise.
5753 (solaris[2-9]*): Likewise.
5754 (none): Likewise.
5755 * configure: Regenerated.
5756
0ac229c8
AZ
57572012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758
5759 [BZ #11521]
5760 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5761 overflow or cancellation in calculating denominator.
5762 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5764 down expression to avoid unexpected rounding in newer GCCs.
5765 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5766
33f244f4
DM
57672012-04-26 David S. Miller <davem@davemloft.net>
5768
5769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5770 long-double compat symbols.
5771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5784
cfa1f3e8
DM
57852012-04-25 David S. Miller <davem@davemloft.net>
5786
5787 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5788 HWCAP_* values only after the memory barriers have been defined.
5789 (atomic_full_barrier): Define.
5790 (atomic_read_barrier): Define.
5791 (atomic_write_barrier): Define.
5792
6e236b92
SP
57932012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5794
5795 * shlib-versions: Add libgcc_s version information.
5796 * sysdeps/generic/libgcc_s.h: Remove.
5797 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5798 libgcc_s.h.
5799 * sysdeps/gnu/unwind-resume.c: Likewise.
5800 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5801
aab39a09
DM
58022012-04-25 David S. Miller <davem@davemloft.net>
5803
5804 * sysdeps/unix/sparc/brk.S: Delete.
5805 * sysdeps/unix/sparc/dl-brk.S: Delete.
5806 * sysdeps/unix/sparc/pipe.S: Delete.
5807 * sysdeps/unix/sparc/sysdep.S: Delete.
5808 * sysdeps/unix/sparc/sysdep.h: Delete.
5809 * sysdeps/unix/sparc/vfork.S: Delete.
5810 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5811 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5813 ret_ERRVAL, r0, r1, MOVE): Define.
5814 (JUMPTARGET): Remove.
5815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5816 sysdeps/unix/sparc/sysdep.h
5817 (ENTRY, END): Remove.
5818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5819
a3cc4f48
JM
58202012-04-25 Joseph Myers <joseph@codesourcery.com>
5821
2ed8cda2
JM
5822 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5823 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5824 -DIS_IN_build.
5825
35d76d59
JM
5826 * timezone/README: Update upstream location and email address for
5827 tzcode and tzdata.
5828 * timezone/zdump.c: Update from tzcode 2012b.
5829 * timezone/zic.c: Likewise.
5830
a3cc4f48
JM
5831 * configure.in (libc_cv_as_needed): Remove test.
5832 * configure: Regenerated.
5833 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5834 conditional definition.
5835 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5836 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5837 * config.make.in (have-as-needed): Remove variable.
5838
ceab42c3
SP
58392012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5840 Paul Pluzhnikov <ppluzhnikov@google.com>
5841
5842 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5843 strings correctly.
5844
3ce2865f
CLT
58452012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5846
5847 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5848 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5849 * sysdeps/sh/strlen.S: Likewise.
5850
f37e0d68
JM
58512012-04-24 Joseph Myers <joseph@codesourcery.com>
5852
ae186e9a
JM
5853 * sysdeps/unix/fork.S: Remove file.
5854 * sysdeps/unix/i386/fork.S: Likewise.
5855 * sysdeps/unix/sparc/fork.S: Likewise.
5856
b96914af
JM
5857 * sysdeps/unix/system.c: Remove file.
5858 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5859
f37e0d68
JM
5860 * sysdeps/unix/getegid.S: Remove file.
5861 * sysdeps/unix/geteuid.S: Likewise.
5862
87ef29ca
RM
58632012-04-24 Roland McGrath <roland@hack.frob.com>
5864
83bcd236
RM
5865 * scripts/check-localplt.awk: New file.
5866 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5867 of diff.
5868 * scripts/data/localplt-generic.data: Add a comment.
5869
87ef29ca
RM
5870 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5871 NODE when __dir_mkfile failed.
5872 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5873 Reported by Ludovic Courtès <ludo@gnu.org>.
5874
e5a6e567
AJ
58752012-04-24 Andreas Jaeger <aj@suse.de>
5876
5877 * Makerules (common-clean): Also remove gen-as-const-headers
5878 files.
5879
c1820385
JM
58802012-04-24 Joseph Myers <joseph@codesourcery.com>
5881
5882 * Makerules (native-compile): Do not change working directory for
5883 build. Use $(OUTPUT_OPTION) in command.
5884 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5885
94e02fc4
AZ
58862012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887
5888 [BZ #13886]
5889 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5890 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5891 * math/libm-test.inc (floor_test): Add more tests.
5892 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5893
3a533ca3
JM
58942012-04-24 Joseph Myers <joseph@codesourcery.com>
5895
940ab4b3
JM
5896 * sysdeps/unix/getdents.c: Remove file.
5897 * sysdeps/unix/sysv/getdents.c: Likewise.
5898 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5899
90e037bd
JM
5900 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5901 sysdeps/unix/mman/syscalls.list.
5902 (mmap): Likewise.
5903 (mprotect): Likewise.
5904 (msync): Likewise.
5905 (munmap): Likewise.
5906 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5907 * sysdeps/unix/mman/syscalls.list: Remove.
5908 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5909
3a533ca3
JM
5910 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5911 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5912 * configure: Regenerated.
5913 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5914 $(libgcc_s_suffix).
5915 * config.make.in (libgcc_s_suffix): Remove variable.
5916
1ad743de
JM
59172012-04-23 Joseph Myers <joseph@codesourcery.com>
5918
4ad451e2
JM
5919 * sysdeps/unix/sysv/gethostname.c: Move to ...
5920 * sysdeps/posix/gethostname.c: ... here.
5921
5e37ce39
JM
5922 * sysdeps/unix/execve.S: Remove file.
5923
1ad743de
JM
5924 * sysdeps/unix/_exit.S: Remove file.
5925
4e681b5b
AJ
59262012-04-23 Andreas Jaeger <aj@suse.de>
5927
5928 [BZ #13739]
5929 * manual/Makefile: Remove make dist support, there's no
5930 need for a stand-alone documentation tar ball.
5931 (TEXI2DVI): Define always, it's not in Makeconfig.
5932 (dist): Removed.
5933 (tar-it): Removed.
5934 (edition): Removed.
5935 (glibc-doc-$(edition).tar): Removed
5936 (%.Z): Removed.
5937 (%.gz): Removed.
5938 (%.uu): Removed.
5939 (ETAGS): Remove, it's in Makeconfig.
5940 (move-if-change): Remove, it's in Makeconfig.
5941
c0baea34
PE
59422013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5943
5944 [BZ #13970]
5945 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5946 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5947 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5948 (strtod_l, strtof_l, strtold_l): Remove __wur.
5949 It is not necessarily an error to ignore strtol's return value.
5950 One can reliably look at the stored endptr to decide whether
5951 the number had valid syntax.
5952
7c0616fa
AJ
59532012-04-21 Andreas Jaeger <aj@suse.de>
5954
803cb6b7 5955 [BZ #13739]
7c0616fa
AJ
5956 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5957
b0fe253f
JM
59582012-04-21 Joseph Myers <joseph@codesourcery.com>
5959
5960 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5961 * sysdeps/unix/sysv/Versions: Remove file.
5962
8280f22d
MT
59632012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5964
5965 [BZ #13927]
5966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5967
75ce411f 59682012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5969
5970 [BZ #7064]
5971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5972 version from __vm86.
5973
097d59fa
JM
59742012-04-20 Joseph Myers <joseph@codesourcery.com>
5975
a90f3bcb
JM
5976 * sysdeps/unix/common/lxstat.c: Remove file.
5977 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5978
edc7ea78
JM
5979 * sysdeps/unix/sysv/Makefile: Remove file.
5980
cb78c221
JM
5981 * sysdeps/unix/sysv/direct.h: Remove file.
5982
efa6a45f
JM
5983 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5984 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5985 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5986 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5987 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5988 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5989 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5990
9c9f2d0c
JM
5991 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5992
4541c83b
JM
5993 * sysdeps/unix/xmknod.c: Remove file.
5994 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5995
f5d153a0
JM
5996 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5997
aa746595
JM
5998 * sysdeps/unix/sysv/i386/time.S: Remove file.
5999
cce5905e
JM
6000 * sysdeps/unix/fxstat.c: Remove file.
6001 * sysdeps/unix/xstat.c: Likewise.
6002 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6003
37fa3841
JM
6004 * sysdeps/unix/sysv/sigaction.c: Remove file.
6005
ff1962a3
JM
6006 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6007 (sysdep_headers): Remove variable.
6008 [termio.h not in sysdep_headers] (generated): Likewise.
6009 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6010 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6011 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6012 * sysdeps/unix/sysv/tcflow.c: Likewise.
6013 * sysdeps/unix/sysv/tcflush.c: Likewise.
6014 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6015 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6016 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6017 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6018 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6019
e7740d31
JM
6020 * sysdeps/unix/siglist.c: Remove file.
6021
ee06f18b
JM
6022 * sysdeps/unix/getppid.S: Remove file.
6023
097d59fa
JM
6024 * sysdeps/unix/mkdir.c: Remove file.
6025 * sysdeps/unix/rmdir.c: Likewise.
6026
ff3d51ec
AS
60272012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6028
6029 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6030 ERR_MAX value.
6031 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6032 errlist-compat value.
6033
50f81fd7
DM
60342012-04-18 David S. Miller <davem@davemloft.net>
6035
6036 * sysdeps/generic/memcopy.h (reg_char): Delete.
6037 * debug/strcat_chk.c: Use char, not reg_char.
6038 * debug/strcpy_chk.c: Likewise.
6039 * debug/strncat_chk.c: Likewise.
6040 * debug/strncpy_chk.c: Likewise.
6041 * string/memchr.c: Likewise.
6042 * string/memrchr.c: Likewise.
6043 * string/rawmemchr.c: Likewise.
6044 * string/strcat.c: Likewise.
6045 * string/strchr.c: Likewise.
6046 * string/strchrnul.c: Likewise.
6047 * string/strcmp.c: Likewise.
6048 * string/strcpy.c: Likewise.
6049 * string/strncat.c: Likewise.
6050 * string/strncmp.c: Likewise.
6051 * string/strncpy.c: Likewise.
6052
8ff41c46
WS
60532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6054
6055 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6056 __builtin_memcopy is called when src and dest ranges are known to not
6057 overlap.
6058
6b652f46
WS
60592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6060
6061 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6062 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6063 fwd_align_merge macro call.
6064 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6065 bwd_align_merge macro call.
6066 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6067
b282631e
WS
60682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6069
6070 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6071 bwd_align_merge macros.
6072 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6073 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6074 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6075
95aa737c
DM
60762012-04-18 David S. Miller <davem@davemloft.net>
6077
6078 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6079
7a99a614
AJ
60802012-04-18 Andreas Jaeger <aj@suse.de>
6081
6082 [BZ# 6794]
6083 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6084 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6085 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6086
6087 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6088 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6089 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6090
6091 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6092 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6093 Adjust for changed ldbl-128 files.
6094
6095 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6096 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6097 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6098
e5270c23
DM
60992012-04-17 David S. Miller <davem@davemloft.net>
6100
6101 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6102
fb5e92c9
AS
61032012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6104
6105 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6106 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6107 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6108 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6109 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6110 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6111
76da7265
AZ
61122012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113
6114 [BZ #6794]
6115 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6116 * math/libm-test.inc: Add ilogb errno and exception tests.
6117 * math/w_ilogb.c: New file: ilogb wrapper.
6118 * math/w_ilogbf.c: New file: ilogbf wrapper.
6119 * math/w_ilogbl.c: New file: ilogbl wrapper.
6120 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6121 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6122 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6123 exception being thrown with 0.0 as argument.
6124 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6125 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6126 exception being thrown with 0.0 as argument.
6127 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6128 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6129 exception being thrown with 0.0 as argument.
6130 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6131 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6132 exception being thrown with 0.0 as argument.
6133 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6134 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6135 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6136 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6137 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6138 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6139 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6140 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6141 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6142
0396e69d
PB
61432012-04-17 Petr Baudis <pasky@ucw.cz>
6144
6145 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6146 with altivec.
6147
750b5926
MP
61482012-04-16 Marek Polacek <polacek@redhat.com>
6149
6150 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6151
751728a1
MP
61522012-04-16 Marek Polacek <polacek@redhat.com>
6153
6154 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6155 operands of fdivp instruction.
6156
34a27407
L
61572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6158
6159 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6160 * elf/tst-auditmod3b.c: Likewise.
6161 * elf/tst-auditmod4b.c: Likewise.
6162 * elf/tst-auditmod5b.c: Likewise.
6163 * elf/tst-auditmod6b.c: Likewise.
6164 * elf/tst-auditmod6c.c: Likewise.
6165 * elf/tst-auditmod7b.c: Likewise.
6166 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6167 * sysdeps/x86_64/preconfigure.in: Likewise.
6168 * sysdeps/x86_64/preconfigure: Regenerated.
6169
7e73e17d
L
61702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6171
6172 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6173 __ILP32__.
6174
c7a6ab72
AB
61752012-04-13 Antoine Balestrat <merkil33@gmail.com>
6176
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6178 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6179
a9e8e0e0
CL
61802012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6181
6182 [BZ #13973]
6183 * locale/iso-639.def: Fix gl language name. Spotted by
6184 Yaron Shahrabani.
6185
ec98af7d
RM
61862012-04-12 Roland McGrath <roland@hack.frob.com>
6187
6188 [BZ #2074]
6189 * libio/libio.h (__io_write_fn): Update comment.
6190
247c3ede
PB
61912012-04-12 Petr Baudis <pasky@ucw.cz>
6192
6193 [BZ #2074]
6194 * stdio.texi (Hook Functions): The user provided writer function
6195 is not allowed to return -1.
6196
55939d6d
DM
61972012-04-11 David S. Miller <davem@davemloft.net>
6198
6199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6200
90020f5a
MF
62012012-04-11 Mike Frysinger <vapier@gentoo.org>
6202
6203 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6204 Add a leading slash to rtkaio.
6205
288f9098
JM
62062012-04-11 Jim Meyering <meyering@redhat.com>
6207
90020f5a
MF
6208 [BZ #11959]
6209 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6210 It is not necessarily an error to ignore fwrite's return
6211 value. One can reliably use ferror to test for errors after
6212 the fact.
288f9098 6213
4be2b570
L
62142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6215
6216 * bits/types.h (__snseconds_t): New type.
6217 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6218
6219 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6221 (__SNSECONDS_T_TYPE): Likewise.
6222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6223 (__SNSECONDS_T_TYPE): Likewise.
6224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6225 (__SNSECONDS_T_TYPE): Likewise.
6226
288f9098 62272012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6228
6229 [BZ #2636]
6230 * manual/time.texi (Processor Time): Return type of times is
6231 elapsed real time since an arbitrary point in the past.
6232 (CPU Time): Move CLK_TCK from here...
6233 (Processor Time): ...to here. Correct description.
6234 * manual/conf.texi (Constants for Sysconf): Correct description of
6235 _SC_CLK_TCK.
6236
d7dd4413
DM
62372012-04-10 David S. Miller <davem@davemloft.net>
6238
6239 [BZ #13967]
6240 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6241 where the is a gap between DT_REL(A) and DT_JMPREL.
6242
b46068fc
L
62432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6244
6245 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6246 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6247 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6248
73d65cc3
SP
62492012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6250
6251 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6252 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6253 (dl_main): Handle --inhibit-cache.
6254 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6255 _dl_inhibit_cache.
6256 * elf/dl-load.c (_dl_map_object): Use it.
6257 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6258
bcc8d661
JM
62592012-04-09 Joseph Myers <joseph@codesourcery.com>
6260
8f9a2fae
JM
6261 [BZ #13872]
6262 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6263 (__ieee754_powl): Saturate large exponents rather than testing for
6264 overflow of y*log2(x).
6265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6266 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6267 exceptions.
6268
bcc8d661
JM
6269 [BZ #11521]
6270 * math/s_ctan.c: Include <float.h>.
6271 (__ctan): Avoid internal overflow or cancellation in calculating
6272 denominator.
6273 * math/s_ctanf.c: Likewise.
6274 * math/s_ctanl.c: Likewise.
6275 * math/s_ctanh.c: Likewise.
6276 * math/s_ctanhf.c: Likewise.
6277 * math/s_ctanhl.c: Likewise.
6278 * math/libm-test.inc (ctan_test): Add more tests.
6279 (ctanh_test): Likewise.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update.
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6282
823fbbb4
AJ
62832012-04-09 Andreas Jaeger <aj@suse.de>
6284
03879793
AJ
6285 [BZ #6894]
6286 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6287 is an optional BSD extension.
6288
823fbbb4
AJ
6289 [BZ #10254]
6290 * manual/stdio.texi (Opening Streams): Document additional fopen
6291 parameters.
6292
8de131cb
RM
62932012-04-09 Roland McGrath <roland@hack.frob.com>
6294
6295 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6296 %eax without telling the compiler.
6297
c0ed9d7d
CD
62982012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6299
6300 [BZ # 13963]
6301 * manual/install.texi: Use sourceware.org.
6302
c483f6b4
JM
63032012-04-09 Joseph Myers <joseph@codesourcery.com>
6304
d7dd9453
JM
6305 [BZ #13873]
6306 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6307 (__ieee754_pow): Generate overflow and underflow using huge*huge
6308 and tiny*tiny rather than just returning constant infinity or zero
6309 for large exponents.
6310 * math/libm-test.inc (pow_test): Require overflow exceptions for
6311 applicable cases of large exponents.
6312
c483f6b4
JM
6313 [BZ #706]
6314 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6315 (__ieee754_pow): Use iterative multiplication algorithm only for
6316 integer exponents with absolute value below 1024. Check for odd
6317 integer exponents when using algorithm for real exponents.
6318 * math/libm-test.inc (pow_test): Add more tests.
6319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6320
d2de7579
JM
63212012-04-08 Joseph Myers <joseph@codesourcery.com>
6322
6323 [BZ #13705]
6324 * math/libm-test.inc (exp_test): Do not allow overflow exception
6325 on underflow test.
6326
f77f1232
AJ
63272012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6328
6329 [BZ #13705]
6330 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6331 instead of __kernel_standard_f.
6332
3884932b
MF
63332012-04-08 Mike Frysinger <vapier@gentoo.org>
6334
6335 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6336 * sysdeps/x86_64/memset_chk.S: Likewise.
6337
54472e9c
AJ
63382012-04-08 Andreas Jaeger <aj@suse.de>
6339
6ab0fbfc
AJ
6340 [BZ #10153]
6341 * manual/startup.texi (Environment Access): Describe return value
6342 for putenv and setenv.
6343
61efba8c
AJ
6344 [BZ #6895]
6345 * manual/filesys.texi (Directory Entries): Add description for
6346 DT_LNK.
6347
95c3f29a
AJ
6348 [BZ #6890]
6349 * manual/filesys.texi (Directory Entries): Clarify that it's file
6350 system not operating system in the description of DT_UNKNOWN.
6351
54472e9c
AJ
6352 [BZ #6578]
6353 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6354
624254b1
SC
63552012-04-08 Stephen Compall <s11@member.fsf.org>
6356
6357 [BZ #6649]
6358 * manual/llio.texi (Opening and Closing Files): Add cross
6359 reference to explain mode argument.
6360
1e4920e0
MF
63612012-04-07 Mike Frysinger <vapier@gentoo.org>
6362
6363 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6364 * sysdeps/x86_64/memset_chk.S: Likewise.
6365
5ed848f3
DM
63662012-04-07 David S. Miller <davem@davemloft.net>
6367
6368 * elf/elf.h (R_SPARC_WDISP10): Define.
6369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6370 R_SPARC_SIZE32.
6371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6372 R_SPARC_SIZE64 and R_SPARC_H34.
6373
96154cd8
CD
63742012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6375
6376 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6377 conditions and remove no longer applicable assertion.
6378
9904dc47
L
63792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6380
6381 * bits/byteswap.h: Include <features.h>.
6382 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6383 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6384
f8887d0a
L
63852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6386
6387 * bits/byteswap.h (__bswap_16): Removed.
6388 Include <bits/byteswap-16.h> to get __bswap_16.
6389 * sysdeps/i386/bits/byteswap.h: Likewise.
6390 * sysdeps/s390/bits/byteswap.h: Likewise.
6391 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6392 * bits/byteswap-16.h: New file.
6393 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6394 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6395 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6396 * string/Makefile (headers): Add bits/byteswap-16.h.
6397
62470f60
PP
63982012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6399
6400 [BZ #13895]
6401 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6402 extra indirection.
6403 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6404 * nss/tst-nss-static.c: New.
6405
4dad7bab
RM
64062012-04-06 Robert Millan <rmh@gnu.org>
6407
6408 [BZ #6486]
6409 * manual/llio.texi (File Position Primitive): lseek
6410 refers to WHENCE when it really means OFFSET.
6411
e9142a17
AJ
64122012-04-06 Andreas Jaeger <aj@suse.de>
6413
2c040eff
AJ
6414 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6415 strncmp declarations.
6416
e9142a17
AJ
6417 * abilist/libc.abilist: Add __poll and __ppoll.
6418
ff9f1c5f
DM
64192012-04-05 David S. Miller <davem@davemloft.net>
6420
dcd2ae90
DM
6421 * scripts/check-local-headers.sh: Accept a host triplet in the
6422 path matched by the exclude regexp.
6423
993eb054
DM
6424 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6425 definition.
6426 * sysdeps/powerpc/powerpc32/dl-machine.h
6427 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6428 * sysdeps/s390/s390-32/dl-machine.h
6429 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6430 * sysdeps/sparc/sparc32/dl-machine.h
6431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6432 * sysdeps/sparc/sparc64/dl-machine.h
6433 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6434
ff9f1c5f
DM
6435 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6436 lazy binding.
48e2e132 6437 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6438 undefined symbol errors.
6439
48e2e132 6440 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6441 DT_NEEDED entries.
6442
e80d6f94
MM
64432012-04-05 Michael Matz <matz@suse.de>
6444
6445 [BZ #13592]
6446 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6447
349fa79f
AJ
64482012-04-05 Andreas Jaeger <aj@suse.de>
6449
6450 [BZ #13908]
6451 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6452 comment.
6453
f402708f
KK
64542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6455
6456 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6457 which ROUND is no valid rounding mode.
6458
2ecccfc9
KK
64592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6460
6461 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6462 read again.
6463 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6464
8a53f50f
KK
64652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6466
6467 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6468 an exception using FPU order intentionally.
6469
64702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6471
6472 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6473 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6474 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6475 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6476
d653abb7
SJ
64772012-04-05 Simon Josefsson <simon@josefsson.org>
6478
6479 [BZ #12340]
6480 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6481 EINVAL when BUFLEN is too smal.
6482
c3b1bf7d
TS
64832012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6484
6485 [BZ #13553]
6486 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6487 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6488
b1aa60f3
AJ
64892012-04-03 Andreas Jaeger <aj@suse.de>
6490
c3b1bf7d 6491 [BZ #13938]
67f60a26
AJ
6492 * manual/setjmp.texi (System V contexts): Fix sentence.
6493
b1aa60f3
AJ
6494 [BZ #13926]
6495 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6496 New macro for this case.
6497 [!__GNUC__] (__bswap_64): New inline function for this case.
6498 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6499 * bits/byteswap.h: Likewise.
6500 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6501 ull, guard with __GLIBC_HAVE_LONG_LONG.
6502
6503 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6504 __GLIBC_HAVE_LONG_LONG.
6505
6506 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6507 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6508
39c59c35
TMQMF
65092012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6510
6511 [BZ #13691]
6512 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6513 inptr and inend, rather than using last_ch.
6514
135ffda8
DM
65152012-04-02 David S. Miller <davem@davemloft.net>
6516
6517 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6518 * stdio-common/printf-parse.h (read_int): Change return type to
6519 'int', return -1 on INT_MAX overflow.
6520 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6521 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6522 overflows INT_MAX. Check for overflow of in-format-string precision
6523 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6524 SIZE_MAX not INT_MAX for integer overflow test.
6525 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6526 skip the construct in the format string but do not record anything.
6527 * stdio-common/bug22.c: Adjust to test both width/prevision
6528 INT_MAX overflow as well as total length INT_MAX overflow. Check
6529 explicitly for proper errno values.
6530
228c019e
TS
65312012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6532
302cadd3
TS
6533 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6534 CHAR_MAX.
6535 * string/test-strcmp.c [! WIDE]: Likewise.
6536 * time/tst-mktime2.c: Likewise for INT_MAX.
6537 * string/test-string.h: #include <sys/param.h> for MIN.
6538
228c019e
TS
6539 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6540 * sysdeps/i386/init-first.c (init): Likewise.
6541 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6542 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6543 * sysdeps/sh/init-first.c (init): Likewise.
6544
cfa633f5
UD
65452012-04-01 Ulrich Drepper <drepper@gmail.com>
6546
6547 * po/ru.po: Update from translation team.
d1635ef8 6548 * po/vi.po: Likewise.
cfa633f5 6549
6cd0a5ea
SP
65502012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6551
6552 * resolv/nss_dns/dns-host.c: Merge copyright years.
6553
4b43400f
LD
65542012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6555
6556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6557 Optimize memcpy with prefetch if
6558 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6559 src, dst pointers have unequal 16 byte alignments.
6560
48c41d04
SP
65612012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6562
6563 [BZ #13928]
6564 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6565 from a CNAME entry and return the minimum ttl for the query.
6566 (gaih_getanswer_slice): Likewise.
6567
b8dc394d
JL
65682012-03-30 Jeff Law <law@redhat.com>
6569
6570 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6571 due to long keys.
6572 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6573 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6574
2f5a5ed0
JL
6575 * resolv/nss_dns/dns-host.c: Update copyright year.
6576
1d39e359
UD
65772012-03-30 Ulrich Drepper <drepper@gmail.com>
6578
c030f70c 6579 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6580 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6581
1d39e359
UD
6582 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6583 comments for sendmmsg.
6584
65852012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6586
6587 [BZ #13691]
6588 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6589 with only 1 character between 0x0041 and 0x01b0.
6590 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6591 * wcsmbs/tst-mbsnrtowcs.c: New file.
6592
20fde227
DM
65932012-03-29 David S. Miller <davem@davemloft.net>
6594
6595 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6596 small copies by hand.
6597
984a4237
JL
65982012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6599
6600 [BZ #13761]
6601 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6602 _nss_compat_initgroups_dyn): Fall back to malloc/free
6603 for large group memberships.
6604
18c9d62b
DM
66052012-03-28 David S. Miller <davem@davemloft.net>
6606
88d85d4f
DM
6607 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6608 that branches into memcpy.
6609 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6612 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6614 bits.
6615 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6616 implementation too.
6617 * sysdeps/sparc/mempcpy.S: New file.
6618
e5aa83e1
DM
6619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6620 the IFUNC routine in the libc case.
6621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6622
88570753
DM
6623 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6624 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6625 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6626 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6627 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6628 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6629 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6630 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6631
249d7567
DM
6632 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6633 loop to 256 bytes instead of 64 bytes and fix test signedness.
6634
18c9d62b
DM
6635 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6636 * sysdeps/sparc/sparc32/Makefile: rather than here...
6637 * sysdeps/sparc/sparc64/Makefile: and here.
6638
05f3d1f6
UD
66392012-03-28 Ulrich Drepper <drepper@gmail.com>
6640
6641 * malloc/mallocbug.c: Avoid warnings about unused variables.
6642
86ae07a8
JL
66432012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6644
6645 [BZ #13760]
6646 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6647 in the right place. Discard and retry query if response is
6648 larger than input buffer size.
6649
41bf21a1
JM
66502012-03-28 Joseph Myers <joseph@codesourcery.com>
6651
d6270972
JM
6652 [BZ #369]
6653 [BZ #2678]
6654 [BZ #3866]
6655 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6656 x for large integer exponent.
6657 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6658 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6659 sign of result as needed afterwards.
6660 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6661 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6662 result for underflowing pow the same as for overflow.
6663 (__kernel_standard_l): Handle powl overflow and underflow here
6664 rather than calling __kernel_standard.
6665 * math/libm-test.inc (pow_test): Add more tests.
6666
414fca03 6667 [BZ #3868]
41bf21a1
JM
6668 [BZ #13879]
6669 [BZ #13910]
6670 [BZ #13911]
6671 [BZ #13912]
6672 [BZ #13913]
6673 [BZ #13915]
6674 [BZ #13916]
6675 [BZ #13917]
6676 [BZ #13918]
6677 [BZ #13919]
6678 [BZ #13920]
6679 [BZ #13921]
6680 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6681 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6682 (__kernel_standard_l): New function.
6683 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6684 __kernel_standard.
6685 * math/w_acosl.c (__acosl): Likewise.
6686 * math/w_asinl.c (__asinl): Likewise.
6687 * math/w_atan2l.c (__atan2l): Likewise.
6688 * math/w_atanhl.c (__atanhl): Likewise.
6689 * math/w_coshl.c (__coshl): Likewise.
6690 * math/w_exp10l.c (__exp10l): Likewise.
6691 * math/w_exp2l.c (__exp2l): Likewise.
6692 * math/w_fmodl.c (__fmodl): Likewise.
6693 * math/w_hypotl.c (__hypotl): Likewise.
6694 * math/w_j0l.c (__j0l, __y0l): Likewise.
6695 * math/w_j1l.c (__j1l, __y1l): Likewise.
6696 * math/w_jnl.c (__jnl, __ynl): Likewise.
6697 * math/w_lgammal.c (__lgammal): Likewise.
6698 * math/w_log10l.c (__log10l): Likewise.
6699 * math/w_log2l.c (__log2l): Likewise.
6700 * math/w_logl.c (__logl): Likewise.
6701 * math/w_powl.c (__powl): Likewise.
6702 * math/w_remainderl.c (__remainderl): Likewise.
6703 * math/w_scalbl.c (sysv_scalbl): Likewise.
6704 * math/w_sinhl.c (__sinhl): Likewise.
6705 * math/w_sqrtl.c (__sqrtl): Likewise.
6706 * math/w_tgammal.c (__tgammal): Likewise.
6707 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6708 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6709 * math/libm-test.inc (acos_test): Add more tests.
6710 (acosh_test): Likewise.
6711 (asin_test): Likewise.
6712 (atanh_test): Likewise.
6713 (exp_test): Likewise.
6714 (exp10_test): Likewise.
6715 (exp2_test): Likewise.
6716 (expm1_test): Likewise.
6717 (lgamma_test): Likewise.
6718 (log_test): Likewise.
6719 (log10_test): Likewise.
6720 (log1p_test): Likewise.
6721 (log2_test): Likewise.
6722 (pow_test): Do not allow some spurious overflow exceptions.
6723 (sqrt_test): Add more tests.
6724 (tgamma_test): Likewise.
6725 (y0_test): Likewise.
6726 (y1_test): Likewise.
6727 (yn_test): Likewise.
6728
dd62fda6
AB
67292012-03-27 Anton Blanchard <anton@samba.org>
6730
6731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6732 MAP_HUGETLB.
6733 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6734 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6735 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6736
1e3cdfda
AJ
67372012-03-27 David S. Miller <davem@davemloft.net>
6738
b855ab85
DM
6739 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6740
1e3cdfda
AJ
6741 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6742 have-as-vis3 check.
6743
67442012-03-27 Andreas Jaeger <aj@suse.de>
6745
6746 * sysdeps/x86_64/elf/configure.in: Moved to ...
6747 * sysdeps/x86_64/configure.in: ... here.
6748 * sysdeps/x86_64/elf/start.S: Moved to ...
6749 * sysdeps/x86_64/start.S: ... here.
6750 * sysdeps/x86_64/elf/configure: Delete.
6751
6752 * sysdeps/x86_64/configure.in: Merge contents from
6753 sysdeps/i386/configure.in (without i686 check).
6754
6755 * sysdeps/i386/elf/Versions: Merge into ...
6756 * sysdeps/i386/Versions: ... this.
6757 * sysdeps/i386/elf/Versions: Delete file.
6758 * sysdeps/i386/elf/start.S: Moved to ...
6759 * sysdeps/i386/start.S: ...here.
6760 * sysdeps/i386/elf/configure.in: Merge into...
6761 * sysdeps/i386/configure.in: ...here.
6762 * sysdeps/i386/elf/configure.in: Delete file.
6763 * sysdeps/i386/elf/configure: Delete file.
6764
6765 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6766 * debug/backtracesyms.c: ... here.
6767 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6768 * debug/backtracesymsfd.c: ... here.
6769 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6770 * sysdeps/generic/ifunc-sel.h: ... here.
6771
6772 * sysdeps/unix/i386/start.c: Delete file.
6773 * sysdeps/unix/sparc/start.c: Delete file.
6774 * sysdeps/unix/start.c: Delete file.
6775
6776 * sysdeps/sh/elf/configure.in: Moved to ...
6777 * sysdeps/sh/configure.in: ... here.
6778 * sysdeps/sh/elf/start.S: Moved to ...
6779 * sysdeps/sh/start.S: ... here.
6780 * sysdeps/sh/elf/configure: Delete file.
6781
6782 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6783 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6784 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6785 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6786 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6787 * sysdeps/powerpc/powerpc64/start.S: here.
6788 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6789 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6790 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6791 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6792 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6793
6794 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6795 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6796 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6797 * sysdeps/powerpc/powerpc32/start.S: ... here.
6798 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6799 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6800 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6801
6802 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6803 * sysdeps/powerpc/ifunc-sel.h: ... here.
6804 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6805 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6806
6807 * sysdeps/sparc/elf/configure.in: Moved to ...
6808 * sysdeps/sparc/configure.in: ... here.
6809 * sysdeps/sparc/elf/configure: Delete file.
6810 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6811 * sysdeps/sparc/sparc32/start.S: ... here.
6812 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6813 * sysdeps/sparc/sparc64/start.S: ... here.
6814 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6815 * sysdeps/sparc/sparc32/Makefile: ... this.
6816 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6817 * sysdeps/sparc/sparc64/Makefile: ... this.
6818
6819 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6820 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6821 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6822 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6823 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6824 * sysdeps/s390/s390-32/setjmp.S: ... here.
6825 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6826 * sysdeps/s390/s390-32/configure.in: ... here.
6827 * sysdeps/s390/s390-32/elf/configure: Delete file.
6828 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6829 * sysdeps/s390/s390-32/start.S: ... here.
6830
6831 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6832 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6833 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6834 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6835 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6836 * sysdeps/s390/s390-64/setjmp.S: ... here.
6837 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6838 * sysdeps/s390/s390-64/configure.in: ... here
6839 * sysdeps/s390/s390-64/elf/configure: Delete file.
6840 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6841 * sysdeps/s390/s390-64/start.S: ... here.
6842 * sysdeps/s390/s390-64/elf/configure: Delete.
6843
6844 * configure.in: Remove support for elf directories in sysdeps.
6845
6846 * configure: Regenerated.
6847 * sysdeps/i386/configure: Regenerated.
6848 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6849 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6850 * sysdeps/s390/s390-32/configure: Regenerated.
6851 * sysdeps/s390/s390-64/configure: Regenerated.
6852 * sysdeps/sh/configure: Regenerated.
6853 * sysdeps/sparc/configure: Regenerated.
6854 * sysdeps/x86_64/configure: Regenerated.
6855
a3f61311
AS
68562012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6857
c876e002
AS
6858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6859
a3f61311
AS
6860 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6861 denormal result into account.
6862
ac4c54f0
RM
68632012-03-25 Roland McGrath <roland@hack.frob.com>
6864
6865 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6866 Reported by Allan McRae <allan@archlinux.org>.
6867
6a9b9c02
JL
68682012-03-23 Jeff Law <law@redhat.com>
6869
6870 * nss/getnssent.c (__nss_getent): Fix typo.
6871
4c42a0c1
DM
68722012-03-23 David S. Miller <davem@davemloft.net>
6873
6874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6875
1532c7ac
L
68762012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6877
6878 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6879 to pad to uint64_t for each field.
6880 (dl_tls_index): Replace unsigned long with uint64_t.
6881
3ff42526
PP
68822012-03-23 Daniel Jacobowitz <dmj@google.com>
6883 Paul Pluzhnikov <ppluzhnikov@google.com>
6884
6885 [BZ #6528]
6886 * grp/Makefile (otherlibs): Don't set it.
6887 * inet/Makefile (otherlibs): Likewise.
6888 * login/Makefile (otherlibs): Likewise.
6889 * nscd/Makefile (otherlibs): Likewise.
6890 * posix/Makefile (otherlibs): Likewise.
6891 * pwd/Makefile (otherlibs): Likewise.
6892 * rt/Makefile (otherlibs): Likewise.
6893 * sunrpc/Makefile (otherlibs): Likewise.
6894 * nss/Makefile (otherlibs): Likewise.
6895 Add libnss_files to routines and static-only-routines.
6896 ($(objpfx)getent): Remove rule.
6897 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6898 static-only-routines.
6899
7c69cd14
JM
69002012-03-22 Joseph Myers <joseph@codesourcery.com>
6901
6902 [BZ #13892]
6903 * math/s_cexp.c: Include <float.h>.
6904 (__cexp): Handle exp result overflowing not necessarily
6905 overflowing both real and imaginary parts of result.
6906 * math/s_cexpf.c: Likewise.
6907 * math/s_cexpl.c: Likewise.
6908 * math/libm-test.inc (cexp_test): Add more tests.
6909 * sysdeps/i386/fpu/libm-test-ulps: Update.
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6911
81b035fe
L
69122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6913
6914 * include/link.h (ELFW): New macro.
6915 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6916 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6917
1da7940c
L
69182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6919
6920 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6921 with uint64_t.
6922
b749dbb9
L
69232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6924
6925 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6926 declaration.
6927 (struct La_x32_retval): Likewise.
6928
2ff87f3f
L
69292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6930
6931 * sysdeps/x86_64/preconfigure.in: New file.
6932 * sysdeps/x86_64/preconfigure: New generated file.
6933
c0df8e69
JM
69342012-03-22 Joseph Myers <joseph@codesourcery.com>
6935
48e44791
JM
6936 [BZ #13824]
6937 * math/e_exp2l.c: Include <float.h>.
6938 (__ieee754_exp2l): Handle overflow and underflow cases
6939 separately. Only pass fractional part of argument to
6940 __ieee754_expl.
6941 * math/libm-test.inc (exp2_test): Add more tests.
6942
c0df8e69
JM
6943 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6944 negating x to take absolute value.
6945 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6946 Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6948 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6949 Likewise.
6950 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6951 computing low part if x was negated.
6952 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6953
c8e43ba7
L
69542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6955
6956 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6957 la_x32_gnu_pltexit.
6958 (pltexit): Cast int_retval to ptrdiff_t.
6959 * elf/tst-auditmod3b.c: Likewise.
6960 * elf/tst-auditmod4b.c: Likewise.
6961 * elf/tst-auditmod5b.c: Likewise.
6962 * elf/tst-auditmod6b.c: Likewise.
6963 * elf/tst-auditmod6c.c: Likewise.
6964 * elf/tst-auditmod7b.c: Likewise.
6965
6966 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6967 and x32_gnu_pltexit.
6968
6969 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6970 __ELF_NATIVE_CLASS.
6971 (La_x32_regs): New macro.
6972 (La_x32_retval): Likewise.
6973 (la_x32_gnu_pltenter): New function prototype.
6974 (la_x32_gnu_pltexit): Likewise.
6975
7998fa78
AS
69762012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6977
dcb33988
AS
6978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6979 exponent.
6980
233fc563
AS
6981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6982
7998fa78
AS
6983 * configure.in (libc_cv_cc_nofma): Check for option to disable
6984 generation of FMA instructions.
6985 * configure: Regenerate.
6986 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6987 * sysdeps/ieee754/dbl-64/Makefile: New file.
6988 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6989 Remove brandred-fma4.
6990 (CFLAGS-brandred-fma4.c): Remove.
6991 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6992 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6993 define.
6994 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6995 define.
6996
8e95c99a
L
69972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6998
6999 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7000 LLONG_MAX != LONG_MAX.
7001 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7002 (_fitoa_word): Likewise.
7003 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7004 LLONG_MAX != LONG_MAX.
7005 * stdio-common/_itowa.h: Include <_itoa.h>.
7006 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7007 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7008 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7009 only if not defined.
7010 (_ITOA_WORD_TYPE): Likewise.
7011 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7012 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7013
6f4db457
DM
70142012-03-21 David S. Miller <davem@davemloft.net>
7015
7016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7017
7785fe5a
L
70182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7021 of x86_64 when setting libc_cv_slibdir, libdir and
7022 libc_cv_localedir.
7023 * sysdeps/unix/sysv/linux/configure: Regenerated.
7024
4535cd55
JM
70252012-03-21 Joseph Myers <joseph@codesourcery.com>
7026
7027 * manual/lang.texi (Old Varargs): Remove section.
7028 (How Variadic): Update menu.
7029 (va_start): Do not mention varargs.h.
7030
17228132
TS
70312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7032 Joseph Myers <joseph@codesourcery.com>
7033
7034 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7035 link test.
7036 * configure: Regenerated.
7037
8149f976
TS
70382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7039
05f3d1f6
UD
7040 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7041 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7042 conformtest.pl
8149f976 7043
1a4ac776
JM
70442012-03-21 Joseph Myers <joseph@codesourcery.com>
7045
be22ce65
JM
7046 * NOTES: Remove.
7047 * Makefile (files-for-dist): Remove NOTES.
7048 (NOTES): Remove rule.
7049 * README: Don't refer to NOTES.
7050 * manual/creature.texi: Don't include macros.texi.
7051 * manual/intro.texi (creature.texi): Remove comment referring to
7052 NOTES.
7053
40b601fb
JM
7054 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7055 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7056 * configure: Regenerated.
7057 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7058 LIBC_TRY_CC_OPTION.
7059 (libc_cv_as_i686): Likewise.
7060 (libc_cv_cc_avx): Likewise.
7061 (libc_cv_cc_sse2avx): Likewise.
7062 (libc_cv_cc_fma4): Likewise.
7063 (libc_cv_cc_novzeroupper): Likewise.
7064 * sysdeps/i386/configure: Regenerated.
7065
1a4ac776
JM
7066 [BZ #13883]
7067 * sysdeps/i386/fpu/s_cexp.S: Remove.
7068 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7069 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7070 * math/libm-test.inc (cexp_test): Add more tests.
7071 * sysdeps/i386/fpu/libm-test-ulps: Update.
7072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7073
a458e7fe
AM
70742012-03-21 Allan McRae <allan@archlinux.org>
7075
7076 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7077
0cb7efc5
JM
70782012-03-21 Joseph Myers <joseph@codesourcery.com>
7079
7080 [BZ #13871]
7081 * math/w_exp2.c: Do not include <float.h>.
7082 (o_threshold, u_threshold): Remove.
7083 (__exp2): Calculate result before checking finiteness and calling
7084 __kernel_standard.
7085 * math/w_exp2f.c: Likewise.
7086 * math/w_exp2l.c: Likewise.
7087 * math/libm-test.inc (exp2_test): Require overflow exception for
7088 1e6 input.
2460d3aa
JM
7089
7090 [BZ #3866]
7091 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7092 range of signed 64-bit integers before using fistpll. Remove
7093 checks for whether integers fit in mantissa bits.
7094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7095 the range of signed 32-bit integers before using fistpl. Remove
7096 checks for whether integers fit in mantissa bits.
7097 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7098 (__ieee754_powl): Test for y outside the range of signed 64-bit
7099 integers before using fistpll. Reduce 64-bit values to 63-bit
7100 ones as needed.
7101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7102 divide-by-zero is raised for zero to large negative powers.
7103 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7104 (__ieee754_powl): Test for y outside the range of signed 64-bit
7105 integers before using fistpll. Reduce 64-bit values to 63-bit
7106 ones as needed.
7107 * math/libm-test.inc (pow_test): Add more tests.
7108
eb96ffb0
L
71092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7110
7111 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7112 <stdio-common/_itoa.h>.
7113 * debug/segfault.c: Likewise.
7114 * elf/dl-cache.c: Likewise.
7115 * elf/dl-minimal.c: Likewise.
7116 * elf/dl-misc.c: Likewise.
7117 * elf/dl-sysdep.c: Likewise.
7118 * elf/dl-version.c: Likewise.
7119 * elf/rtld.c: Likewise.
7120 * hurd/hurdsock.c: Likewise.
7121 * hurd/lookup-retry.c: Likewise.
7122 * malloc/malloc.c: Likewise.
7123 * malloc/mtrace.c: Likewise.
7124 * nscd/nscd_getgr_r.c: Likewise.
7125 * nscd/nscd_getpw_r.c: Likewise.
7126 * nscd/nscd_getserv_r.c: Likewise.
7127 * posix/getopt_init.c: Likewise.
7128 * posix/wordexp.c: Likewise.
7129 * stdio-common/_itoa.c: Likewise.
7130 * stdio-common/printf_fphex.c: Likewise.
7131 * stdio-common/vfprintf.c: Likewise.
7132 * string/_strerror.c: Likewise.
7133 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7134 * sysdeps/i386/i686/hp-timing.h: Likewise.
7135 * sysdeps/mach/_strerror.c: Likewise.
7136 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7137 * sysdeps/mach/hurd/sethostid.c: Likewise.
7138 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7139 * sysdeps/mach/xpg-strerror.c: Likewise.
7140 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7141 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7142 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7143 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7144 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7145 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7146 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7147 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7148 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7149 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7150 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7151 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7153 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7154 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7155 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7156 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7157 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7158 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7159 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7160 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7161
7162 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7163
7164 * stdio-common/_itoa.h: Moved to ...
7165 * sysdeps/generic/_itoa.h: Here.
7166
7167 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7168
7169 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7170 instead of "_itoa.h" and "_itowa.h".
7171 * stdio-common/vfprintf.: Likewise.
7172
d1af992d
L
71732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7174
7175 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7176 <bits/wordsize.h>.
7177 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7178 (__signbit): Likwise.
7179 (llrintf): Likwise.
7180 (llrint): Likwise.
7181
114883e0
L
71822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7185 __WORDSIZE != 64.
7186
c135cc1b
JM
71872012-03-20 Joseph Myers <joseph@codesourcery.com>
7188
7189 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7190 OVERFLOW_EXCEPTION_OK.
7191 * math/libm-test.inc ("Philosophy"): Update comment about
7192 exception testing.
7193 (OVERFLOW_EXCEPTION): Define.
7194 (OVERFLOW_EXCEPTION_OK): Likewise.
7195 (INVALID_EXCEPTION_OK): Renumber.
7196 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7197 (IGNORE_ZERO_INF_SIGN): Likewise.
7198 (test_exceptions): Handle FE_OVERFLOW.
7199 (exp10_test): Expect overflow exceptions.
7200 (exp2_test): Likewise.
7201 (expm1_test): Likewise.
7202 (nextafter_test): Likewise.
7203 (pow_test): Likewise.
7204 (scalbn_test): Likewise.
7205 (scalbln_test): Likewise.
7206
95443d88
L
72072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7208
7209 * sysdeps/x86_64/bits/atomic.h
7210 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7211 64bit integer.
7212 (atomic_exchange_acq): Likewise.
7213 (__arch_exchange_and_add_body): Likewise.
7214 (__arch_add_body): Likewise.
7215 (atomic_add_negative): Likewise.
7216 (atomic_add_zero): Likewise.
7217
490df6c4
L
72182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7219
c2722551 7220 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7221 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7222
5e52b189
L
72232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7224
7225 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7226 Check __x86_64__ instead of __WORDSIZE.
7227
a9879d4c
L
72282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7229
7230 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7231
5df98260
DM
72322012-03-19 David S. Miller <davem@davemloft.net>
7233
e1497744
DM
7234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7235
5df98260
DM
7236 * sysdeps/sparc/fpu/fenv_private.h: New file.
7237 * sysdeps/sparc/fpu/math_private.h: Use it.
7238 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7239 Remove.
7240 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7241 (libc_feholdexcept_setroundl): Remove.
7242 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7243 Remove.
7244 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7245 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7246
b4c35121
L
72472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7248
7249 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7250 int64_t instead of long int.
7251 (INSERT_WORDS64): Likwise.
7252
56965fd7
L
72532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7254
7255 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7256 _Unwind_GetCFA return to _Unwind_Ptr first.
7257
83d1aec8
JM
72582012-03-19 Joseph Myers <joseph@codesourcery.com>
7259
1897ad44
JM
7260 [BZ #13629]
7261 * math/s_clog.c: Include <float.h>.
7262 (__clog): Scale large or subnormal inputs.
7263 * math/s_clogf.c: Likewise.
7264 * math/s_clogl.c: Likewise.
7265 * math/s_clog10.c: Include <float.h>.
7266 (M_LOG10_2): Define.
7267 (__clog10): Scale large or subnormal inputs.
7268 * math/s_clog10f.c: Likewise.
7269 * math/s_clog10l.c: Likewise.
7270 * math/libm-test.inc (clog_test): Add more tests.
7271 (clog10_test): Likewise.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7274
7726d6a9
JM
7275 [BZ #11451]
7276 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7277 x and y.
7278 * math/libm-test.inc (atan2_test): Add another test.
7279
83d1aec8
JM
7280 * Makerules (common-objdir-compile): Remove.
7281 * sysdeps/unix/Makefile (config-generated): Do not add
7282 $(unix-generated) to variable.
7283 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7284 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7285 Remove rule.
7286 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7287 Likewise.
7288 [generic bits/local_lim.h] (before-compile): Do not append to
7289 variable.
7290 [generic bits/local_lim.h] (common-generated): Likewise.
7291 [generic sys/param.h] (before-compile): Do not append to variable.
7292 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7293 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7294 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7295 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7296 include.
7297 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7298 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7299 [generic sys/param.h] ($(addprefix
7300 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7301 [generic sys/param.h] (common-generated): Do not append to
7302 variable.
7303 [generic sys/param.h] (sysdep_headers): Likewise.
7304 [generic bits/errno.h] (before-compile): Do not append to
7305 variable.
7306 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7307 rule.
7308 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7309 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7310 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7311 [generic bits/errno.h] (common-generated): Do not append to
7312 variable.
7313 [generic bits/ioctls.h] (before-compile): Do not append to
7314 variable.
7315 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7316 rule.
7317 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7318 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7319 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7320 rule.
7321 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7322 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7323 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7324 [generic bits/ioctls.h] (common-generated): Do not append to
7325 variable.
7326 [generic sys/syscall.h] (syscall.h): Remove variable.
7327 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7328 rule.
7329 [generic sys/syscall.h] (before-compile): Do not append to
7330 variable.
7331 [generic sys/syscall.h] (common-generated): Likewise.
7332 * sysdeps/unix/errnos-tmpl.c: Remove file.
7333 * sysdeps/unix/errnos.awk: Likewise.
7334 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7335 * sysdeps/unix/ioctls.awk: Likewise.
7336 * sysdeps/unix/mk-local_lim.c: Likewise.
7337 * sysdeps/unix/snarf-ioctls: Likewise.
7338
4851a949
RH
73392012-03-19 Richard Henderson <rth@twiddle.net>
7340
bd37f2ee
RH
7341 * sysdeps/i386/fpu/fenv_private.h: New file.
7342 * sysdeps/i386/fpu/math_private.h: Use it.
7343 (math_opt_barrier, math_force_eval): Remove.
7344 (libc_feholdexcept_setround_53bit): Remove.
7345 (libc_feupdateenv_53bit): Remove.
7346 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7347 (math_opt_barrier, math_force_eval): Remove.
7348 (libc_feholdexcept): Remove.
7349 (libc_feholdexcept_setround): Remove.
7350 (libc_fetestexcept, libc_fesetenv): Remove.
7351 (libc_feupdateenv_test): Remove.
7352 (libc_feupdateenv, libc_feholdsetround): Remove.
7353 (libc_feresetround): Remove.
7354
d0adc922
RH
7355 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7356 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7357
0fe0f1f8
RH
7358 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7359 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7360 (libc_feupdateenv_testl): New.
7361 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7362 (libc_feupdateenv_testf): New.
7363 (libc_feupdateenv): Use libc_feupdateenv_test.
7364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7366
eb92c487
RH
7367 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7368 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7369 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7370 (libc_feresetround_noex): New.
7371 (libc_feresetround_noexf): New.
7372 (libc_feresetround_noexl): New.
7373 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7374 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7375 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7376 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7377 SET_RESTORE_ROUND.
7378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7379 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7380 (__cos): Likewise.
7381 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7382 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7383 SET_RESTORE_ROUND_NOEX.
7384 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7385 SET_RESTORE_ROUND_NOEXF.
7386 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7387 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7388 (libc_feholdsetroundf): New.
7389 (libc_feresetround, libc_feresetroundf): New.
7390
7d2e8012
RH
7391 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7392 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7393 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7394
b4dabbb4
RH
7395 * sysdeps/generic/math_private.h: Include <fenv.h>.
7396 (default_libc_feholdexcept): New.
7397 (default_libc_feholdexcept_setround): New.
7398 (default_libc_fesetenv, default_libc_feupdateenv): New.
7399 (libc_feholdexcept): Only define if undefined.
7400 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7401 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7402 (libc_feholdexcept_setroundl): Likewise.
7403 (libc_feholdexcept_setround_53bit): Likewise.
7404 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7405 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7406 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7407 (libc_feupdateenv_53bit): Likewise.
7408 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7409 (libc_feholdexcept): Convert from macro to inline function.
7410 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7411 (libc_fesetenv, libc_feupdateenv): Likewise.
7412
4851a949
RH
7413 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7414 not previously defined.
7415 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7416 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7417 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7418 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7419 * sysdeps/ieee754/flt-32/math_private.h: New file.
7420 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7421 math_private.h below SET_FLOAT_WORD.
7422 (__isnan, __isinf_ns, __finite): Remove.
7423 (__isnanf, __isinf_nsf, __finitef): Remove.
7424
e79d442e
AS
74252012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7426
7427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7428
90b80344
DM
74292012-03-17 David S. Miller <davem@davemloft.net>
7430
7431 [BZ #6471]
7432 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7433 for 2.16.
7434
edc21804
DM
74352012-03-16 David S. Miller <davem@davemloft.net>
7436
77e927af
DM
7437 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7438 warnings.
7439
374976dd
DM
7440 [BZ #6471]
7441 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7442 properly.
7443 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7444 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7445 sysdep_routines when subdir is sysvipc.
7446 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7447 __getshmlba helper.
7448
edc21804
DM
7449 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7450
473c3ef3
L
74512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7452
7453 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7454 [__LP64__].
7455
eb0f39b6
L
74562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7457
7458 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7459 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7460 (__lround): Renamed to ...
7461 (__llround): This. Replace long int with long long int.
7462 Define lround functions as aliases of llround functions.
7463 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7464
6b6cd74b
L
74652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7468 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7469 adresses to uintptr_t. Replace "long int" and "unsigned long
7470 int" with "greg_t" on va_arg.
7471
f1a77b01
L
74722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7473
7474 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7475 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7476
7477 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7478 Move e_machine check before EI_CLASS check. Handle x32
7479 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7480 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7481 SKIP_EM_IA_64 and include
7482 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7483
7484 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7485 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7486 (add_system_dir): New macro.
7487
7488 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7489 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7490
11b90b9f
JM
74912012-03-16 Joseph Myers <joseph@codesourcery.com>
7492
c36e1d23
JM
7493 [BZ #2551]
7494 [BZ #2552]
7495 [BZ #2553]
7496 [BZ #2554]
7497 [BZ #2562]
7498 [BZ #2563]
7499 [BZ #2565]
7500 [BZ #2566]
7501 [BZ #2576]
7502 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7503 (y0): Likewise.
7504 * math/w_j0f.c (j0f): Likewise.
7505 (y0f): Likewise.
7506 * math/w_j0l.c (__j0l): Likewise.
7507 (__y0l): Likewise.
7508 * math/w_j1.c (j1): Likewise.
7509 (y1): Likewise.
7510 * math/w_j1f.c (j1f): Likewise.
7511 (y1f): Likewise.
7512 * math/w_j1l.c (__j1l): Likewise.
7513 (__y1l): Likewise.
7514 * math/w_jn.c (jn): Likewise.
7515 (yn): Likewise.
7516 * math/w_jnf.c (jnf): Likewise.
7517 (ynf): Likewise.
7518 * math/w_jnl.c (__jnl): Likewise.
7519 (__ynl): Likewise.
7520 * math/libm-test.inc (j0_test): Add more tests.
7521 (j1_test): Likewise.
7522 (jn_test): Likewise. Add trailing semicolon to existing test.
7523 (y0_test): Likewise.
7524 (y1_test): Likewise.
7525 * sysdeps/i386/fpu/libm-test-ulps: Update.
7526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7527
11b90b9f
JM
7528 [BZ #13851]
7529 [BZ #13854]
7530 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7531 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7532 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7533 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7534 (__tanl): Set errno for infinite argument.
7535 * sysdeps/i386/fpu/mptan.c: Remove.
7536 * sysdeps/i386/fpu/s_tan.S: Likewise.
7537 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7538 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7539 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7540 * math/libm-test.inc (tan_test): Add more tests and enable more
7541 tests for double and long double.
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7544
6a1bd2a1
JK
75452012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7546
7547 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7548 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7549
10a803e0
RM
75502012-03-16 Roland McGrath <roland@hack.frob.com>
7551
7552 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7553 * configure.in: Use it for both main tree and add-ons.
7554 * configure: Regenerated.
7555
f196c7f7
L
75562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7557
7558 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7559
8848d99d
JM
75602012-03-16 Joseph Myers <joseph@codesourcery.com>
7561
96cbe7f4
JM
7562 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7563 in comment.
7564
8848d99d
JM
7565 [BZ #13851]
7566 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7567 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7571 infinite argument.
7572 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7574 != 0 for prec == 2.
7575 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7576 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7577 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7578 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7579 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7580 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7581 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7582 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7583 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7584 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7585 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7586 * math/libm-test.inc (cos_test): Add more tests and enable more
7587 tests for long double.
7588 (sin_test): Likewise.
7589 (sincos_test): Likewise.
7590 * sysdeps/i386/fpu/libm-test-ulps: Update.
7591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7592
dd7f4703
DM
75932012-03-16 David S. Miller <davem@davemloft.net>
7594
7595 * sysdeps/sparc/fpu/math_private.h: New file.
7596
006f1daa
DM
75972012-03-15 David S. Miller <davem@davemloft.net>
7598
c0c83bc8
DM
7599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7600 file.
e6a62e18 7601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7603 file.
e6a62e18
DM
7604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7610 sysdep routines.
7611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7612
88cb87d9
DM
7613 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7614 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7615
006f1daa 7616 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7618 sparc-ifunc.h
006f1daa 7619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7621 Likewise.
7622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7623 Likewise.
006f1daa
DM
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7628 Likewise.
006f1daa
DM
7629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7634 Likewise.
7635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7636 Likewise.
006f1daa
DM
7637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7655 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7661
11e0098e
AS
76622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7663
7664 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7665 scaling.
7666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7667
e85b09d0
AJ
76682012-03-15 Andreas Jaeger <aj@suse.de>
7669
7670 [BZ #13852]
7671 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7672 ieee754/flt-32 implementation for sin, cos and sincos.
7673 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7674 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7675 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7676 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7677 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7678 ieee754/flt-32 implementation for tan.
7679
7680 * math/libm-test.inc (cos_test): Enable some large input tests for
7681 float as well
7682 (sin_test): Likewise.
7683 (sincos_test): Likewise.
7684 (tan_test): Add tests for large input.
7685
7686 * sysdeps/i386/fpu/libm-test-ulps: Update.
7687
81c64153
AJ
76882012-03-15 Andreas Jaeger <aj@suse.de>
7689
7690 [BZ #13658]
7691 * math/libm-test.inc (cos_test): Add more test cases.
7692 (sin_test): Likewise.
7693 (sincos_test): Likewise.
7694
7bbfa5c6
AJ
76952012-03-15 Andreas Jaeger <aj@suse.de>
7696
7697 [BZ #13837]
7698 * math/libm-test.inc (cos_test): Add a test case for large input
7699 value.
7700 (sin_test): Likewise.
7701 (sincos_test): Likewise.
7702
77032012-03-15 Andreas Jaeger <aj@suse.de>,
7704 Joseph Myers <joseph@codesourcery.com>
7705
7706 [BZ #13658]
0671f479 7707 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7708 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7709 * sysdeps/i386/fpu/branred.c: Likewise.
7710 * sysdeps/i386/fpu/dosincos.c: Likewise.
7711 * sysdeps/i386/fpu/mpa.c: Likewise.
7712 * sysdeps/i386/fpu/s_cos.S: Likewise.
7713 * sysdeps/i386/fpu/s_sin.S: Likewise.
7714 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7715 * sysdeps/i386/fpu/sincos32.c: Likewise.
7716
7717 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7718 Define.
7719 (libc_feupdateenv_53bit): Define.
7720 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7721 Define.
7722 (libc_feupdateenv_53bit): Define.
7723
7724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7725 53 bit (without extend i386 double precision).
7726
7727 * math/libm-test.inc (sincos_test): Add tests for large input.
7728 (sin): Likewise.
7729 (cos): Likewise.
7730
7731 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7732
9cad04ea
AS
77332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7734
7735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7736
f7062b9a
DM
77372012-03-15 David S. Miller <davem@davemloft.net>
7738
7739 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7740 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7741 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7742 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7755 file.
f7062b9a 7756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7758 file.
f7062b9a 7759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7761 file.
f7062b9a 7762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7764 file.
f7062b9a
DM
7765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7767 fmin/fmax sysdep routines.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7769
7bd951ff
DM
77702012-03-14 David S. Miller <davem@davemloft.net>
7771
559398ab
DM
7772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7801 routines.
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7803 file.
559398ab 7804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7806 file.
559398ab 7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7809 file.
559398ab 7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7812 file.
559398ab 7813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7815 file.
559398ab 7816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7818 file.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7820 file.
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7822 file.
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7824 file.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7826 New file.
7827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7828 file.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7830 file.
559398ab 7831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7833 file.
559398ab 7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7836 file.
559398ab 7837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7839 file.
559398ab 7840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7842 VIS3 routines.
559398ab
DM
7843
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7845 New file.
7846
5a1c1e32
DM
7847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7848
eae47a36
DM
7849 * sysdeps/sparc/configure.in: New file.
7850 * sysdeps/sparc/configure: Generate.
7851 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7852 * configure: Regenerate.
7853 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7854 * config.make.in (have-as-vis3): New.
7855 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7856 available use -Av9d instead of -Av9a.
7857 * sysdeps/sparc/sparc64/Makefile: Likewise.
7858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7860 New file.
7861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7862 file.
7863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7864 New file.
7865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7866 file.
eae47a36
DM
7867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7872
c0c83bc8
DM
7873 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7874 fzeros/fnegs to load 0x80000000 into a float register instead of
7875 using the stack.
7bd951ff
DM
7876 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7877
bd951ccb
JM
78782012-03-14 Joseph Myers <joseph@codesourcery.com>
7879
7880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7881 bits/syscall.h.
7882 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7883 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7884 ($(inst_includedir)/bits/syscall.h): Remove rule.
7885 ($(objpfx)bits/syscall.d): Include instead of
7886 $(objpfx)syscall-list.d.
7887 (generated): Change syscall-list.h and syscall-list.d to
7888 bits/syscall.h and bits/syscall.d.
7889
bb4e6db2
RM
78902012-03-14 Roland McGrath <roland@hack.frob.com>
7891
7892 [BZ #13846]
7893 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7894
aa4a2ae1
JM
78952012-03-14 Joseph Myers <joseph@codesourcery.com>
7896
e456826d
JM
7897 [BZ #13841]
7898 * math/s_csqrt.c: Include <float.h>.
7899 (__csqrt): Scale large or subnormal inputs.
7900 * math/s_csqrtf.c: Likewise.
7901 * math/s_csqrtl.c: Likewise.
7902 * math/libm-test.inc (csqrt_test): Add more tests.
7903 * sysdeps/i386/fpu/libm-test-ulps: Update.
7904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7905
aa4a2ae1
JM
7906 [BZ #13840]
7907 * math/libm-test.inc (hypot_test): Add more tests.
7908
7c10fd35
DM
79092012-03-13 David S. Miller <davem@davemloft.net>
7910
7911 [BZ #13840]
7912 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7913 double-precision for the calculation instead of scaling.
7914
f453b98b
JM
79152012-03-13 Joseph Myers <joseph@codesourcery.com>
7916
7917 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7918 manipulate bits before adding and subtracting TWO52[sx].
7919 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7921 Likewise.
7922 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7923
09a3453f
DM
79242012-03-13 David S. Miller <davem@davemloft.net>
7925
8e59da90
DM
7926 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7927 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7929 rtld-global-offsets.h
7930 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7931
2a8ab7f2
DM
7932 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7933 large parameters.
7934
10f62770
DM
7935 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7936
5f0bdb18
DM
7937 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7938 'err' in the ifdef scope in which it is actually used.
7939
09a3453f
DM
7940 * nss/nss_db/db-init.c: Include string.h
7941
b4b2eb5e
DM
79422012-03-12 David S. Miller <davem@davemloft.net>
7943
98bb2f1c
DM
7944 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7945 masking out of the most significant byte of random value used.
7946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7947 Fix coding style in previous change.
7948
b4b2eb5e
DM
7949 * sysdeps/unix/sysv/linux/kernel-features.h
7950 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7951 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7952 expression.
7953 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7954 later.
7955
6e226b09
DM
79562012-03-11 David S. Miller <davem@davemloft.net>
7957
a1bcbd40
DM
7958 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7959 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7960 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7961 for 'resultvar' otherwise things get truncated on 64-bit.
7962
cb9d6174
DM
7963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7964 Fix masking out of the most significant byte of random value used.
7965
6e226b09
DM
7966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7967
058c132d
AS
79682012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7969
7970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7971
2d2cd515
DM
79722012-03-09 David S. Miller <davem@davemloft.net>
7973
7974 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7975 variables with appropriate CPP guards.
7976 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7977 frame pointer, not the stack pointer. Correct layout comments. Fix test
7978 on resulting framesize and the management of the outregs buffer for pltexit.
7979 Preserve floating point return values across _dl_call_pltexit call.
7980 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7981 framesize and the management of the outregs buffer for pltexit.
7982 Preserve floating point return values across _dl_call_pltexit
7983 call.
7984 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7985 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7986 (print_exit): Fix format string for return register value.
7987
9a07f9d0
JM
79882012-03-10 Joseph Myers <joseph@codesourcery.com>
7989
7990 * sunrpc/Makefile (others): Add rpcgen.
7991 ($(objpfx)rpcgen): Remove special build rule and dependency on
7992 libc.
7993 * sunrpc/rpcgen.c: New file.
7994
547b5e30
PE
79952012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7996
c524201a
PE
7997 [BZ #13673]
7998 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7999 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8000 * sysdeps/i386/crti.S: Likewise.
8001 * sysdeps/i386/crtn.S: Likewise.
8002 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8003 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8004 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8005 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8006 * sysdeps/sh/crti.S: Likewise.
8007 * sysdeps/sh/crtn.S: Likewise.
8008 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8009
7b6235f2
PE
8010 [BZ #13673]
8011 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8012 with URL.
8013 * locale/programs/locfile-kw.gperf: Likewise.
8014 * locale/programs/charmap-kw.h: Regenerated.
8015 * locale/programs/locfile-kw.h: Likewise.
8016
547b5e30
PE
8017 [BZ #13673]
8018 * intl/plural.y: Replace FSF snail mail address with URL.
8019 * intl/plural.c: Regenerated.
8020
5f0a5dae
RH
80212012-03-09 Richard Henderson <rth@twiddle.net>
8022
8023 * include/math_private.h: Remove file.
8024 * math/math_private.h: Move file ...
8025 * sysdeps/generic/math_private.h: ... here.
8026
b8c03620
RH
8027 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8028 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8029 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8030
4e234f5d 8031 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8032 and <math_private.h>.
8033 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8034 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8035 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8036 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8037 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8121 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8122 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8123 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8124 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8125 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8126 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8127 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8128 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8129 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8130 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8131 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8132 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8133 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8134 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8135 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8136 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8137 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8138 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8139 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8140 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8141 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8142 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8143 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8144 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8146 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8147 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8148 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8149 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8150 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8151 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8152 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8153 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8155 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8156 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8157 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8158 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8159 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8160 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8161 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8162 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8163 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8164 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8166 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8167 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8168 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8169 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8170 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8171 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8172 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8173 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8174 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8175 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8176 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8177 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8178 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8179 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8180 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8181 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8182 * sysdeps/ieee754/k_standard.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8302 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8303 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8305 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8310 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8315 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8331 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8332 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8343 * sysdeps/ieee754/s_lib_version.c: Likewise.
8344 * sysdeps/ieee754/s_matherr.c: Likewise.
8345 * sysdeps/ieee754/s_signgam.c: Likewise.
8346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8348 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8349 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8350 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8351 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8352 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8353 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8354 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8355 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8356 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8357 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8358 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8359 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8360 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8361 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8362 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8363 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8364 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8365 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8367
1991fa03
JM
83682012-03-09 Joseph Myers <joseph@codesourcery.com>
8369
8370 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8371 * sunrpc/rpc_main.c: Likewise.
8372 * sunrpc/rpc_svcout.c: Likewise.
8373
60d6f5a6
DM
83742012-03-09 David S. Miller <davem@davemloft.net>
8375
8376 * include/math_private.h: New file.
8377
4962050e
JM
83782012-03-09 Joseph Myers <joseph@codesourcery.com>
8379
02a6f887
JM
8380 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8381 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8382 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8383 from <bits/socket_type.h>.
8384 (enum __socket_type): Don't define here.
8385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8387 bits/socket_type.h.
8388
c6e013c1
JM
8389 [BZ #13566]
8390 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8391 checking __USE_GNU.
8392
4962050e
JM
8393 * Makerules ($(inst_includedir)/%.h): New rule.
8394 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8395 (install-others): Remove variable setting.
8396 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8397
38842f45
RH
83982012-03-08 Richard Henderson <rth@twiddle.net>
8399
67bb6da6
RH
8400 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8401 from macro to inline function; merge with the
8402 !__LIBC_INTERNAL_MATH_INLINES version.
8403 (__ieee754_sqrtf): Likewise.
8404
15194b4b
RH
8405 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8406 to inline function.
8407 (__rintf, __floor, __floorf): Likewise.
8408
64e21ede
RH
8409 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8410 macro to inline function.
8411 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8412
38842f45
RH
8413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8414 not <math/math_private.h>.
8415
c64bf5fe
DM
84162012-03-08 David S. Miller <davem@davemloft.net>
8417
8418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8419 copyright year.
8420 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8421
82d86f28
TS
84222012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8423
8424 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8425 normalization.
8426 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8427 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8428
aea5d727
UD
84292012-03-08 Ulrich Drepper <drepper@gmail.com>
8430
8431 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8432 be defined individually, they must be defined as a block. Define
8433 S for printing a string instead of hidint the different by using a
8434 macro for adding the 'l'.
8435 * stdio-common/tst-fphex-wide.c: Adjust.
8436
70bca0a3
MP
84372012-03-07 Marek Polacek <polacek@redhat.com>
8438
8439 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8440
65b81130
MP
84412012-03-08 Marek Polacek <polacek@redhat.com>
8442
8443 [BZ #13806]
8444 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8445 * stdio-common/tst-fphex.c: Define a few macros to make the
8446 test reusable. Use them.
8447 * stdio-common/tst-fphex-wide.c: New file.
8448
07037eeb
JM
84492012-03-08 Joseph Myers <joseph@codesourcery.com>
8450
a7a93d50
JM
8451 [BZ #6911]
8452 * manual/macros.texi (gnusystems): New macro.
8453 (nongnusystems): Likewise.
8454 (gnulinuxhurdsystems): Likewise.
8455 (gnuhurdsystems): Likewise..
8456 (gnulinuxsystems): Likewise.
8457 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8458 variants of the GNU system, not "GNU system".
8459 * manual/conf.texi: Likewise.
8460 * manual/errno.texi: Likewise. Update example of errno macro
8461 expansion.
8462 * manual/filesys.texi: Likewise.
8463 (getumask): Document as specific to GNU/Hurd.
8464 * manual/install.texi: Likewise. Reword some references to
8465 GNU/Linux.
8466 * manual/intro.texi: Likewise.
8467 * manual/io.texi: Likewise.
8468 (File Name Portability): Detail which constraints are inapplicable
8469 to all GNU systems and which are only inapplicable to GNU/Hurd.
8470 * manual/job.texi: Likewise.
8471 * manual/llio.texi: Likewise.
8472 (O_NOCTTY): Document as present on GNU/Linux.
8473 * manual/maint.texi: Likewise.
8474 * manual/memory.texi: Likewise.
8475 * manual/pattern.texi: Likewise.
8476 * manual/pipe.texi: Likewise.
8477 * manual/process.texi: Likewise.
8478 * manual/resource.texi: Likewise.
8479 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8480 child on GNU/Hurd.
8481 * manual/setjmp.texi: Likewise.
8482 * manual/signal.texi: Likewise.
8483 * manual/startup.texi: Likewise.
8484 * manual/stdio.texi: Likewise.
8485 * manual/terminal.texi: Likewise.
8486 (ONLCR): Document as POSIX.
8487 (OXTABS): Document availability on GNU/Linux as XTABS.
8488 (ONOEOT): Document availability separately from other bits.
8489 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8490 * manual/time.texi: Likewise.
8491 * manual/users.texi: Likewise.
8492 * INSTALL: Regenerated.
8493 * sysdeps/gnu/errlist.c: Regenerated.
8494
07037eeb
JM
8495 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8496 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8497 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8498 puts.
8499 * configure: Regenerated.
8500
d1d3431a
JM
85012012-03-07 Joseph Myers <joseph@codesourcery.com>
8502
af6a1e37
JM
8503 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8504 default includes instead of AC_HEADER_CHECK.
8505 * sysdeps/i386/configure: Regenerated.
8506
d1d3431a
JM
8507 [BZ #10716]
8508 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8509 * math/s_cacoshf.c (__cacoshf): Likewise.
8510 * math/s_cacoshl.c (__cacoshl): Likewise.
8511 * math/s_casinh.c (__casinh): Set signs of result from argument.
8512 * math/s_casinhf.c (__casinhf): Likewise.
8513 * math/s_casinhl.c (__casinhl): Likewise.
8514 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8515 (casinh_test): Add more tests.
8516 * sysdeps/i386/fpu/libm-test-ulps: Update.
8517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8518
482ff4da
UD
85192012-03-07 Ulrich Drepper <drepper@gmail.com>
8520
872fda05
UD
8521 * po/zh_TW.po: Update from translation team.
8522
a4300c7a
UD
8523 * login/Makefile (distribute): Remove variable.
8524 * catgets/Makefile: Likewise.
8525 * mach/Makefile: Likewise.
8526 * malloc/Makefile: Likewise.
8527 * misc/Makefile: Likewise.
8528 * iconv/Makefile: Likewise.
8529 * nscd/Makefile: Likewise.
8530 * hurd/Makefile: Likewise.
8531 * manual/Makefile: Likewise.
8532 * locale/Makefile: Likewise.
8533 * intl/Makefile: Likewise.
8534 * conform/Makefile: Likewise.
8535 * nss/Makefile: Likewise.
8536 * time/Makefile: Likewise.
8537 * soft-fp/Makefile: Likewise.
8538 * dirent/Makefile: Likewise.
8539 * gmon/Makefile: Likewise.
8540 * po/Makefile: Likewise.
8541 * rt/Makefile: Likewise.
8542 * socket/Makefile: Likewise.
8543 * math/Makefile: Likewise.
8544 * signal/Makefile: Likewise.
8545 * debug/Makefile: Likewise.
8546 * elf/Makefile: Likewise.
8547 * timezone/Makefile: Likewise.
8548 * stdlib/Makefile: Likewise.
8549 * iconvdata/Makefile: Likewise.
8550 * sunrpc/Makefile: Likewise.
8551 * io/Makefile: Likewise.
8552 * argp/Makefile: Likewise.
8553 * inet/Makefile: Likewise.
8554 * hesiod/Makefile: Likewise.
8555 * grp/Makefile: Likewise.
8556 * csu/Makefile: Likewise.
8557 * wctype/Makefile: Likewise.
8558 * crypt/Makefile: Likewise.
8559 * libio/Makefile: Likewise.
8560 * string/Makefile: Likewise.
8561 * nis/Makefile: Likewise.
8562 * resolv/Makefile: Likewise.
8563 * stdio-common/Makefile: Likewise.
8564 * wcsmbs/Makefile: Likewise.
8565 * dlfcn/Makefile: Likewise.
8566 * posix/Makefile: Likewise.
8567
3b7c4e74 8568 [BZ #6959]
482ff4da
UD
8569 * timezone/Makefile: Don't install timezone files, just the programs
8570 and scripts.
8571
f72ed77d
UD
85722012-03-06 Ulrich Drepper <drepper@gmail.com>
8573
a000466f
UD
8574 * nss/databases.def: Add missing gshadow entry.
8575
f72ed77d
UD
8576 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8577
a53b7a4e
MP
85782012-03-06 Marek Polacek <polacek@redhat.com>
8579
8580 [BZ #13726]
8581 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8582 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8583 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8584 * stdio-common/tst-long-dbl-fphex.c: New file.
8585
e9258400
DM
85862012-03-06 David S. Miller <davem@davemloft.net>
8587
8588 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8589 (set_obp_int): New function.
8590 (get_obp_int): New function.
8591 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8592 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8593 Avoid unused variable warnings on 'val' and use builtin_expect.
8594 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8595 __builtin_expect.
e9258400
DM
8596 (INLINE_CLONE_SYSCALL): Likewise.
8597
3bd2c723
DM
85982012-03-05 David S. Miller <davem@davemloft.net>
8599
8600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8601
bbb78d03
AS
86022012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8603
884c5db4
AS
8604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8605
bbb78d03
AS
8606 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8607 only for |x| >= 40.
8608 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8609
1c9f702a 86102012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8611
8612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8613 Replace gettimeofday with __vdso_gettimeofday.
8614
7be16f82
RM
8615 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8616 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8617 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8618
8619 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8620 time with __vdso_time.
8621
ed58a00f
JM
86222012-03-05 Joseph Myers <joseph@codesourcery.com>
8623
8624 * manual/lang.texi (size_t): Note types to which size_t may be
8625 equivalent with the GNU C Library, but do not describe when
8626 differences between them are significant.
8627
30ee4ced
AJ
86282012-03-05 Andreas Jaeger <aj@suse.de>
8629
8630 * sysdeps/i386/fpu/libm-test-ulps: Update.
8631
b7cd39e8
JM
86322012-03-05 Joseph Myers <joseph@codesourcery.com>
8633
8634 [BZ #3976]
8635 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8636 (__ieee754_pow): Save and restore rounding mode and use
8637 round-to-nearest for main computations.
8638 * math/libm-test.inc (pow_test_tonearest): New function.
8639 (pow_test_towardzero): Likewise.
8640 (pow_test_downward): Likewise.
8641 (pow_test_upward): Likewise.
8642 (main): Call the new functions.
8643 * sysdeps/i386/fpu/libm-test-ulps: Update.
8644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8645
8646 [BZ #3976]
8647 * math/libm-test.inc (cosh_test_tonearest): New function.
8648 (cosh_test_towardzero): Likewise.
8649 (cosh_test_downward): Likewise.
8650 (cosh_test_upward): Likewise.
8651 (sinh_test_tonearest): Likewise.
8652 (sinh_test_towardzero): Likewise.
8653 (sinh_test_downward): Likewise.
8654 (sinh_test_upward): Likewise.
8655 (main): Call the new functions.
8656 * sysdeps/i386/fpu/libm-test-ulps: Update.
8657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658
6c6a98c9
TV
86592012-03-05 Tom de Vries <tom@codesourcery.com>
8660
8661 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8662 default stack guard is set in last bytes.
8663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8664
21bb2d2e 86652012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8666
21bb2d2e 8667 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8668
21bb2d2e
AJ
8669 [BZ #13656]
8670 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8671 possibly allocate from heap instead of stack.
8672 * stdio-common/bug-vfprintf-nargs.c: New file.
8673 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8674
c6922934
AS
86752012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8676
8677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8678
bc957d53
MP
86792012-03-03 Marek Polacek <polacek@redhat.com>
8680
8681 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8682 * math/math_private.h: Likewise.
8683 * stdlib/tst-strtod.c: Likewise.
8684 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8685 * sysdeps/x86_64/bits/atomic.h: Likewise.
8686
6358490d
DM
86872012-03-02 David S. Miller <davem@davemloft.net>
8688
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8693 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8694 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8695 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8696 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8697
01ae168d
RM
86982012-03-02 Roland McGrath <roland@hack.frob.com>
8699
d9a17c07
RM
8700 [BZ #13792]
8701 * manual/examples/README: New file, says the example source files
8702 can be used under GPL>=2.
8703 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8704 line containing just "*/".
8705 * manual/examples/add.c: Add copyright header (GPL>=2).
8706 * manual/examples/argp-ex1.c: Likewise.
8707 * manual/examples/argp-ex2.c: Likewise.
8708 * manual/examples/argp-ex3.c: Likewise.
8709 * manual/examples/argp-ex4.c: Likewise.
8710 * manual/examples/atexit.c: Likewise.
8711 * manual/examples/db.c: Likewise.
8712 * manual/examples/dir.c: Likewise.
8713 * manual/examples/dir2.c: Likewise.
8714 * manual/examples/execinfo.c: Likewise.
8715 * manual/examples/filecli.c: Likewise.
8716 * manual/examples/filesrv.c: Likewise.
8717 * manual/examples/fmtmsgexpl.c: Likewise.
8718 * manual/examples/genpass.c: Likewise.
8719 * manual/examples/inetcli.c: Likewise.
8720 * manual/examples/inetsrv.c: Likewise.
8721 * manual/examples/isockad.c: Likewise.
8722 * manual/examples/longopt.c: Likewise.
8723 * manual/examples/memopen.c: Likewise.
8724 * manual/examples/memstrm.c: Likewise.
8725 * manual/examples/mkfsock.c: Likewise.
8726 * manual/examples/mkisock.c: Likewise.
8727 * manual/examples/mygetpass.c: Likewise.
8728 * manual/examples/pipe.c: Likewise.
8729 * manual/examples/popen.c: Likewise.
8730 * manual/examples/rprintf.c: Likewise.
8731 * manual/examples/search.c: Likewise.
8732 * manual/examples/select.c: Likewise.
8733 * manual/examples/setjmp.c: Likewise.
8734 * manual/examples/sigh1.c: Likewise.
8735 * manual/examples/sigusr.c: Likewise.
8736 * manual/examples/stpcpy.c: Likewise.
8737 * manual/examples/strdupa.c: Likewise.
8738 * manual/examples/strftim.c: Likewise.
8739 * manual/examples/strncat.c: Likewise.
8740 * manual/examples/subopt.c: Likewise.
8741 * manual/examples/swapcontext.c: Likewise.
8742 * manual/examples/termios.c: Likewise.
8743 * manual/examples/testopt.c: Likewise.
8744 * manual/examples/testpass.c: Likewise.
8745 * manual/examples/timeval_subtract.c: Likewise.
8746
01ae168d
RM
8747 [BZ #13792]
8748 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8749 function to ...
8750 * manual/timeval_subtract.c.texi: ... here, new file.
8751
49efa33d
DM
87522012-03-02 David S. Miller <davem@davemloft.net>
8753
8754 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8755
28afd92d
JM
87562012-03-02 Joseph Myers <joseph@codesourcery.com>
8757
804360ed
JM
8758 [BZ #3976]
8759 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8760 (__sin): Save and restore rounding mode and use round-to-nearest
8761 for all computations.
8762 (__cos): Save and restore rounding mode and use round-to-nearest
8763 for all computations.
8764 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8765 <fenv.h>.
8766 (tan): Save and restore rounding mode and use round-to-nearest for
8767 all computations.
8768 * math/libm-test.inc (cos_test_tonearest): New function.
8769 (cos_test_towardzero): Likewise.
8770 (cos_test_downward): Likewise.
8771 (cos_test_upward): Likewise.
8772 (sin_test_tonearest): Likewise.
8773 (sin_test_towardzero): Likewise.
8774 (sin_test_downward): Likewise.
8775 (sin_test_upward): Likewise.
8776 (tan_test_tonearest): Likewise.
8777 (tan_test_towardzero): Likewise.
8778 (tan_test_downward): Likewise.
8779 (tan_test_upward): Likewise.
8780 (main): Call the new functions.
8781 * sysdeps/i386/fpu/libm-test-ulps: Update.
8782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8783
a6d06d7b
JM
8784 [BZ #10135]
8785 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8786 small n, then large n, before computing and testing k+n.
8787 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8789 Likewise.
8790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8791 Likewise.
8792 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8793 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8794 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8795 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8800 * math/libm-test.inc (scalbn_test): Add more tests.
8801 (scalbln_test): Likewise.
8802
07e12bb3
JM
8803 * manual/filesys.texi (mode_t): Describe constraints on size and
8804 signedness, not exact equivalence to a particular type.
8805 (ino_t): Likewise.
8806 (ino64_t): Likewise.
8807 (dev_t): Likewise.
8808 (nlink_t): Likewise.
8809 (blkcnt_t): Likewise.
8810 (blkcnt64_t): Likewise.
8811 * manual/llio.texi (off_t): Likewise.
8812
28afd92d
JM
8813 [BZ #3976]
8814 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8815 (__ieee754_exp): Save and restore rounding mode and use
8816 round-to-nearest for all computations.
8817 * math/libm-test.inc (exp_test_tonearest): New function.
8818 (exp_test_towardzero): Likewise.
8819 (exp_test_downward): Likewise.
8820 (exp_test_upward): Likewise.
8821 (main): Call the new functions.
8822 * sysdeps/i386/fpu/libm-test-ulps: Update.
8823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8824
b1eeb65d
CD
88252012-03-01 Chris Demetriou <cgd@google.com>
8826
8827 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8828 have predictable order.
8829
53362a4b
DM
88302012-03-01 David S. Miller <davem@davemloft.net>
8831
3c969083
DM
8832 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8833
759707de
DM
8834 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8835 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8836 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8837 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8838
dfdb8ff2
DM
8839 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8840 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8841 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8843 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8844 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8845 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8846 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8847 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8848
ead89f96
DM
8849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8850
7f66bd07
DM
8851 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8852 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8853 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8854
53362a4b
DM
8855 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8856 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8857 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8858 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8859 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8861 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8862 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8863 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8864 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8865 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8868 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8869 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8871 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8872 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8873 * sysdeps/sparc/elf/configure: Regenerated.
8874
7b1902cb
JM
88752012-03-01 Joseph Myers <joseph@codesourcery.com>
8876
bec039bc
JM
8877 * configure.in (AS, LD): Require binutils 2.20 or later.
8878 * configure: Regenerated.
8879 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8880 as required minimum version.
8881 * INSTALL: Regenerated.
8882
7b1902cb
JM
8883 [BZ #2541]
8884 [BZ #4108]
8885 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8886 before squaring exponent.
8887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8888 bottom long double and 27 bits of top long double before squaring
8889 exponent.
8890 * math/libm-test.inc (erfc_test): Add more tests.
8891 * sysdeps/i386/fpu/libm-test-ulps: Update.
8892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8894
f775c276
KT
88952012-03-01 Kai Tietz <ktietz@redhat.com>
8896
8897 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8898 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8899 containing bit-fields.
8900 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8901 * soft-fp/single.h (_FP_UNION_S): Likewise.
8902 * soft-fp/double.h (_FP_UNION_D): Likewise.
8903
5b8a4d4a
JM
89042012-02-29 Joseph Myers <joseph@codesourcery.com>
8905
0bab47b6
JM
8906 [BZ #13786]
8907 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8908 not include ../strcmp.S.
8909 [USE_AS_STRNCASECMP_L]: Likewise.
8910 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8911 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8912 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8913 (__strncasecmp_l_ia32): Define as alias to
8914 __strncasecmp_l_nonascii.
8915
0fcad3e2
JM
8916 [BZ #5794]
8917 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8918 * sysdeps/i386/fpu/libm-test-ulps: Update.
8919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8920
5b8a4d4a
JM
8921 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8923
8fdceb2e
JL
89242012-02-29 Jeff Law <law@redhat.com>
8925
8926 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8927 out of bounds read.
8928
1f393a11
MP
89292012-02-29 Marek Polacek <polacek@redhat.com>
8930
8931 [BZ #13706]
8932 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8933 * elf/Makefile: Add rules to run tst-unused-dep.out.
8934
8847f037
DM
89352012-02-28 David S. Miller <davem@davemloft.net>
8936
8937 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8938 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8939 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8940 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8941 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8942 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8943
169d7f11
JM
89442012-02-29 Joseph Myers <joseph@codesourcery.com>
8945
8946 * math/libm-test.inc (llround_test): Move one test from
8947 lround_test. Use TEST_f_L in moved test.
8948 (lround_test): Move misplaced test to llround_test. Add testcase
8949 from bug 2561.
8950
39adf059
UD
89512012-02-28 Ulrich Drepper <drepper@gmail.com>
8952
8953 * sysdeps/x86_64/fpu/e_expf.S: New file.
8954 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8955
71b5d1c5
SB
89562012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8957
8958 [BZ #13637]
8959 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8960 of remain_len that may cause incomplete multi-byte character and
8961 false match.
8962 * posix/bug-regex33.c: New file.
8963 * posix/Makefile (tests): Add bug-regex33.
8964
1f77f049
JM
89652012-02-28 Joseph Myers <joseph@codesourcery.com>
8966
8967 * manual/macros.texi: New file.
8968 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8969 * manual/libc.texinfo: Include macros.texi.
8970 * manual/creatute.texi: Likewise.
8971 * manual/install.texi: Likewise.
8972 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8973 @glibcadj{} in references to the GNU C Library.
8974 * manual/charset.texi: Likewise.
8975 * manual/conf.texi: Likewise.
8976 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8977 when not using those macros.
8978 * manual/creature.texi: Likewise.
8979 * manual/crypt.texi: Likewise.
8980 * manual/errno.texi: Likewise.
8981 * manual/filesys.texi: Likewise.
8982 * manual/header.texi: Likewise.
8983 * manual/install.texi: Likewise.
8984 * manual/intro.texi: Likewise.
8985 * manual/io.texi: Likewise.
8986 * manual/job.texi: Likewise.
8987 * manual/lang.texi: Likewise.
8988 * manual/libc.texiinfo: Likewise.
8989 * manual/llio.texi: Likewise.
8990 * manual/locale.texi: Likewise.
8991 * manual/maint.texi: Likewise.
8992 * manual/math.texi: Likewise.
8993 * manual/memory.texi: Likewise.
8994 * manual/message.texi: Likewise.
8995 * manual/nss.texi: Likewise.
8996 * manual/pattern.texi: Likewise.
8997 * manual/process.texi: Likewise.
8998 * manual/resource.texi: Likewise.
8999 * manual/search.texi: Likewise.
9000 * manual/setjmp.texi: Likewise.
9001 * manual/signal.texi: Likewise.
9002 * manual/socket.texi: Likewise.
9003 * manual/startup.texi: Likewise.
9004 * manual/stdio.texi: Likewise.
9005 * manual/string.texi: Likewise.
9006 * manual/sysinfo.texi: Likewise.
9007 * manual/syslog.texi: Likewise.
9008 * manual/terminal.texi: Likewise.
9009 * manual/time.texi: Likewise.
9010 * manual/users.texi: Likewise.
9011 * INSTALL: Regenerated.
9012 * NOTES: Regenerated.
d40c5d54 9013 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9014
450bf206
AS
90152012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9016
9017 * include/dirent.h: Include <dirstream.h> before
9018 <dirent/dirent.h>.
9019
741a235b
DM
90202012-02-28 David S. Miller <davem@davemloft.net>
9021
9022 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9023 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9024 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9025 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9026
d6b5aa58
DM
90272012-02-27 David S. Miller <davem@davemloft.net>
9028
1aff59a3
DM
9029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9031 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9032 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9033
d6b5aa58
DM
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9035 frame pointer instead of stack pointer relative arg slot.
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9037 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9038 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9039
433f48bf
CD
90402012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9041
9042 [BZ #3992]
9043 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9044
d674b76d
DM
90452012-02-27 David S. Miller <davem@davemloft.net>
9046
9047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9051 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9052 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9053 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9054 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9055
0e7727f7
JM
90562012-02-27 Joseph Myers <joseph@codesourcery.com>
9057
9058 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9059 later. Allow versions 5-9.
43be4ca2 9060 * configure: Regenerated.
0e7727f7
JM
9061 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9062 required minimum version and 4.6 as recommended version. Do not
9063 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9064 * INSTALL: Regenerated.
0e7727f7 9065
a78bc654
DM
90662012-02-27 David S. Miller <davem@davemloft.net>
9067
428d5830
DM
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9072 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9073 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9076
a78bc654
DM
9077 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9078 manipulate bits before adding and subtracting TWO112[sx].
9079 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9080
4579f81c
RM
90812012-02-27 Roland McGrath <roland@hack.frob.com>
9082
36c8acb4
RM
9083 [BZ #13775]
9084 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9085 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9086 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9087 being in POSIX, because they are in 1003.1-2008.
9088
84ad622b
RM
9089 * rt/tst-aio.c: Include <fcntl.h>.
9090 * rt/tst-aio7.c: Likewise.
9091 * rt/tst-aio64.c: Likewise.
9092
4579f81c
RM
9093 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9094
abd923db
JM
90952012-02-27 Joseph Myers <joseph@codesourcery.com>
9096
9097 * manual/install.texi (--with-headers): Describe headers as
9098 interface headers, not private headers.
9099 (Specific advice for GNU/Linux systems): Describe use of headers
9100 from "make headers_install", not private headers from older
9101 kernels.
43be4ca2 9102 * INSTALL: Regenerated.
abd923db
JM
9103 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9104 Change to 2.6.19.
9105 * sysdeps/unix/sysv/linux/configure: Regenerated.
9106
6664049b
JM
9107 * manual/llio.texi (fclean): Remove documentation.
9108
bb8b6697
JM
9109 * manual/Makefile (libc-texi-generated): New variable. Include
9110 version.texi.
9111 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9112 $(libc-texi-generated), not duplicated list of files.
9113 (version.texi, stamp-version): New rules.
9114 (realclean): Remove $(libc-texi-generated), not individual files
9115 from that list. Do not remove dir-add.texinfo.
9116 * manual/libc.texinfo: Comment out uses of edition numbers and
9117 references to printed manual. Remove last-updated dates.
9118 (EDITION): Comment out.
9119 (ISBN): Likewise.
9120 (VERSION, UPDATED): Remove.
9121 (version.texi): Include.
9122
12e5c3b9
AS
91232012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9124
9125 * sysdeps/posix/spawni.c: Include <signal.h>.
9126 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9127 * sysdeps/pthread/aio_fsync.c: Likewise.
9128
4efeffc1 91292012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9130
ba63ba08
UD
9131 * conform/Makefile (tests): Run only when not cross-compiling and
9132 when fast-check is not defined.
9133
d94a4670
UD
9134 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9135 * conform/data/limits.h-data: Fixes for POSIX2008.
9136 * conform/run-conformtest.sh: Run all tests.
9137 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9138 headers.
9139 * include/bits/dlfcn.h: Likewise.
9140 * include/langinfo.h: Likewise.
9141 * include/monetary.h: Likewise.
9142 * include/sys/poll.h: Likewise.
9143
9144 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9145 for __USE_GNU.
9146 * posix/spawn.h: Define __need_sigset_t.
9147 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9148 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9149 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9150 to get sigevent_t only.
9151 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9152 only for __USE_GNU.
9153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9154 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9155 process_vm_writev only for __USE_GNU.
9156 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9157
9158 * conform/Makefile: For now ignore errors from run-conformtest.
9159 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9160 POSIX to avoid namespace pollution. Don't prepend headers.
9161 * conform/data/aio.h-data: Fixes for POSIX testing.
9162 * conform/data/fcntl.h-data: Likewise.
9163 * conform/data/glob.h-data: Likewise.
9164 * conform/data/grp.h-data: Likewise.
9165 * conform/data/pthread.h-data: Likewise.
9166 * conform/data/pwd.h-data: Likewise.
9167 * conform/data/signal.h-data: Likewise.
9168 * conform/data/spawn.h-data: Likewise.
9169 * conform/data/stdio.h-data: Likewise.
9170 * conform/data/stdlib.h-data: Likewise.
9171 * conform/data/stropts.h-data: Likewise.
9172 * conform/data/sys/mman.h-data: Likewise.
9173 * conform/data/sys/stat.h-data: Likewise.
9174 * conform/data/sys/types.h-data: Likewise.
9175 * conform/data/sys/wait.h-data: Likewise.
9176 * conform/data/time.h-data: Likewise.
9177 * conform/data/unistd.h-data: Likewise.
9178 * conform/data/utime.h-data: Likewise.
9179
9180 * io/sys/stat.h: fchmod was always in POSIX.
9181 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9182 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9183 * rt/aio.h: Define __need_timespec before including <time.h>.
9184 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9185 struct. Add forward declaration of pthread_attr_t and use it in
9186 sigevent.
9187 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9189 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9190 always remove CLK_TCK definition.
9191
c20105c3
AS
91922012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9193
9194 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9195
7a270350
UD
91962012-02-25 Ulrich Drepper <drepper@gmail.com>
9197
31341567
UD
9198 * conform/run-conformtest.sh: New file.
9199 * conform/Makefile: Run run-conformtest for tests.
9200 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9201 support.
9202
9203 * conform/data/uchar.h-data: New file.
9204 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9205 * conform/data/arpa/inet.h-data: Likewise.
9206 * conform/data/assert.h-data: Likewise.
9207 * conform/data/complex.h-data: Likewise.
9208 * conform/data/cpio.h-data: Likewise.
9209 * conform/data/ctype.h-data: Likewise.
9210 * conform/data/dirent.h-data: Likewise.
9211 * conform/data/dlfcn.h-data: Likewise.
9212 * conform/data/errno.h-data: Likewise.
9213 * conform/data/fcntl.h-data: Likewise.
9214 * conform/data/float.h-data: Likewise.
9215 * conform/data/fmtmsg.h-data: Likewise.
9216 * conform/data/fnmatch.h-data: Likewise.
9217 * conform/data/ftw.h-data: Likewise.
9218 * conform/data/glob.h-data: Likewise.
9219 * conform/data/grp.h-data: Likewise.
9220 * conform/data/iconv.h-data: Likewise.
9221 * conform/data/inttypes.h-data: Likewise.
9222 * conform/data/langinfo.h-data: Likewise.
9223 * conform/data/libgen.h-data: Likewise.
9224 * conform/data/limits.h-data: Likewise.
9225 * conform/data/locale.h-data: Likewise.
9226 * conform/data/math.h-data: Likewise.
9227 * conform/data/monetary.h-data: Likewise.
9228 * conform/data/mqueue.h-data: Likewise.
9229 * conform/data/ndbm.h-data: Likewise.
9230 * conform/data/net/if.h-data: Likewise.
9231 * conform/data/netdb.h-data: Likewise.
9232 * conform/data/netinet/in.h-data: Likewise.
9233 * conform/data/nl_types.h-data: Likewise.
9234 * conform/data/poll.h-data: Likewise.
9235 * conform/data/pthread.h-data: Likewise.
9236 * conform/data/pwd.h-data: Likewise.
9237 * conform/data/regex.h-data: Likewise.
9238 * conform/data/sched.h-data: Likewise.
9239 * conform/data/search.h-data: Likewise.
9240 * conform/data/semaphore.h-data: Likewise.
9241 * conform/data/setjmp.h-data: Likewise.
9242 * conform/data/signal.h-data: Likewise.
9243 * conform/data/spawn.h-data: Likewise.
9244 * conform/data/stdarg.h-data: Likewise.
9245 * conform/data/stdio.h-data: Likewise.
9246 * conform/data/stdlib.h-data: Likewise.
9247 * conform/data/string.h-data: Likewise.
9248 * conform/data/strings.h-data: Likewise.
9249 * conform/data/stropts.h-data: Likewise.
9250 * conform/data/sys/ipc.h-data: Likewise.
9251 * conform/data/sys/mman.h-data: Likewise.
9252 * conform/data/sys/msg.h-data: Likewise.
9253 * conform/data/sys/resource.h-data: Likewise.
9254 * conform/data/sys/select.h-data: Likewise.
9255 * conform/data/sys/sem.h-data: Likewise.
9256 * conform/data/sys/shm.h-data: Likewise.
9257 * conform/data/sys/socket.h-data: Likewise.
9258 * conform/data/sys/stat.h-data: Likewise.
9259 * conform/data/sys/statvfs.h-data: Likewise.
9260 * conform/data/sys/time.h-data: Likewise.
9261 * conform/data/sys/timeb.h-data: Likewise.
9262 * conform/data/sys/times.h-data: Likewise.
9263 * conform/data/sys/types.h-data: Likewise.
9264 * conform/data/sys/uio.h-data: Likewise.
9265 * conform/data/sys/un.h-data: Likewise.
9266 * conform/data/sys/utsname.h-data: Likewise.
9267 * conform/data/sys/wait.h-data: Likewise.
9268 * conform/data/syslog.h-data: Likewise.
9269 * conform/data/tar.h-data: Likewise.
9270 * conform/data/termios.h-data: Likewise.
9271 * conform/data/utime.h-data: Likewise.
9272 * conform/data/utmpx.h-data: Likewise.
9273 * conform/data/varargs.h-data: Likewise.
9274 * conform/data/wchar.h-data: Likewise.
9275 * conform/data/wctype.h-data: Likewise.
9276 * conform/data/wordexp.h-data: Likewise.
9277
9278 * include/stropts.h: New file.
9279 * include/uchar.h: New file.
9280 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9281 * include/assert.h: Likewise.
9282 * include/ctype.h: Likewise.
9283 * include/dirent.h: Likewise.
9284 * include/dlfcn.h: Likewise.
9285 * include/fcntl.h: Likewise.
9286 * include/fnmatch.h: Likewise.
9287 * include/glob.h: Likewise.
9288 * include/grp.h: Likewise.
9289 * include/libio.h: Likewise.
9290 * include/locale.h: Likewise.
9291 * include/math.h: Likewise.
9292 * include/net/if.h: Likewise.
9293 * include/netdb.h: Likewise.
9294 * include/netinet/in.h: Likewise.
9295 * include/pthread.h: Likewise.
9296 * include/pwd.h: Likewise.
9297 * include/regex.h: Likewise.
9298 * include/sched.h: Likewise.
9299 * include/search.h: Likewise.
9300 * include/setjmp.h: Likewise.
9301 * include/signal.h: Likewise.
9302 * include/stdio.h: Likewise.
9303 * include/stdlib.h: Likewise.
9304 * include/string.h: Likewise.
9305 * include/sys/cdefs.h: Likewise.
9306 * include/sys/mman.h: Likewise.
9307 * include/sys/msg.h: Likewise.
9308 * include/sys/resource.h: Likewise.
9309 * include/sys/select.h: Likewise.
9310 * include/sys/socket.h: Likewise.
9311 * include/sys/stat.h: Likewise.
9312 * include/sys/statvfs.h: Likewise.
9313 * include/sys/time.h: Likewise.
9314 * include/sys/times.h: Likewise.
9315 * include/sys/uio.h: Likewise.
9316 * include/sys/utsname.h: Likewise.
9317 * include/sys/wait.h: Likewise.
9318 * include/termios.h: Likewise.
9319 * include/time.h: Likewise.
9320 * include/ulimit.h: Likewise.
9321 * include/unistd.h: Likewise.
9322 * include/utime.h: Likewise.
9323 * include/wchar.h: Likewise.
9324 * include/wctype.h: Likewise.
9325 * include/wordexp.h: Likewise.
9326
9327 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9328
7a270350
UD
9329 * time/time.h: TIME_UTC must be a macro.
9330 Make timespec_get available for ISO C11 only as well.
9331
7724defc
UD
93322012-02-24 Ulrich Drepper <drepper@gmail.com>
9333
9334 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9335 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9336
6b1d1d46
JM
93372012-02-24 Joseph Myers <joseph@codesourcery.com>
9338
9339 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9340
0f8bbd69
JM
93412012-02-24 Joseph Myers <joseph@codesourcery.com>
9342
9343 * manual/texinfo.tex: Update to version 2012-01-19.16.
9344
66ab80bc
JM
93452012-02-24 Joseph Myers <joseph@codesourcery.com>
9346
9347 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9348
74981cc5
RM
93492012-02-24 Roland McGrath <roland@hack.frob.com>
9350
ee968201
RM
9351 [BZ #13738]
9352 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9353 * manual/fdl-1.3.texi: New file.
9354 * manual/fdl-1.1.texi: File removed.
9355
74981cc5
RM
9356 [BZ #13738]
9357 * manual/libc.texinfo (FDL_VERSION): New @set.
9358 Use it for mention of FDL in cover text.
9359 (Documentation License): Use it in @include file name.
9360
7bb764bc
JM
93612012-02-22 Joseph Myers <joseph@codesourcery.com>
9362 Roland McGrath <roland@hack.frob.com>
9363
9364 [BZ #5461]
9365 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9366 not LONG_LONG_MAX and LONG_LONG_MIN.
9367 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9368 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9369 name.
9370 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9371
6cbeae47
JM
93722012-02-22 Joseph Myers <joseph@codesourcery.com>
9373
9374 [BZ #2547]
9375 [BZ #11365]
9376 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9377 manipulate bits before adding and subtracting TWO23[sx].
9378 * math/libm-test.inc (nearbyint_test): Add more tests.
9379
fe45ce09
JM
93802012-02-22 Joseph Myers <joseph@codesourcery.com>
9381
9382 [BZ #2548]
9383 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9384 bits before adding and subtracting TWO23[sx].
9385 * math/libm-test.inc (rint_test): Add more tests.
9386 (rint_test_tonearest): Likewise.
9387 (rint_test_towardzero): Likewise.
9388 (rint_test_downward): Likewise.
9389 (rint_test_upward: Likewise.
9390
ff3b3d82
JM
93912012-02-22 Joseph Myers <joseph@codesourcery.com>
9392
9393 [BZ #10110]
9394 * include/stdc-predef.h: New file. Extracted from features.h.
9395 * include/features.h: Include stdc-predef.h.
9396 * Makefile (headers): Add stdc-predef.h.
9397 * CONFORMANCE (Compiler limitations): Update.
9398
ef0aab35
JM
93992012-02-22 Joseph Myers <joseph@codesourcery.com>
9400
9401 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9402
58639409
DM
94032012-02-21 David S. Miller <davem@davemloft.net>
9404
9405 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9406 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9407
c0e70b25
DM
94082012-02-20 David S. Miller <davem@davemloft.net>
9409
9410 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9411 using a normal save/restore sequence, rather than allocating a
9412 dummy stack frame just to store a frame pointer and restore.
9413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9414
fb06851d
JM
94152012-02-21 Joseph Myers <joseph@codesourcery.com>
9416
9417 * manual/install.texi: Fix stray word in line-wrapped comment.
9418
7a8b71c3
DM
94192012-02-20 David S. Miller <davem@davemloft.net>
9420
d510c123
DM
9421 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9422 both binutils and gcc support GOTDATA.
9423
0722d7c2
DM
9424 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9425 "rd %pc" in the PIC register setup sequences.
9426
3d2b3019
DM
9427 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9428 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9429 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9430 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9431 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9433 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9436 (SYSCALL_ERROR_HANDLER): Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9440 (SYSCALL_ERROR_HANDLER): Likewise.
9441
c80098a9
DM
9442 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9443 (HAVE_GCC_GOTDATA): New.
9444 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9445 relocation support in both binutils and gcc.
9446 * sysdeps/sparc/elf/configure: Regenerate.
9447
3a2545a0
DM
9448 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9449 * sysdeps/sparc/sparc32/elf/configure: Delete.
9450 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9451 * sysdeps/sparc/sparc64/elf/configure: Delete.
9452 * sysdeps/sparc/elf/configure.in: New file.
9453 * sysdeps/sparc/elf/configure: Generate.
9454
7a8b71c3
DM
9455 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9456 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9457 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9458 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9459 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9460
f1e86fca
JM
94612012-02-21 Joseph Myers <joseph@codesourcery.com>
9462
9463 * manual/install.texi: Do not mention specific glibc version
9464 numbers.
9465 * manual/libc.texinfo (VERSION, UPDATED): Update.
9466 (@copying): Use @copyright{} and range of years.
9467
0e7dfaef
JM
94682012-02-21 Joseph Myers <joseph@codesourcery.com>
9469
9470 [BZ #13695]
9471 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9472 [crti.S not in sysdirs] (generated): Do not append.
9473 [crti.S not in sysdirs] (omit-deps): Likewise.
9474 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9475 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9476 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9477 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9478 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9479 Likewise.
9480 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9481 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9482 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9483 * csu/defs.awk: Remove file.
9484 * sysdeps/generic/initfini.c: Likewise.
9485 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9486 variable.
9487 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9488 Likewise.
9489
599af3ca
JM
94902012-02-20 Joseph Myers <joseph@codesourcery.com>
9491
9492 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9493 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9494 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9496 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9497 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9498 <bits/epoll.h>.
9499 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9500 (__EPOLL_PACKED): Define to empty if not defined by
9501 <bits/epoll.h>.
9502 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9504 bits/epoll.h.
9505
0e499750
JM
95062012-02-20 Joseph Myers <joseph@codesourcery.com>
9507
9508 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9509 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9510 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9511 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9512 <bits/timerfd.h>.
9513 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9515 bits/timerfd.h.
9516
5ad91f6e
JM
95172012-02-20 Joseph Myers <joseph@codesourcery.com>
9518
9519 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9520 in C locale.
9521 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9522 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9525
06b99b02
AJ
95262012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9527
9528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9529 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9530
7638c0fd
AS
95312012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9534 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9535 defined.
9536 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9537 Likewise.
9538 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9539 entry for 2.16.
9540
92221550
AJ
95412012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9542
9543 * math/w_acos.c: Use non-signaling floating-point comparisons.
9544 * math/w_acosf.c: Likewise.
9545 * math/w_acosh.c: Likewise.
9546 * math/w_acoshf.c: Likewise.
9547 * math/w_acoshl.c: Likewise.
9548 * math/w_acosl.c: Likewise.
9549 * math/w_asin.c: Likewise.
9550 * math/w_asinf.c: Likewise.
9551 * math/w_asinl.c: Likewise.
9552 * math/w_atanh.c: Likewise.
9553 * math/w_atanhf.c: Likewise.
9554 * math/w_atanhl.c: Likewise.
9555 * math/w_exp2.c: Likewise.
9556 * math/w_exp2f.c: Likewise.
9557 * math/w_exp2l.c: Likewise.
9558 * math/w_j0.c: Likewise.
9559 * math/w_j0f.c: Likewise.
9560 * math/w_j0l.c: Likewise.
9561 * math/w_j1.c: Likewise.
9562 * math/w_j1f.c: Likewise.
9563 * math/w_j1l.c: Likewise.
9564 * math/w_jn.c: Likewise.
9565 * math/w_jnf.c: Likewise.
9566 * math/w_log.c: Likewise.
9567 * math/w_log10.c: Likewise.
9568 * math/w_log10f.c: Likewise.
9569 * math/w_log10l.c: Likewise.
9570 * math/w_log2.c: Likewise.
9571 * math/w_log2f.c: Likewise.
9572 * math/w_log2l.c: Likewise.
9573 * math/w_logf.c: Likewise.
9574 * math/w_logl.c: Likewise.
9575 * math/w_sqrt.c: Likewise.
9576 * math/w_sqrtf.c: Likewise.
9577 * math/w_sqrtl.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9581 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9582 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9583
ebaf36eb
JM
95842012-02-19 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #9739]
9587 * manual/string.texi (strnlen): Use correct parameter name in
9588 equivalent expression.
9589
71c254a6
JM
95902012-02-19 Joseph Myers <joseph@codesourcery.com>
9591
9592 [BZ #11174]
9593 * manual/users.texi (seteuid): Consistently use neweuid for
9594 argument name.
9595
16d2c631
JM
95962012-02-19 Joseph Myers <joseph@codesourcery.com>
9597
9598 [BZ #13704]
9599 * manual/nss.texi (Services in the NSS configuration): Correct
9600 list of services in example configuration file.
9601
cd837b09
NB
96022012-02-19 Nick Bowler <nbowler@draconx.ca>
9603
9604 [BZ #11322]
9605 * manual/arith.texi: Remove statements about negative zero
9606 behaving identically to zero.
9607
02c4bbad
JM
96082012-02-18 Joseph Myers <joseph@codesourcery.com>
9609
9610 [BZ #5993]
9611 * manual/install.texi: Do not document upgrading from libc5.
9612
366842e7
JM
96132012-02-18 Joseph Myers <joseph@codesourcery.com>
9614
9615 [BZ #4596]
9616 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9617
dd54084d
DM
96182012-02-18 David S. Miller <davem@davemloft.net>
9619
9620 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9621 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9622 %o7 across the call.
9623 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9624 instead.
9625 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9626 SETUP_PIC_REG_LEAF.
9627 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9628 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9629 * sysdeps/sparc/crtn.S: Likewise.
9630
2bcc53a3
UD
96312012-02-17 Ulrich Drepper <drepper@gmail.com>
9632
9633 * aout/Makefile: Remove.
9634
09c093b5
RK
96352012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9636
9637 [BZ #13058]
9638 * manual/examples/argp-ex1.c (main): Format definition in GNU
9639 style.
9640 * manual/examples/argp-ex2.c (main): Likewise.
9641 * manual/examples/argp-ex3.c (main): Likewise.
9642 * manual/examples/argp-ex4.c (main): Likewise.
9643 * manual/examples/longopt.c (main): Use new-style prototype
9644 definition.
9645 * manual/examples/strncat.c (main): Specify return type and use
9646 (void) for arguments.
9647 * manual/examples/subopt.c (main): Use char **argv argument.
9648
2ee633a2
JM
96492012-02-17 Joseph Myers <joseph@codesourcery.com>
9650
9651 [BZ #5077]
9652 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9653 rounding modes.
9654
0520adde
FB
96552012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9656
9657 [BZ #6907]
9658 * manual/string.texi (strchr): Change when strchrnul is
9659 recommended.
9660
3f4081cd
DGM
96612012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9662
9663 [BZ #174]
9664 * manual/locale.texi (setlocale): Document LOCPATH.
9665
d1b10e78
JM
96662012-02-17 Joseph Myers <joseph@codesourcery.com>
9667
9668 [BZ #10210]
9669 * manual/process.texi (execle): Move @dots{} before last argument.
9670
79c6869c
PB
96712012-02-17 Paul Bolle <pebolle@tiscali.nl>
9672
9673 [BZ #12047]
9674 * manual/charset.texi (Generic Charset Conversion): Fix typo
9675 (LC_TYPE -> LC_CTYPE).
9676
cc6e48bc
NB
96772012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9678
9679 [BZ #5805]
9680 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9681 (scalbnf): Likewise.
9682 (scalbnl): Likewise.
9683 (scalbln): Likewise.
9684 (scalblnf): Likewise.
9685 (scalblnl): Likewise.
9686 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9687 (vwarnx): Likewise.
9688 (verr): Likewise.
9689 (verrx): Likewise.
9690 * manual/filesys.texi (telldir): Use braces around return type.
9691 * manual/llio.texi (mmap): Add space after comma.
9692 (mmap64): Likewise.
9693 * manual/math.texi (jn): Use @var{} on parameter names.
9694 (jnf): Likewise.
9695 (jnl): Likewise.
9696 (yn): Likewise.
9697 (ynf): Likewise.
9698 (ynl): Likewise.
9699 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9700 line.
9701 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9702 "...".
9703 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9704 (sched_get_priority_max): Likewise.
9705 * manual/signal.texi (sigvec): Add space after comma.
9706 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9707 names.
9708 (if_indextoname): Likewise.
9709 (if_freenameindex): Likewise.
9710 (sendto): Use ',' instead of '.' in prototype.
9711 * manual/startup.texi (syscall): Use @dots{} instead of literal
9712 "...".
9713 * manual/stdio.texi (__fpending): Separate initial words of
9714 paragraph from @deftypefun line.
9715 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9716 "...".
9717 (vsyslog): Use @var{} on parameter names.
9718 * manual/terminal.texi (stty): Use @var{} on parameter names.
9719 * manual/users.texi (getutmp): Use @var{} on parameter names.
9720 (getutmpx): Likewise.
9721
5b23062f
JM
97222012-02-17 Joseph Myers <joseph@codesourcery.com>
9723
9724 [BZ #6884]
9725 * manual/stdio.texi (fopen): Fix typos in description of
9726 ",ccs=STRING".
9727
8dee4833
AJ
97282012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9729
9730 [BZ #4026]
9731 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9732 get clock_id definition.
9733
9078ce93
TS
97342012-02-17 Thomas Schwinge <thomas@schwinge.name>
9735
9736 [BZ #4822]
9737 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9738 (madvise): Cast every argument to void on its own.
9739
3835c55f
JM
97402012-02-17 Joseph Myers <joseph@codesourcery.com>
9741
9742 [BZ #9902]
9743 * manual/startup.texi (Exit Status): Fix typo.
9744
35c47e37
JM
97452012-02-17 Joseph Myers <joseph@codesourcery.com>
9746
9747 [BZ #10140]
9748 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9749 * manual/examples/argp-ex2.c: Likewise.
9750 * manual/examples/argp-ex3.c: Likewise.
9751
e3b69ca7
RH
97522012-02-16 Richard Henderson <rth@redhat.com>
9753
9754 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9755 * sysdeps/s390/s390-32/initfini.c: Remove.
9756 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9757 * sysdeps/s390/s390-64/initfini.c: Remove.
9758
df83af67
KK
97592012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9760
9761 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9762 compiler output for sysdeps/generic/initfini.c.
9763 * sysdeps/sh/elf/initfini.c: Remove file.
9764
f63f3380
DM
97652012-02-16 David S. Miller <davem@davemloft.net>
9766
fb59b3a4
DM
9767 [BZ #11494]
9768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9769
f63f3380
DM
9770 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9771 * sysdeps/sparc/crti.S: New file.
9772 * sysdeps/sparc/crtn.S: New file.
9773 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9774 * sysdeps/sparc/sparc64/Makefile: Likewise.
9775
df6a4a4a
MF
97762012-02-15 Mike Frysinger <vapier@gentoo.org>
9777
6dd8f3dc 9778 [BZ #3335]
df6a4a4a
MF
9779 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9780
1cac7236
RM
97812012-02-15 Roland McGrath <roland@hack.frob.com>
9782
d2c736f8
RM
9783 [BZ #4822]
9784 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9785
1cac7236
RM
9786 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9787 (write, read, close): Likewise.
9788 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9789
8e475601
JM
97902012-02-15 Joseph Myers <joseph@codesourcery.com>
9791
9792 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9793 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9794 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9795 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9796 <bits/signalfd.h>.
9797 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9799 bits/signalfd.h.
9800
ed656b40
MP
98012012-02-14 Marek Polacek <polacek@redhat.com>
9802
9803 * sysdeps/x86_64/crti.S: New file.
9804 * sysdeps/x86_64/crtn.S: New file.
9805 * sysdeps/x86_64/elf/initfini.c: Remove file.
9806
2a979d3a
JM
98072012-02-13 Joseph Myers <joseph@codesourcery.com>
9808
9809 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9810 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9812 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9813 <bits/inotify.h>.
9814 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9816 bits/inotify.h.
9817
2a418ac3
JM
98182012-02-13 Joseph Myers <joseph@codesourcery.com>
9819
9820 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9821 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9822 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9823 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9824 <bits/eventfd.h>.
9825 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9827 bits/eventfd.h.
9828
fb779be7
TS
98292012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9830
e19e83c5
RM
9831 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9832 __feraiseexcept instead of feraiseexcept.
7c35ffed 9833
fb779be7
TS
9834 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9835 nanosleep invocations.
9836 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9837 strings, and add error checking for a nanosleep invocations.
9838
59ba27a6
PE
98392012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9840
9841 Replace FSF snail mail address with URLs, as per GNU coding standards.
9842 Most of the snail mail addresses were wrong anyway, and omitting
9843 them makes the source code easier to maintain. Almost all of the
9844 changes are to license notices and to locale LC_IDENTIFICATION
9845 addresses, except for this one:
9846 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9847 not its snail mail address.
9848
57b957eb
RH
98492012-02-09 Richard Henderson <rth@twiddle.net>
9850
af850b1c
RH
9851 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9852 of kernel-features.h.
9853
57b957eb
RH
9854 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9855
6b73181a
MP
98562012-02-08 Marek Polacek <polacek@redhat.com>
9857
9858 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9859 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9860 * sysdeps/gnu/_G_config.h: Likewise.
9861 * sysdeps/generic/_G_config.h: Likewise.
9862
26ecc33a
AS
98632012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9864
6c6dbc63
AS
9865 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9866 tests.
9867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9868
e216c012
AS
9869 * sysdeps/powerpc/powerpc32/crti.S: New file.
9870 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9871 * sysdeps/powerpc/powerpc64/crti.S: New file.
9872 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9873
26ecc33a
AS
9874 * Makeconfig (have-initfini): Don't set.
9875 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9876 * configure.in (nopic_initfini): Don't substitute.
9877 * config.h.in (HAVE_INITFINI): Don't #undef.
9878 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9879 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9880
3add8e13
JM
98812012-02-08 Joseph Myers <joseph@codesourcery.com>
9882
9883 Support crti.S and crtn.S provided directly by architectures.
9884 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9885 [crti.S in sysdirs] (omit-deps): Likewise.
9886 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9887 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9888 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9889 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9890 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9891 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9892 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9893 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9894 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9895 compiler output for sysdeps/generic/initfini.c.
9896 * sysdeps/i386/elf/Makefile: Remove file.
9897 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9898
a22f12b4
MP
98992012-02-07 Marek Polacek <polacek@redhat.com>
9900
9901 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9902 * sysdeps/gnu/_G_config.h: Likewise.
9903 * sysdeps/mach/hurd/_G_config.h: Likewise.
9904
148cf100
MP
99052012-02-07 Marek Polacek <polacek@redhat.com>
9906
9907 * math/Makefile (tests): Add tst-CMPLX2.
9908 * math/tst-CMPLX2.c: New file.
9909
cfdc0dd7
AS
99102012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9911
84ba42c4
AS
9912 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9913
cfdc0dd7
AS
9914 * math/libm-test.inc (jn_test): Add missing L suffix.
9915
622c86f4
MP
99162012-02-06 Marek Polacek <polacek@redhat.com>
9917
9918 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9919 * sysdeps/i386/fpu/e_powf.S: Likewise.
9920 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9921 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9922 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9923 * sysdeps/i386/fpu/e_pow.S: Likewise.
9924 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9925 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9926 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9927 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9928 * sysdeps/i386/fpu/e_log2.S: Likewise.
9929 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9930 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9931 * sysdeps/i386/fpu/e_powl.S: Likewise.
9932 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9933 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9934 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9935 * sysdeps/i386/fpu/e_logl.S: Likewise.
9936 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9937 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9938 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9939 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9940 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9941 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9942 * sysdeps/i386/fpu/e_log.S: Likewise.
9943 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9944 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9945 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9946 * sysdeps/i386/fpu/e_logf.S: Likewise.
9947 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9948 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9949 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9950 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9951 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9952 * sysdeps/i386/fpu/e_log10.S: Likewise.
9953 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9954 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9955 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9956 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9957 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9958 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9959 * sysdeps/i386/asm-syntax.h: Likewise.
9960 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9961 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9962 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9963 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9964 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9965 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9966 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9967 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9968 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9969 * sysdeps/powerpc/sysdep.h: Likewise.
9970 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9971 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9972
d4a54ac6
JM
99732012-02-06 Joseph Myers <joseph@codesourcery.com>
9974
9975 [BZ #411]
9976 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9977
314054ea
JM
99782012-02-06 Joseph Myers <joseph@codesourcery.com>
9979
9980 * sysdeps/i386/sysdep.h: Include <features.h>.
9981 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9982 version.
9983
d8e0ca50
JM
99842012-02-05 Joseph Myers <joseph@codesourcery.com>
9985
9986 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9987 Define.
9988 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9989 LOAD_PIC_REG_STR.
9990
b1da7dd9
JM
99912012-02-03 Joseph Myers <joseph@codesourcery.com>
9992
9993 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9994 (SETUP_PIC_REG): Use GET_PC_THUNK.
9995 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9996 macro.
9997
9a1d9254
JM
99982012-02-03 Joseph Myers <joseph@codesourcery.com>
9999
10000 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10001 for non-PIC compilation.
10002 (SETUP_PIC_REG): Add .p2align directive.
10003 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10004 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10005 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10006 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10007 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10008 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10009 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10010 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10011 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10012 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10013 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10014 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10015 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10016 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10017 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10018 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10019 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10020 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10021 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10025 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10026 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10029 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10030 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10031 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10032 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10033 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10034 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10035 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10036 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10037 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10038 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10039 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10040 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10041 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10042 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10043 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10044
65dc3b75
JM
100452012-02-03 Joseph Myers <joseph@codesourcery.com>
10046
10047 * math/tst-CMPLX.c: Include <stdio.h>.
10048
d55bf177
JM
100492012-01-31 Joseph Myers <joseph@codesourcery.com>
10050
10051 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10052 float.
10053 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10054 * sysdeps/sparc/bits/mathdef.h: Likewise.
10055
69db4f8f
MP
100562012-01-31 Marek Polacek <polacek@redhat.com>
10057
10058 * libio/libio.h: Don't define _PARAMS.
10059 * locale/programs/config.h: Don't define PARAMS.
10060 * stdlib/strtol_l.c: Likewise.
10061 (__strtol_l): Remove PARAMS from the prototype.
10062
41b81892
UD
100632012-01-31 Ulrich Drepper <drepper@gmail.com>
10064
3b49edc0
UD
10065 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10066 names. Just use the correct names. Remove unnecessary wrapper
10067 functions.
10068 * malloc/arena.c: Likewise.
10069 * malloc/hooks.c: Likewise.
10070
41b81892
UD
10071 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10072 ARENA_TEST says not to. Simplify test for creation of a new arena.
10073 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10074
27a25b6e
UD
100752012-01-30 Ulrich Drepper <drepper@gmail.com>
10076
10077 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10078 into tail calls.
10079 (update_get_addr): New function.
10080 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10081 GET_ADDR_MODULE parameter.
10082
c8a89e7d
JM
100832012-01-30 Joseph Myers <joseph@codesourcery.com>
10084
10085 * crypt/cert.c: Remove __STDC__ conditionals.
10086 * crypt/crypt-entry.c: Likewise.
10087 * crypt/crypt_util.c: Likewise.
10088 * libio/filedoalloc.c: Likewise.
10089 * libio/fileops.c: Likewise.
10090 * libio/genops.c: Likewise.
10091 * libio/iofclose.c: Likewise.
10092 * libio/iofdopen.c: Likewise.
10093 * libio/iofopen.c: Likewise.
10094 * libio/iofopen64.c: Likewise.
10095 * libio/iogetdelim.c: Likewise.
10096 * libio/iopopen.c: Likewise.
10097 * libio/obprintf.c: Likewise.
10098 * libio/oldfileops.c: Likewise.
10099 * libio/oldiofclose.c: Likewise.
10100 * libio/oldiofdopen.c: Likewise.
10101 * libio/oldiofopen.c: Likewise.
10102 * libio/oldiopopen.c: Likewise.
10103 * libio/wfiledoalloc.c: Likewise.
10104 * libio/wgenops.c: Likewise.
10105 * locale/programs/xmalloc.c: Likewise.
10106 * misc/syslog.c: Likewise.
10107 * stdio-common/xbug.c: Likewise.
10108 * string/memchr.c: Likewise.
10109 * string/memcmp.c: Likewise.
10110 * string/memrchr.c: Likewise.
10111 * string/rawmemchr.c: Likewise.
10112 * sysdeps/posix/getcwd.c: Likewise.
10113 * time/strftime_l.c: Likewise.
10114
3b100462
JM
101152012-01-30 Joseph Myers <joseph@codesourcery.com>
10116
10117 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10118 * config.make.in (config-cflags-sse2avx): Define.
10119 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10120 Fix typo.
10121
607998af
CM
101222012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10123
10124 * scripts/config.guess: Update from upstream config git repository.
10125 * scripts/config.sub: Likewise.
10126
3601428f
CM
101272012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10128
3ac8b282
CM
10129 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10130 (EM_NUM): Update.
10131 (R_TILEPRO_*, R_TILEGX_*): New macros.
10132
e034841e
CM
10133 * scripts/firstversions.awk: Fix bug in version range handling.
10134
540d7568
CM
10135 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10136
3601428f
CM
10137 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10138
463de862
CM
10139 * include/sys/epoll.h: New file.
10140 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10141 libc_hidden_def.
10142
73139a76
UD
101432012-01-28 Ulrich Drepper <drepper@gmail.com>
10144
96bc5b45
UD
10145 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10146 Avoid unnecessary __WORDSIZE == 64 test.
10147 (fmaxf): Use VEX format if possible.
10148 (fmax): Likewise.
10149 (fminf): Likewise.
10150 (fmin): Likewise.
10151
56f6f6a2
UD
10152 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10153 * math/math_private.h: Remove libc_fegetround* and
10154 libc_fesetround*.
10155 * sysdeps/i386/configure.in: Check for -msse2avx.
10156 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10157 also if SSE2AVX is defined.
10158 Remove libc_fegetround* and libc_fesetround*.
10159 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10160 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10162 of HAS_YMM_USABLE.
10163 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10164 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10165 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10166 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10167 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10168
73139a76
UD
10169 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10170
d73f93a4
AZ
101712012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10172
10173 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10174 size is not set.
10175 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10176
6ee65ed6
UD
101772012-01-27 Ulrich Drepper <drepper@gmail.com>
10178
10179 [BZ #13618]
10180 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10181 relocation.
10182 * Makeconfig (libm): Define.
10183 * elf/Makefile: Add rules to build and run tst-relsort1.
10184 * elf/tst-relsort1.c: New file.
10185 * elf/tst-relsort1mod1.c: New file.
10186 * elf/tst-relsort1mod2.c: New file.
10187
8db21882
JM
101882012-01-27 Joseph Myers <joseph@codesourcery.com>
10189
10190 * math/s_ldexp.c: Remove __STDC__ conditionals.
10191 * math/s_ldexpf.c: Likewise.
10192 * math/s_ldexpl.c: Likewise.
10193 * math/s_nextafter.c: Likewise.
10194 * math/s_nexttowardf.c: Likewise.
10195 * math/s_significand.c: Likewise.
10196 * math/s_significandf.c: Likewise.
10197 * math/s_significandl.c: Likewise.
10198 * math/w_jnl.c: Likewise.
10199 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10200 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10201 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10202 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10203 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10218 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10219 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10220 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10221 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10222 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10223 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10224 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10225 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10226 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10227 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10228 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10229 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10230 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10231 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10232 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10233 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10234 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10235 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10236 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10237 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10238 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10239 * sysdeps/ieee754/k_standard.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10319 * sysdeps/ieee754/s_matherr.c: Likewise.
10320 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10321 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10322 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10324
965a54a4
JM
103252012-01-26 Joseph Myers <joseph@codesourcery.com>
10326
10327 * crypt/md5.h: Remove __STDC__ conditionals.
10328 * libio/libioP.h: Likewise.
10329 * locale/programs/config.h: Likewise.
10330 * sysdeps/generic/sysdep.h: Likewise.
10331 * sysdeps/i386/asm-syntax.h: Likewise.
10332 * sysdeps/s390/asm-syntax.h: Likewise.
10333 * sysdeps/unix/sysdep.h: Likewise.
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10336
7071ad79
JM
103372012-01-26 Joseph Myers <joseph@codesourcery.com>
10338
10339 * libio/libio.h: Remove __STDC__ conditionals.
10340 * malloc/obstack.h: Likewise.
10341 * math/complex.h: Likewise.
10342 * math/math.h: Likewise.
10343 * sysdeps/generic/_G_config.h: Likewise.
10344 * sysdeps/gnu/_G_config.h: Likewise.
10345 * sysdeps/mach/hurd/_G_config.h: Likewise.
10346 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10347 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10348 * sysdeps/sparc/bits/mathdef.h: Likewise.
10349
afc5ed09
UD
103502012-01-26 Ulrich Drepper <drepper@gmail.com>
10351
10352 [BZ #13583]
10353 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10354 Clean up HAS_* macros.
afc5ed09 10355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10356 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10357 possible.
10358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10359 HAS_AVX.
10360 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10361 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10362 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10363 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10364 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10365
bdb6de1d
JM
103662012-01-25 Joseph Myers <joseph@codesourcery.com>
10367
10368 * elf/tst-unique3.cc (gets): Remove declaration.
10369 * elf/tst-unique3lib.cc (gets): Likewise.
10370 * elf/tst-unique3lib2.cc (gets): Likewise.
10371 * elf/tst-unique4.cc (gets): Likewise.
10372
b15549e6
UD
103732012-01-24 Ulrich Drepper <drepper@gmail.com>
10374
10375 * include/stdio.h: Add C++ protection. Add gets declarations and
10376 definitions.
10377 * debug/tst-chk1.c: Don't declare gets here.
10378 * stdio-common/tst-gets.c: Likewise.
10379
a037381f
JM
103802012-01-24 Joseph Myers <joseph@codesourcery.com>
10381
10382 * posix/glob: Remove directory.
10383
f1d4aa75
JM
103842012-01-24 Joseph Myers <joseph@codesourcery.com>
10385
10386 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10387
81c0c964
PT
103882012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10389
10390 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10391 of the non-standard EPFNOSUPPORT.
10392
0ea698ae
ST
103932011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10394
10395 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10396 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10397 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10398
d220b117
UD
103992012-01-21 Ulrich Drepper <drepper@gmail.com>
10400
10401 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10402
3e1aa84e
UD
104032012-01-20 Ulrich Drepper <drepper@gmail.com>
10404
10405 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10406 transient errors.
10407 * nscd/grpcache.c (cache_addgr): Likewise.
10408 * nscd/hstcache.c (cache_addhst): Likewise.
10409 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10410 * nscd/pwdcache.c (cache_addpw): Likewise.
10411 * nscd/servicescache.c (cache_addserv): Likewise.
10412
400aa020
UD
104132012-01-16 Ulrich Drepper <drepper@gmail.com>
10414
d77e7869
UD
10415 * malloc/malloc.c: Various cleanups.
10416 * malloc/hooks.c: Likewise.
10417
400aa020
UD
10418 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10419 * stdlib/bug-fmtmsg1.c: New file.
10420
10421 * stdlib/fmtmsg.c (init): Add missing unlock.
10422 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10423
e0a309cf
MP
104242012-01-12 Marek Polacek <polacek@redhat.com>
10425
10426 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10427 and _GNU_SOURCE.
10428
929d11c7
WS
104292012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10430
10431 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10432 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10433 macro to ensure uniqueness of label name.
10434 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10435 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10436
41d0e869
UD
104372012-01-11 Ulrich Drepper <drepper@gmail.com>
10438
0cc5ed3b
UD
10439 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10440
41d0e869
UD
10441 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10442 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10443 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10444 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10445
a47a831a
UD
104462012-01-10 Ulrich Drepper <drepper@gmail.com>
10447
daa891c0
UD
10448 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10449
10450 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10451 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10453
e58ef0f2
UD
10454 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10455
a47a831a 10456 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10457 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10458 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10460
10461 * math/bits/math-finite.h: Add ldexp support.
10462
a0bfc9c7
MP
104632012-01-10 Marek Polacek <polacek@redhat.com>
10464
10465 * locale/programs/localedef.h (show_archive_content): Add noreturn
10466 attribute.
10467
d6e97a1d
UD
104682012-01-09 Ulrich Drepper <drepper@gmail.com>
10469
10470 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10471
d5835c26
UD
104722012-01-08 Ulrich Drepper <drepper@gmail.com>
10473
e5f484c6
UD
10474 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10475
d5835c26
UD
10476 * io/Makefile (headers): Add bits/poll2.h.
10477
d1f741e9
WS
104782011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10479
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10481 typo #include statement.
10482
ec09c1c4
UD
104832012-01-08 Ulrich Drepper <drepper@gmail.com>
10484
10485 * include/sys/cdefs.h: Define __attribute_alloc_size.
10486 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10487 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10488 * elf/pldd.c: Likewise.
10489 * iconv/iconv_charmap.c: Likewise.
10490 * iconv/iconvconfig.c: Likewise.
10491 * iconv/strtab.c: Likewise.
10492 * locale/programs/locale.c: Likewise.
10493 * locale/programs/localedef.h: Likewise.
10494 * locale/programs/simple-hash.c: Likewise.
10495 * nscd/nscd.h: Likewise.
10496 * nss/makedb.c: Likewise.
10497 * sysdeps/generic/ldconfig.h: Likewise.
10498 * locale/programs/localedef.c: Remove xmalloc prototype.
10499 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10500
20b38e03
PP
105012012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10502
10503 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10504 appropriate.
10505
a0da5fe1
UD
105062012-01-08 Ulrich Drepper <drepper@gmail.com>
10507
1d5a644a 10508 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10509 * math/tst-CMPLX.c: New file.
1d5a644a 10510
8784a6db
UD
10511 * math/complex.h (CMPLXL): Fix typo.
10512
d9a216c0
UD
10513 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10514 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10515 GLIBC_2.16.
10516 * debug/tst-chk1.c: Add poll and ppoll tests.
10517 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10518 * include/sys/poll.h: Add hidden proto for ppoll.
10519 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10520 * sysdeps/mach/hurd/ppoll.c: Likewise.
10521 * io/ppoll.c: Likewise.
10522 * debug/poll_chk.c: New file.
10523 * debug/ppoll_chk.c: New file.
10524 * include/bits/poll2.h: New file.
10525 * io/bits/poll2.h: New file.
10526
ac097f5c
UD
10527 [BZ #1350]
10528 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10529
2119dcfa
UD
10530 * configure.in: static is always set to yes. Remove.
10531 * config.make.in: Don't set build-static.
10532 * Makeconfig: Remove use of build-static.
10533 * dlfcn/Makefile: Likewise.
10534 * elf/Makefile: Likewise.
10535 * math/Makefile: Likewise.
10536 * misc/Makefile: Likewise.
10537 * nptl/Makefile: Likewise.
10538 * sysdeps/mach/hurd/Makefile: Likewise.
10539
121766a9
UD
10540 * configure.in: PWD_P is not used anymore.
10541 * config.make.in: Remove PWD_P entry.
10542
51a1d39c 10543 * configure.in: Remove last remnants of RANLIB.
8720d066 10544 No need to check for signed size_t anymore.
215f4bdc
UD
10545 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10546 and IA-64.
3857022a 10547 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10548 * aclocal.m4: Likewise.
10549
d3ed7225
UD
10550 * wcsmbs/mbrtoc16.c: Implement using towc function.
10551 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10552 * wcsmbs/wcsmbsload.c: Likewise.
10553 * iconv/gconv_simple.c: Likewise.
10554 * iconv/gconv_int.h: Likewise.
10555 * iconv/gconv_builtin.h: Likewise.
10556 * iconv/iconv_prog.c: Remove CHAR16 handling.
10557
10558 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10559
10560 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10561
a0da5fe1
UD
10562 * configure.in: Remove --with-elf and --enable-bounded options.
10563 Dont set base_machine for ia64. More non-ELF conditions removed.
10564 Remove testing and setting of leading underscore information.
10565 * config.make.in (build-bounded): Set to no.
10566 * config.h.in: Remove NO_UNDERSCORES entry.
10567 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10568 them.
10569 * csu/start.c: Remove !NO_UNDERSCORE code.
10570 * locale/localeinfo.h: Likewise.
10571 * sysdeps/generic/machine-gmon.h: Likewise.
10572 * sysdeps/generic/sysdep.h: Likewise.
10573 * sysdeps/i386/sysdep.h: Likewise.
10574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10575 * sysdeps/mach/sysdep.h: Likewise.
10576 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10577 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10578 * sysdeps/sh/sysdep.h: Likewise.
10579 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10580 * sysdeps/unix/i386/sysdep.S: Likewise.
10581 * sysdeps/unix/sparc/start.c: Likewise.
10582 * sysdeps/unix/sparc/sysdep.S: Likewise.
10583 * sysdeps/unix/sparc/sysdep.h: Likewise.
10584 * sysdeps/unix/start.c: Likewise.
10585 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10586 * sysdeps/x86_64/sysdep.h: Likewise.
10587
df78418a
UD
105882012-01-07 Ulrich Drepper <drepper@gmail.com>
10589
a784e502
UD
10590 [BZ #13553]
10591 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10592 for non-gcc.
10593 * argp/argp-fmtstream.h: Use const instead __const.
10594 * argp/argp.h: Likewise.
10595 * assert/assert.h: Likewise.
10596 * bits/fenv.h: Likewise.
10597 * bits/sched.h: Likewise.
10598 * bits/sigset.h: Likewise.
10599 * bits/sigthread.h: Likewise.
10600 * catgets/nl_types.h: Likewise.
10601 * conform/data/pthread.h-data: Likewise.
10602 * crypt/crypt-private.h: Likewise.
10603 * crypt/crypt.h: Likewise.
10604 * crypt/crypt_util.c: Likewise.
10605 * ctype/ctype.h: Likewise.
10606 * debug/execinfo.h: Likewise.
10607 * debug/mbsnrtowcs_chk.c: Likewise.
10608 * debug/mbsrtowcs_chk.c: Likewise.
10609 * debug/wcsnrtombs_chk.c: Likewise.
10610 * debug/wcsrtombs_chk.c: Likewise.
10611 * debug/wcstombs_chk.c: Likewise.
10612 * dirent/dirent.h: Likewise.
10613 * dlfcn/dlfcn.h: Likewise.
10614 * elf/neededtest4.c: Likewise.
10615 * grp/grp.h: Likewise.
10616 * gshadow/gshadow.h: Likewise.
10617 * iconv/gconv.h: Likewise.
10618 * iconv/gconv_int.h: Likewise.
10619 * iconv/gconv_simple.c: Likewise.
10620 * iconv/iconv.h: Likewise.
10621 * iconv/loop.c: Likewise.
10622 * iconv/skeleton.c: Likewise.
10623 * include/aio.h: Likewise.
10624 * include/aliases.h: Likewise.
10625 * include/argz.h: Likewise.
10626 * include/arpa/inet.h: Likewise.
10627 * include/assert.h: Likewise.
10628 * include/dirent.h: Likewise.
10629 * include/dlfcn.h: Likewise.
10630 * include/execinfo.h: Likewise.
10631 * include/fcntl.h: Likewise.
10632 * include/fenv.h: Likewise.
10633 * include/glob.h: Likewise.
10634 * include/grp.h: Likewise.
10635 * include/libintl.h: Likewise.
10636 * include/mntent.h: Likewise.
10637 * include/netdb.h: Likewise.
10638 * include/pwd.h: Likewise.
10639 * include/rpc/netdb.h: Likewise.
10640 * include/sched.h: Likewise.
10641 * include/search.h: Likewise.
10642 * include/shadow.h: Likewise.
10643 * include/signal.h: Likewise.
10644 * include/stdio.h: Likewise.
10645 * include/stdlib.h: Likewise.
10646 * include/string.h: Likewise.
10647 * include/sys/socket.h: Likewise.
10648 * include/sys/stat.h: Likewise.
10649 * include/sys/statfs.h: Likewise.
10650 * include/sys/statvfs.h: Likewise.
10651 * include/sys/syslog.h: Likewise.
10652 * include/sys/time.h: Likewise.
10653 * include/sys/uio.h: Likewise.
10654 * include/time.h: Likewise.
10655 * include/unistd.h: Likewise.
10656 * include/utmp.h: Likewise.
10657 * include/wchar.h: Likewise.
10658 * include/wctype.h: Likewise.
10659 * inet/aliases.h: Likewise.
10660 * inet/arpa/inet.h: Likewise.
10661 * inet/netinet/ether.h: Likewise.
10662 * inet/netinet/in.h: Likewise.
10663 * intl/libintl.h: Likewise.
10664 * io/bits/fcntl2.h: Likewise.
10665 * io/fcntl.h: Likewise.
10666 * io/ftw.h: Likewise.
10667 * io/sys/poll.h: Likewise.
10668 * io/sys/stat.h: Likewise.
10669 * io/sys/statfs.h: Likewise.
10670 * io/sys/statvfs.h: Likewise.
10671 * io/utime.h: Likewise.
10672 * libio/bits/stdio.h: Likewise.
10673 * libio/bits/stdio2.h: Likewise.
10674 * libio/libio.h: Likewise.
10675 * libio/libioP.h: Likewise.
10676 * libio/stdio.h: Likewise.
10677 * locale/lc-ctype.c: Likewise.
10678 * locale/locale.h: Likewise.
10679 * login/utmp.h: Likewise.
10680 * malloc/arena.c: Likewise.
10681 * malloc/malloc.c: Likewise.
10682 * malloc/malloc.h: Likewise.
10683 * malloc/mcheck.c: Likewise.
10684 * malloc/mtrace.c: Likewise.
10685 * math/bits/mathcalls.h: Likewise.
10686 * math/fenv.h: Likewise.
10687 * math/math_private.h: Likewise.
10688 * misc/bits/error.h: Likewise.
10689 * misc/bits/syslog.h: Likewise.
10690 * misc/err.h: Likewise.
10691 * misc/error.h: Likewise.
10692 * misc/fstab.h: Likewise.
10693 * misc/mntent.h: Likewise.
10694 * misc/regexp.h: Likewise.
10695 * misc/search.h: Likewise.
10696 * misc/sgtty.h: Likewise.
10697 * misc/sys/mman.h: Likewise.
10698 * misc/sys/syslog.h: Likewise.
10699 * misc/sys/uio.h: Likewise.
10700 * misc/sys/xattr.h: Likewise.
10701 * misc/ttyent.h: Likewise.
10702 * nis/rpcsvc/ypclnt.h: Likewise.
10703 * nss/nss.h: Likewise.
10704 * posix/bits/unistd.h: Likewise.
10705 * posix/fnmatch.h: Likewise.
10706 * posix/glob.h: Likewise.
10707 * posix/sched.h: Likewise.
10708 * posix/spawn.h: Likewise.
10709 * posix/sys/wait.h: Likewise.
10710 * posix/unistd.h: Likewise.
10711 * posix/wordexp.h: Likewise.
10712 * pwd/pwd.h: Likewise.
10713 * resolv/netdb.h: Likewise.
10714 * resource/sys/resource.h: Likewise.
10715 * rt/aio.h: Likewise.
10716 * rt/bits/mqueue2.h: Likewise.
10717 * rt/mqueue.h: Likewise.
10718 * shadow/shadow.h: Likewise.
10719 * signal/signal.h: Likewise.
10720 * socket/send.c: Likewise.
10721 * socket/sendto.c: Likewise.
10722 * socket/sys/socket.h: Likewise.
10723 * stdio-common/printf.h: Likewise.
10724 * stdlib/bits/stdlib.h: Likewise.
10725 * stdlib/fmtmsg.h: Likewise.
10726 * stdlib/monetary.h: Likewise.
10727 * stdlib/stdlib.h: Likewise.
10728 * stdlib/ucontext.h: Likewise.
10729 * streams/stropts.h: Likewise.
10730 * string/argz.h: Likewise.
10731 * string/bits/string2.h: Likewise.
10732 * string/string.h: Likewise.
10733 * string/strings.h: Likewise.
10734 * sunrpc/rpc/auth.h: Likewise.
10735 * sunrpc/rpc/auth_des.h: Likewise.
10736 * sunrpc/rpc/clnt.h: Likewise.
10737 * sunrpc/rpc/netdb.h: Likewise.
10738 * sunrpc/rpc/pmap_clnt.h: Likewise.
10739 * sunrpc/rpc/xdr.h: Likewise.
10740 * sysdeps/generic/inttypes.h: Likewise.
10741 * sysdeps/generic/net/if.h: Likewise.
10742 * sysdeps/generic/sys/swap.h: Likewise.
10743 * sysdeps/gnu/net/if.h: Likewise.
10744 * sysdeps/gnu/utmpx.h: Likewise.
10745 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10746 * sysdeps/i386/i486/bits/string.h: Likewise.
10747 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10748 * sysdeps/s390/bits/string.h: Likewise.
10749 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10750 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10751 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10752 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10753 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10754 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10755 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10756 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10757 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10758 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10759 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10760 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10761 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10762 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10763 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10764 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10765 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10769 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10770 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10771 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10772 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10773 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10774 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10775 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10776 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10777 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10778 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10779 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10780 * sysvipc/sys/ipc.h: Likewise.
10781 * sysvipc/sys/msg.h: Likewise.
10782 * sysvipc/sys/sem.h: Likewise.
10783 * sysvipc/sys/shm.h: Likewise.
10784 * termios/termios.h: Likewise.
10785 * time/sys/time.h: Likewise.
10786 * time/time.h: Likewise.
10787 * wcsmbs/bits/wchar2.h: Likewise.
10788 * wcsmbs/uchar.h: Likewise.
10789 * wcsmbs/wchar.h: Likewise.
10790 * wctype/wctype.h: Likewise.
10791
0269750c
UD
10792 [BZ #13551]
10793 * Makeconfig: Remove all but ELF support including AIX support.
10794 * Makerules: Likewise.
10795 * config.h.in: Likewise.
10796 * config.make.in: Likewise.
10797 * configure: Likewise.
10798 * configure.in: Likewise.
10799 * csu/Makefile: Likewise.
10800 * csu/version.c: Likewise.
10801 * debug/Makefile: Likewise.
10802 * dlfcn/Makefile: Likewise.
10803 * elf/Makefile: Likewise.
10804 * extra-lib.mk: Likewise.
10805 * iconv/Makefile: Likewise.
10806 * include/libc-symbols.h: Likewise.
10807 * include/shlib-compat.h: Likewise.
10808 * resolv/Makefile: Likewise.
10809 * resolv/res_libc.c: Likewise.
10810 * rt/Makefile: Likewise.
10811 * sysdeps/i386/asm-syntax.h: Likewise.
10812 * sysdeps/i386/sysdep.h: Likewise.
10813 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10814 * sysdeps/mach/sysdep.h: Likewise.
10815 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10816 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10817 * sysdeps/s390/asm-syntax.h: Likewise.
10818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10820 * sysdeps/sh/sysdep.h: Likewise.
10821 * sysdeps/unix/sparc/sysdep.h: Likewise.
10822 * sysdeps/wordsize-32/divdi3.c: Likewise.
10823 * sysdeps/x86_64/sysdep.h: Likewise.
10824
00bbd29b
UD
10825 * argp/Versions: Remove _argp_unlock_xxx.
10826
10827 [BZ #13559]
10828 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10829 * abilist/libBrokenLocale.abilist: Likewise.
10830 * abilist/libanl.abilist: Likewise.
10831 * abilist/libc.abilist: Likewise.
10832 * abilist/libcrypt.abilist: Likewise.
10833 * abilist/libdl.abilist: Likewise.
10834 * abilist/libm.abilist: Likewise.
10835 * abilist/libnsl.abilist: Likewise.
10836 * abilist/libpthread.abilist: Likewise.
10837 * abilist/libresolv.abilist: Likewise.
10838 * abilist/librt.abilist: Likewise.
10839 * abilist/libthread_db.abilist: Likewise.
10840 * abilist/libutil.abilist: Likewise.
10841 * abilist/libnss_db.abilist: New file.
10842
10843 * scripts/abilist.awk: Add support for indirect functions.
10844
a2693a0e
UD
10845 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10846
3f05895f
UD
10847 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10848
ecb6fb48
UD
10849 * shlib-versions: Remove entries for ports architectures.
10850
664f8cb9
UD
10851 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10852 files in ports.
10853 * elf/stackguard-macros.h: Remove support for IA-64.
10854 * elf/tst-auditmod1.c: Likewise.
10855 * sysdeps/generic/ldsodefs.h: Likewise.
10856
7ae81d88
UD
10857 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10858 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10859 configure files.
10860
bdeba135
UD
10861 [BZ #13552]
10862 * configure.in: Remove --enable-omitfp support.
10863 * FAQ.in: Adjust.
10864 * config.make.in: Likewise.
10865 * Makeconfig: Likewise.
10866 * manual/install.texi: Likewise.
10867
d75a0a62
UD
10868 In case anyone cares, the IA-64 architecture could move to ports.
10869 * sysdeps/ia64/*: Removed.
10870 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10871 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10872
dcc9756b
UD
10873 [BZ #13555]
10874 * configure.in: Remove entries for unsupported architectures.
10875
d3761ebc 10876 [BZ #13533]
9954432e
UD
10877 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10878 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10879 routines.
10880 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10881 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10882 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10883 fall back to using wcrtomb.
10884 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10885 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10886 renaming.
10887 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10888 * wcsmbs/tst-c16c32-1.c: New file.
10889
10890 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10891 local variable.
10892
c3a87236
UD
10893 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10894
28926a1b
UD
10895 * elf/tst-unique3.cc: Add explicit declaration of gets.
10896 * elf/tst-unique3lib.cc: Likewise.
10897 * elf/tst-unique3lib2.cc: Likewise.
10898 * elf/tst-unique4.cc: Likewise.
10899
df78418a
UD
10900 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10901
8ecd6b2a
JM
109022012-01-06 Joseph Myers <joseph@codesourcery.com>
10903
10904 [BZ #13566]
10905 * assert/assert.h (static_assert): Don't define for C++.
10906 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10907 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10908
9f115170
UD
109092012-01-03 Ulrich Drepper <drepper@gmail.com>
10910
5e0d0300
UD
10911 * iconv/loop.c (single loop): Fix assertion in storing of
10912 remaining bytes.
10913
9f115170
UD
10914 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10915
81fb02b0
UD
109162012-01-01 Ulrich Drepper <drepper@gmail.com>
10917
10918 * posix/getconf.c: Update copyright year.
10919 * nss/getent.c: Likewise.
a316c1f6 10920 * nss/makedb.c: Likewise.
81fb02b0
UD
10921 * iconv/iconvconfig.c: Likewise.
10922 * iconv/iconv_prog.c: Likewise.
10923 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10924 * elf/pldd.c: Likewise.
10925 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10926 * catgets/gencat.c: Likewise.
10927 * csu/version.c: Likewise.
10928 * elf/ldd.bash.in: Likewise.
10929 * elf/sprof.c (print_version): Likewise.
10930 * locale/programs/locale.c: Likewise.
10931 * locale/programs/localedef.c: Likewise.
a316c1f6 10932 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10933 * nscd/nscd.c (print_version): Likewise.
10934 * debug/xtrace.sh: Likewise.
10935 * malloc/memusage.sh: Likewise.
10936 * malloc/mtrace.pl: Likewise.
10937 * debug/catchsegv.sh: Likewise.
10938
2ba92745
JJ
109392011-12-30 Jakub Jelinek <jakub@redhat.com>
10940
10941 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10942 pure attribute.
10943
dadebdae
UD
109442011-12-24 Ulrich Drepper <drepper@gmail.com>
10945
d3761ebc 10946 [BZ #13533]
db6af3eb
UD
10947 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10948 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10949 transformations.
10950 * iconv/gconv_int.h: Likewise.
10951 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10952 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10953 from libc for GLIBC_2.16.
10954 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10955 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10956 * wcsmbs/uchar.h: Really define mbstate_t.
10957 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10958 * wcsmbs/c16rtomb.c: New file.
10959 * wcsmbs/mbrtoc16.c: New file.
10960 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10961 for C/POSIX locale.
10962 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10963 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10964
dadebdae
UD
10965 * wcsmbs/wchar.h: Add missing __restrict.
10966
67371b56
UD
109672011-12-23 Ulrich Drepper <drepper@gmail.com>
10968
74033a25
UD
10969 [BZ #13532]
10970 * time/Makefile (routines): Add timespec_get.
10971 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10972 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10973 timespec for ISO C11.
10974 * time/timespec_get.c: New file.
10975 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10976 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10977
380d7e87
UD
10978 [BZ #13531]
10979 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10980 * stdlib/stdlib.h: Declare aligned_alloc.
10981 * Versions.def: Add GLIBC_2.16 for libc.
10982 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10983
4e9e7a35
UD
10984 [BZ 13527]
10985 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10986 ISO C11.
10987
380d7e87 10988 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10989 code.
10990
03a71829
UD
10991 [BZ #13528]
10992 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10993
839e283e
UD
10994 [BZ #13529]
10995 * assert/assert.h (static_assert): Define.
10996
ce5294e2 10997 * version.h: Update for 2.16 development version.
90fa7312 10998
8d44e150 10999 [BZ #13526]
d7809905
UD
11000 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11001 _ISOC11_SOURCE.
11002
c0da14cd
UD
11003 * version.h (RELEASE): Bump for 2.15 release.
11004 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11005
530a3249
MP
11006 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11007 Patch by Marek Polacek <mpolacek@redhat.com>.
11008
67371b56
UD
11009 * bits/byteswap.h: Protect long long constants with __extension__.
11010 * sysdeps/i386/bits/byteswap.h: Likewise.
11011 * sysdeps/ia64/bits/byteswap.h: Likewise.
11012 * sysdeps/s390/bits/byteswap.h: Likewise.
11013 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11014
15db4de1
LD
110152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11016
11017 [BZ #13540]
bbe315ea
LD
11018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11019 destination buffer.
15db4de1
LD
11020 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11021
2b2596b1
MP
110222011-12-23 Marek Polacek <polacek@redhat.com>
11023
11024 * elf/dl-addr.c (determine_info): Add inline keyword.
11025 * elf/tst-auditmod4b.c (check_avx): Likewise.
11026 * elf/tst-auditmod6b.c (check_avx): Likewise.
11027 * elf/tst-auditmod6c.c (check_avx): Likewise.
11028 * elf/tst-auditmod7b.c (check_avx): Likewise.
11029
70c6c246
UD
110302011-12-23 Ulrich Drepper <drepper@gmail.com>
11031
11032 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11033 !__SSE_MATH__.
11034
c044cf14
LD
110352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11036
15db4de1 11037 [BZ #13540]
c044cf14
LD
11038 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11039 processing for last bytes.
11040
6b13d9d9
BH
110412011-08-06 Bruno Haible <bruno@clisp.org>
11042
d455f537
BH
11043 [BZ #13061]
11044 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11045 U+0385, not to U+1FEE.
11046
6b13d9d9
BH
11047 [BZ #13062]
11048 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11049 entry for U+00A5 U+0301.
11050
db910efd
UD
110512011-12-22 Ulrich Drepper <drepper@gmail.com>
11052
27deeafc
UD
11053 [BZ #13166]
11054 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11055 buffer for the output is too small.
11056
aed9d171
UD
11057 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11058 optimization.
11059
db910efd
UD
11060 [BZ #13185]
11061 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11062 SSE flags if possible.
11063
2bd779ae
LD
110642011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11065
e7f9dac3 11066 [BZ #13540]
2bd779ae
LD
11067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11068 processing for last bytes.
11069
154bfc16
JM
110702011-12-22 Joseph Myers <joseph@codesourcery.com>
11071
11072 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11073 (syscall-list-default-options, syscall-list-default-condition)
11074 (syscall-list-includes): Define.
11075 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11076 list of ABIs and options and #if conditions for each ABI. Do not
11077 handle common syscalls between ABIs specially.
11078 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11079 Remove.
11080 (syscall-list-variants, syscall-list-32bit-options)
11081 (syscall-list-32bit-condition, syscall-list-64bit-options)
11082 (syscall-list-64bit-condition): Define.
11083 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11084 (syscall-list-variants, syscall-list-32bit-options)
11085 (syscall-list-32bit-condition, syscall-list-64bit-options)
11086 (syscall-list-64bit-condition): Define.
11087 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11088 Remove.
11089 (syscall-list-variants, syscall-list-32bit-options)
11090 (syscall-list-32bit-condition, syscall-list-64bit-options)
11091 (syscall-list-64bit-condition): Define.
11092 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11093 Remove.
11094 (syscall-list-variants, syscall-list-32bit-options)
11095 (syscall-list-32bit-condition, syscall-list-64bit-options)
11096 (syscall-list-64bit-condition): Define.
11097
21eaf3a5
UD
110982011-12-22 Ulrich Drepper <drepper@gmail.com>
11099
16c6f992
UD
11100 * locale/iso-639.def: Add brx entry.
11101
41043168
UD
11102 [BZ #13328]
11103 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11104 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11105
21eaf3a5
UD
11106 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11107 __feraiseexcept_renamed.
11108
e3a851a2
UD
111092011-12-21 Ulrich Drepper <drepper@gmail.com>
11110
4920765e
UD
11111 [BZ #13538]
11112 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11113 EPOLLET with unsigned values.
11114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11115 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11116
e3a851a2
UD
11117 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11118 to large cancellation.
11119 * math/s_cacoshf.c: Likewise.
11120 * math/s_cacoshl.c: Likewise.
11121
b27e24b8
RK
111222011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11123
11124 [BZ #13305]
aebefeee 11125 [BZ #12786]
b27e24b8
RK
11126 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11127 * math/s_cacoshf.c: Likewise.
11128 * math/s_cacoshl.c: Likewise.
11129
ee190f67
UD
111302011-12-21 Ulrich Drepper <drepper@gmail.com>
11131
11132 [BZ #13439]
11133 * iconv/gconv.h: Define __GCONV_SWAP.
11134 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11135 * iconvdata/utf-16.c: Likewise.
11136 * iconvdata/utf-32.c: Likewise.
11137
707f25df
AS
111382011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11139
11140 [BZ #13524]
11141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11142 numerator after shifting it by one limb.
11143
d2daaa1e
RÁE
111442011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11145
11146 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11147 under [__USE_EXTERN_INLINES].
11148
a4647e72
UD
111492011-12-17 Ulrich Drepper <drepper@gmail.com>
11150
11151 [BZ #13446]
11152 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11153
f0b264f1
AZ
111542011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11155
11156 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11157 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11158 optimized code.
11159 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11160 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11161 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11162 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11163 for strncasecmp/strncasecmp_l compilation.
11164 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11165 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11166
8ef4f244
MP
111672011-12-08 Marek Polacek <mpolacek@redhat.com>
11168
11169 [BZ #13484]
11170 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11171 of __asm__.
11172
97ac2654
UD
111732011-12-17 Ulrich Drepper <drepper@gmail.com>
11174
11175 [BZ #13506]
11176 * time/tzfile.c (__tzfile_read): Check values from file header.
11177
91d2a845
WS
111782011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11179
11180 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11181 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11182 * powerpc/powerpc32/dl-start.S: Likewise.
11183 * powerpc/powerpc32/elf/start.S: Likewise.
11184 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11185 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11186 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11187 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11188 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11189 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11190 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11191 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11192 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11193 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11194 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11195 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11196 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11197 * powerpc/powerpc32/memset.S: Likewise.
11198 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11199 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11200 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11201 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11202 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11203 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11204 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11205 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11206 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11207 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11208 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11209 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11210 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11211
a1267ba1
AZ
112122011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11213
11214 * math/libm-test.inc: Added more nearbyint tests.
11215 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11216 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11217 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11218 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11219
ad8ac1bd
RL
112202011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11221
11222 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11223 FD_CLOEXEC.
11224
1d3e4b61
UD
112252011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11226
11227 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11228 Add wcscpy-ssse3 wcscpy-c.
11229 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11230 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11231 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11232 * sysdeps/x86_64/wcschr.S: New file.
11233 * sysdeps/x86_64/wcsrchr.S: New file.
11234 * string/test-strcmp.c: Remove checking of wcscmp function for
11235 wrong alignments.
11236 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11237 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11238 wcsrchr-sse2 wcsrchr-c.
11239 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11240 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11241 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11242 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11243 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11244 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11245 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11246 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11247 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11248 * wcsmbc/wcschr.c (WCSCHR): New macro.
11249
5b330a2d
UD
112502011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11251
11252 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11253 * wcsmbs/test-wcsrchr.c: New file.
11254 * string/test-strrchr.c: Add wcsrchr support.
11255 (WIDE): New macro.
11256 * wcsmbs/test-wcscpy.c: New file.
11257 * string/test-strcpy.c: Add wcscpy support.
11258 (WIDE): New macro.
26428b7c 11259
f039c043
UD
112602011-12-10 Ulrich Drepper <drepper@gmail.com>
11261
11262 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11263 the inner loop.
11264
850fb039
AS
112652011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11266
11267 [BZ #13472]
11268 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11269
4efbd5cb
UD
112702011-12-04 Ulrich Drepper <drepper@gmail.com>
11271
52ff5dd0 11272 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11273 Minor optimizations.
52ff5dd0 11274
4efbd5cb
UD
11275 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11276 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11277 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11278
8a426e12
UD
112792011-12-03 Ulrich Drepper <drepper@gmail.com>
11280
aff2453d
UD
11281 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11282 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11283 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11284 for gcc to avoid warnings.
11285 * inet/Makefile (tests): Add tst-checks.
11286 * inet/tst-checks.c: New file.
11287
11288 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11289 warning.
11290
11291 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11292 __wmemcmp_sse2.
11293
11294 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11295 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11296
8a426e12
UD
11297 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11298
9bea3473
UD
112992011-12-02 Ulrich Drepper <drepper@gmail.com>
11300
3a965496
UD
11301 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11302 problem.
11303
9bea3473
UD
11304 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11305
f101631b
UD
113062011-11-29 Joseph Myers <joseph@codesourcery.com>
11307
11308 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11309 conditional on GCC version.
11310 (__arch_compare_and_exchange_val_8_acq)
11311 (__arch_compare_and_exchange_val_16_acq)
11312 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11313 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11314 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11315
a98275aa
UD
113162011-12-02 Joseph Myers <joseph@codesourcery.com>
11317
11318 * sysdeps/sh/backtrace.c: New file.
11319
d4cc29a2
AS
113202011-12-02 Andreas Schwab <schwab@redhat.com>
11321
11322 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11323 parenthesis.
11324
6257af2d
AS
113252011-12-01 Andreas Schwab <schwab@redhat.com>
11326
11327 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11328 falling back to utime.
11329
b5f44c1a
AS
113302011-11-30 Andreas Schwab <schwab@redhat.com>
11331
11332 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11333 expectations for float.
11334
f3a6cc0a
AS
113352011-11-29 Andreas Schwab <schwab@redhat.com>
11336
11337 * locale/weight.h (findidx): Add parameter len.
11338 * locale/weightwc.h (findidx): Likewise.
11339 * posix/fnmatch_loop.c (FCT): Adjust caller.
11340 * posix/regcomp.c (build_equiv_class): Likewise.
11341 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11342 * posix/regexec.c (check_node_accept_bytes): Likewise.
11343 * string/strcoll_l.c (STRCOLL): Likewise.
11344 * string/strxfrm_l.c (STRXFRM): Likewise.
11345
9d65ea3a
UD
113462011-11-17 Ulrich Drepper <drepper@gmail.com>
11347
11348 * Makefile.in: Remove CVSOPT handling.
11349 * configure.in: Remove use of AC_REVISION.
11350 * iconvdata/Makefile (distribute): No need to filter out CVS.
11351 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11352 handling.
11353
5583a086
AS
113542011-11-16 Andreas Schwab <schwab@redhat.com>
11355
11356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11357 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11358 [USE_AS_STRNCASECMP_L]: Likewise.
11359 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11360 NO_TLS_DIRECT_SEG_REFS.
11361 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11362 Fix argument offsets for non-PIC.
11363 [USE_AS_STRNCASECMP_L]: Likewise.
11364 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11365 NO_TLS_DIRECT_SEG_REFS.
11366
d62a8200
UD
113672011-11-15 Ulrich Drepper <drepper@gmail.com>
11368
9d65ea3a 11369 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11370 O_CLOEXEC.
11371 * locale/loadlocale.c (_nl_load_locale): Likewise.
11372
09f93bd3
AS
113732011-11-15 Andreas Schwab <schwab@redhat.com>
11374
446514f9
AS
11375 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11376 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11378 (SYSCALL_GETTIME): Set errno on error.
11379
09f93bd3
AS
11380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11381 count references to noai6ai_cached.
11382
312be3f9
UD
113832011-11-15 Ulrich Drepper <drepper@gmail.com>
11384
11385 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11386
11387 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11388 FD_CLOEXEC for /proc/self/maps.
11389
11390 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11391 FD_CLOEXEC for /proc/meminfo.
11392
11393 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11394 gai.conf.
11395
11396 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11397 FD_CLOEXEC for given file.
11398
11399 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11400
11401 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11402 FD_CLOEXEC for /etc/hosts.
11403 (_gethtent): Likewise.
11404
11405 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11406
11407 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11408 cancellation and set FD_CLOEXEC for /etc/netgroup.
11409
11410 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11411 reading /etc/publickey.
11412
11413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11414 allow cancellation when reading /etc/group.
11415
11416 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11417 cancellation.
11418 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11419
11420 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11421 when using data file.
11422
11423 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11424
11425 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11426 (write_nis_obj): Use "c" and "e" in fopen.
11427
11428 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11429
11430 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11431
11432 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11433
11434 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11435
11436 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11437 locale.alias.
11438
11439 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11440
11441 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11442
11443 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11444
11445 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11446 file parsing and set FD_CLOEXEC.
11447
82af0fa8
UD
114482011-11-14 Ulrich Drepper <drepper@gmail.com>
11449
11450 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11451
a5fb313c
AS
114522011-11-14 Andreas Schwab <schwab@redhat.com>
11453
11454 * malloc/arena.c (arena_get2): Don't call reused_arena when
11455 _int_new_arena failed.
11456
6abf3465
UD
114572011-11-14 Ulrich Drepper <drepper@gmail.com>
11458
11459 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11460 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11461 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11462 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11463 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11464 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11465 to compile strcasecmp and strncasecmp.
11466 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11467 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11468
11469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11470
76e3966e
UD
114712011-11-13 Ulrich Drepper <drepper@gmail.com>
11472
11473 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11474 locale-defines.sym to gen-as-const-headers.
11475 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11476 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11478 to compile strcasecmp and strncasecmp.
11479 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11480 strcasecmp_l and strncasecmp_l.
11481 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11482 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11483 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11484 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11485 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11486 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11487 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11488 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11489 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11490 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11491 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11492
ab26144e
UD
114932011-11-12 Ulrich Drepper <drepper@gmail.com>
11494
7edb22ef
UD
11495 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11496 result of SYSDEP_GETTIME_CPU to retval.
11497 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11498 parameter list to macro. Remove trailing semicolon. Adjust users.
11499
9694fc44
UD
11500 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11501 variable.
11502
8ad89ef8
UD
11503 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11504 mantissa words.
11505 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11506
0c822ef9
UD
11507 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11508 from unused variable.
11509
874e0564
UD
11510 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11511 DWARF definitions.
11512 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11513 for assembling.
11514
3a2edc79
UD
11515 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11516 over namespaces.
11517
f3c2577f
UD
11518 * sunrpc/rpc_prot.c (rejected): Fix case value.
11519
294ce126
UD
11520 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11521 unsigned long long int to avoid warnings in shift.
11522
5e2b63c6
UD
11523 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11524 of use of trans.
11525 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11526 variable tmp.
11527
e7f4b08e
UD
11528 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11529 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11530 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11531
ab26144e
UD
11532 * nis/nis_table.c (nis_list): Use variable of correct type for
11533 result of __follow_path call.
11534
8a6d5255
AZ
115352011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11536
11537 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11538 of math functions ceil, trunc, floor, round, and sqrt, when
11539 avaliable on the platform.
11540 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11541 name clash.
11542 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11543 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11544 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11545
aaddc98c
MP
115462011-10-30 Marek Polacek <mpolacek@redhat.com>
11547
11548 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11549 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11550
95b7042b
RM
115512011-11-11 Roland McGrath <roland@hack.frob.com>
11552
11553 * include/unistd.h: Fix __readlink return type.
11554 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11555
57769839
UD
115562011-11-11 Ulrich Drepper <drepper@gmail.com>
11557
11558 * stdlib/ucontext.h: Undo last change for makecontext.
11559
edc5984d
AS
115602011-11-11 Andreas Schwab <schwab@redhat.com>
11561
98591e58
AS
11562 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11563
edc5984d
AS
11564 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11565 * setjmp/setjmp.h: Mark functions as non-leaf.
11566 * setjmp/bits/setjmp2.h: Likewise.
11567 * stdlib/ucontext.h: Likewise.
11568
77cdc054
AS
115692011-11-10 Andreas Schwab <schwab@redhat.com>
11570
11571 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11572 (reused_arena): Don't check arena limit.
11573 (arena_get2): Atomically check arena limit.
11574
fe72eebd
UD
115752011-11-08 Ulrich Drepper <drepper@gmail.com>
11576
5f078c32
UD
11577 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11578 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11579
fe72eebd
UD
11580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11581 instructions.
11582
ae1bc2fa
AS
115832011-11-07 Andreas Schwab <schwab@redhat.com>
11584
7583a88d
AS
11585 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11586 handler when locking.
11587
ae1bc2fa
AS
11588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11589 Fix size of allocated buffer.
11590
10fb0bfa
AS
115912011-11-04 Andreas Schwab <schwab@redhat.com>
11592
998832a4
AS
11593 [BZ #10103]
11594 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11595 declarations for long double functions.
11596 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11597
10fb0bfa
AS
11598 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11599
3d7ba52b
AS
116002011-11-03 Andreas Schwab <schwab@redhat.com>
11601
a9ae54a1
AS
11602 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11603 installed.
11604
3d7ba52b
AS
11605 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11606 is disabled.
11607
bc8db248
ST
116082011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11609
11610 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11611
45b96dd6
AS
116122011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11613
647776f6
AS
11614 * include/alloca.h (stackinfo_alloca_round): Define.
11615 (extend_alloca): Use it.
11616 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11617 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11618 here.
11619
d91a8b93
AS
11620 * scripts/check-local-headers.sh: Ignore libaudit.h.
11621
45b96dd6
AS
11622 * nscd/Makefile (extra-objs): Make recursively expanded.
11623
432d41ce
UD
116242011-11-01 Ulrich Drepper <drepper@gmail.com>
11625
34372fc6
UD
11626 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11628
fadb59f8
UD
11629 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11630 * posix/tst-rfc3484-2.c: Likewise.
11631 * posix/tst-rfc3484-3.c: Likewise.
11632
78239589
UD
11633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11634 process_vm_writev.
11635 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11636 process_vm_writev.
11637 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11638 process_vm_writev from libc using GLIBC_2.15 version.
11639
432d41ce
UD
11640 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11641
02f9c6cf
PP
116422011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11643
11644 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11645 stack usage.
11646
3a2c0242
UD
116472011-10-31 Ulrich Drepper <drepper@gmail.com>
11648
f4ec4833
UD
11649 [BZ #13367]
11650 * nss/getent.c (initgroups_keys): Show error message in case no group
11651 names are given.
11652
3a2c0242
UD
11653 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11654 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11655 __bump_nl_timestamp.
11656 * nscd/connections (nscd_init): When host database is served open
11657 netlink socket and request notification about configuration changes.
11658 (main_loop_poll): Track netlink file descriptor and bump timestamp
11659 in case data becomes available.
11660 (main_loop_epoll): Likewise.
11661 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11662 (database_pers_head): Add extra_data fileds.
11663 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11664 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11665 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11666 Adjust caller.
11667 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11668 in6ai data, call __free_in6ai.
11669 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11670 Add -DHAVE_NETLINK.
11671 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11672 interface information. Reuse previous data if netlink timestamp
11673 is not changed.
11674 (__bump_nl_timestamp): New function.
11675 (__free_in6ai): New function.
11676
636064eb
UD
116772011-10-30 Ulrich Drepper <drepper@gmail.com>
11678
11679 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11680 close_not_cancel_no_status here.
11681 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11682
9beb2334
UD
116832011-10-29 Ulrich Drepper <drepper@gmail.com>
11684
6ef76f3b
UD
11685 [BZ #13276]
11686 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11687 return value.
11688
0ffc4f3e 11689 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11690 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11691 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11692
cb95113e
UD
116932011-07-03 Andreas Jaeger <aj@suse.de>
11694
11695 [BZ #10709]
11696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11697 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11698 * math/libm-test.inc (sin_test): Add test case.
11699
a1b560ff
UD
117002011-10-29 Ulrich Drepper <drepper@gmail.com>
11701
c9aaface
UD
11702 [BZ #13337]
11703 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11704 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11705
d272e7f1
UD
11706 * elf/chroot_canon.c (chroot_canon): Cleanups.
11707
1bc33071
UD
11708 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11709
1760874d
TJ
11710 [BZ #13335]
11711 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11712 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11713
51d91b18
UD
11714 * string/test-strchr.c: Make usable for strchrnul testing.
11715 * string/test-strchrnul.c: New file.
11716 * string/Makefile (strop-tests): Add strchrnul.
11717
a1b560ff 11718 * po/it.po: Update from translation team.
b611fb81 11719 * po/es.po: Likewise.
a1b560ff 11720
a5b81e1f
UD
117212011-10-28 Ulrich Drepper <drepper@gmail.com>
11722
fd52bc6d
UD
11723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11724 the three constants needed as parameters. Drop the others.
11725 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11726 __m128i_strloadu_tolower.
52e4b9eb
UD
11727 Create and initialize variable zero and use it in all the places
11728 where _mm_setzero_si128 was used.
fd52bc6d 11729
a5b81e1f
UD
11730 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11731 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11732 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11733 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11734 anymore.
11735 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11736 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11737 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11738 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11739 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11740 __mpranred, __mptan.
11741 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11742 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11743 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11744 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11745 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11746 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11748 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11749 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11750
b4343346
AS
117512011-10-28 Andreas Schwab <schwab@redhat.com>
11752
0c92d8a8
AS
11753 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11754 redefine if SHARED.
11755 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11756
b4343346
AS
11757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11758 wide char related routines to wcsmbs subdir.
11759
3871f58f
AS
117602011-10-27 Andreas Schwab <schwab@redhat.com>
11761
11762 [BZ #13344]
11763 * misc/sys/cdefs.h (__THROWNL): Define.
11764 * posix/unistd.h: Use __THREADNL instead of __THREAD
11765 for memory synchronization functions.
11766
94d44d9f
RM
117672011-10-26 Roland McGrath <roland@hack.frob.com>
11768
21b64b15 11769 [BZ #13349]
94d44d9f
RM
11770 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11771 doesn't exist.
11772 * manual/stdio.texi (Obstack Streams): Node removed.
11773
f6ce9294
AS
117742011-10-26 Andreas Schwab <schwab@redhat.com>
11775
80479147
AS
11776 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11778 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11779
f6ce9294
AS
11780 * math/math_private.h (math_force_eval): Allow non-addressable
11781 arguments.
11782 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11783
618280a1
UD
117842011-10-25 Ulrich Drepper <drepper@gmail.com>
11785
e0016b11
UD
11786 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11787 file is not needed.
11788
11789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11791 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11792 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11793 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11794 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11795 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11796 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11797 Add AVX variants.
11798 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11799 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11800 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11801 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11802 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11803 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11804 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11805 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11806 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11807 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11808 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11809 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11811 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11812 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11813 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11814 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11815 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11816 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11817
11818 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11819 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11820
618280a1
UD
11821 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11822 place. Use VEX encoding when compiling for AVX.
11823
37822576
AS
118242011-10-25 Andreas Schwab <schwab@redhat.com>
11825
1f1e1947
AS
11826 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11827 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11828
37822576
AS
11829 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11830
31ea014d
UD
118312011-10-25 Ulrich Drepper <drepper@gmail.com>
11832
d7826aa1 11833 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11834 useless if() expression.
d7826aa1
UD
11835 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11836 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11843 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11845 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11846 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11847 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11848 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11849 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11850 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11851 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11853 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11854
31ea014d
UD
11855 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11856
16437fec
AS
118572011-10-25 Andreas Schwab <schwab@redhat.com>
11858
11859 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11860 condition.
11861 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11862
31d3cc00
UD
118632011-10-25 Ulrich Drepper <drepper@gmail.com>
11864
11865 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11866 .text section. Avoid duplicate constants.
11867 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11875 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11877 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11878 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11879 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11882 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11884 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11887 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11890 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11891 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11892 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11893 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11894 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11896 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11897 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11898 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11899 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11900 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11901 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11902 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11903 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11904 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11905 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11906 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11907 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11909 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11910 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11911 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11912
58985aa9
UD
119132011-10-24 Ulrich Drepper <drepper@gmail.com>
11914
202c9deb
UD
11915 * sysdeps/x86_64/dla.h: Move to ...
11916 * sysdeps/x86_64/fpu/dla.h: ...here.
11917 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11918 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11919
af968f62
UD
11920 * config.make.in: Add have-mfma4 entry.
11921 * configure.in: Substitute libc_cv_cc_fma4.
11922 * math/Makefile (dbl-only-routines): Add sincostab.
11923 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11924 Use __sincostab not sincos.
11925 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11926 name is a macro.
11927 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11931 using __copysign.
11932 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11933 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11934 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11935 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11936 and __inv.
11937 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11938 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11939 __copysign.
11940 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11941 define aliases when function name is a macro.
11942 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11943 sysdeps/ieee754/dbl-64/sincos.tbl.
11944 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11945 fma4-enabled routines.
11946 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11947 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11948 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11949 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11950 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11951 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11952 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11953 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11954 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11955 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11956 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11957 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11958 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11959 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11964 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11966 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11968 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11969 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11970 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11972 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11973 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11974 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11975 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11976
58985aa9
UD
11977 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11978 rename.
11979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11987
a201fbcf
AS
119882011-10-24 Andreas Schwab <schwab@redhat.com>
11989
11990 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11991
fc2ee42a
LD
119922011-10-23 Ulrich Drepper <drepper@gmail.com>
11993
bb3129bd
UD
11994 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11995
0275fff8
UD
11996 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11997 prediction.
11998 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11999
2fa2ae85
UD
12000 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12001 Remove unused variable magic_bits.
12002 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12003
fc2ee42a
LD
12004 * string/strnlen.c: Define and use STRNLEN macro.
12005 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12006 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12008 * wcsmbs/wcslen.c: Define and use WCSLEN.
12009 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12010 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12011 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12012 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12013 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12014 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12015 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12016
ce7dd29f
LD
120172011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12018
12019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12020 strnlen-sse2-no-bsf.
12021 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12022 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12023 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12024 Add strnlen support.
12025 (USE_AS_STRNLEN): New macro.
12026 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12027 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12028 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12029 * sysdeps/x86_64/wcslen.S: New file.
12030
979c70a3
MZ
120312011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12032
12033 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12034 XMM-moves are used for copying on small sizes.
12035
2d09f82f
LD
120362011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12037
12038 * wcsmbs/Makefile (strop-tests): Add wcschr.
12039 * wcsmbs/test-wcschr.c: New file.
12040 * string/test-strchr.c: Update.
12041 Add wcschr support.
12042 (WIDE): New macro.
12043
619fccca
LD
120442011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12045
2d09f82f 12046 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12047 * wcsmbs/test-wcslen.c: New file.
12048 * string/test-strlen.c: Update.
12049 Add wcslen support.
12050 (WIDE): New macro.
12051
09f699ea
UD
120522011-10-23 Ulrich Drepper <drepper@gmail.com>
12053
12054 * po/it.po: Update from translation team.
12055
95584d3b
LD
120562011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12057
12058 * sysdeps/x86_64/wcscmp.S: Update.
12059 Fix wrong comparison semantics.
12060 wcscmp shall use signed comparison not unsigned.
12061 Don't use substraction to avoid overflow bug.
12062 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12063 * wcsmbc/wcscmp.c: Likewise.
12064 * string/test-strcmp.c: Likewise.
12065 Add new tests to check cases with negative values.
12066
c8b3296b
UD
120672011-10-23 Ulrich Drepper <drepper@gmail.com>
12068
12069 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12070 * sysdeps/x86_64/dla.h: ...here. New file.
12071 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12080
246ad57a
AS
120812011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12082
12083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12084 __ynl_finite aliases.
12085
a1a87169
UD
120862011-10-22 Ulrich Drepper <drepper@gmail.com>
12087
0d355eb7
UD
12088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12089
a1a87169
UD
12090 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12091 define DLA_FMA.
12092 [DLA_FMA] (EMULV): Use DLA_FMA.
12093 [DLA_FMA] (MUL12): Use EMULV.
12094 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12095 that are not needed.
12096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12103
ee2aafe0
AS
121042011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12105
12106 * math/s_nan.c: Undef __nan.
12107 * math/s_nanf.c: Undef __nanf.
12108 * math/s_nanl.c: Undef __nanl.
12109 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12110 "math_private.h".
12111
bc62c2fb
UD
121122011-10-22 Ulrich Drepper <drepper@gmail.com>
12113
77425c63
UD
12114 * math/s_catan.c: Add branch predictions.
12115 * math/s_catanf.c: Likewise.
12116 * math/s_catanh.c: Likewise.
12117 * math/s_catanhf.c: Likewise.
12118 * math/s_catanhl.c: Likewise.
12119 * math/s_catanl.c: Likewise.
12120 * math/s_cexp.c: Likewise.
12121 * math/s_cexpf.c: Likewise.
12122 * math/s_cexpl.c: Likewise.
12123 * math/s_clog.c: Likewise.
12124 * math/s_clog10.c: Likewise.
12125 * math/s_clog10f.c: Likewise.
12126 * math/s_clog10l.c: Likewise.
12127 * math/s_clogf.c: Likewise.
12128 * math/s_clogl.c: Likewise.
12129 * math/s_csqrt.c: Likewise.
12130 * math/s_csqrtf.c: Likewise.
12131 * math/s_csqrtl.c: Likewise.
12132 * math/s_ctanf.c: Likewise.
12133 * math/s_ctanh.c: Likewise.
12134 * math/s_ctanhf.c: Likewise.
12135 * math/s_ctanhl.c: Likewise.
12136 * math/s_ctanl.c: Likewise.
12137
bc62c2fb
UD
12138 * math/math_private.h: Define __nan, __nanf, __nanl.
12139 * math/s_cacosh.c: Include <math_private.h>.
12140 * math/s_cacoshl.c: Likewise.
12141 * math/s_casinh.c: Likewise.
12142 * math/s_casinhf.c: Likewise.
12143 * math/s_casinhl.c: Likewise.
12144 * math/s_ccos.c: Rely entire on ccosh.
12145 * math/s_ccosf.c: Rely entire on ccoshf.
12146 * math/s_ccosl.c: Rely entirely on ccoshl.
12147 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12148 Remove tests for FE_INVALID.
12149 * math/s_ccoshf.c: Likewise.
12150 * math/s_ccoshl.c: Likewise.
12151 * math/s_csin.c: Likewise.
12152 * math/s_csinf.c: Likewise.
12153 * math/s_csinh.c Likewise.
12154 * math/s_csinhf.c: Likewise.
12155 * math/s_csinhl.c: Likewise.
12156 * math/s_csinl.c: Likewise.
12157 * math/s_ctan.c: Likewise.
12158 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12159 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12160 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12161
8ec250a4
UD
121622011-10-21 Ulrich Drepper <drepper@gmail.com>
12163
c196fed8
UD
12164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12165 compilation problems.
12166
8ec250a4
UD
12167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12168 __builtin_expect.
12169
8d4f46c6
UD
121702011-10-20 Ulrich Drepper <drepper@gmail.com>
12171
ed72b654
UD
12172 * sysdeps/i386/configure.in: Test for -mfma4 option.
12173 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12174 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12175 COMMON_CPUID_INDEX_80000001.
12176 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12177 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12178 use it if FMA3 is not supported.
12179 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12180
8d4f46c6
UD
12181 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12182 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12183
d45c60c2
AS
121842011-10-20 Andreas Schwab <schwab@redhat.com>
12185
12186 [BZ #12892]
12187 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12188 it would create a cycle with a link time dependency.
12189
d9a4d2ab
UD
121902011-10-19 Ulrich Drepper <drepper@gmail.com>
12191
855d1560
UD
12192 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12193 instruction.
12194 * string/Makefile (strop-tests): Add rawmemchr.
12195 * string/test-rawmemchr.c: New file.
12196
d9a4d2ab
UD
12197 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12198 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12199 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12200 when compiling str{,n}casecmp and when AVX is available. Hook up
12201 new optimized code in initializers.
12202
8f3b1ffe
AS
122032011-10-19 Andreas Schwab <schwab@redhat.com>
12204
12205 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12206 __feraiseexcept instead of feraiseexcept.
12207
d38f1dba
UD
122082011-10-18 Ulrich Drepper <drepper@gmail.com>
12209
d9a8d0ab
UD
12210 * math/math_private.h: Define defaults for libc_fetestexcept and
12211 libc_feupdateenv.
12212 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12213 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12214 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12215 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12216 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12217 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12218 libc_fetestexcept and libc_feupdateenv.
12219
4855e3dd
UD
12220 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12221 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12222 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12223 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12224 libc_feholdexcept_setround.
12225
581d30e3
UD
12226 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12227 Add s_nearbyint-c and s_nearbyintf-c.
12228 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12229 nearbyintf inlines.
12230 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12231 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12232 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12233 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12234
d38f1dba
UD
12235 * math/math_private.h: Define defaults for libc_fegetround,
12236 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12237 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12238 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12239 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12240 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12241 standard functions.
12242 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12243 Remove comments and hacks for old compiler versions.
12244 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12245 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12246 libc_feholdexceptl.
12247
caa6c9d8
AS
122482011-10-18 Andreas Schwab <schwab@redhat.com>
12249
12250 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12251 (__feraiseexcept_renamed): Add __NTH.
12252 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12253 namespace violations.
12254
97c066e6
UD
122552011-10-17 Ulrich Drepper <drepper@gmail.com>
12256
99ce7b04
UD
12257 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12258
1004d182
UD
12259 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12260
228a984d
UD
12261 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12262 recently added interfaces.
12263 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12264
c8553a6a
UD
12265 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12266 about macro parameter expansion.
12267
ed22dcf6
UD
12268 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12269 __NO_MATH_INLINES is defined. Cleanups.
12270
12271 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12272 and __floorf is target has SSE4.1.
12273 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12274 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12275 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12276 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12277
b171c137
UD
12278 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12279 name.
12280 (floorf): Likewise.
12281
97c066e6
UD
12282 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12283
629f62ef
AS
122842011-10-17 Andreas Schwab <schwab@redhat.com>
12285
49a43d80
AS
12286 * misc/sys/cdefs.h: Fix last change.
12287
629f62ef
AS
12288 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12289 database lookup.
12290
e453f6cd
UD
122912011-10-16 Ulrich Drepper <drepper@gmail.com>
12292
aa78043a
UD
12293 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12294
ad0f5cad
UD
12295 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12296 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12301 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12302 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12303 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12304 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12305 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12306 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12307 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12308 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12309 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12310 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12311 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12312 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12313 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12314 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12315 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12316 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12317
12318 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12319 ceil, ceilf, floor, floorf.
12320
12321 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12322 Perform IRELATIVE relocations last.
12323
e453f6cd
UD
12324 * elf/do-rel.h: Add another parameter nrelative, replacing the
12325 local variable with the same name. Change name of the function
12326 to end in Rel or Rela (uppercase).
12327 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12328 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12329 elf_dynamic_do_##reloc function.
12330
fd5bdc09
UD
123312011-10-15 Ulrich Drepper <drepper@gmail.com>
12332
79b195b5
UD
12333 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12334 is sufficient, at least on modern CPUs.
12335
d4a28569
UD
12336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12337
b61099b5
UD
12338 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12339 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12340
bcf01e6d
UD
12341 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12342 __expl_finite.
12343 * math/bits/math-finite.h: Add entries for exp.
12344 * math/e_expl.c: Add __*_finite alias.
12345 * sysdeps/i386/fpu/e_exp.S: Likewise.
12346 * sysdeps/i386/fpu/e_expf.S: Likewise.
12347 * sysdeps/i386/fpu/e_expl.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12349 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12350 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12352 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12353 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12354 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12355
ba1a0d59
UD
12356 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12357 is sufficient, at least on modern CPUs.
12358
fd5bdc09
UD
12359 * ctype/ctype-info.c (__ctype_init): Define.
12360 * include/ctype.h (__ctype_init): Declare.
12361 (__ctype_b_loc): The variable is always initialized.
12362 (__ctype_toupper_loc): Likewise.
12363 (__ctype_tolower_loc): Likewise.
12364 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12365 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12366
7872cfb0
AS
123672011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12368
b468825a
AS
12369 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12370
7872cfb0
AS
12371 * configure.in: Also look in $cxxmachine/include for C++ system
12372 headers.
12373
be13f7bf
LD
123742011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12375
12376 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12377 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12378 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12379 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12380 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12381 (USE_AS_WMEMCMP): New macro.
12382 Fixing indents.
12383 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12384 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12385 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12386 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12388 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12389 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12390 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12391 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12392 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12393 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12394 (USE_AS_WMEMCMP): New macro.
12395 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12396 * sysdeps/string/test-memcmp.c: Update.
12397 Fix simple_wmemcmp.
12398 Add new tests.
12399 * wcsmbs/wmemcmp.c: Update.
12400 (WMEMCMP): New macro.
12401 Fix overflow bug.
12402
556a2007
AJ
124032011-10-12 Andreas Jaeger <aj@suse.de>
12404
12405 [BZ #13268]
12406 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12407
538faaa7
UD
124082011-10-15 Ulrich Drepper <drepper@gmail.com>
12409
ab6737ff
UD
12410 * libio/iofwide.c (do_length): Avoid warning.
12411
538faaa7
UD
12412 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12413
396a21b1
UD
124142011-10-14 Ulrich Drepper <drepper@gmail.com>
12415
cdf2901f
UD
12416 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12417
38ad40ce
UD
12418 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12419 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12420 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12421 * sysdeps/i386/i686/fpu/e_log.S: New file.
12422 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12423 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12424
396a21b1
UD
12425 * ctype/ctype.h: Add support for inlined isXXX functions when
12426 compiling C++ code.
12427
6b1f68c9
AS
124282011-10-14 Andreas Schwab <schwab@redhat.com>
12429
349290c0
AS
12430 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12431
6b1f68c9
AS
12432 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12433
f2282d42
RM
124342011-10-13 Roland McGrath <roland@hack.frob.com>
12435
12436 [BZ #13291]
12437 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12438
5298ffa8
AS
124392011-10-13 Andreas Schwab <schwab@redhat.com>
12440
714fad23
AS
12441 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12442 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12443 feraiseexcept.
12444
81dcc7fb
AS
12445 * sysdeps/x86_64/memrchr.S: Check for zero size.
12446
5298ffa8
AS
12447 * string/stratcliff.c: Add memrchr tests.
12448
951fbcec
LD
124492011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12450
12451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12452 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12453 rawmemchr-sse2 rawmemchr-sse2-bsf.
12454 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12455 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12456 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12457 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12458 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12459 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12460 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12461 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12462 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12463 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12464 * string/memrchr.c (MEMRCHR): New macro.
12465
0ac5ae23
UD
124662011-10-12 Ulrich Drepper <drepper@gmail.com>
12467
12468 Add integration with gcc's -ffinite-math-only and optimize wrapper
12469 functions in libm.
12470 * Versions.def: Define GLIBC_2.15 version for libm.
12471 * math/Makefile (headers): Add bits/math-finite.h.
12472 * math/bits/math-finite.h: New file.
12473 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12474 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12475 * math/e_acoshl.c: Add __*_finite alias.
12476 * math/e_acosl.c: Likewise.
12477 * math/e_asinl.c: Likewise.
12478 * math/e_atan2l.c: Likewise.
12479 * math/e_atanhl.c: Likewise.
12480 * math/e_coshl.c: Likewise.
12481 * math/e_exp10.c: Likewise.
12482 * math/e_exp10f.c: Likewise.
12483 * math/e_exp10l.c: Likewise.
12484 * math/e_exp2l.c: Likewise.
12485 * math/e_fmodl.c: Likewise.
12486 * math/e_gammal_r.c: Likewise.
12487 * math/e_hypotl.c: Likewise.
12488 * math/e_j0l.c: Likewise.
12489 * math/e_j1l.c: Likewise.
12490 * math/e_jnl.c: Likewise.
12491 * math/e_lgammal_r.c: Likewise.
12492 * math/e_log10l.c: Likewise.
12493 * math/e_log2l.c: Likewise.
12494 * math/e_logl.c: Likewise.
12495 * math/e_powl.c: Likewise.
12496 * math/e_sinhl.c: Likewise.
12497 * math/e_sqrtl.c: Likewise.
12498 * math/e_scalb.c: Completely rewritten and optimized.
12499 * math/e_scalbf.c: Likewise.
12500 * math/e_scalbl.c: Likewise.
12501 * math/w_acos.c: Likewise.
12502 * math/w_acosf.c: Likewise.
12503 * math/w_acosl.c: Likewise.
12504 * math/w_acosh.c: Likewise.
12505 * math/w_acoshf.c: Likewise.
12506 * math/w_acoshl.c: Likewise.
12507 * math/w_asin.c: Likewise.
12508 * math/w_asinf.c: Likewise.
12509 * math/w_asinl.c: Likewise.
12510 * math/w_atan2.c: Likewise.
12511 * math/w_atan2f.c: Likewise.
12512 * math/w_atan2l.c: Likewise.
12513 * math/w_atanh.c: Likewise.
12514 * math/w_atanhf.c: Likewise.
12515 * math/w_atanhl.c: Likewise.
12516 * math/w_exp10.c: Likewise.
12517 * math/w_exp10f.c: Likewise.
12518 * math/w_exp10l.c: Likewise.
12519 * math/w_fmod.c: Likewise.
12520 * math/w_fmodf.c: Likewise.
12521 * math/w_fmodl.c: Likewise.
12522 * math/w_j0.c: Likewise.
12523 * math/w_j0f.c: Likewise.
12524 * math/w_j0l.c: Likewise.
12525 * math/w_j1.c: Likewise.
12526 * math/w_j1f.c: Likewise.
12527 * math/w_j1l.c: Likewise.
12528 * math/w_jn.c: Likewise.
12529 * math/w_jnf.c: Likewise.
12530 * math/w_log.c: Likewise.
12531 * math/w_logf.c: Likewise.
12532 * math/w_logl.c: Likewise.
12533 * math/w_log10.c: Likewise.
12534 * math/w_log10f.c: Likewise.
12535 * math/w_log10l.c: Likewise.
12536 * math/w_log2.c: Likewise.
12537 * math/w_log2f.c: Likewise.
12538 * math/w_log2l.c: Likewise.
12539 * math/w_pow.c: Likewise.
12540 * math/w_powf.c: Likewise.
12541 * math/w_powl.c: Likewise.
12542 * math/w_remainder.c: Likewise.
12543 * math/w_remainderf.c: Likewise.
12544 * math/w_remainderl.c: Likewise.
12545 * math/w_scalb.c: Likewise.
12546 * math/w_scalbf.c: Likewise.
12547 * math/w_scalbl.c: Likewise.
12548 * math/w_sqrt.c: Likewise.
12549 * math/w_sqrtf.c: Likewise.
12550 * math/w_sqrtl.c: Likewise.
12551 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12552 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12553 used.
12554 * math/math_private.h: Declare __kernel_standard_f.
12555 * math/w_cosh.c: Remove cruft and optimize a bit.
12556 * math/w_coshf.c: Likewise.
12557 * math/w_coshl.c: Likewise.
12558 * math/w_exp2.c: Likewise.
12559 * math/w_exp2f.c: Likewise.
12560 * math/w_exp2l.c: Likewise.
12561 * math/w_hypot.c: Likewise.
12562 * math/w_hypotf.c: Likewise.
12563 * math/w_hypotl.c: Likewise.
12564 * math/w_lgamma.c: Likewise.
12565 * math/w_lgamma_r.c: Likewise.
12566 * math/w_lgammaf.c: Likewise.
12567 * math/w_lgammaf_r.c: Likewise.
12568 * math/w_lgammal.c: Likewise.
12569 * math/w_lgammal_r.c: Likewise.
12570 * math/w_sinh.c: Likewise.
12571 * math/w_sinhf.c: Likewise.
12572 * math/w_sinhl.c: Likewise.
12573 * math/w_tgamma.c: Likewise.
12574 * math/w_tgammaf.c: Likewise.
12575 * math/w_tgammal.c: Likewise.
12576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12578 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12579 Minor optimizations. Pretty printing. Remove cruft.
12580 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12581 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12582 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12583 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12584 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12585 * sysdeps/i386/fpu/e_asin.S: Likewise.
12586 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12587 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12588 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12589 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12590 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12591 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12592 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12593 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12594 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12595 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12596 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12597 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12598 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12599 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12600 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12601 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12602 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12603 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12604 * sysdeps/i386/fpu/e_log.S: Likewise.
12605 * sysdeps/i386/fpu/e_log10.S: Likewise.
12606 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12607 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12608 * sysdeps/i386/fpu/e_log2.S: Likewise.
12609 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12610 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12611 * sysdeps/i386/fpu/e_logf.S: Likewise.
12612 * sysdeps/i386/fpu/e_logl.S: Likewise.
12613 * sysdeps/i386/fpu/e_pow.S: Likewise.
12614 * sysdeps/i386/fpu/e_powf.S: Likewise.
12615 * sysdeps/i386/fpu/e_powl.S: Likewise.
12616 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12617 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12618 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12619 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12620 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12621 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12622 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12623 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12624 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12630 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12631 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12632 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12634 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12635 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12636 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12638 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12639 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12641 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12642 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12643 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12646 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12648 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12649 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12650 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12651 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12652 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12653 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12654 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12655 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12656 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12658 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12659 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12660 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12661 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12662 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12663 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12664 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12665 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12666 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12706 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12710 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12711 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12713 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12716 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12717 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12718 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12719 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12720 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12721 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12722 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12723 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12724 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12725 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12726 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12727 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12728 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12729 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12730 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12731 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12732 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12733 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12734 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12735 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12736 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12737 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12738 (__isnanf): Likewise.
12739 (__isinf_ns): Likewise.
12740 (__isinf_nsf): Likewise.
12741 (__finite): Likewise.
12742 (__finitef): Likewise.
12743 (__ieee754_sqrt): Define as macro.
12744 (__ieee754_sqrtf): Define as macro.
12745 (__ieee754_sqrtl): Define as macro.
12746 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12747 inlined copy.
12748 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12749 __FINITE_MATH_ONLY__ consistent.
12750 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12751
12cc2fcd
AS
127522011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12753
a843a204
AS
12754 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12755 of rawmemchr.
12756
12cc2fcd
AS
12757 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12758
c853acd5
UD
127592011-10-09 Ulrich Drepper <drepper@gmail.com>
12760
12761 * po/ja.po: Update from translation team.
12762
c658d255
RM
127632011-10-08 Roland McGrath <roland@hack.frob.com>
12764
110946e4
RM
12765 * locale/programs/locarchive.c (prepare_address_space): New function.
12766 (create_archive, enlarge_archive, open_archive): Use it.
12767
50604220
RM
12768 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12769 inside [SHARED], where it is used.
12770
c658d255
RM
12771 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12772
12773 * nss/getent.c (netgroup_keys): Remove unused variable.
12774 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12775
6a621eb7
UD
127762011-10-08 Ulrich Drepper <drepper@gmail.com>
12777
7edb55ce
UD
12778 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12779 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12781 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12782 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12783 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12784 * math/Makefile (libm-calls): Add s_isinf_ns.
12785 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12786 * math/multc3.c: Likewise.
12787 * math/s_casin.c: Likewise.
12788 * math/s_casinf.c: Likewise.
12789 * math/s_casinl.c: Likewise.
12790 * math/s_ccos.c: Likewise.
12791 * math/s_ccosf.c: Likewise.
12792 * math/s_ccosl.c: Likewise.
12793 * math/s_ctan.c: Likewise.
12794 * math/s_ctanf.c: Likewise.
12795 * math/s_ctanh.c: Likewise.
12796 * math/s_ctanhf.c: Likewise.
12797 * math/s_ctanhl.c: Likewise.
12798 * math/s_ctanl.c: Likewise.
12799 * math/w_fmod.c: Likewise.
12800 * math/w_fmodf.c: Likewise.
12801 * math/w_fmodl.c: Likewise.
12802 * math/w_remainder.c: Likewise.
12803 * math/w_remainderf.c: Likewise.
12804 * math/w_remainderl.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12806 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12807 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12809 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12810 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12811 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12812 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12813
187da0ae
UD
12814 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12815 of the number.
12816 * stdio-common/printf_fphex.c: Likewise.
12817 * stdio-common/printf_size.c: Likewise.
12818
9277c064
UD
12819 * math/e_exp10.c: Include math_private.h using <...> not "...".
12820 * math/e_exp10f.c: Likewise.
12821 * math/e_exp10l.c: Likewise.
12822 * math/e_exp2l.c: Likewise.
12823 * math/e_j0l.c: Likewise.
12824 * math/e_j1l.c: Likewise.
12825 * math/e_jnl.c: Likewise.
12826 * math/e_lgammal_r.c: Likewise.
12827 * math/e_rem_pio2l.c: Likewise.
12828 * math/e_scalb.c: Likewise.
12829 * math/e_scalbf.c: Likewise.
12830 * math/e_scalbl.c: Likewise.
12831 * math/k_cosl.c: Likewise.
12832 * math/k_sinl.c: Likewise.
12833 * math/k_tanl.c: Likewise.
12834 * math/s_cacoshf.c: Likewise.
12835 * math/s_catan.c: Likewise.
12836 * math/s_catanf.c: Likewise.
12837 * math/s_catanh.c: Likewise.
12838 * math/s_catanhf.c: Likewise.
12839 * math/s_catanhl.c: Likewise.
12840 * math/s_catanl.c: Likewise.
12841 * math/s_ccosh.c: Likewise.
12842 * math/s_ccoshf.c: Likewise.
12843 * math/s_ccoshl.c: Likewise.
12844 * math/s_cexp.c: Likewise.
12845 * math/s_cexpf.c: Likewise.
12846 * math/s_cexpl.c: Likewise.
12847 * math/s_clog.c: Likewise.
12848 * math/s_clog10.c: Likewise.
12849 * math/s_clog10f.c: Likewise.
12850 * math/s_clog10l.c: Likewise.
12851 * math/s_clogf.c: Likewise.
12852 * math/s_clogl.c: Likewise.
12853 * math/s_csin.c: Likewise.
12854 * math/s_csinf.c: Likewise.
12855 * math/s_csinh.c: Likewise.
12856 * math/s_csinhf.c: Likewise.
12857 * math/s_csinhl.c: Likewise.
12858 * math/s_csinl.c: Likewise.
12859 * math/s_csqrt.c: Likewise.
12860 * math/s_csqrtf.c: Likewise.
12861 * math/s_csqrtl.c: Likewise.
12862 * math/s_ctan.c: Likewise.
12863 * math/s_ctanf.c: Likewise.
12864 * math/s_ctanh.c: Likewise.
12865 * math/s_ctanhf.c: Likewise.
12866 * math/s_ctanhl.c: Likewise.
12867 * math/s_ctanl.c: Likewise.
12868 * math/s_ldexp.c: Likewise.
12869 * math/s_ldexpf.c: Likewise.
12870 * math/s_ldexpl.c: Likewise.
12871 * math/s_significand.c: Likewise.
12872 * math/s_significandf.c: Likewise.
12873 * math/s_significandl.c: Likewise.
12874 * math/w_acos.c: Likewise.
12875 * math/w_acosf.c: Likewise.
12876 * math/w_acosh.c: Likewise.
12877 * math/w_acoshf.c: Likewise.
12878 * math/w_acoshl.c: Likewise.
12879 * math/w_acosl.c: Likewise.
12880 * math/w_asin.c: Likewise.
12881 * math/w_asinf.c: Likewise.
12882 * math/w_asinl.c: Likewise.
12883 * math/w_atan2.c: Likewise.
12884 * math/w_atan2f.c: Likewise.
12885 * math/w_atan2l.c: Likewise.
12886 * math/w_atanh.c: Likewise.
12887 * math/w_atanhf.c: Likewise.
12888 * math/w_atanhl.c: Likewise.
12889 * math/w_cosh.c: Likewise.
12890 * math/w_coshf.c: Likewise.
12891 * math/w_coshl.c: Likewise.
12892 * math/w_dremf.c: Likewise.
12893 * math/w_exp10.c: Likewise.
12894 * math/w_exp10f.c: Likewise.
12895 * math/w_exp10l.c: Likewise.
12896 * math/w_exp2.c: Likewise.
12897 * math/w_exp2f.c: Likewise.
12898 * math/w_fmod.c: Likewise.
12899 * math/w_fmodf.c: Likewise.
12900 * math/w_fmodl.c: Likewise.
12901 * math/w_hypot.c: Likewise.
12902 * math/w_hypotf.c: Likewise.
12903 * math/w_hypotl.c: Likewise.
12904 * math/w_j0.c: Likewise.
12905 * math/w_j0f.c: Likewise.
12906 * math/w_j0l.c: Likewise.
12907 * math/w_j1.c: Likewise.
12908 * math/w_j1f.c: Likewise.
12909 * math/w_j1l.c: Likewise.
12910 * math/w_jn.c: Likewise.
12911 * math/w_jnf.c: Likewise.
12912 * math/w_jnl.c: Likewise.
12913 * math/w_lgamma.c: Likewise.
12914 * math/w_lgamma_r.c: Likewise.
12915 * math/w_lgammaf.c: Likewise.
12916 * math/w_lgammaf_r.c: Likewise.
12917 * math/w_lgammal.c: Likewise.
12918 * math/w_lgammal_r.c: Likewise.
12919 * math/w_log.c: Likewise.
12920 * math/w_log10.c: Likewise.
12921 * math/w_log10f.c: Likewise.
12922 * math/w_log10l.c: Likewise.
12923 * math/w_log2.c: Likewise.
12924 * math/w_log2f.c: Likewise.
12925 * math/w_log2l.c: Likewise.
12926 * math/w_logf.c: Likewise.
12927 * math/w_logl.c: Likewise.
12928 * math/w_pow.c: Likewise.
12929 * math/w_powf.c: Likewise.
12930 * math/w_powl.c: Likewise.
12931 * math/w_remainder.c: Likewise.
12932 * math/w_remainderf.c: Likewise.
12933 * math/w_remainderl.c: Likewise.
12934 * math/w_scalb.c: Likewise.
12935 * math/w_scalbf.c: Likewise.
12936 * math/w_scalbl.c: Likewise.
12937 * math/w_sinh.c: Likewise.
12938 * math/w_sinhf.c: Likewise.
12939 * math/w_sinhl.c: Likewise.
12940 * math/w_sqrt.c: Likewise.
12941 * math/w_sqrtf.c: Likewise.
12942 * math/w_sqrtl.c: Likewise.
12943 * math/w_tgamma.c: Likewise.
12944 * math/w_tgammaf.c: Likewise.
12945 * math/w_tgammal.c: Likewise.
12946
6a621eb7
UD
12947 * po/ja.po: Update from translation team.
12948
bf582445
AJ
129492011-09-29 Andreas Jaeger <aj@suse.de>
12950
f9efbf3a
AJ
12951 [BZ #13179]
12952 * sunrpc/netname.c (netname2host): Fix logic.
12953
bf582445
AJ
12954 [BZ #6779]
12955 [BZ #6783]
12956 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12957 correctly.
12958 * math/w_remainder.c (__remainder): Likewise.
12959 * math/w_remainderf.c (__remainderf): Likewise.
12960 * math/libm-test.inc (remainder_test): Add test cases.
12961
48693bea
AK
129622011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12963
12964 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12965 sdiv_qrnnd.
12966
42622229
LD
129672011-10-07 Ulrich Drepper <drepper@gmail.com>
12968
12969 * string/test-memcmp.c: Avoid unncessary #defines.
12970 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12971
093ecf92
LD
129722011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12973
12974 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12975 Use new sse2 version for core i3 - i7 as it's faster
12976 than sse42 version.
12977 (bit_Prefer_PMINUB_for_stringop): New.
12978 * sysdeps/x86_64/rawmemchr.S: Update.
12979 Replace with faster SSE2 version.
12980 * sysdeps/x86_64/memrchr.S: New file.
12981 * sysdeps/x86_64/memchr.S: Update.
12982 Replace with faster SSE2 version.
12983
fde56e5c
MP
129842011-09-12 Marek Polacek <mpolacek@redhat.com>
12985
12986 * elf/dl-load.c (lose): Add cast to avoid warning.
12987
21fd49a9
UD
129882011-10-07 Ulrich Drepper <drepper@gmail.com>
12989
5a06e643
UD
12990 * po/ca.po: Update from translation team.
12991
684ae515
UD
12992 * inet/getnetgrent_r.c: Hook up nscd.
12993 * nscd/Makefile (routines): Add nscd_netgroup.
12994 (nscd-modules): Add netgroupcache.
12995 (CFLAGS-netgroupcache.c): Define.
12996 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12997 (cache_search): Add const to second parameter.
12998 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12999 INNETGR.
13000 (dbs): Add netgrdb entry.
13001 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13002 (verify_persistent_db): Handle netgrdb.
13003 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13004 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13005 GETFDNETGR.
13006 (netgroup_response_header): Define.
13007 (innetgroup_response_header): Define.
13008 (datahead): Add netgroup_response_header and innetgroup_response_header
13009 elements.
13010 * nscd/nscd.conf: Add entries for netgroup cache.
13011 * nscd/nscd.h (dbtype): Add netgrdb.
13012 (_PATH_NSCD_NETGROUP_DB): Define.
13013 (netgroup_iov_disabled): Declare.
13014 (xmalloc, xcalloc, xrealloc): Move declarations here.
13015 (cache_search): Adjust prototype.
13016 Add netgroup-related prototypes.
13017 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13018 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13019 (__nscd_innetgr): Declare.
13020 * nscd/selinux.c (perms): Use access_vector_t as element type and
13021 add netgroup-related initializers.
13022 * nscd/netgroupcache.c: New file.
13023 * nscd/nscd_netgroup.c: New file.
13024 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13025 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13026 For four parameters use innetgr.
13027 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13028 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13029 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13030 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13031
21fd49a9
UD
13032 * nscd/connections.c (register_traced_file): Don't register file
13033 for disabled databases.
13034
054c0457
UD
130352011-10-06 Ulrich Drepper <drepper@gmail.com>
13036
32b63198
UD
13037 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13038
054c0457
UD
13039 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13040 from tree and freeing node.
13041
64031225
JO
130422011-09-25 Jiri Olsa <jolsa@redhat.com>
13043
13044 * nss/nsswitch.c (__nss_database_lookup): Handle
13045 nss_parse_service_list out of memory case.
13046
0490345c
JO
130472011-09-15 Jiri Olsa <jolsa@redhat.com>
13048
13049 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13050 out of memory case.
13051
3a62d00d
AS
130522011-10-04 Andreas Schwab <schwab@redhat.com>
13053
13054 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13055 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13056 pass it down.
13057 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13058 elf_machine_rela, elf_machine_lazy_rel.
13059 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13060 (ELF_DYNAMIC_DO_REL): Likewise.
13061 (ELF_DYNAMIC_DO_RELA): Likewise.
13062 (ELF_DYNAMIC_RELOCATE): Likewise.
13063 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13064 to ELF_DYNAMIC_DO_REL.
13065 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13066 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13067 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13068 elf_machine_rela.
13069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13070 skip_ifunc, don't call ifunc function if non-zero.
13071 (elf_machine_rela): Likewise.
13072 (elf_machine_lazy_rel): Likewise.
13073 (elf_machine_lazy_rela): Likewise.
13074 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13075 (elf_machine_lazy_rel): Likewise.
13076 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13077 Likewise.
13078 (elf_machine_lazy_rel): Likewise.
13079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13080 Likewise.
13081 (elf_machine_lazy_rel): Likewise.
13082 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13083 (elf_machine_lazy_rel): Likewise.
13084 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13085 (elf_machine_lazy_rel): Likewise.
13086 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13087 (elf_machine_lazy_rel): Likewise.
13088 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13089 (elf_machine_lazy_rel): Likewise.
13090 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13091 (elf_machine_lazy_rel): Likewise.
13092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13093 (elf_machine_lazy_rel): Likewise.
13094
68577918
UD
130952011-09-28 Ulrich Drepper <drepper@gmail.com>
13096
13097 * nss/nss_files/files-init.c (_nss_files_init): Use static
13098 initialization for all the *_traced_file variables.
13099
68822d74
AS
131002011-09-28 Andreas Schwab <schwab@redhat.com>
13101
13102 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13103
2056100b
RM
131042011-09-27 Roland McGrath <roland@hack.frob.com>
13105
13106 [BZ #13226]
13107 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13108
32c76b63
AS
131092011-09-27 Andreas Schwab <schwab@redhat.com>
13110
13111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13112 Reread the line before reparsing it.
13113
bf972c9d
AS
131142011-09-26 Andreas Schwab <schwab@redhat.com>
13115
13116 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13117
e057a1b5
JM
131182011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13119 Maxim Kuvyrkov <maxim@codesourcery.com>
13120 Joseph Myers <joseph@codesourcery.com>
13121
13122 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13123 if needed for __stack_chk_guard.
13124
bc7e1c36
RM
131252011-09-19 Roland McGrath <roland@hack.frob.com>
13126
ecb1482f
RM
13127 * sysdeps/posix/spawni.c (script_execute): Always define it.
13128 It will be optimized away if unused.
13129 (maybe_script_execute): New function.
13130 (__spawni): Call it.
13131
bc7e1c36
RM
13132 * Makerules: Don't include tls.make.
13133 (config-tls): Always set to thread.
13134 * tls.make.c: File removed.
13135
1c3b002b
MF
131362011-09-19 Mike Frysinger <vapier@gentoo.org>
13137
13138 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13139 * config.make.in (CPPFLAGS-config): New substituted variable.
13140
2840865d
UD
131412011-09-15 Ulrich Drepper <drepper@gmail.com>
13142
88738eb6
UD
13143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13144
cbf645a6 13145 [BZ #13192]
2840865d
UD
13146 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13147 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13148
b402e91a
RM
131492011-09-15 Roland McGrath <roland@hack.frob.com>
13150
13151 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13152 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13153 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13154 (CALL_FAIL): Likewise.
13155 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13156 (CALL_FAIL): Macro removed.
13157 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13158
4c1a1f71
UD
131592011-09-15 Ulrich Drepper <drepper@gmail.com>
13160
13161 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13162 for __FINITE_MATH_ONLY__ == 1.
13163
edc121be
AS
131642011-09-15 Andreas Schwab <schwab@redhat.com>
13165
13166 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13167 __ieee754_sqrt instead of sqrt.
13168 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13169 __ieee754_sqrtf instead of sqrtf.
13170 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13171 __floorf instead of floorf.
13172 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13173 __floorf, __truncf instead of floorf, truncf.
13174
cd205654
UD
131752011-09-14 Ulrich Drepper <drepper@gmail.com>
13176
ee4d0315
UD
13177 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13178
cd205654
UD
13179 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13180 __extern_always_inline.
13181 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13182 32-bit.
13183
48b67d71
AS
131842011-09-14 Andreas Schwab <schwab@redhat.com>
13185
13186 * elf/rtld.c (dl_main): Also relocate in dependency order when
13187 doing symbol dependency testing.
13188
1ae12c75
AS
131892011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13190
13191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13192 Always define `refsym'.
13193
995a80df
AS
131942011-09-13 Andreas Schwab <schwab@redhat.com>
13195
e529793b
AS
13196 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13197 (__FD_ELT): Renamed from __FDELT.
13198 * misc/bits/select2.h (__FD_ELT): Likewise.
13199 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13200 __FD_MASK instead of __FDELT, __FDMASK.
13201 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13202 Likewise.
13203 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13204 Likewise.
13205
52d4fef8
AS
13206 * elf/Makefile (gen-ldd): Fix pattern.
13207
995a80df
AS
13208 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13209 (init_tls): Likewise.
13210
8682f8b0
UD
132112011-09-12 Ulrich Drepper <drepper@gmail.com>
13212
13213 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13214
de82006d
AS
132152011-09-12 Andreas Schwab <schwab@redhat.com>
13216
a7c8e6a1
AS
13217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13218 `struct cmsghdr *' instead of `void *'.
13219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13220 Likewise.
13221
0f31fe77
AS
132222011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13223
13224 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13225 if non-absolute.
13226 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13227 ldd_rewrite_script.
0f31fe77 13228
32b4c839
UD
132292011-09-11 Ulrich Drepper <drepper@gmail.com>
13230
83cd1420
UD
13231 * configure.in: Remove --with-tls option.
13232 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13233 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13234 out in case it is missing.
13235 * sysdeps/ia64/elf/configure.in: Likewise.
13236 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13237 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13238 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13239 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13240 * sysdeps/sh/elf/configure.in: Likewise.
13241 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13242 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13243 * sysdeps/x86_64/elf/configure.in: Likewise.
13244 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13245 * sysdeps/mach/hurd/tls.h: Likewise.
13246
633f745d
UD
13247 [BZ #13067]
13248 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13249
f318beb8
UD
13250 [BZ #13090]
13251 * configure.in: Fix use of AC_INIT.
13252
32b4c839
UD
13253 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13254
3ce1f295
UD
132552011-09-10 Ulrich Drepper <drepper@gmail.com>
13256
bb016596
UD
13257 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13258 __set_errno.
8e58439c
UD
13259 * malloc/hooks.c: Likewise.
13260
aebae053 13261 [BZ #11929]
02d46fc4
UD
13262 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13263 variables statically.
13264 (narenas): Initialize.
13265 (list_lock): Initialize.
bb016596
UD
13266 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13267 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13268 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13269 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13270 Add initializers to main_arena and mp_.
13271 (malloc_state): Remove pagesize member. Change all users to use
13272 GLRO(dl_pagesize).
13273
13274 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13275 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13276 is always initialized.
13277
22a89187
UD
13278 * malloc/malloc.c: Removed unused configurations and dead code.
13279 * malloc/arena.c: Likewise.
13280 * malloc/hooks.c: Likewise.
02d46fc4 13281 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13282
d063d164
UD
13283 * include/tls.h: Removed. USE___THREAD must always be defined.
13284 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13285 * elf/dl-libc.c: Likewise.
13286 * elf/dl-tsd.c: Likewise.
13287 * include/errno.h: Likewise.
13288 * include/netdb.h: Likewise.
13289 * include/resolv.h: Likewise.
13290 * inet/herrno-loc.c: Likewise.
13291 * inet/herrno.c: Likewise.
13292 * malloc/arena.c: Likewise.
13293 * malloc/hooks.c: Likewise.
13294 * malloc/malloc.c: Likewise.
13295 * resolv/res-state.c: Likewise.
13296 * resolv/res_libc.c: Likewise.
13297 * sysdeps/i386/dl-machine.h: Likewise.
13298 * sysdeps/ia64/dl-machine.h: Likewise.
13299 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13300 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13301 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13302 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13303 * sysdeps/sh/dl-machine.h: Likewise.
13304 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13305 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13306 * sysdeps/unix/i386/sysdep.S: Likewise.
13307 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13308 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13311 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13312 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13313 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13317 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13318 * sysdeps/x86_64/dl-machine.h: Likewise.
13319 * tls.make.c: Likewise.
13320
3ce1f295
UD
13321 * configure.in: Remove --with-__thread option. Make tests for
13322 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13323 tls_model attribute fail if no support is available. Remove
13324 USE_IN_LIBIO.
13325 * Makeconfig: Adjust for dropped configure option. All features are
13326 now mandatory.
13327 * Makerules: Likewise.
13328 * Versions.def: Likewise.
13329 * argp/argp-fmtstream.c: Likewise.
13330 * argp/argp-fmtstream.h: Likewise.
13331 * argp/argp-help.c: Likewise.
13332 * assert/assert.c: Likewise.
13333 * config.h.in: Likewise.
13334 * config.make.in: Likewise.
13335 * configure: Likewise.
13336 * configure.in: Likewise.
13337 * csu/Versions: Likewise.
13338 * csu/init.c: Likewise.
13339 * elf/tst-audit2.c: Likewise.
13340 * elf/tst-tls10.c: Likewise.
13341 * elf/tst-tls10.h: Likewise.
13342 * elf/tst-tls11.c: Likewise.
13343 * elf/tst-tls12.c: Likewise.
13344 * elf/tst-tls14.c: Likewise.
13345 * elf/tst-tlsmod11.c: Likewise.
13346 * elf/tst-tlsmod12.c: Likewise.
13347 * elf/tst-tlsmod13.c: Likewise.
13348 * elf/tst-tlsmod13a.c: Likewise.
13349 * elf/tst-tlsmod14a.c: Likewise.
13350 * elf/tst-tlsmod15b.c: Likewise.
13351 * elf/tst-tlsmod16a.c: Likewise.
13352 * elf/tst-tlsmod16b.c: Likewise.
13353 * elf/tst-tlsmod7.c: Likewise.
13354 * elf/tst-tlsmod8.c: Likewise.
13355 * elf/tst-tlsmod9.c: Likewise.
13356 * gmon/gmon.c: Likewise.
13357 * grp/fgetgrent_r.c: Likewise.
13358 * grp/putgrent.c: Likewise.
13359 * hurd/fopenport.c: Likewise.
13360 * include/libc-symbols.h: Likewise.
13361 * include/tls.h: Likewise.
13362 * intl/gettextP.h: Likewise.
13363 * intl/loadinfo.h: Likewise.
13364 * locale/global-locale.c: Likewise.
13365 * locale/localeinfo.h: Likewise.
13366 * mach/devstream.c: Likewise.
13367 * malloc/arena.c: Likewise.
13368 * malloc/set-freeres.c: Likewise.
13369 * misc/err.c: Likewise.
13370 * misc/getttyent.c: Likewise.
13371 * misc/mntent_r.c: Likewise.
13372 * posix/getopt.c: Likewise.
13373 * posix/wordexp.c: Likewise.
13374 * pwd/fgetpwent_r.c: Likewise.
13375 * resolv/Versions: Likewise.
13376 * resolv/res_hconf.c: Likewise.
13377 * shadow/fgetspent_r.c: Likewise.
13378 * shadow/putspent.c: Likewise.
13379 * stdio-common/printf_fphex.c: Likewise.
13380 * stdio-common/tmpfile.c: Likewise.
13381 * stdlib/abort.c: Likewise.
13382 * stdlib/fmtmsg.c: Likewise.
13383 * sunrpc/auth_unix.c: Likewise.
13384 * sunrpc/clnt_perr.c: Likewise.
13385 * sunrpc/clnt_tcp.c: Likewise.
13386 * sunrpc/clnt_udp.c: Likewise.
13387 * sunrpc/clnt_unix.c: Likewise.
13388 * sunrpc/openchild.c: Likewise.
13389 * sunrpc/svc_simple.c: Likewise.
13390 * sunrpc/svc_tcp.c: Likewise.
13391 * sunrpc/svc_udp.c: Likewise.
13392 * sunrpc/svc_unix.c: Likewise.
13393 * sunrpc/xdr.c: Likewise.
13394 * sunrpc/xdr_array.c: Likewise.
13395 * sunrpc/xdr_rec.c: Likewise.
13396 * sunrpc/xdr_ref.c: Likewise.
13397 * sunrpc/xdr_stdio.c: Likewise.
13398
1248c1c4
PB
133992011-09-09 Ulrich Drepper <drepper@gmail.com>
13400
13401 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13402
134032011-07-03 Andreas Jaeger <aj@suse.de>
13404
13405 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13406 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13407 regenerate with gen-libm-tests.pl.
13408
134092010-05-12 Petr Baudis <pasky@suse.cz>
13410
13411 [BZ #11589]
13412 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13413 around j0() zero points by switching to j1().
13414 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13418
f22e1074
UD
134192011-09-09 Ulrich Drepper <drepper@gmail.com>
13420
f19009c1
UD
13421 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13422 instead of 0.
13423 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13424 instead of 0. .
13425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13426 Patch in part by Pavel Roskin <proski@gnu.org>.
13427
3f8cc204
UD
13428 [BZ #13138]
13429 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13430 realloc.
13431 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13432 Free memory block if necessary.
13433
f22e1074
UD
13434 [BZ #12847]
13435 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13436 be NULL. Don't lock in this case.
13437
0a2349f9
RM
134382011-09-09 Roland McGrath <roland@hack.frob.com>
13439
13440 * elf/elf.h (ELFOSABI_GNU): New macro.
13441 (ELFOSABI_LINUX): Define to that.
13442
f3cdd467
DZ
134432011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13444
13445 * string/strncat.c (strncat): Undef the symbol in case it has been
13446 defined in bits/string.h.
13447
74718d13
UD
134482011-09-09 Ulrich Drepper <drepper@gmail.com>
13449
633e9e0f
UD
13450 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13451
0a2349f9 13452 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13453 link map.
13454
f9924780
AJ
134552011-08-17 Andreas Jaeger <aj@suse.de>
13456
13457 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13458
7f5517aa
PP
134592011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13460 Ian Lance Taylor <iant@google.com>
13461
13462 * math/libm-test.inc (lround_test): New testcase.
13463 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13464
762011fe
UD
134652011-09-08 Ulrich Drepper <drepper@gmail.com>
13466
92963737
UD
13467 * Makefile: Remove support for automatic cvs check-ins.
13468 * Makerules: Likewise.
13469 * config.make.in: Likewise.
13470 * configure.in: Likewise.
13471 * intl/Makefile: Likewise.
13472 * locale/Makefile: Likewise.
13473 * po/Makefile: Likewise.
13474 * posix/Makefile: Likewise.
13475 * sysdeps/gnu/Makefile: Likewise.
13476 * sysdeps/mach/hurd/Makefile: Likewise.
13477 * sysdeps/sparc/sparc32/Makefile: Likewise.
13478
b0727fd8
JS
13479 [BZ #13118]
13480 * posix/Makefile (bug-regex32-ENV): Define.
13481 Patch by John Stanley <jpsinthemix@verizon.net>.
13482
a0f33f99
UD
13483 * misc/Makefile (headers): Add bits/select2.h.
13484 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13485 * misc/bits/select2.h: New file.
13486 * include/bits/select2.h: New file.
13487 * debug/Makefile (routines): Add fdelt_chk.
13488 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13489 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13490 FD_ISSET.
13491 * debug/fdelt_chk.c: New file.
13492
762011fe
UD
13493 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13494 * wcsmbs/test-wmemcmp.c: Likewise.
13495 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13496 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13497
134982011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13499
13500 * string/Makefile (strop-tests): Add memcmp.
13501 * string/test-wmemcmp.c: New file.
13502 * string/test-memcmp.c: Add wmemcmp support.
13503
7f513ec8
RM
135042011-09-08 Roland McGrath <roland@hack.frob.com>
13505
0442afb4
RM
13506 [BZ #13153]
13507 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13508 2011-07-19 change.
13509
7f513ec8
RM
13510 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13511 garbage value in a __mach_port_mod_refs call in the cases of the
13512 task-self and thread-self ports.
13513
a12b2239
ST
135142011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13515
13516 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13517
610f9ab4
AS
135182011-09-08 Andreas Schwab <schwab@redhat.com>
13519
7f513ec8 13520 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13521
48882a1a
LD
135222011-09-07 Ulrich Drepper <drepper@gmail.com>
13523
b49865be
UD
13524 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13525
fdc86bc9
UD
13526 * elf/dl-libc.c (dlerror_run): Pass back error code from
13527 dl_catch_error.
13528
c966526a
UD
13529 [BZ #13123]
13530 * elf/dl-load.c (lose): Free l_origin if it is valid.
13531
48882a1a
LD
13532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13533 names.
13534 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13537 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13538 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13539 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13540
77a2a8b4
AZ
135412011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13542
13543 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13544 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13545 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13546 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13547 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13548 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13549 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13550 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13551 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13552 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13553
24f579d8
AM
135542011-08-15 Alan Modra <amodra@gmail.com>
13555
13556 [BZ #13092]
13557 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13558 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13559 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13560 ppc_mcount to static-only-routines.
13561 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13562 __mcount_internal.
13563 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13564 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13565
3d4837df
UD
135662011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13567
13568 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13569 for finite and infinity parameters.
13570
22700377
WS
135712011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13572
13573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13574 and add nop instructions for throughput optimization.
13575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13576
5025581e
WS
135772011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13578
13579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13580 aligned copy for power7 with vector-scalar instructions.
13581 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13582
08a300c9
L
135832011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13584
13585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13586 AVX check.
13587
59178ef9
AS
135882011-09-07 Andreas Schwab <schwab@redhat.com>
13589
13590 [BZ #13144]
13591 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13592 last change.
13593
e38ba7ab
UD
135942011-09-07 Ulrich Drepper <drepper@gmail.com>
13595
13596 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13597 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13598 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13599 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13600 clock_gettime.
13601
d53a73ac
UD
136022011-09-06 Ulrich Drepper <drepper@gmail.com>
13603
fc8bffcc
UD
13604 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13605 Forgot to demangle the pointer.
13606
ceaa0c5d
UD
13607 * sysdeps/i386/sysdep.h: Define atom_text_section.
13608 * sysdeps/x86_64/sysdep.h: Likewise.
13609 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13610 section with atom_text_section.
13611 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13612 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13613 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13614 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13615 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13616
a77d3c17
UD
13617 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13618 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13619 already be defined. Change to take two parameters and don't assign
13620 result to variable. Adjust all users.
13621 Define INTERNAL_GETTIME if not already defined.
13622 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13623 call.
13624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13625 HAVE_CLOCK_GETTIME_VSYSCALL.
13626 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13627
d53a73ac
UD
13628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13629 gettimeofday vsyscall, just use time.
13630
a8f84144
AS
136312011-09-06 Andreas Schwab <schwab@redhat.com>
13632
13633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13634 <errno.h>.
13635
ef606249
UD
136362011-09-06 Ulrich Drepper <drepper@gmail.com>
13637
13638 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13639 syscall on x86-64.
13640 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13641 syscall.
13642 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13643 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13644 syscall if possible.
13645
6585cb60
UD
136462011-09-05 Ulrich Drepper <drepper@gmail.com>
13647
13648 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13649 e_ident. Don't pass to find_mapsXX.
13650 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13651
a5f524e4
LD
136522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13653
13654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13655 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13656 * sysdeps/x86_64/multiarch/strchr.S: Update.
13657 Check bit_slow_BSF bit.
13658 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13659 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13660 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13661
554881ef
UD
136622011-09-05 Ulrich Drepper <drepper@gmail.com>
13663
d96de963
UD
13664 [BZ #13134]
13665 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13666 before glibc 2.15.
13667 (tryshell): Define.
13668 (__spawni): Change last parameter to be flag. Test
13669 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13670 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13671 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13672 * posix/spawni.c: Likewise.
13673 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13674 * posix/spawnp.c: Likewise. Change normal version to use
13675 SPAWN_XFLAGS_USE_PATH.
13676 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13677 SPAWN_XFLAGS_TRY_SHELL.
13678
d48e5868
UD
13679 [BZ #13150]
13680 * posix/glob.h: Remove gcc 1.x support.
13681
554881ef
UD
13682 [BZ #13068]
13683 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13684
693fb948
LD
136852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13686
13687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13688 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13689 strrchr-sse2-bsf
13690 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13691 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13692 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13693 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13694 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13695 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13696
1b48c537
UD
136972011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13698
49d42c37
UD
13699 * sysdeps/x86_64/wcscmp.S: New file.
13700
1b48c537
UD
13701 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13702 wcscmp-c wcscmp-sse2
13703 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13704 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13705 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13706 * wcsmbs/wcscmp.c: Allow renaming.
13707
15c95c5d
DM
137082011-09-05 David S. Miller <davem@davemloft.net>
13709
13710 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13711 stack slot, rather than the struct return pointer slot.
13712 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13713 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13716
2f0ad8f3
UD
137172011-09-05 Ulrich Drepper <drepper@gmail.com>
13718
d88ae418
UD
13719 * po/ja.po: Update from translation team.
13720
2f0ad8f3
UD
13721 [BZ #13144]
13722 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13723 kernel in 64-bit binaries.
13724
5f4318d1
DM
137252011-09-01 David S. Miller <davem@davemloft.net>
13726
13727 * elf/elf.h (HWCAP_SPARC_*): Move to..
13728 * sysdeps/sparc/sysdep.h: this new file and add new values.
13729 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13730 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13731 _DL_HWCAP_COUNT to 24.
13732 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13733 entries.
13734 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13735 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13736 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13738 instead of magic constants.
13739 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13740
3ba57516
DM
137412011-08-31 David S. Miller <davem@davemloft.net>
13742
13743 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13745 Reimplement to do errno handling inline.
13746 (SYSCALL_ERROR_HANDLER): New macro.
13747 (__SYSCALL_STRING): Do not do errno handling in asm.
13748 (__CLONE_SYSCALL_STRING): Delete.
13749 (__INTERNAL_SYSCALL_STRING): Delete.
13750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13751 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13752 (PSEUDO): Reimplement to do errno handling inline.
13753 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13754 (SYSCALL_ERROR_HANDLER): New macro.
13755 (__SYSCALL_STRING): Do not do errno handling in asm.
13756 (__CLONE_SYSCALL_STRING): Delete.
13757 (__INTERNAL_SYSCALL_STRING): Delete.
13758 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13759 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13760 i386.
13761 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13762 (inline_syscall*): Add 'err' argument.
13763 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13764 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13765 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13766 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13767
13768 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13769 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13770
2bc17433
AS
137712011-08-30 Andreas Schwab <schwab@redhat.com>
13772
13773 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13774
fbeb5f4d
JO
137752011-08-29 Jiri Olsa <jolsa@redhat.com>
13776
13777 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13778 directive.
13779
ad69cc26
DM
137802011-08-24 David S. Miller <davem@davemloft.net>
13781
13782 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13783
39dd69df
AS
137842011-08-24 Andreas Schwab <schwab@redhat.com>
13785
13786 * elf/Makefile: Add rules to build and run unload8 test.
13787 * elf/unload8.c: New file.
13788 * elf/unload8mod1.c: New file.
13789 * elf/unload8mod1x.c: New file.
13790 * elf/unload8mod2.c: New file.
13791 * elf/unload8mod3.c: New file.
13792
13793 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13794 it wasn't used.
13795
2c0b250a
DM
137962011-08-23 David S. Miller <davem@davemloft.net>
13797
13798 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13799 subtract stack bias.
13800 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13801 %sp not %fp in calculations.
13802 (_JMPBUF_UNWINDS_ADJ): Likewise.
13803
22044b48
DM
13804 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13805 (aio_suspend): Call it to force an exception region around the
13806 AIO_MISC_WAIT() invocation.
13807
2cae4995
AS
138082011-08-23 Andreas Schwab <schwab@redhat.com>
13809
13810 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13811 backslash.
13812
873a772e
AJ
138132011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13814
13815 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13816 protection macro.
13817 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13818 and <dl-machine.h>.
13819 (Elf64_FuncDesc): Remove.
13820
25ad0df1
DM
138212011-08-22 David S. Miller <davem@davemloft.net>
13822
13823 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13824 sigaltstack check, add missing cfi directives.
13825 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13826 missing cfi directives, and sigaltstack handling.
13827
e888bcbe
AS
138282011-08-16 Andreas Schwab <schwab@redhat.com>
13829
13830 [BZ #11724]
13831 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13832 object is seen twice.
13833 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13834
13835 * elf/Makefile (distribute): Add tst-initorder2.c.
13836 (tests): Add tst-initorder2.
13837 (modules-names): Add tst-initorder2a tst-initorder2b
13838 tst-initorder2c tst-initorder2d. Add rules to build them.
13839 ($(objpfx)tst-initorder2.out): New rule.
13840 * elf/tst-initorder2.c: New file.
13841 * elf/tst-initorder2.exp: New file.
13842
87162f46
AS
138432011-08-22 Andreas Schwab <schwab@redhat.com>
13844
70538b7f
AS
13845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13846
f55ffe58
AS
13847 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13848 dependencies back to end of function.
13849
87162f46
AS
13850 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13851 $(elfobjdir)/ld.so.
13852
91b392a4
UD
138532011-08-21 Ulrich Drepper <drepper@gmail.com>
13854
13855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13856 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13858 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13859 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13860 of __vdso_gettimeofday.
13861 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13862 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13863 attribute_hidden.
13864 (_libc_vdso_platform_setup): Remove initialization of
13865 __vdso_gettimeofday and __vdso_time.
13866
5c43483f
UD
138672011-08-20 Ulrich Drepper <drepper@gmail.com>
13868
775a77e7
UD
13869 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13870 and fgetc_unlocked.
13871 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13872 getc_unlocked.
89f447ed 13873
49c74ba9
UD
13874 * elf/dl-open.c (add_to_global): Report additions to the global scope
13875 for LD_DEBUG=scopes.
13876 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13877 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13878
5c43483f
UD
13879 [BZ #13114]
13880 * stdio-common/Makefile (tests): Add bug24.
13881 * stdio-common/bug24.c: New file.
13882
a101b025
AJ
138832011-08-19 Andreas Jaeger <aj@suse.de>
13884
13885 [BZ #13114]
13886 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13887 non-existant file when using close-on-exec mode.
13888
c88f1766
UD
138892011-08-20 Ulrich Drepper <drepper@gmail.com>
13890
0276a718
UD
13891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13892 the very first instruction.
13893
c88f1766
UD
13894 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13895 the CFI state in the end.
13896 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13897 inclusion of dl-trampoline.h.
13898 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13899
51ccffa0
AS
139002011-08-19 Andreas Schwab <schwab@redhat.com>
13901
94d7165f
AS
13902 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13903 expectations for long double.
13904
51ccffa0
AS
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13906 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13907
fd708658 139082011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13909
13910 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13911 artificual limit depends upon the system page size.
13912
44f0a71e
UD
139132011-08-17 Ulrich Drepper <drepper@gmail.com>
13914
13915 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13916 * resolv/Makefile: Define CFLAGS-libresolv.
13917
8de79a24
AS
139182011-08-17 Andreas Schwab <schwab@redhat.com>
13919
13920 * nss/makedb.c (compute_tables): Make variables used in nested
13921 function static.
13922
27724598
UD
139232011-08-17 Ulrich Drepper <drepper@gmail.com>
13924
c5305d88
UD
13925 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13926 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13927 if buffer was too small.
13928
27724598
UD
13929 * elf/pldd.c (main): Attach to all threads in the process.
13930 Rewrite /proc handling to use *at functions.
13931
076fe015
UD
139322011-08-16 Ulrich Drepper <drepper@gmail.com>
13933
174baab3
UD
13934 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13935 specifies first scope to show.
13936 (dl_open_worker): Update callers. Move printing scope of new
13937 object to before the relocation.
44f0a71e 13938 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13939 * sysdeps/generic/ldsodefs.h: Update declaration.
13940
076fe015
UD
13941 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13942 string for the scope number.
13943
a60df2c3
UD
139442011-08-14 Ulrich Drepper <drepper@gmail.com>
13945
13946 * nscd/servicescache.c (cache_addserv): Make sure written is always
13947 initialized.
13948
5e4287d1
RM
139492011-08-14 Roland McGrath <roland@hack.frob.com>
13950
85ae0589
RM
13951 * sysdeps/i386/i486/bits/atomic.h
13952 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13953 statement expression, so as to suppress "set but not used" warning.
13954 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13955
69f63097
RM
13956 * string/strncat.c (STRNCAT): Use prototype definition.
13957
675456ef
RM
13958 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13959 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13960 -Iprograms here.
13961 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13962 (localedef-modules): Add localedef.
13963 (locale-modules): Add locale.
13964
5e4287d1
RM
13965 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13966 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13967 to avoid a warning.
13968
9c96ff23
DM
139692011-08-14 David S. Miller <davem@davemloft.net>
13970
13971 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13972 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13973
f9ddf089
UD
139742011-08-13 Ulrich Drepper <drepper@gmail.com>
13975
44f0a71e 13976 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13977 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13978 * elf/rtld.c (dl_main): Set l_name of vDSO.
13979 Call _dl_show_scope when DL_DEBUG_SCOPES.
13980 (process_dl_debug): Recognize scopes flag and also set it for all.
13981 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13982 Declare _dl_show_scope.
13983
1dc27704
UD
13984 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13985 (do_dlopen): Pass caller_dlopen to dl_open.
13986 (__libc_dlopen_mode): Initialize caller_dlopen.
13987
f9ddf089
UD
13988 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13989 of libc. Make tolower call locale-independent. Optimize a bit by
13990 using isdigit instead of isalnum.
13991 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13992
9ac533d3
UD
139932011-08-12 Ulrich Drepper <drepper@gmail.com>
13994
13995 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13996 was a dependency or dynamically loaded.
13997
89edf2e9
UD
139982011-08-11 Ulrich Drepper <drepper@gmail.com>
13999
8e999d29
UD
14000 * intl/l10nflist.c: Allow architecture-specific pop function.
14001 * sysdeps/x86_64/l10nflist.c: New file.
14002
89edf2e9
UD
14003 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14004 classification.
14005
14d96785
AS
140062011-08-10 Andreas Schwab <schwab@redhat.com>
14007
14008 * include/dirent.h: Add libc_hidden_proto for scandirat and
14009 scandirat64. Don't declare __scandirat64.
14010 * dirent/scandirat.c: Add libc_hidden_def.
14011 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14012 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14013
6761ac04
DM
140142011-08-10 David S. Miller <davem@davemloft.net>
14015
14016 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14017 enum.
14018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14020 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14021
c55fbd1e
UD
140222011-08-09 Ulrich Drepper <drepper@gmail.com>
14023
14024 * Versions.def [libc]: Add GLIBC_2.15.
14025 * dirent/Makefile (routines): Add scandirat and scandirat64.
14026 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14027 GLIBC_2.15.
14028 * dirent/dirent.h: Declare scandirat and scandirat64.
14029 * dirent/scandirat.c: New file.
14030 * dirent/scandirat64.c: New file.
14031 * sysdeps/wordsize-64/scandirat.c: New file.
14032 * sysdeps/wordsize-64/scandirat64.c: New file.
14033 * dirent/opendir.c: Define opendirat.
14034 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14035 using scandirat.
14036 * dirent/scandir64.c: Adjust for scandir.c change.
14037 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14038 __scandirat64, and __scandir_cancel_handler.
14039 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14040 additional parameter and use openat instead of open (outside of ld.so).
14041 Add new __opendir as wrapper around __opendirat.
14042 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14043 here without requiring old scandirat implementation.
14044
879165f2
UD
140452011-08-08 Ulrich Drepper <drepper@gmail.com>
14046
14047 * dirent/scandir.c (cancel_handler): Renamed to
14048 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14049 defined. Adjust users.
14050 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14051 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14052
cb7e923b
UD
140532011-08-04 Ulrich Drepper <drepper@gmail.com>
14054
16292edd
UD
14055 * string/test-string.h (IMPL): Use __STRING to expand name and then
14056 stringify it.
14057
cb7e923b
UD
14058 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14059 of cleanups.
14060
cff82933
LD
140612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14062
14063 * string/Makefile: Update.
14064 (strop-tests): Append strncat.
14065 * string/test-wcscmp.c: New file.
14066 New comprehensive test for wcscmp.
14067 * string/test-strcmp.c: Update.
14068 (WIDE): New define.
14069
9be9bfcc
AS
140702011-07-22 Andreas Schwab <schwab@redhat.com>
14071
14072 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14073 line.
14074
2e96f1c7
AS
140752011-07-26 Andreas Schwab <schwab@redhat.com>
14076
14077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14078 encoding to ACE if AI_IDN.
14079
85188888
JJ
140802011-08-01 Jakub Jelinek <jakub@redhat.com>
14081
14082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14083 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14084
5fa16e9b
LD
140852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14086
14087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14088 Fix overflow bug in strncat.
14089 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14090
14091 * string/test-strncat.c: Update.
14092 Add new tests for checking overflow bugs.
14093
140942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14095
14096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14097 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14098 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14099 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14100 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14101 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14102 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14103 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14104 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14105
14106 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14107 (USE_AS_STRCAT): Define.
14108 Add strcat and strncat support.
14109 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14110
8c1a459f
AS
141112011-07-25 Andreas Schwab <schwab@redhat.com>
14112
14113 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14114 __n bigger than INT_MAX+1.
14115 (__strncmp_g): Likewise.
14116
bba33c28
UD
141172011-07-23 Ulrich Drepper <drepper@gmail.com>
14118
798be72d
UD
14119 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14120 * libio/stido.h: Likewise.
14121
8accd4dc
UD
14122 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14123 (AF_NFC): Define.
14124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14125 (AF_NFC): Define.
14126
cbff0d96
UD
14127 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14130 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14131 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14132
9191c04a
UD
14133 [BZ #13021]
14134 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14135 installed.
14136
bba33c28
UD
14137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14138 typo.
14139 (_dl_x86_64_save_sse): Likewise.
14140
90f139dd
UD
141412011-07-22 Ulrich Drepper <drepper@gmail.com>
14142
1aae088a
UD
14143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14144 OSXSAVE.
14145 (_dl_x86_64_save_sse): Likewise.
14146
8e2045f5
UD
14147 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14148
90f139dd
UD
14149 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14150
1d002f25
AS
141512011-07-21 Andreas Schwab <schwab@redhat.com>
14152
14153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14154 change.
14155 (_dl_x86_64_save_sse): Use correct AVX check.
14156
21137f89
UD
141572011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14158
14159 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14160 bug in strncpy/strncat.
14161 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14162
a65c0b7a
UD
141632011-07-21 Ulrich Drepper <drepper@gmail.com>
14164
14165 * string/tester.c (test_strcat): Add tests for different alignments
14166 of source and destination.
14167 (test_strncat): Likewise.
14168
6986b98a
UD
141692011-07-20 Ulrich Drepper <drepper@gmail.com>
14170
90bb2039
UD
14171 [BZ #12852]
14172 * posix/glob.c (glob): Check passed in values before using them in
14173 expressions to avoid some overflows.
14174 (glob_in_dir): Likewise.
14175
5644ef54
UD
14176 [BZ #13007]
14177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14178 check for AVX enablement so that we don't crash with old kernels and
14179 new hardware.
14180 * elf/tst-audit4.c: Add same checks here.
14181 * elf/tst-audit6.c: Likewise.
14182
14183 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14184
bfc9dc9b
AS
141852011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14186
14187 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14188
702e64bb
UD
141892011-07-20 Ulrich Drepper <drepper@gmail.com>
14190
14191 * po/cs.po: Update from translation team.
14192 * po/bg.po: Likewise.
14193
295e904f
MP
141942011-07-12 Marek Polacek <mpolacek@redhat.com>
14195
14196 * misc/sys/cdefs.h: Add support for const attribute.
14197 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14198 to gnu_dev_{major,minor,makedev} functions.
14199
3ff94596
MP
142002011-07-20 Marek Polacek <mpolacek@redhat.com>
14201
14202 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14203
28b59fca
AS
142042011-07-20 Andreas Schwab <schwab@redhat.com>
14205
14206 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14207 strlen results.
14208
19df733e
AK
142092011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14210
14211 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14212 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14213 register in order to avoid conflicts with the soft frame pointer
14214 being held in r11 when necessary.
14215 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14216 (INTERNAL_VSYSCALL_NCS): Likewise.
14217
c8835729
MP
142182011-07-14 Marek Polacek <mpolacek@redhat.com>
14219
14220 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14221 * elf/dl-fini.c (_dl_fini): Adjust caller.
14222 * elf/dl-close.c (_dl_close_worker): Likewise.
14223 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14224
b902330c
MP
142252011-07-15 Marek Polacek <mpolacek@redhat.com>
14226
8991e135
MP
14227 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14228 "aux_cache->nlibs < 0".
14229
b902330c
MP
14230 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14231 in the reload-count case.
14232
99710781
LD
142332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14234
14235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14236 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14237 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14238 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14239 * sysdeps/x86_64/multiarch/strcat.S: New file.
14240 * sysdeps/x86_64/multiarch/strncat.S: New file.
14241 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14242 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14243 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14244 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14245 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14246 (USE_AS_STRCAT): Define.
14247 Add strcat and strncat support.
14248 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14249 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14250 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14251 * string/strncat.c: Update.
14252 (USE_AS_STRNCAT): Define.
14253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14254 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14255 and i7.
14256 * sysdeps/x86_64/multiarch/init-arch.h
14257 (bit_Prefer_PMINUB_for_stringop): New.
14258 (index_Prefer_PMINUB_for_stringop): Likewise.
14259 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14260 bit_Prefer_PMINUB_for_stringop.
14261
7dc6bd90
UD
142622011-07-19 Ulrich Drepper <drepper@gmail.com>
14263
14264 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14265 buffer64.
14266 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14267 of casting of buffer.
14268 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14269 buffer32 and buffer64.
14270 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14271 writes instead of casting of buffer.
14272 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14273 buffer32.
14274 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14275 casting of buffer.
14276
e0e72284
AS
142772011-07-19 Andreas Schwab <schwab@redhat.com>
14278
14279 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14280
feb1eb0b
UD
142812011-07-19 Ulrich Drepper <drepper@gmail.com>
14282
14283 * nscd/nscd.c (termination_handler): Don't do anything for a database
14284 if it has not yet been initialized.
14285
298711ff
UD
142862011-07-18 Ulrich Drepper <drepper@gmail.com>
14287
14288 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14289
142902011-07-15 Marek Polacek <mpolacek@redhat.com>
14291
14292 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14293
f9d68389
UD
142942011-07-18 Ulrich Drepper <drepper@gmail.com>
14295
14296 * po/nl.po: Update from translation team.
14297 * po/sv.po: Likewise.
14298
db290cf5
RM
142992011-07-16 Roland McGrath <roland@hack.frob.com>
14300
14301 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14302 now disallowed by GCC.
5c550700 14303
fd5e21c7
RM
14304 * configure.in (use-default-link): Default to yes if a test -shared
14305 link meets our qualifications.
14306 * configure: Regenerated.
14307
5c550700
RM
14308 * config.make.in (output-format): New variable.
14309 * configure.in: Check for ld --print-output-format support.
14310 * configure: Regenerated.
14311 * Makerules ($(common-objpfx)format.lds)
14312 [$(output-format) != unknown]: Just use $(output-format),
14313 instead of the linker-script munging.
14314
9fa2c032
RM
143152011-07-14 Roland McGrath <roland@hack.frob.com>
14316
a6928d51
RM
14317 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14318 of $(common-objpfx)shlib.lds.
14319 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14320
661607b3
RM
14321 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14322 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14323
9fa2c032
RM
14324 * configure.in (-z relro check): Adjust test code to add a large
14325 writable data section after it.
14326 * configure: Regenerated.
14327
defe9061
RM
143282011-07-11 Roland McGrath <roland@hack.frob.com>
14329
14330 * configure.in (-z relro check): Fix test code to make the variable
14331 truly const.
14332 * configure: Regenerated.
14333
319b9ad4
UD
143342011-07-11 Ulrich Drepper <drepper@gmail.com>
14335
14336 * nscd/nscd.h (struct traced_file): Define.
14337 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14338 elements. Add traced_files.
14339 (inotify_fd): Declare.
14340 (register_traced_file): Declare.
14341 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14342 (inotify_fd): Export.
14343 (resolv_conf_descr): Remove.
14344 (nscd_init): Move inotify descriptor creation to main.
14345 Don't register files for notification here.
14346 (register_traced_file): New function.
14347 (invalidate_cache): Don't use reset_res to determine whether to call
14348 res_init, go through the list of registered files.
14349 (main_loop_poll): The inotify descriptors are now stored in the
14350 structures for the traced files.
14351 (main_loop_epoll): Likewise
14352 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14353 to __nss_disable_nscd.
14354 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14355 for a database anymore. Check the records for all the registered
14356 files instead.
14357 * nss/Makefile (libnss_files-routines): Add files-init.
14358 (libnss_db-routines): Add db-init.
14359 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14360 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14361 * nss/nss_db/db-init.c: New file.
14362 * nss/nss_files/files-init.c: New file.
14363 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14364 __nss_lookup_function.
14365 (__nss_lookup_function): Call nss_load_library.
14366 (nss_load_all_libraries): New function.
14367 (__nss_disable_nscd): Take parameter with callback function for files
14368 to register. Set is_nscd. Load all the DSOs for the NSS modules
14369 used for the cached services.
14370 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14371 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14372 options for features to all the files in nscd.
14373
14374 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14375
23bee3e8
RM
143762011-07-10 Roland McGrath <roland@hack.frob.com>
14377
14378 * csu/elf-init.c (__libc_csu_init): Comment typo.
14379
46a5b7f0
UD
143802011-07-09 Ulrich Drepper <drepper@gmail.com>
14381
14382 * po/pl.po: Update from translation team.
14383 * po/ja.po: Likewise.
14384 * po/ru.po: Likewise.
14385 * po/ko.po: Likewise.
14386 * po/fr.po: Likewise.
14387
d30cf5bb
RM
143882011-07-09 Roland McGrath <roland@hack.frob.com>
14389
113ddea4
RM
14390 * configure.in (.ctors/.dtors header and trailer check):
14391 Use an empirical test on a built program.
14392 * configure: Regenerated.
14393
574920b4
RM
14394 * configure.in (-z relro check): Use an empirical test on a built DSO.
14395 Detect, but do not require, on ia64.
14396 * configure: Regenerated.
14397
d30cf5bb
RM
14398 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14399 Update tests that use readelf to use $READELF instead.
14400 * configure: Regenerated.
14401
8538fdb3
UD
144022011-07-08 Ulrich Drepper <drepper@gmail.com>
14403
14404 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14405 if the result is not used.
14406
04d08991
AJ
144072011-07-05 Andreas Jaeger <aj@suse.de>
14408
14409 [BZ#9696]
14410 * stdlib/tst-strtod.c: Add testcase.
14411
de283087
AD
144122011-07-07 Ulrich Drepper <drepper@gmail.com>
14413
4e5f31c8 14414 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14415 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14416 The latter has a higher limit. Take additional parameter to pass to
14417 the new function.
14418 (__pathconf): Pass file to __statfs_link_max.
14419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14420 __statfs_link_max.
14421 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14422 __statfs_link_max.
14423
de283087
AD
14424 [BZ #12868]
14425 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14426 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14427 Handle Lustre.
14428 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14429 (__statfs_filesize_max): Likewise.
14430 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14431
c75fa153
AJ
144322011-07-05 Andreas Jaeger <aj@suse.de>
14433
14434 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14435
1a544854
UD
144362011-07-06 Marek Polacek <mpolacek@redhat.com>
14437
14438 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14439 `status' variable.
14440 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14441 Likewise.
14442
6f0eec67
UD
144432011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14444
14445 * Makefile (strop-tests): Add strncat.
14446 * string/test-strncat.c: New file.
14447
aae30307
UD
144482011-06-30 Marek Polacek <mpolacek@redhat.com>
14449
14450 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14451
c0cfb5eb
UD
144522011-06-21 Andreas Jaeger <aj@suse.de>
14453
14454 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14455 Copy rule from iconvdata/Makefile.
14456
01636b21
UD
144572011-07-06 Ulrich Drepper <drepper@gmail.com>
14458
14459 [BZ #12922]
14460 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14461 but no long options are defined, just return 'W'.
14462
9895c8bc
UD
144632011-06-22 Marek Polacek <mpolacek@redhat.com>
14464
14465 [BZ #9696]
14466 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14467
5d4cf042
UD
144682011-07-06 Ulrich Drepper <drepper@gmail.com>
14469
14470 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14471 netgroups to read.
960e5535 14472 (innetgr): Likewise.
5d4cf042 14473
751eb97e
RM
144742011-07-05 Roland McGrath <roland@hack.frob.com>
14475
14476 * config.make.in (install_root): Default to $(DESTDIR).
14477
f15f1e45
UD
144782011-07-05 Ulrich Drepper <drepper@gmail.com>
14479
14480 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14481
4e34ac6a
RM
144822011-07-02 Roland McGrath <roland@hack.frob.com>
14483
5e9b6af4
RM
14484 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14485
84f9ea0f
RM
14486 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14487 containing directory rather than embedding absolute directory names.
14488
ea5ee9f7
RM
14489 * scripts/check-local-headers.sh: Rewritten using awk.
14490 Match by word, not by line. Print error messages for matches.
14491 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14492
1b74661a
RM
14493 * Makerules [shlib-lds-flags empty]:
14494 ($(common-objpfx)libc_pic.opts): New target.
14495 ($(common-objpfx)libc_pic.os.clean): New target.
14496 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14497
14498 * config.make.in (OBJCOPY): New variable.
14499 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14500 * configure: Regenerated.
14501
f781ef40
RM
14502 * config.make.in (use-default-link): New variable.
14503 * configure.in (use_default_link): Grok --with-default-link to set it.
14504 * configure: Regenerated.
14505 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14506 (shlib-lds, shlib-lds-flags): Define to empty.
14507
2d4fa81e
RM
14508 * Makerules (shlib-lds): New variable.
14509 (shlib-lds-flags): New variable.
14510 (build-shlib, build-moduile, build-module-asneeded): Use it.
14511 ($(common-objpfx)libc.so): Use $(shlib-lds).
14512 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14513 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14514
31fffa6b
RM
14515 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14516 DT_FLAGS/DT_FLAGS_1 with zero flags.
14517
4e34ac6a
RM
14518 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14519 linker script munging.
14520
fcfc776b
UD
145212011-07-02 Ulrich Drepper <drepper@gmail.com>
14522
14523 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14524 as 128-bit value.
14525 * crypt/sha512.c (sha512_process_block): Perform total addition using
14526 128-bit if possible.
14527 (__sha512_finish_ctx): Likewise.
14528 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14529 as 64-bit value.
14530 * crypt/sha256.c (SWAP64): Define.
14531 (sha256_process_block): Perform total addition using 64-bit if
14532 possible.
14533 (__sha256_finish_ctx): Likewise.
14534
99231d9a
UD
145352011-07-01 Ulrich Drepper <drepper@gmail.com>
14536
14537 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14539 * nscd/hstcache.c (cache_addhst): Likewise.
14540 * nscd/grpcache.c (cache_addgr): Likewise.
14541 * nscd/aicache.c (addhstaiX): Likewise
14542 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14543
445b4a53
TK
145442011-07-01 Thorsten Kukuk <kukuk@suse.de>
14545
14546 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14547 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14548 * nscd/hstcache.c (cache_addhst): Likewise.
14549 * nscd/grpcache.c (cache_addgr): Likewise.
14550 * nscd/aicache.c (addhstaiX): Likewise
14551
6d4d8e8e
AS
145522011-07-01 Andreas Schwab <schwab@redhat.com>
14553
14554 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14555 domain only when needed.
14556
89f654c5
AS
145572011-06-30 Andreas Schwab <schwab@redhat.com>
14558
14559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14560 is always restored.
14561
cf3b23ff
UD
145622011-06-29 Ulrich Drepper <drepper@gmail.com>
14563
14564 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14565 are re-adding the entry.
14566 * nscd/servicescache.c (cache_addserv): Likewise.
14567
751626f9
AJ
145682011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14569
14570 * sysdeps/generic/dl-irel.h: fix protection against multiple
14571 inclusions.
14572 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14573
9113ea1f
UD
145742011-06-28 Ulrich Drepper <drepper@gmail.com>
14575
5c0b8d90
UD
14576 [BZ #12935]
14577 * malloc/memusage.sh: Fix quoting in message.
14578 * debug/xtrace.sh: Likewise.
14579
9113ea1f
UD
14580 * configure.in: Remove support for --experimental-malloc option, make
14581 it the default.
14582 * config.make.in: Likewise.
14583 * malloc/Makefile: Likewise.
14584
a4172181
AS
145852011-06-27 Andreas Schwab <schwab@redhat.com>
14586
14587 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14588 two-byte characters.
14589
78a7eee7
RM
145902011-06-27 Roland McGrath <roland@hack.frob.com>
14591
62bede13
RM
14592 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14593 AC_CACHE_CHECK invocation.
14594 * configure: Regenerated.
14595
78a7eee7
RM
14596 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14597
5ce33a62
UD
145982011-06-27 Ulrich Drepper <drepper@gmail.com>
14599
034807a9
UD
14600 [BZ #12350]
14601 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14602 bit from old_res_options.
14603
4902da17
UD
14604 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14605
5ce33a62
UD
14606 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14607 value type for setfct.
14608
c2344f56
L
146092011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14610
14611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14612 __gettimeofday instead of gettimeofday.
14613
68468076
UD
146142011-06-26 Ulrich Drepper <drepper@gmail.com>
14615
14616 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14617
acb0d739
L
146182011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14619
14620 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14621
14622 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14623 info.
14624
8912479f
L
146252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14626
14627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14628 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14629 strcpy-sse2-unaligned strncpy-sse2-unaligned
14630 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14631 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14632 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14633 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14634 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14635 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14637 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14638 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14639 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14640 (STRCPY): Support SSE2 and SSSE3 versions.
14641
d5495a11
UD
146422011-06-24 Ulrich Drepper <drepper@gmail.com>
14643
14644 [BZ #12874]
14645 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14646 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14647 kernels which artificially limit size of requests.
14648
0b1cbaae
L
146492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14650
14651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14652 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14653 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14654 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14655 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14656 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14657 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14658 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14659 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14660 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14661 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14662 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14663 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14664 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14665 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14667 Enable unaligned load optimization for Intel Core i3, i5 and i7
14668 processors.
14669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14670 Define.
14671 (index_Fast_Unaligned_Load): Define.
14672 (HAS_FAST_UNALIGNED_LOAD): Define.
14673
07f494a0
MP
146742011-06-23 Marek Polacek <mpolacek@redhat.com>
14675
14676 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14677
fa3fc0fe
UD
146782011-06-22 Ulrich Drepper <drepper@gmail.com>
14679
14680 [BZ #12907]
14681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14682 until it is clear that the information is realy needed.
14683 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14684
e12df166
AS
146852011-06-22 Andreas Schwab <schwab@redhat.com>
14686
14687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14688
852eb34d
UD
146892011-06-22 Ulrich Drepper <drepper@gmail.com>
14690
84e2a551
UD
14691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14692 /sys/devices/system/cpu/online if it is usable.
14693
852eb34d
UD
14694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14695 reading the information from the /proc filesystem to once a second.
14696
6e502e19
UD
146972011-06-21 Andreas Jaeger <aj@suse.de>
14698
14699 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14700 NULL after inclusion of kernel headers.
14701
75d39ff2
UD
147022011-06-21 Ulrich Drepper <drepper@gmail.com>
14703
51f9aa6a
UD
14704 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14705 calls to internal_setent.
14706
c0244a9d
UD
14707 [BZ #12885]
14708 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14709 addresses using gethostbyname4_r ignore IPv4 addresses.
14710
c5e3c2ae
UD
14711 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14712 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14713
75d39ff2
UD
14714 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14715
42675c6f
DM
147162011-06-20 David S. Miller <davem@davemloft.net>
14717
14718 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14719 inclusions.
14720 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14721
14722 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14723 (elf_irel): Use it.
14724 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14725 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14726 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14727 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14728 * sysdeps/x86_64/dl-irel.h: Likewise.
14729
14730 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14731 * elf/dl-sym.c: Likewise.
14732
57912a71
UD
147332011-06-15 Ulrich Drepper <drepper@gmail.com>
14734
14735 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14736 need to dereference resplen2.
14737
ee22793d
AS
147382011-06-14 Andreas Schwab <schwab@redhat.com>
14739
14740 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14741
a9e836b0
UD
147422011-06-15 Ulrich Drepper <drepper@gmail.com>
14743
77fb9117
UD
14744 * Makeconfig: Define vardbdir and inst_vardbdir.
14745 * nss/Makefile: Add rules to install db-Makefile.
14746
40c1b22c
UD
14747 * nss/nss_db/db-XXX.c: Cleanup.
14748
9f2da732
UD
14749 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14750 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14751 GLIBC_PRIVATE.
14752 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14753 * nss/makedb.c: Implement -g option to specify that value strings
14754 are generated and should not be added to table iterated over for
14755 get*ent calls.
14756 * nss/nss_db/db-initgroups.c: New file.
14757
82e9a1f7
UD
14758 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14759 interface.
14760
c41af17e
UD
14761 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14762 (internal_getgrouplist): Adjust to name change.
14763 Update use_initgroups_entry if this is not the first call.
14764 * nss/databases.def: Add initgroups entry.
14765
a9e836b0
UD
14766 * nss/makedb.c (compute_tables): Check result of multiple hash table
14767 sizes to minimize maximum chain length.
14768
2666d441
UD
147692011-06-14 Ulrich Drepper <drepper@gmail.com>
14770
14771 * Versions.def: Add entry for libnss_db.
14772 * shlib-versions: Likewise.
14773 * nss/Makefile: Add rules to build libnss_db.
14774 * nss/Versions: Add libnss_db information. Organize libnss_files
14775 entries better.
14776 * nss/db-Makefile: Add gshadow support. Change rules for the new
14777 makedb progra. Some minor improvements to generate smaller files.
14778 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14779 here from...
14780 * nss/makedb.c: ...here.
14781 Improve database format to be smaller and require less memory at
14782 runtime.
14783 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14784 db anymore.
14785 * nss/nss_db/db-netgrp.c: Likewise.
14786 * nss/nss_db/db-open.c: Likewise.
14787 * nss/nss_files/flies-XXX.x: Adjust comments.
14788 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14789 * nss/nss_files/files-grp.c: Likewise.
14790 * nss/nss_files/files-hosts.c: Likewise.
14791 * nss/nss_files/files-network.c: Likewise.
14792 * nss/nss_files/files-proto.c: Likewise.
14793 * nss/nss_files/files-pwd.c: Likewise.
14794 * nss/nss_files/files-rpc.c: Likewise.
14795 * nss/nss_files/files-service.c: Likewise.
14796 * nss/nss_files/files-sgrp.c: Likewise.
14797 * nss/nss_files/files-spwd.c: Likewise.
14798 * nss/nss_db/db-alias.c: Removed.
14799 * nss/nss_db/dummy-db.h: Removed.
14800
9ee76b5a
UD
148012011-06-02 Ulrich Drepper <drepper@gmail.com>
14802
14803 * nss/makedb.c: Rewritten to not use database library.
14804 * nss/Makefile: Update to build new makedb program.
14805
c71ca1f8
AJ
148062011-06-14 Andreas Jaeger <aj@suse.de>
14807
14808 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14809 memset declaration.
14810
3154bfb8
UD
148112011-06-10 Andreas Schwab <schwab@redhat.com>
14812
14813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14814 tmpbuf.
14815
b350afab
RM
148162011-06-10 Roland McGrath <roland@hack.frob.com>
14817
decd4e50
RM
14818 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14819 * elf/Makefile ($(objpfx)ld.so): Likewise.
14820
5615eaf2
RM
14821 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14822 Don't list ld.so twice in dependencies.
14823
14824 * posix/bug-regex31.c: Include <stdlib.h>.
14825
14826 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14827
14828 * nis/nss_compat/compat-spwd.c
14829 (getspent_next_nss_netgr): Remove unused variable.
14830 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14831
14832 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14833 nonmembers" output to use the right array.
14834
14835 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14836
14837 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14838
14839 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14840 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14841 * catgets/gencat.c (read_input_file): Likewise.
14842 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14843
14844 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14845 variable definition inside #if's controlling its use.
14846
14847 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14848
14849 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14850
14851 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14852
14853 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14854 unreachable code.
14855
14856 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14857
b68e08db
RM
14858 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14859 * configure: Regenerated.
14860
b350afab
RM
14861 * Makerules: Revert last change.
14862 * elf/Makefile: Likewise.
14863
28368601
RM
148642011-06-09 Roland McGrath <roland@hack.frob.com>
14865
14866 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14867 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14868 (reloc-link): Likewise.
14869
11988f8f
UD
148702011-06-09 Ulrich Drepper <drepper@gmail.com>
14871
14872 * elf/Makefile: Add rules to build pldd.
14873 * elf/pldd.c: New file.
14874 * elf/pldd-xx.c: New file.
14875
e80fab37
UD
148762011-06-07 Ulrich Drepper <drepper@gmail.com>
14877
14878 * version.h: Update for 2.15 development version.
14879
9b849836
DM
148802011-06-07 David S. Miller <davem@davemloft.net>
14881
14882 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14883 ifuncs.
14884 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14885 elf_machine_lazy_rel): Likewise.
14886 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14887 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14888 elf_machine_lazy_rel): Likewise.
14889 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14890 dl_hwcap via passed in argument.
14891 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14892 Likewise.
14893
5a31b283
AK
148942011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14895
14896 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14897
069e52f8
RM
148982011-06-06 Roland McGrath <roland@hack.frob.com>
14899
14900 [BZ #12849]
14901 * manual/fdl-1.1.texi: New file, verbatim from:
14902 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14903 * manual/lgpl-2.1.texi: New file, verbatim from:
14904 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14905 * manual/Makefile (licenses): New variable, list those new file names.
14906 (texis): Use it.
14907 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14908
14909 * manual/fdl.texi: File removed.
14910 * manual/lesser.texi: File removed.
14911 * manual/libc.texinfo (Copying, Documentation License):
14912 Use new @include file names, put @appendix directive before @include.
14913
f16846a5
JJ
149142011-06-04 Jakub Jelinek <jakub@redhat.com>
14915
14916 [BZ #12841]
14917 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14918 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14919 (mq_open): Add __NTH.
14920
3d29045b
L
149212011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14922
14923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14924 Assume Intel Core i3/i5/i7 processor if AVX is available.
14925
8c297311
UD
149262011-05-31 Ulrich Drepper <drepper@gmail.com>
14927
14928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14929 typo.
14930
c8fc0c91
UD
149312011-05-31 Andreas Schwab <schwab@redhat.com>
14932
14933 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14934 memory. Use alloca_account. Fix memory leak when retrying.
14935
5b27a807
UD
149362011-05-31 Ulrich Drepper <drepper@gmail.com>
14937
356f8bc6
UD
14938 * version.h (RELEASE): Bump for 2.14 release.
14939 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14940
5b27a807
UD
14941 * config.make.in (RANLIB): Remove entry.
14942
01f16ab0
UD
149432011-05-30 Ulrich Drepper <drepper@gmail.com>
14944
41fce8bd
UD
14945 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14946 (libc.pot): Work around missing support for .ksh extension in xgettext.
14947
4769ae77
UD
14948 [BZ #12684]
14949 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14950 if both request failed.
14951 (send_dg): In case of server errors clear resplen or *resplen2.
14952
6b1e7d19
UD
14953 [BZ #12454]
14954 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14955 when there are multiple maps.
14956 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14957 (_dl_fini): Remove test here.
14958
01f16ab0
UD
14959 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14960
b1ebd700
UD
149612011-05-29 Ulrich Drepper <drepper@gmail.com>
14962
7ae22829
UD
14963 [BZ #12350]
14964 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14965 bit from old_res_options.
14966 (gaih_inet): Likewise.
14967
553149f6 14968 [BZ #11099]
18a84741 14969 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14970 as signed.
14971
652ffab1
UD
14972 * resolv/res_init.c (res_setoptions): Make the code more compact.
14973
16985fd0
UD
14974 [BZ #11558]
14975 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14976 set RES_USEVC.
14977
0464f746
UD
14978 [BZ #11634]
14979 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14980
7d17596c
UD
14981 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14982
cf6bbbd7
UD
14983 [BZ #11781]
14984 * malloc/malloc.h: Declare malloc hook variables as volatile.
14985
13f1ab36
UD
14986 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14987 in last patch.
14988
b1ebd700
UD
14989 [BZ #11799]
14990 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14991 raise in the comment.
80e2212d
UD
14992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14994 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14995
ce67228d
UD
149962011-05-28 Ulrich Drepper <drepper@gmail.com>
14997
8887a920
UD
14998 [BZ #12811]
14999 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15000 grow the buffers more if it already has to be sufficient.
15001 (build_wcs_upper_buffer): Likewise.
15002 * posix/regexec.c (check_matching): Likewise.
15003 (clean_state_log_if_needed): Likewise.
15004 (extend_buffers): Don't enlarge buffers beyond size of the input
15005 buffer.
15006 Patches mostly by Emil Wojak <emil@wojak.eu>.
15007 * posix/bug-regex32.c: New file.
15008 * posix/Makefile (tests): Add bug-regex32.
15009
4f031072
UD
15010 * locale/findlocale.c (_nl_find_locale): Return right away if
15011 _nl_explode_name failed.
15012 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15013
d0478f0c
UD
15014 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15015
de81b246
UD
15016 * debug/xtrace.sh: Unify messages.
15017 * malloc/memusage.sh: Likewise.
15018
c738465a
UD
15019 [BZ #12813]
15020 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15021 time symbol from vDSO. Substitute with vsyscall if not available.
15022 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15023 __vdso_time.
15024
f1f929d7
UD
15025 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15026 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15027 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15028 Add sendmmsg and internal_sendmmsg.
15029 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15030 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15031 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15032
ce67228d
UD
15033 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15034 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15035 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15036
e57420c6
UD
150372011-05-27 Ulrich Drepper <drepper@gmail.com>
15038
a8509ca5
UD
15039 [BZ #12813]
15040 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15041 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15042 available.
15043 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15044 __vdso_getcpu.
15045
e57420c6
UD
15046 [BZ #12814]
15047 * iconvdata/Makefile (tests): Add bug-iconv9.
15048 * iconvdata/bug-iconv9.c: New file.
15049
4d07db15
AS
150502011-05-27 Andreas Schwab <schwab@redhat.com>
15051
15052 [BZ #12814]
15053 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15054
ea486f69
JJ
150552011-05-25 Jakub Jelinek <jakub@redhat.com>
15056
15057 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15058 (struct user_regs_struct): Change intcs field back to cs.
15059
6f038433
UD
150602011-05-25 Ulrich Drepper <drepper@gmail.com>
15061
15062 * po/ja.po: Update from translation team.
15063
67f86a25
UD
150642011-05-23 Ulrich Drepper <drepper@gmail.com>
15065
15066 [BZ #12795]
15067 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15068 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15069
def7fbd6
AS
150702011-05-20 Andreas Schwab <schwab@redhat.com>
15071
15072 * stdlib/longlong.h: Update from GCC.
15073
f50ef8f1
AS
150742011-05-23 Andreas Schwab <schwab@redhat.com>
15075
15076 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15077 parameter name.
15078 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15079 Add parameter name.
15080 (__sysconf): Pass it down.
15081
de7ce8f1
UD
150822011-05-22 Ulrich Drepper <drepper@gmail.com>
15083
f2962a71
UD
15084 [BZ #12671]
15085 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15086 some situations.
15087 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15088 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15089 add in in __libc_use_alloca calls. Adjust callers.
15090 (glob): Use malloc in some situations.
15091
de7ce8f1
UD
15092 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15093 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15094 pltexit.
15095
aec84f53
UD
150962011-05-21 Ulrich Drepper <drepper@gmail.com>
15097
05bb4a68
UD
15098 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15099 and CLOCK_BOOTTIME_ALARM.
15100
7ea72f99
UD
15101 [BZ #12782]
15102 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15103 is returned.
15104
7e4afad5
UD
15105 * string/_strerror.c (__strerror_r): Print negative errors as signed
15106 numbers.
15107
8e211fec
UD
15108 [BZ #12777]
15109 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15110 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15111 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15112
f7d82dc9
UD
15113 * configure.in: Fix typo in redirection and correct removal of test
15114 files in two cases.
15115
cc9e536d
UD
15116 [BZ #12788]
15117 * locale/setlocale.c (new_composite_name): Fix test to check for
15118 identical name of all categories.
15119
aec84f53
UD
15120 [BZ #12792]
15121 * libio/filedoalloc.c (local_isatty): New function.
15122 (_IO_file_doallocate): Use local_isatty.
15123 * stdio-common/perror.c (perror): In case a new stream is used
15124 forward the stream error.
15125 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15126 error flag.
15127
78e64fdc
RT
151282011-05-20 Ulrich Drepper <drepper@gmail.com>
15129
34a9094f
UD
15130 [BZ #11869]
15131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15132 alloca.
15133 * include/alloca.h (extend_alloca_account): Define.
15134
78e64fdc
RT
15135 [BZ #11857]
15136 * posix/regex.h: Fix comments with documentation of user-accessible
15137 fields after compilation and describe correct free'ing of pattern
15138 after re_compile_pattern.
15139 Patch by Reuben Thomas <rrt@sc3d.org>.
15140
457bddfc
RA
151412011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15142
15143 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15144 and -mno-altivec to prevent the compiler from using Altivec and/or
15145 VSX instructions when the corresponding registers are not available.
15146
a4527b51
AS
151472011-05-19 Andreas Schwab <schwab@redhat.com>
15148
15149 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15150
ed690b2f
UD
151512011-05-19 Ulrich Drepper <drepper@gmail.com>
15152
15153 * libio/freopen.c (freopen): Use __dup2, not dup2.
15154 * libio/freopen64.c (freopen64): Likewise.
15155
8db73634
L
151562011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15157
15158 [BZ #12775]
15159 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15160 * math/Makefile (tests): Add test-powl.
15161 (CFLAGS-test-powl.c): Define.
15162 * math/test-powl.c: New file.
15163
0a197a9d
L
151642011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15165
15166 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15167
ee30c380
UD
151682011-05-17 Ulrich Drepper <drepper@gmail.com>
15169
15170 [BZ #11837]
15171 * iconvdata/gb18030.c: Update to GB18020-2005.
15172
6ce75379
UD
151732011-05-16 Ulrich Drepper <drepper@gmail.com>
15174
a4b89fd8
AR
15175 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15176 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15177 Patch by Aharon Robbins <arnold@skeeve.com>.
15178
ea389b12
UD
15179 [BZ #11892]
15180 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15181 on the stack.
15182
68a3f91f
UD
15183 [BZ #11895]
15184 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15185 through underflows.
15186
15cc7dd1
UD
15187 [BZ #12766]
15188 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15189 point to strings before performing equality test for error_one_per_line
15190 mode.
15191
f3799213
UD
15192 [BZ #11697]
15193 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15194
d79a9c94
UD
15195 [BZ #11820]
15196 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15197 (struct user_fpregs_struct): Avoid __uint*_t types.
15198
56e5eb46
UD
15199 [BZ #6420]
15200 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15201 symbol info. Use it instead of calling _dl_addr locally.
15202 (lock_and_info): New function.
15203 (tr_freehook): Call lock_and_info and pass symbol info as additional
15204 parameter to tr_where.
15205 (tr_mallochook): Likewise.
15206 (tr_reallochook): Likewise.
15207 (tr_memalignhook): Likewise.
15208
6ce75379
UD
15209 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15210 used and couldn't be at all thread-safe.
15211
f8a3b5bf
UD
152122011-05-15 Ulrich Drepper <drepper@gmail.com>
15213
94b7cc37
UD
15214 * libio/freopen.c (freopen): Don't close old file descriptor
15215 before the new one is opened. Instead dup the new file descriptor
15216 to the old one after the new stream is created.
15217 * libio/freopen64.c (freopen64): Likewise.
15218 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15219 * libio/fileops.c (_IO_new_file_close_it): Handle new
15220 _IO_FLAGS2_NOCLOSE flag.
15221 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15222 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15223 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15224 _IO_FLAGS2_NOCLOSE flag.
15225 * include/unistd.h: Add hidden_proto for dup3.
15226 Define __have_dup3.
15227 * io/dup3.c: Define hidden symbol.
15228 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15229
bd25564e
UD
15230 [BZ #7101]
15231 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15232 when an incomplete long option is used.
15233 * posix/tst-getopt_long1.c: New file.
15234 * posix/Makefile (tests): Add tst-getopt_long1.
15235
c84cfef4
UD
15236 [BZ #10138]
15237 * scripts/config.guess: Update from autoconf-2.68.
15238 * scripts/config.sub: Likewise.
15239
3b85df27
UD
15240 [BZ #10157]
15241 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15242 tests into ...
15243 (has_cpuclock): ...this. New function.
15244 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15245 macro here based on has_cpuclock code.
15246
15a856b1
UD
15247 [BZ #10149]
15248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15249 First byte (not low byte) is now always NUL.
15250 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15251
05f399e6
UD
15252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15253 Use non-cancelable interfaces.
15254
10a52685 15255 [BZ #9809]
94ecc67d
UD
15256 * locale/iso-639.def: Add entry for Sorani.
15257
f8a3b5bf
UD
15258 [BZ #11901]
15259 * include/stdlib.h: Move include protection to the right place.
15260 Define abort_msg_s. Declare __abort_msg with it.
15261 * stdlib/abort.c (__abort_msg): Adjust type.
15262 * assert/assert.c (__assert_fail_base): New function. Majority
15263 of code from __assert_fail. Allocate memory for __abort_msg with
15264 mmap.
15265 (__assert_fail): Now call __assert_fail_base.
15266 * assert/assert-perr.c: Remove bulk of implementation. Use
15267 __assert_fail_base.
15268 * include/assert.hL Declare __assert_fail_base.
15269 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15270 mmap.
15271 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15272
1af4e298
UD
152732011-05-14 Ulrich Drepper <drepper@gmail.com>
15274
f8a3b5bf 15275 [BZ #11952]
d26dfc60
MG
15276 [BZ #12453]
15277 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15278 until all modules are registered in the DTV.
15279 * elf/Makefile: Add rules to build and run tst-tls19.
15280 * elf/tst-tls19.c: New file.
15281 * elf/tst-tls19mod1.c: New file.
15282 * elf/tst-tls19mod2.c: New file.
15283 * elf/tst-tls19mod3.c: New file.
15284 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15285
2fc54d6f
UD
15286 [BZ #12083]
15287 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15288 correctly.
15289
98d76b46
UD
15290 [BZ #12601]
15291 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15292 two-byte sequence errors.
15293 * iconvdata/Makefile (tests): Add bug-iconv8.
15294 * iconvdata/bug-iconv8.c: New file.
15295
da3c19ef
UD
15296 [BZ #12626]
15297 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15298 buf2 definition.
15299
ca408c15
UD
15300 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15301
d6f67f7d
UD
15302 [BZ #12432]
15303 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15304 (dummy_getcfa): New function.
15305 (init): Get _Unwind_GetCFA address, use dummy if not found.
15306 (backtrace_helper): In recursion check, also check whether CFA changes.
15307 (__backtrace): Completely initialize arg.
15308
1af4e298 15309 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15310 storing incomplete byte sequence in state object. Avoid testing for
15311 guaranteed too small input if we know there is enough data available.
1af4e298 15312
da62f81b
AS
153132011-05-11 Andreas Schwab <schwab@redhat.com>
15314
15315 * Makeconfig (+link-pie): Indent.
15316 * Rules (binaries-pie): Define if $(have-fpie) and
15317 $(build-shared).
15318 (binaries-shared): Also filter out $(binaries-pie).
15319 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15320 * nscd/Makefile (others-pie): Add nscd.
15321 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15322 ($(objpfx)nscd): Remove command override.
15323 * login/Makefile (others-pie): Add pt_chown.
15324 ($(objpfx)pt_chown): Remove command override.
15325 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15326 remove command overrides.
15327
fcabc0f8
UD
153282011-05-13 Ulrich Drepper <drepper@gmail.com>
15329
20030ae6
UD
15330 * libio/tst_putwc.c: Fix error messages.
15331
fcabc0f8
UD
15332 [BZ #12724]
15333 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15334 currently writing and seek to current position when not.
15335 * libio/Makefile (tests): Add bug-fclose1.
15336 * libio/bug-fclose1.c: New file.
15337
320a5dc0
PB
153382011-05-12 Ulrich Drepper <drepper@gmail.com>
15339
15340 [BZ #12511]
15341 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15342 don't set DF_1_NODELETE here.
15343 (do_lookup_x): When entering new entry test for copy relocation
15344 and if necessary set DF_1_NODELETE flag.
15345 * elf/tst-unique4.cc: New file.
15346 * elf/tst-unique4.h: New file.
15347 * elf/tst-unique4lib.cc: New file.
15348 * elf/Makefile: Add rules to build and run tst-unique4.
15349 Patch by Piotr Bury <pbury@goahead.com>.
15350
22836f52
UD
153512011-05-11 Ulrich Drepper <drepper@gmail.com>
15352
f574184a
UD
15353 [BZ #12052]
15354 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15355
e1fb097f
UD
15356 [BZ #12625]
15357 * misc/mntent_r.c (addmntent): Flush the stream after the output
15358
22836f52
UD
15359 [BZ #12393]
15360 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15361 (is_trusted_path_normalize): Skip initial colon. Append slash
15362 to empty buffer. Duplicate is_trusted_path code but allow
15363 constructed patch to be prefix.
15364 (is_dst): Allow $ORIGIN followed by /.
15365 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15366 Correct testing of result of is_trusted_path_normalize
15367 (decompose_rpath): Fix warning.
15368
7b3b0b2a
UD
153692011-05-10 Ulrich Drepper <drepper@gmail.com>
15370
15371 [BZ #11257]
15372 * grp/initgroups.c (internal_getgrouplist): When we found the service
15373 list through the initgroups entry in nsswitch.conf do not always
15374 continue on a successful lookup. Don't always use the
eac80ce2 15375 __nss_group_database value if it is set.
7b3b0b2a
UD
15376 * nss/nsswitch.conf (initgroups): Change action for successful db
15377 lookup to continue for compatibility.
15378
2a81eaa5
UD
153792011-05-09 Ulrich Drepper <drepper@gmail.com>
15380
be97a69e
UD
15381 [BZ #11532]
15382 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15383 and CP774 modules.
15384 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15385 and CP774 modules.
15386 * iconvdata/tst-tables.sh: Likewise.
15387 * iconvdata/cp770.c: New file.
15388 * iconvdata/cp771.c: New file.
15389 * iconvdata/cp772.c: New file.
15390 * iconvdata/cp773.c: New file.
15391 * iconvdata/cp774.c: New file.
15392 * iconvdata/testdata/CP770: New file.
15393 * iconvdata/testdata/CP770..UTF8: New file.
15394 * iconvdata/testdata/CP771: New file.
15395 * iconvdata/testdata/CP771..UTF8: New file.
15396 * iconvdata/testdata/CP772: New file.
15397 * iconvdata/testdata/CP772..UTF8: New file.
15398 * iconvdata/testdata/CP773: New file.
15399 * iconvdata/testdata/CP773..UTF8: New file.
15400 * iconvdata/testdata/CP774: New file.
15401 * iconvdata/testdata/CP774..UTF8: New file.
15402
15403 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15404 END CHARMAP line.
15405 * iconvdata/gen-8bit-gap.sh: Likewise.
15406 * iconvdata/gen-8bit.sh: Likewise.
15407
c1e9e399
UD
15408 * locale/iso-639.def: Add ary entry.
15409
24c55fb3 15410 [BZ #11258]
96b4b1b0
UD
15411 * locale/C-translit.h.in: Add U20A1 transliteration.
15412
bdc2f971
KB
15413 [BZ #12178]
15414 * locale/iso-639.def: Add wae entry.
15415 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15416
2952b117
UD
15417 [BZ #12545]
15418 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15419 for n.
15420
2a81eaa5
UD
15421 [BZ #12711]
15422 * locale/C-translit.h.in: Add entry for U20B9.
15423 Patch by pravin.d.s@gmail.com.
15424
28377d1b
UD
154252011-05-08 Ulrich Drepper <drepper@gmail.com>
15426
7fb90fb8
UD
15427 [BZ #12713]
15428 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15429 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15430 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15431 in rtld. Use *stat64.
7fb90fb8 15432 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15433 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15434 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15435 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15436 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15437 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15438 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15439 __fstatat64 macros.
7fb90fb8
UD
15440 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15441 * dirent/rewinddir.c: Add libc_hidden_def.
15442 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15443 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15444
28377d1b
UD
15445 * include/dirent.h (__alloc_dir): Add flags parameter.
15446 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15447 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15448 __alloc_dir.
15449 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15450 from fdopendir if O_CLOEXEC is already set.
15451
66bdbaa4
AM
154522011-03-15 Alan Modra <amodra@gmail.com>
15453
15454 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15455 l_tls_firstbyte_offset non-zero. Save padding offset in
15456 l_tls_firstbyte_offset for later use.
15457 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15458 freeing static tls block.
15459
95721191
JN
154602011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15461
15462 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15463 where #ifdef was intended. The intent is to prevent ARG_MAX from
15464 being defined by the kernel headers.
15465
f87dfb1f
UD
154662011-05-07 Ulrich Drepper <drepper@gmail.com>
15467
15468 [BZ #12734]
15469 * resolv/resolv.h: Define RES_NOTLDQUERY.
15470 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15471 no-tld-query and set RES_NOTLDQUERY.
15472 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15473 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15474 modern BIND to search name as TLD unless forbidden.
15475
47c3cd7a
UD
154762011-05-07 Petr Baudis <pasky@suse.cz>
15477 Ulrich Drepper <drepper@gmail.com>
15478
15479 [BZ #12393]
15480 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15481 (is_trusted_path): ...to here.
c1e9ea35 15482 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15483 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15484 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15485
8a35c912
PP
154862011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15487
15488 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15489 __BEGIN/__END_DECLS.
15490
acd41f47
UD
154912011-05-06 Ulrich Drepper <drepper@gmail.com>
15492
15493 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15494 NSS_STATUS_NOTFOUND if no record was found.
15495
597df647
AS
154962011-05-05 Andreas Schwab <schwab@redhat.com>
15497
15498 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15499 (headers-not-in-tirpc): Remove rpc/netdb.h
15500 * resolv/netdb.h: Revert last change.
15501
b9af1301
PP
155022011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15503
15504 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15505 circular dependency between libgcc.a and libc.a.
15506
4e34d5f5
AS
155072011-05-05 Andreas Schwab <schwab@redhat.com>
15508
15509 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15510 * nis/Makefile: Don't install rpcsvc/*.
15511 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15512 instead of <rpc/types.h>.
15513 (MAXHOSTNAMELEN): Define.
15514
00ee369c
AS
155152011-05-03 Andreas Schwab <schwab@redhat.com>
15516
15517 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15518
0b592a30
MB
155192011-04-28 Maciej Babinski <mbabinski@google.com>
15520
15521 [BZ #12714]
15522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15523 gethostbyname4_r when IPv6 results are possible.
15524
6e04cbbe
UD
155252011-05-02 Ulrich Drepper <drepper@gmail.com>
15526
15527 [BZ #12723]
15528 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15529 _PC_PIPE_BUF handling.
15530
e4ecafe0
BH
155312011-04-30 Bruno Haible <bruno@clisp.org>
15532
15533 [BZ #12717]
15534 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15535 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15536 to 'int'.
15537 * inet/getnameinfo.c (getnameinfo): Likewise.
15538
125ee683
UD
155392011-04-29 Ulrich Drepper <drepper@gmail.com>
15540
15541 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15542 to groups setting in database lookup.
15543 * nss/nsswitch.conf: Add initgroups entry.
15544
b722481a
EB
155452011-04-22 Ulrich Drepper <drepper@gmail.com>
15546
15547 [BZ #12685]
15548 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15549 mode string.
15550 Patch by Eric Blake <eblake@redhat.com>.
15551
4df46dbd
L
155522011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15553
15554 * sunrpc/Makefile (need-export-routines): Add svc_run.
15555 (routines): Remove svc_run.
15556 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15557 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15558 * sunrpc/svc_run.c (svc_run): Likewise.
15559 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15560
e84142d2
UD
155612011-04-21 Ulrich Drepper <drepper@gmail.com>
15562
15563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15564 problem in reallocation in last patch.
15565
877175d8
UD
155662011-04-20 Ulrich Drepper <drepper@gmail.com>
15567
15568 * sunrpc/Makefile: Move inclusion of Rules.
15569
ab8eed78
UD
155702011-04-19 Ulrich Drepper <drepper@gmail.com>
15571
15572 * nss/nss_files/files-initgroups.c: New file.
15573 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15574 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15575 _nss_files_initgroups_dyn.
15576
e3d8f584
RS
155772011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15578
15579 * elf/elf.h (R_ARM_IRELATIVE): Define.
15580
af190f45
UD
155812011-04-19 Ulrich Drepper <drepper@gmail.com>
15582
15583 * po/ru.po: Update from translation team.
15584
53cf59ef
UD
155852011-04-17 Ulrich Drepper <drepper@gmail.com>
15586
15587 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15588 dependencies.
15589
4c559bcd
MF
155902011-02-06 Mike Frysinger <vapier@gentoo.org>
15591
15592 [BZ #12653]
15593 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15594 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15598
4420675c
AS
155992011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15600
15601 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15602 differing bytes.
15603 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15604 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15606
75ea32ab
UD
156072011-04-17 Ulrich Drepper <drepper@gmail.com>
15608
15609 [BZ #12420]
15610 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15611 storing it.
15612 * stdlib/bug-getcontext.c: New file.
15613 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15614
27390476
AK
156152011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15616
15617 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15618 instructions into .machine "z9-109".
15619 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15620 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15621
10442705
AK
156222011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15623
15624 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15625 between environment variables and auxiliary vector.
15626
7b57bfe5
UD
156272011-04-16 Ulrich Drepper <drepper@gmail.com>
15628
15629 * Makefile: Add rules to build linkobj/libc.so.
15630 * include/libc-symbols.h: Define libc_hidden_nolink.
15631 * include/rpc/auth.h: Mark functions which are to be hidden.
15632 * include/rpc/auth_des.h: Likewise.
15633 * include/rpc/auth_unix.h: Likewise.
15634 * include/rpc/clnt.h: Likewise.
15635 * include/rpc/des_crypt.h: Likewise.
15636 * include/rpc/key_prot.h: Likewise.
15637 * include/rpc/pmap_clnt.h: Likewise.
15638 * include/rpc/pmap_prot.h: Likewise.
15639 * include/rpc/pmap_rmt.h: Likewise.
15640 * include/rpc/rpc_msg.h: Likewise.
15641 * include/rpc/svc.h: Likewise.
15642 * include/rpc/svc_auth.h: Likewise.
15643 * include/rpc/xdr.h: Likewise.
15644 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15645 * nss/Makefile: Likewise.
15646 * sunrpc/Makefile: Don't install headers. Build library with normal
15647 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15648 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15649 for the compat linking library. Remove use of INTDEF/INTUSE.
15650 * sunrpc/auth_none.c: Likewise.
15651 * sunrpc/auth_unix.c: Likewise.
15652 * sunrpc/authdes_prot.c: Likewise.
15653 * sunrpc/authuxprot.c: Likewise.
15654 * sunrpc/clnt_gen.c: Likewise.
15655 * sunrpc/clnt_perr.c: Likewise.
15656 * sunrpc/clnt_raw.c: Likewise.
15657 * sunrpc/clnt_simp.c: Likewise.
15658 * sunrpc/clnt_tcp.c: Likewise.
15659 * sunrpc/clnt_udp.c: Likewise.
15660 * sunrpc/clnt_unix.c: Likewise.
15661 * sunrpc/des_crypt.c: Likewise.
15662 * sunrpc/des_soft.c: Likewise.
15663 * sunrpc/get_myaddr.c: Likewise.
15664 * sunrpc/key_call.c: Likewise.
15665 * sunrpc/key_prot.c: Likewise.
15666 * sunrpc/netname.c: Likewise.
15667 * sunrpc/pm_getmaps.c: Likewise.
15668 * sunrpc/pm_getport.c: Likewise.
15669 * sunrpc/pmap_clnt.c: Likewise.
15670 * sunrpc/pmap_prot.c: Likewise.
15671 * sunrpc/pmap_prot2.c: Likewise.
15672 * sunrpc/pmap_rmt.c: Likewise.
15673 * sunrpc/publickey.c: Likewise.
15674 * sunrpc/rpc_cmsg.c: Likewise.
15675 * sunrpc/rpc_common.c: Likewise.
15676 * sunrpc/rpc_dtable.c: Likewise.
15677 * sunrpc/rpc_prot.c: Likewise.
15678 * sunrpc/rpc_thread.c: Likewise.
15679 * sunrpc/rtime.c: Likewise.
15680 * sunrpc/svc.c: Likewise.
15681 * sunrpc/svc_auth.c: Likewise.
15682 * sunrpc/svc_authux.c: Likewise.
15683 * sunrpc/svc_raw.c: Likewise.
15684 * sunrpc/svc_run.c: Likewise.
15685 * sunrpc/svc_simple.c: Likewise.
15686 * sunrpc/svc_tcp.c: Likewise.
15687 * sunrpc/svc_udp.c: Likewise.
15688 * sunrpc/svc_unix.c: Likewise.
15689 * sunrpc/svcauth_des.c: Likewise.
15690 * sunrpc/xcrypt.c: Likewise.
15691 * sunrpc/xdr.c: Likewise.
15692 * sunrpc/xdr_array.c: Likewise.
15693 * sunrpc/xdr_float.c: Likewise.
15694 * sunrpc/xdr_intXX_t.c: Likewise.
15695 * sunrpc/xdr_mem.c: Likewise.
15696 * sunrpc/xdr_rec.c: Likewise.
15697 * sunrpc/xdr_ref.c: Likewise.
15698 * sunrpc/xdr_sizeof.c: Likewise.
15699 * sunrpc/xdr_stdio.c: Likewise.
15700
e6c61494
UD
157012011-04-10 Ulrich Drepper <drepper@gmail.com>
15702
15703 [BZ #12650]
15704 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15705 * sysdeps/ia64/dl-tls.h: Likewise.
15706 * sysdeps/powerpc/dl-tls.h: Likewise.
15707 * sysdeps/s390/dl-tls.h: Likewise.
15708 * sysdeps/sh/dl-tls.h: Likewise.
15709 * sysdeps/sparc/dl-tls.h: Likewise.
15710 * sysdeps/x86_64/dl-tls.h: Likewise.
15711 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15712
34fe483e
AS
157132011-03-14 Andreas Schwab <schwab@redhat.com>
15714
15715 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15716 rpath element also skip the following colon.
15717 (expand_dynamic_string_token): Add is_path parameter and pass
15718 down to DL_DST_REQUIRED and _dl_dst_substitute.
15719 (decompose_rpath): Call expand_dynamic_string_token with
15720 non-zero is_path. Ignore empty rpaths.
15721 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15722 with zero is_path.
15723
f12a32e6
AS
157242011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15725
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15727 Make cancelable.
15728
38a7d692
UD
157292011-04-09 Ulrich Drepper <drepper@gmail.com>
15730
15731 [BZ #12655]
15732 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15733 Patch by Filipe David Manana <fdmanana@apache.org>.
15734
e451d22b
AS
157352011-04-07 Andreas Schwab <schwab@redhat.com>
15736
15737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15738 Maintain aligned stack.
15739 (CHECK_RSP): Remove unused macro.
15740
dedc7c7b
UD
157412011-04-03 Ulrich Drepper <drepper@gmail.com>
15742
15743 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15744 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15745
94521213
UD
157462011-04-02 Ulrich Drepper <drepper@gmail.com>
15747
15748 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15749
8cb700c0 15750 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15751
0354e355
L
157522011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15753
15754 [BZ #12518]
15755 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15756 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15757 * sysdeps/x86_64/memmove.c: New file.
15758 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15759 (memcpy): Renamed to ...
15760 (__new_memcpy): This.
15761 (memcpy): Provide GLIBC_2_14 memcpy.
15762 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15763 (memcpy): Provide GLIBC_2_2_5 memcpy.
15764
8593482f
UD
157652011-04-01 Ulrich Drepper <drepper@gmail.com>
15766
15767 [BZ #12631]
15768 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15769
81a5726b
AS
157702011-03-30 Andreas Schwab <schwab@redhat.com>
15771
15772 * misc/syncfs.c: New file.
15773 * misc/Makefile (routines): Add syncfs.
15774 * posix/unistd.h: Declare syncfs.
15775 * sysdeps/unix/syscalls.list: Add syncfs.
15776
00e5419f
AS
157772011-04-01 Andreas Schwab <schwab@redhat.com>
15778
15779 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15780 open_by_handle_at.
15781 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15782 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15783 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15784 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15786 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15787 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15788
748876bf
UD
157892011-04-01 Ulrich Drepper <drepper@gmail.com>
15790
658e451d
UD
15791 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15792 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15793 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15795 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15797 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15798
748876bf
UD
15799 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15800 sync_file_range.c with -fexceptions.
15801 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15802 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15803 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15804 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15805 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15806 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15808 sync_file_range as cancellation point
15809 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15810 now a wrapper around __call_sync_file_range with cancellation handling.
15811 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15812 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15813 function name to __call_sync_file_range.
15814 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15815 Add call_sync_file_range.
748876bf 15816
6e63d5e1
AS
158172011-04-01 Andreas Schwab <schwab@redhat.com>
15818
15819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15820 bits/timex.h.
6e63d5e1 15821
46998f74
UD
158222011-04-01 Ulrich Drepper <drepper@gmail.com>
15823
4c1423ed
UD
15824 * iconv/iconv.h: Fix typo in comment.
15825 * io/fcntl.h: Likewise.
15826 * libio/stdio.h: Likewise.
15827 * posix/spawn.h: Likewise.
15828 * posix/unistd.h: Likewise.
15829 * stdlib/stdlib.h: Likewise.
15830 * time/time.h: Likewise.
15831 * wcsmbs/wchar.h: Likewise.
15832
158648c0
UD
15833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15834 open_by_handle): Add.
15835 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15836 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15837 Augment a few comments.
15838 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15842 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15843 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15844 open_by_handle.
15845
46998f74
UD
15846 * io/fcntl.h (AT_EMPTY_PATH): Define.
15847
83fe108b
UD
158482011-03-30 Ulrich Drepper <drepper@gmail.com>
15849
15850 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15851 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15852 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15853 to...
15854 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15855 * Versions.def: Add GLIBC_2.14.
15856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15857 Export.
83fe108b 15858
bb242059
UD
158592011-03-22 Ulrich Drepper <drepper@gmail.com>
15860
15861 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15862 round counter.
15863 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15864
c97a1282
L
158652011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15866
15867 [BZ #12597]
15868 * string/test-strncmp.c (do_page_test): New function.
15869 (check2): Likewise.
15870 (test_main): Call check2.
15871 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15872
2a115601
UD
158732011-03-20 Ulrich Drepper <drepper@gmail.com>
15874
15875 [BZ #12587]
15876 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15877 Handle cache information in CPU leaf 4.
15878 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15879
8126d904
UD
158802011-03-18 Ulrich Drepper <drepper@gmail.com>
15881
042c49c6 15882 [BZ #12583]
8126d904
UD
15883 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15884 character representation.
15885 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15886
ccfe366e
RA
158872011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15888
15889 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15890 END(__isnan) to END(__isnanf) to match function entry point/label
15891 EALIGN(__isnanf,...).
15892
c6e13027
JJ
158932011-03-10 Jakub Jelinek <jakub@redhat.com>
15894
15895 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15896
33f85a3f
UD
158972011-03-10 Ulrich Drepper <drepper@gmail.com>
15898
028478fa
UD
15899 [BZ #12510]
15900 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15901 copy from the symbol referenced in the relocation to initialize the
15902 used variable.
15903 Patch by Piotr Bury <pbury@goahead.com>.
15904 * elf/Makefile: Add rules to build and tst-unique3.
15905 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15906 * elf/tst-unique3.cc: New file.
15907 * elf/tst-unique3.h: New file.
15908 * elf/tst-unique3lib.cc: New file.
15909 * elf/tst-unique3lib2.cc: New file.
15910
33f85a3f
UD
15911 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15912
03592fc7
MF
159132011-03-10 Mike Frysinger <vapier@gentoo.org>
15914
15915 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15916 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15917 to _start.
03592fc7 15918
6a5ee102
UD
159192011-03-06 Ulrich Drepper <drepper@gmail.com>
15920
15921 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15922 to-be-loaded object along a path to loader is ld.so.
15923
7e4ba49c
HJ
159242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15925 Ulrich Drepper <drepper@gmail.com>
15926
15927 * sysdeps/x86_64/memset.S: After aligning destination, code
15928 branches to different locations depending on the value of
15929 misalignment, when multiarch is enabled. Fix this.
15930
159312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15932
15933 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15934 Set _x86_64_preferred_memory_instruction for AMD processsors.
15935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15936 Set bit_Prefer_SSE_for_memop for AMD processors.
15937
13a804de
UD
159382011-03-04 Ulrich Drepper <drepper@gmail.com>
15939
15940 * libio/fmemopen.c (fmemopen): Optimize a bit.
15941
9d25c392
AS
159422011-03-03 Andreas Schwab <schwab@redhat.com>
15943
15944 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15945
a5543c6a
RM
159462011-03-03 Roland McGrath <roland@redhat.com>
15947
15948 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15949
012d35f7
DM
159502011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15951
7e4ba49c 15952 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15953 __bzero_ultra1 instead of __memset_ultra1.
15954
4bff6e01
AS
159552011-02-23 Andreas Schwab <schwab@redhat.com>
15956 Ulrich Drepper <drepper@gmail.com>
15957
15958 [BZ #12509]
15959 * include/link.h (struct link_map): Add l_orig_initfini.
15960 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15961 returning unsuccessfully.
15962 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15963 close of a file loaded at startup, restore the original l_initfini
15964 list.
15965 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15966 list, store the pointer.
15967 * elf/Makefile ($(objpfx)noload-mem): New rule.
15968 (noload-ENV): Define.
15969 (tests): Add $(objpfx)noload-mem.
15970 * elf/noload.c: Include <memcheck.h>.
15971 (main): Call mtrace. Close all opened handles.
15972
f2092faf
AS
159732011-02-17 Andreas Schwab <schwab@redhat.com>
15974
15975 [BZ #12454]
15976 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15977 dependencies are missing.
15978
6c8a2e88
ST
159792011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15980
f2092faf 15981 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15982 Hurd needs munmap.
15983 * sysdeps/mach/hurd/ifreq.h: New file.
15984
84a42118
PB
159852011-01-27 Petr Baudis <pasky@suse.cz>
15986 Ulrich Drepper <drepper@gmail.com>
15987
071f805e 15988 [BZ 12445]#
84a42118
PB
15989 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15990 to extend_alloca().
15991 * stdio-common/bug23.c: New file.
15992 * stdio-common/Makefile (tests): Add bug23.
15993
e23fe25b
AS
159942010-09-28 Andreas Schwab <schwab@redhat.com>
15995 Ulrich Drepper <drepper@gmail.com>
15996
15997 [BZ #12489]
15998 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15999 before performing relro protection. At old place add assertion
16000 to make sure nothing changed.
16001
d3f02e10
NS
160022011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16003 Glauber de Oliveira Costa <glommer@gmail.com>
16004
16005 * elf/elf.h: Add new ARM TLS relocs.
16006
d55fd7a5
RA
160072011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16008
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16010 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16011 cast from r3.
16012 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16013 'tests' variable.
16014 * sysdeps/wordsize-64/tst-writev.c: New file.
16015
2206397e
RA
160162011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16017
16018 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16019 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16020 insns in _dl_start to prevent a TOC reference before relocs are
16021 resolved.
16022
e9433893
UD
160232011-02-15 Ulrich Drepper <drepper@gmail.com>
16024
16025 [BZ #12469]
16026 * Makeconfig: Remove RANLIB definition.
16027 * Makerules: Don't use RANLIB.
16028 * aclocal.m4: Remove ranlib test.
16029 * configure.in: No need to check for ranlib.
16030 * elf/rtld-Rules: Don't use RANLIB.
16031
f75286c6
ST
160322011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16033
8e31c82d
ST
16034 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16035 protection macro.
16036 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16037 inclusion protection macro.
16038
f75286c6
ST
16039 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16040 SIGRTMIN and SIGRTMAX and print information in that case only when
16041 SIGRTMIN is defined.
16042
c1d0e639
JJ
160432011-02-11 Jakub Jelinek <jakub@redhat.com>
16044
16045 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16046 arginfo fn returning -1.
16047
16048 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16049 and thousands string is zero terminated.
16050
edf9294e
AS
160512011-02-03 Andreas Schwab <schwab@redhat.com>
16052
16053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16054 sysdeps/unix/sysv/linux/bits/socket.h.
16055
2b7e92df
ST
160562011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16057
edf9294e
AS
16058 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16059 (__CPU_COUNT): Remove old macros.
16060 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16061 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16062 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16063 (__sched_cpualloc, __sched_cpufree): Add declarations.
16064
a4c7ea7b
UD
160652011-02-05 Ulrich Drepper <drepper@gmail.com>
16066
16067 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16068 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16069 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16070 (readdhstai): Return value of addhstaiX call.
16071 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16072 (addgrbyX): Return value returned by cache_addgr.
16073 (readdgrbyname): Return value returned by addgrbyX.
16074 (readdgrbygid): Likewise.
16075 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16076 (addpwbyX): Return value returned by cache_addpw.
16077 (readdpwbyname): Return value returned by addhstbyX.
16078 (readdpwbyuid): Likewise.
16079 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16080 (addservbyX): Return value returned by cache_addserv.
16081 (readdservbyname): Return value returned by addservbyX:
16082 (readdservbyport): Likewise.
16083 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16084 (addhstbyX): Return value returned by cache_addhst.
16085 (readdhstbyname): Return value returned by addhstbyX.
16086 (readdhstbyaddr): Likewise.
16087 (readdhstbynamev6): Likewise.
16088 (readdhstbyaddrv6): Likewise.
16089 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16090 (readdinitgroups): Return value returned by addinitgroupsX.
16091 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16092 (prune_cache): Keep track of timeout value of re-added entries.
16093 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16094 * nscd/nscd.h: Adjust prototypes of readd* functions.
16095
a0bf67cc
RM
160962011-02-04 Roland McGrath <roland@redhat.com>
16097
16098 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16099 (nis_stats): Likewise.
16100 * nis/nis_modify.c (nis_modify): Likewise.
16101 * nis/nis_remove.c (nis_remove): Likewise.
16102 * nis/nis_add.c (nis_add): Likewise.
16103
16104 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16105
16106 * posix/fnmatch_loop.c: Add some consts.
16107
16108 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16109
435b95eb
L
161102011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16111
16112 [BZ #12460]
16113 * config.make.in (config-cflags-novzeroupper): Define.
16114 * configure.in: Substitute libc_cv_cc_novzeroupper.
16115 * elf/Makefile (AVX-CFLAGS): Define.
16116 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16117 (CFLAGS-tst-auditmod4a.c): Likewise.
16118 (CFLAGS-tst-auditmod4b.c): Likewise.
16119 (CFLAGS-tst-auditmod6b.c): Likewise.
16120 (CFLAGS-tst-auditmod6c.c): Likewise.
16121 (CFLAGS-tst-auditmod7b.c): Likewise.
16122 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16123
8517b15e
UD
161242011-02-02 Ulrich Drepper <drepper@gmail.com>
16125
16126 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16127 function to the callback.
16128 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16129
10a656fe
AS
161302011-02-02 Andreas Schwab <schwab@redhat.com>
16131
16132 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16133 of errno.
16134
968dad0a
UD
161352011-01-19 Ulrich Drepper <drepper@gmail.com>
16136
9f94d2ea 16137 [BZ #11724]
968dad0a
UD
16138 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16139 of constructors.
16140 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16141 of destructors.
16142 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16143
16144 [BZ #11724]
16145 * elf/Makefile: Add rules to build and run new test.
16146 * elf/tst-initorder.c: New file.
16147 * elf/tst-initorder.exp: New file.
16148 * elf/tst-initordera1.c: New file.
16149 * elf/tst-initordera2.c: New file.
16150 * elf/tst-initordera3.c: New file.
16151 * elf/tst-initordera4.c: New file.
16152 * elf/tst-initorderb1.c: New file.
16153 * elf/tst-initorderb2.c: New file.
16154 * elf/tst-order-a1.c: New file.
16155 * elf/tst-order-a2.c: New file.
16156 * elf/tst-order-a3.c: New file.
16157 * elf/tst-order-a4.c: New file.
16158 * elf/tst-order-b1.c: New file.
16159 * elf/tst-order-b2.c: New file.
16160 * elf/tst-order-main.c: New file.
16161 New test case by George Gensure <werkt0@gmail.com>.
16162
86e92359
UD
161632010-10-01 Andreas Schwab <schwab@redhat.com>
16164
16165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16166 decoding ACE if AI_CANONIDN.
16167
5d5732b0
UD
161682011-01-18 Ulrich Drepper <drepper@gmail.com>
16169
16170 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16171
a77e8cbc
UD
161722011-01-17 Ulrich Drepper <drepper@gmail.com>
16173
6392473f
UD
16174 * version.h (RELEASE): Bump for 2.13 release.
16175 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16176
620a0529
UD
16177 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16178
18ba70a5
UD
16179 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16180 MADV_NOHUGEPAGE.
32465c3e
UD
16181 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16183 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16187
c0dafcf1
UD
16188 * posix/getconf.c: Update copyright year.
16189 * catgets/gencat.c: Likewise.
16190 * csu/version.c: Likewise.
16191 * debug/catchsegv.sh: Likewise.
16192 * debug/xtrace.sh: Likewise.
16193 * elf/ldconfig.c: Likewise.
16194 * elf/ldd.bash.in: Likewise.
16195 * elf/sprof.c (print_version): Likewise.
16196 * iconv/iconv_prog.c: Likewise.
16197 * iconv/iconvconfig.c: Likewise.
16198 * locale/programs/locale.c: Likewise.
16199 * locale/programs/localedef.c: Likewise.
16200 * malloc/memusage.sh: Likewise.
16201 * malloc/mtrace.pl: Likewise.
16202 * nscd/nscd.c (print_version): Likewise.
16203 * nss/getent.c: Likewise.
16204
a77e8cbc
UD
16205 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16206 PF_CAIF, and PF_ALG.
16207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16208
77e8bddf
AS
162092011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16210
1f20b93a
AS
16211 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16212 (modules-names): Use them.
16213 (ifunc-test-modules, ifunc-pie-tests): Define.
16214 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16215 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16216 (test-extras): Likewise.
16217 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16218 $(compile-command.c).
16219 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16220 (all-built-dso): Define.
16221 (check-textrel.out, check-execstack.out): Depend on it.
16222
77e8bddf
AS
16223 * configure.in: Don't override --enable-multi-arch.
16224
bc425b33
UD
162252011-01-15 Ulrich Drepper <drepper@gmail.com>
16226
16227 [BZ #6812]
16228 * nscd/hstcache.c (tryagain): Define.
16229 (cache_addhst): Return tryagain not notfound for temporary errors.
16230 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16231 failed.
16232
794c3ad3
UD
162332011-01-14 Ulrich Drepper <drepper@gmail.com>
16234
70181fdd
UD
16235 [BZ #10563]
16236 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16237 to make the syscall.
16238 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16239
794c3ad3
UD
16240 [BZ #12378]
16241 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16242 and fall back to matching as normal character if the string ends before
16243 the matching ']' is found. This is what POSIX requires.
16244 * posix/testfnm.c: Adjust test result.
16245 * posix/globtest.sh: Adjust test result. Add new test.
16246 * posix/tst-fnmatch.input: Likewise.
16247 * posix/tst-fnmatch2.c: Add new test.
16248
68dc9497
AS
162492010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16250
16251 * elf/Makefile (check-execstack): Revert last change. Depend on
16252 check-execstack.h.
16253 (check-execstack.h): New target.
16254 (generated): Add check-execstack.h.
16255 * elf/check-execstack.c: Include "check-execstack.h".
16256 (main): Revert last change.
16257 (handle_file): Return zero if GNU_STACK is absent and
16258 DEFAULT_STACK_PERMS doesn't include PF_X.
16259
451f001b
UD
162602011-01-13 Ulrich Drepper <drepper@gmail.com>
16261
cfa28e56
UD
16262 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16263 in child fails because the descriptor is already closed.
8cf8ce17
UD
16264 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16265 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16266 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16267
1086d70d
UD
16268 [BZ #12397]
16269 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16270 syscall.
16271
451f001b
UD
16272 [BZ #10484]
16273 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16274 temporary buffer used to handle multi lookups locally.
a85b5cb4 16275 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16276
08769175
UD
162772011-01-12 Ulrich Drepper <drepper@gmail.com>
16278
16279 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16280 loader is ld.so.
16281
5e49c52e
UD
162822011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16283
16284 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16285 alignment for SSE2.
16286
60522a5f
UD
162872011-01-12 Ulrich Drepper <drepper@gmail.com>
16288
16289 [BZ #12394]
16290 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16291 characters. When rounding increased number of integer digits recompute
16292 number of groups.
16293 * stdio-common/tst-grouping.c: New file.
16294 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16295
f257bbd7
UD
162962011-01-09 Ulrich Drepper <drepper@gmail.com>
16297
16298 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16299 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16300
16301 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16302 void.
16303 * bits/select.h: Likewise.
16304
fa9c15cb
UD
163052011-01-08 Ulrich Drepper <drepper@gmail.com>
16306
16307 * po/ja.po: Update from translation team.
16308
16c2895f
DM
163092011-01-04 David S. Miller <davem@sunset.davemloft.net>
16310
16311 [BZ #11155]
16312 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16313 implementation just like for lxstat, fxstatat, et al.
16314
2543fef2
JM
163152010-12-27 Jim Meyering <meyering@redhat.com>
16316
16317 [BZ #12348]
16318 * posix/regexec.c (build_trtable): Return failure indication upon
16319 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16320
98727dbe
UD
163212010-12-25 Ulrich Drepper <drepper@gmail.com>
16322
5bd6dc5c
UD
16323 [BZ #12201]
16324 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16325 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16326 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16327 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16328
97983464
UD
16329 [BZ #12207]
16330 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16331
98727dbe
UD
16332 [BZ #12204]
16333 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16334 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16335
4a531bb0
L
163362010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16337
16338 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16339 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16340 script has SORT_BY_INIT_PRIORITY.
16341 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16342 NO_CTORS_DTORS_SECTIONS is defined.
16343 * elf/soinit.c: Likewise.
16344 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16345 NO_CTORS_DTORS_SECTIONS is defined.
16346 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16347 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16348 * sysdeps/sh/init-first.c: Likewise.
16349 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16350
07eb4b71
UD
163512010-12-24 Ulrich Drepper <drepper@gmail.com>
16352
16353 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16354 always use the slow path.
16355
30950a5f
RA
163562010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16357
16358 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16359 similar rule which adds the sysdep directories to the header search in
16360 order to pick up the correct platform stackinfo.h.
16361 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16362 perform test if it is, otherwise return successfully without testing.
16363 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16364 DEFAULT_STACK_PERMS define in stackinfo.h.
16365 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16366 defined in stackinfo.h.
16367 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16368 DEFAULT_STACK_PERMS defined in stackinfo.h.
16369 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16370 * sysdeps/ia64/stackinfo.h: Likewise.
16371 * sysdeps/s390/stackinfo.h: Likewise.
16372 * sysdeps/sh/stackinfo.h: Likewise.
16373 * sysdeps/sparc/stackinfo.h: Likewise.
16374 * sysdeps/x86_64/stackinfo.h: Likewise.
16375 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16376 PF_X for powerpc64. Retain PF_X for powerpc32.
16377
db753e2c
UD
163782010-12-19 Ulrich Drepper <drepper@gmail.com>
16379
14b697f7
UD
16380 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16381 accurately.
db753e2c
UD
16382 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16383 GETDENTS_64BIT_ALIGNED.
16384
28300719
UD
163852010-12-14 Ulrich Drepper <dreper@gmail.com>
16386
14b697f7 16387 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16388
4f197237
AS
163892010-12-10 Andreas Schwab <schwab@redhat.com>
16390
dbb0472f
AS
16391 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16392 _GNU_SOURCE.
16393
4f197237
AS
16394 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16395 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16396 Remove __restrict.
16397 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16398 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16399
fb88ac72
UD
164002010-12-09 Ulrich Drepper <drepper@gmail.com>
16401
16402 [BZ #11655]
16403 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16404 are initialized.
16405
42acbb92
JJ
164062010-12-09 Jakub Jelinek <jakub@redhat.com>
16407
16408 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16409
c038d98d
UD
164102010-12-03 Ulrich Drepper <drepper@gmail.com>
16411
16412 * po/it.po: Update from translation team.
16413
3a4a2499
L
164142010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16415
16416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16417 unused codes.
16418
1e24cf6e
UD
164192010-11-30 Ulrich Drepper <drepper@gmail.com>
16420
16421 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16422
a7690819
AS
164232010-11-24 Andreas Schwab <schwab@redhat.com>
16424
16425 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16426 specially.
16427 (gaih_getanswer_slice): Likewise.
16428
3bf8d1b1
JJ
164292010-10-20 Jakub Jelinek <jakub@redhat.com>
16430
16431 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16432
6db52fbb
PB
164332010-05-31 Petr Baudis <pasky@suse.cz>
16434
16435 [BZ #11149]
16436 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16437 silently even in the chroot mode.
16438
eaca7569
UD
164392010-11-22 Ulrich Drepper <drepper@gmail.com>
16440
16441 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16442 last patch a bit. Pretty printing
16443
3056dcdb
UD
164442010-05-31 Petr Baudis <pasky@suse.cz>
16445
16446 [BZ #10085]
16447 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16448 initialization of skip_initgroups_dyn.
16449
cf7c9078
UD
164502010-11-19 Ulrich Drepper <drepper@gmail.com>
16451
16452 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16453 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16454
a1fb5e3e
UD
164552010-11-16 Ulrich Drepper <drepper@gmail.com>
16456
16457 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16458
3540d66b
AS
164592010-11-11 Andreas Schwab <schwab@redhat.com>
16460
16461 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16462 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16463 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16464 ($(objpfx)tst-fnmatch-mem): New rule.
16465 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16466 * posix/tst-fnmatch.c (main): Call mtrace.
16467
13b69574
L
164682010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16469
16470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16471 Support Intel processor model 6 and model 0x2c.
16472
da93d214
LM
164732010-11-10 Luis Machado <luisgpm@br.ibm.com>
16474
16475 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16476 signed comparison.
16477
8ca52c6e
L
164782010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 [BZ #12205]
16481 * string/test-strncasecmp.c (check_result): New function.
16482 (do_one_test): Use it.
16483 (check1): New function.
16484 (test_main): Use it.
16485 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16486 Support strcasecmp and strncasecmp.
16487
69da074d
UD
164882010-11-08 Ulrich Drepper <drepper@gmail.com>
16489
16490 [BZ #12194]
16491 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16493
ff02d528
L
164942010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16495
16496 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16497 IFUNC support.
16498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16499 memset-x86-64.
16500 * sysdeps/x86_64/multiarch/bzero.S: New file.
16501 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16502 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16503 * sysdeps/x86_64/multiarch/memset.S: New file.
16504 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16506 Set bit_Prefer_SSE_for_memop for Intel processors.
16507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16508 Define.
16509 (index_Prefer_SSE_for_memop): Define.
16510 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16511
344d0b54
LM
165122010-11-04 Luis Machado <luisgpm@br.ibm.com>
16513
16514 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16515 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16516
c0dde15b
UD
165172010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16518
16519 [BZ #12191]
16520 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16521 (__x86_64_raw_data_cache_size_half): Likewise.
16522 (__x86_64_raw_shared_cache_size): Likewise.
16523 (__x86_64_raw_shared_cache_size_half): Likewise.
16524
16525 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16526 (__x86_64_raw_data_cache_size_half): Likewise.
16527 (__x86_64_raw_shared_cache_size): Likewise.
16528 (__x86_64_raw_shared_cache_size_half): Likewise.
16529 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16530 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16531 and __x86_64_raw_shared_cache_size_half. Round
16532 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16533 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16534 to multiple of 256 bytes.
16535
0e516e0e
MS
165362010-11-03 Ulrich Drepper <drepper@gmail.com>
16537
16538 [BZ #12167]
16539 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16540 of inacessible symlinks. Verify result of symlink before returning it.
16541 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16542 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16543
0e012e87
ER
165442010-10-28 Erich Ritz <erichritz@gmail.com>
16545
16546 * math/math.h (isinf): Fix typo in comment.
16547
de0ff7bc
UD
165482010-11-01 Ulrich Drepper <drepper@gmail.com>
16549
16550 * po/da.po: Update from translation team.
16551
fa41c84d
UD
165522010-10-26 Ulrich Drepper <drepper@gmail.com>
16553
16554 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16555 is added to the list.
16556
f0967738
AK
165572010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16558 Ulrich Drepper <drepper@gmail.com>
16559
16560 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16561 the global list here. Move code to...
16562 (_dl_add_to_namespace_list): ...here. New function.
16563 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16564 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16565 * elf/dl-load.c (lose): Don't remove the element from the list.
16566 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16567 (_dl_map_object): Likewise.
16568
165692010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16570
16571 [BZ #12159]
16572 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16573 into all bytes of SSE register.
16574 Patch by Richard Li <richardpku@gmail.com>.
16575
f0967738 165762010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16577
16578 [BZ #12140]
16579 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16580 perturbing.
16581
d0b9e94f
MB
165822010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16583
16584 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16585 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16586 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16587 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16589 submachine.
16590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16591
8e9f92e9
AS
165922010-10-22 Andreas Schwab <schwab@redhat.com>
16593
16594 * include/dlfcn.h (__RTLD_SECURE): Define.
16595 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16596 mode & __RTLD_SECURE instead.
16597 (open_path): Rename preloaded parameter to secure.
16598 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16599 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16600 * elf/dl-deps.c (openaux): Likewise.
16601 * elf/rtld.c (struct map_args): Remove is_preloaded.
16602 (map_doit): Don't use it.
16603 (dl_main): Likewise.
16604 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16605 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16606
bc96fbda
AS
166072010-09-09 Andreas Schwab <schwab@redhat.com>
16608
16609 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16610 (sysd-rules-targets): Remove duplicates.
16611 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16612 rtld-%.$o dependency.
16613
22cd1c9b
AS
166142010-10-18 Andreas Schwab <schwab@redhat.com>
16615
16616 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16617 _dl_map_object do it.
16618
18edac48
UD
166192010-10-19 Ulrich Drepper <drepper@gmail.com>
16620
16621 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16622 fast fma builtins, define the macros in the C99 standard.
16623 (FP_FAST_FMAF): Likewise.
16624 (FP_FAST_FMAL): Likewise.
16625 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16626
16627 * bits/mathdef.h: Update copyright year.
16628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16629
d2050124
MM
166302010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16631
16632 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16633 builtins, define the macros in the C99 standard.
16634 (FP_FAST_FMAF): Likewise.
16635 (FP_FAST_FMAL): Likewise.
16636 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16637 multiply/add.
16638 (FP_FAST_FMAF): Likewise.
16639
475facd1
JJ
166402010-10-15 Jakub Jelinek <jakub@redhat.com>
16641
16642 [BZ #3268]
16643 * math/libm-test.inc (fma_test): Some new testcases.
16644 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16645 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16646 y and infinite z. Do multiplication by C already in long double.
16647 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16649 y and infinite z. Do bitwise or of inexact bit into u.d.
16650 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16651 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16652 * sysdeps/i386/fpu/s_fma.S: Removed.
16653 * sysdeps/i386/fpu/s_fmal.S: Removed.
16654
7c08a05c
JJ
166552010-10-16 Jakub Jelinek <jakub@redhat.com>
16656
16657 [BZ #3268]
16658 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16660 computation is not scheduled after fetestexcept. Fix value
16661 of minimum denormal long double.
16662
f3f7372d
JJ
166632010-10-14 Jakub Jelinek <jakub@redhat.com>
16664
16665 [BZ #3268]
16666 * math/libm-test.inc (fma_test): Add some more tests.
16667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16668 correctly.
16669
14d43591
AS
166702010-10-15 Andreas Schwab <schwab@redhat.com>
16671
16672 * scripts/data/localplt-s390-linux-gnu.data: New file.
16673 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16674
5e908464
JJ
166752010-10-13 Jakub Jelinek <jakub@redhat.com>
16676
16677 [BZ #3268]
16678 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16679 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16680 instead of dbl-64.
16681 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16682 inlines.
16683 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16685 if one of x and y is very large and the other is subnormal.
16686 * sysdeps/s390/fpu/s_fmaf.c: New file.
16687 * sysdeps/s390/fpu/s_fma.c: New file.
16688 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16689 * sysdeps/powerpc/fpu/s_fma.S: New file.
16690 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16691 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16692 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16693
166942010-10-12 Jakub Jelinek <jakub@redhat.com>
16695
16696 [BZ #3268]
16697 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16698 fma tests.
16699 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16700 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16701 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16702 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16703 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16704 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16706
b833d51f
UD
167072010-10-12 Ulrich Drepper <drepper@redhat.com>
16708
16709 [BZ #12078]
16710 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16711 * posix/bug-regex31.input: Add test case.
16712
1751705d
UD
167132010-10-11 Ulrich Drepper <drepper@gmail.com>
16714
e9b9cbf5
UD
16715 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16716 * posix/bug-regex31.input: New file.
16717
16718 [BZ #12078]
16719 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16720 (parse_sub_exp): Fix last change, use postorder.
16721
ef06edbe
UD
16722 * posix/bug-regex31.c: New file.
16723 * posix/Makefile: Add rules to build and run bug-regex31.
16724
a129c80d
UD
16725 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16726
16727 [BZ #12078]
16728 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16729
b76b818e
UD
16730 [BZ #12108]
16731 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16732 to have entries in sys_siglist.
16733
1751705d
UD
16734 [BZ #12093]
16735 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16736 be NULL.
16737
9ff8d36f
JJ
167382010-10-07 Jakub Jelinek <jakub@redhat.com>
16739
16740 [BZ #3268]
16741 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16742 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16743 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16744 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16745 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16746 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16747 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16748 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16749 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16750 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16751 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16752 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16753 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16754 * math/ftestexcept.c (fetestexcept): Likewise.
16755 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16756 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16757 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16758 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16759 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16760 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16761 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16762
af325969
UD
167632010-10-11 Ulrich Drepper <drepper@gmail.com>
16764
c579b202 16765 [BZ #12107]
af325969
UD
16766 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16767 newline.
16768
67a67b95
UD
167692010-10-06 Ulrich Drepper <drepper@gmail.com>
16770
16771 * string/bug-strstr1.c: New file.
16772 * string/Makefile: Add rules to build and run bug-strstr1.
16773
5fb308bc
EB
167742010-10-05 Eric Blake <eblake@redhat.com>
16775
16776 [BZ #12092]
16777 * string/str-two-way.h (two_way_long_needle): Always clear memory
16778 when skipping input due to the shift table.
16779
45db99c7
UD
167802010-10-03 Ulrich Drepper <drepper@gmail.com>
16781
3b111893
UD
16782 [BZ #12005]
16783 * malloc/mcheck.c: Handle large requests.
16784
45db99c7
UD
16785 [BZ #12077]
16786 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16787 for strncmp and strncasecmp.
16788 * string/stratcliff.c: Add tests for strcmp and strncmp.
16789 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16790
cf7a1eb8
NI
167912010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16792
16793 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16794 __set_fpscr.
16795
6484ba5e
AJ
167962010-09-30 Andreas Jaeger <aj@suse.de>
16797
16798 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16799 (CGROUP_SUPER_MAGIC): Define.
16800 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16801 Handle btrfs and cgroup file systems.
16802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16803 Likewise.
16804
91c42559
LM
168052010-09-27 Luis Machado <luisgpm@br.ibm.com>
16806
16807 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16808 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16809
87a97932
AK
168102010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16811
16812 [BZ #12067]
16813 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16814 trying to locate the ELF header.
16815
c21cc9bc
AS
168162010-09-27 Andreas Schwab <schwab@redhat.com>
16817
16818 [BZ #11611]
16819 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16820 Mask out sign-bit copies when constructing f_fsid.
16821
315970f6
PB
168222010-09-24 Petr Baudis <pasky@suse.cz>
16823
16824 * debug/stack_chk_fail_local.c: Add missing licence exception.
16825 * debug/warning-nop.c: Likewise.
16826
1ac7a2c7
JM
168272010-09-15 Joseph Myers <joseph@codesourcery.com>
16828
16829 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16830 implementing getdents64 using getdents syscall, set d_type if
16831 __ASSUME_GETDENTS32_D_TYPE.
16832
56801c50
AS
168332010-09-16 Andreas Schwab <schwab@redhat.com>
16834
16835 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16836 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16837
dda51327
UD
168382010-09-21 Ulrich Drepper <drepper@redhat.com>
16839
16840 [BZ #12037]
16841 * posix/unistd.h: Undo change of feature selection for ftruncate from
16842 2010-01-11.
16843
8ffcee4a
UD
168442010-09-20 Ulrich Drepper <drepper@redhat.com>
16845
a545ecd9 16846 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16847 detection.
16848
e24f0a8b
AS
168492010-09-20 Andreas Schwab <schwab@redhat.com>
16850
16851 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16852 fanotify_mark.
16853 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16854
7291c56f
AS
168552010-09-14 Andreas Schwab <schwab@redhat.com>
16856
16857 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16858 variables after CHECK_SP call.
16859 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16860
bc5fb037
AS
168612010-09-13 Andreas Schwab <schwab@redhat.com>
16862 Ulrich Drepper <drepper@redhat.com>
16863
16864 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16865 re-relocationg ld.so.
16866 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16867 _dl_init_paths call.
16868 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16869 here anymore.
16870
e66e7419
UD
168712010-09-14 Ulrich Drepper <drepper@redhat.com>
16872
16873 * resolv/res_init.c (__res_vinit): Count the default server we added.
16874
c044aa75
CLT
168752010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16876 Ulrich Drepper <drepper@redhat.com>
16877
16878 [BZ #11968]
16879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16880 (____longjmp_chk): Use %ebx for saving value across system call.
16881 Add unwind info.
16882
32cf4069
AS
168832010-09-06 Andreas Schwab <schwab@redhat.com>
16884
16885 * manual/Makefile: Don't mix pattern rules with normal rules.
16886
817328ee
AS
168872010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16888
16889 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16890 operation.
16891 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16892 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16893 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16894 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16896 Likewise.
16897
29fddf61
UD
168982010-09-04 Ulrich Drepper <drepper@redhat.com>
16899
16900 [BZ #11979]
16901 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16902 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16903
0959ffc9
UD
169042010-09-02 Ulrich Drepper <drepper@redhat.com>
16905
16906 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16907 * sysdeps/x86_64/addmul_1.S: Likewise.
16908 * sysdeps/x86_64/lshift.S: Likewise.
16909 * sysdeps/x86_64/mul_1.S: Likewise.
16910 * sysdeps/x86_64/rshift.S: Likewise.
16911 * sysdeps/x86_64/sub_n.S: Likewise.
16912 * sysdeps/x86_64/submul_1.S: Likewise.
16913
ece29840
ST
169142010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16915
0959ffc9
UD
16916 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16917 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16918 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16919 * bits/sched.h [__need_schedparam]
ece29840 16920 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16921 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16922 (__defined_schedparam): Define to 1.
ece29840
ST
16923 (__sched_param): New structure, identical to sched_param.
16924 (__need_schedparam): Undefine.
16925
e53a31fe
MF
169262010-08-31 Mike Frysinger <vapier@gentoo.org>
16927
fdc0c10d
MF
16928 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16929 (epoll_create1): Declare.
16930
e53a31fe
MF
16931 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16932
a726d796
AS
169332010-08-31 Andreas Schwab <schwab@redhat.com>
16934
16935 [BZ #7066]
16936 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16937 shifting retval into place.
16938
2f3e3dc7
UD
169392010-09-01 Ulrich Drepper <drepper@redhat.com>
16940
f2933da9
UD
16941 * nis/rpcsvc/nis.h: Update copyright notice.
16942 * nis/rpcsvc/nis.x: Likewise.
16943 * nis/rpcsvc/nis_callback.h: Likewise.
16944 * nis/rpcsvc/nis_callback.x: Likewise.
16945 * nis/rpcsvc/nis_object.x: Likewise.
16946 * nis/rpcsvc/nis_tags.h: Likewise.
16947 * nis/rpcsvc/yp.h: Likewise.
16948 * nis/rpcsvc/yp.x: Likewise.
16949 * nis/rpcsvc/ypupd.h: Likewise.
16950 * nis/yp_xdr.c: Likewise.
16951 * nis/ypupdate_xdr.c: Likewise.
16952
2f3e3dc7
UD
16953 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16954 mainly the body of pmap_getport. Add parameters to specify timeouts.
16955 (pmap_getport): Use __libc_rpc_getport.
16956 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16957 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16958 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16959
f3dcc2f9
AS
169602010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16961
16962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16963 fanotify_mark.
16964
6d34eb5b
RM
169652010-08-27 Roland McGrath <roland@redhat.com>
16966
16967 * sysdeps/i386/i686/multiarch/Makefile
16968 (CFLAGS-varshift.c): New variable.
16969
9ea3de11
UD
169702010-08-27 Ulrich Drepper <drepper@redhat.com>
16971
c96d23fc
UD
16972 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16973 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16974
9ea3de11
UD
16975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16976
16977 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16978
623aac7f
L
169792010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16980
16981 * sysdeps/x86_64/strlen.S: Unroll the loop.
16982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16983 strlen-sse2 strlen-sse2-bsf.
16984 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16985 __strlen_no_bsf if bit_Slow_BSF is set.
16986 (__strlen_sse42): Removed.
16987 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16988 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16989
8b2b7715
RM
169902010-08-25 Roland McGrath <roland@redhat.com>
16991
16992 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16993 * sysdeps/x86_64/multiarch/varshift.c: New file.
16994 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16995 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16996 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16997 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16998
e73015f2
L
169992010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17000
17001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17002 strlen-sse2 strlen-sse2-bsf.
17003 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17004 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17005 (__strlen_sse2): Removed.
17006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17009 bit_Slow_BSF for Atom.
17010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17011 (index_Slow_BSF): Define.
17012 (HAS_SLOW_BSF): Define.
17013
df24a73e
UD
170142010-08-25 Ulrich Drepper <drepper@redhat.com>
17015
17016 [BZ #10851]
17017 * resolv/res_init.c (__res_vinit): When no server address at all
17018 is given default to loopback.
17019
f2ac4868
RM
170202010-08-24 Roland McGrath <roland@redhat.com>
17021
09055553
RM
17022 * configure.in: Remove config-name.h generation.
17023 * configure: Regenerated.
17024 * config-name.in: File removed.
17025 * scripts/config-uname.sh: New file.
17026 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17027 ($(objdir)config-name.h): New target.
17028
f2ac4868
RM
17029 * sunrpc/rpc_parse.h: Avoid nested comment.
17030
73f27d5e
RH
170312010-08-24 Richard Henderson <rth@redhat.com>
17032 Ulrich Drepper <drepper@redhat.com>
17033 H.J. Lu <hongjiu.lu@intel.com>
17034
17035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17037 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17038 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17039 _mm_alignr_epi8 with _mm_loadu_si128.
17040 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17041 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17042 (__m128i_shift_right): Removed.
17043 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17044 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17045 * sysdeps/x86_64/multiarch/varshift.h: New file.
17046 * sysdeps/x86_64/multiarch/varshift.S: New file.
17047
84b9230c
MF
170482010-08-21 Mike Frysinger <vapier@gentoo.org>
17049
17050 * configure.in: Move assembler checks to before sysdep dir checking.
17051
9bbd0ddc
PB
170522010-08-20 Petr Baudis <pasky@suse.cz>
17053
17054 * LICENSES: Sync the sunrpc license.
17055
9da4bb31
UD
170562010-08-19 Ulrich Drepper <drepper@redhat.com>
17057
a7ab6ec8
UD
17058 * sunrpc/auth_des.c: Update copyright notice once again.
17059 * sunrpc/auth_none.c: Likewise.
17060 * sunrpc/auth_unix.c: Likewise.
17061 * sunrpc/authdes_prot.c: Likewise.
17062 * sunrpc/authuxprot.c: Likewise.
17063 * sunrpc/bindrsvprt.c: Likewise.
17064 * sunrpc/clnt_gen.c: Likewise.
17065 * sunrpc/clnt_perr.c: Likewise.
17066 * sunrpc/clnt_raw.c: Likewise.
17067 * sunrpc/clnt_simp.c: Likewise.
17068 * sunrpc/clnt_tcp.c: Likewise.
17069 * sunrpc/clnt_udp.c: Likewise.
17070 * sunrpc/clnt_unix.c: Likewise.
17071 * sunrpc/des_crypt.c: Likewise.
17072 * sunrpc/des_soft.c: Likewise.
17073 * sunrpc/get_myaddr.c: Likewise.
17074 * sunrpc/getrpcport.c: Likewise.
17075 * sunrpc/key_call.c: Likewise.
17076 * sunrpc/key_prot.c: Likewise.
17077 * sunrpc/openchild.c: Likewise.
17078 * sunrpc/pm_getmaps.c: Likewise.
17079 * sunrpc/pm_getport.c: Likewise.
17080 * sunrpc/pmap_clnt.c: Likewise.
17081 * sunrpc/pmap_prot.c: Likewise.
17082 * sunrpc/pmap_prot2.c: Likewise.
17083 * sunrpc/pmap_rmt.c: Likewise.
17084 * sunrpc/rpc/auth.h: Likewise.
17085 * sunrpc/rpc/auth_unix.h: Likewise.
17086 * sunrpc/rpc/clnt.h: Likewise.
17087 * sunrpc/rpc/des_crypt.h: Likewise.
17088 * sunrpc/rpc/key_prot.h: Likewise.
17089 * sunrpc/rpc/netdb.h: Likewise.
17090 * sunrpc/rpc/pmap_clnt.h: Likewise.
17091 * sunrpc/rpc/pmap_prot.h: Likewise.
17092 * sunrpc/rpc/pmap_rmt.h: Likewise.
17093 * sunrpc/rpc/rpc.h: Likewise.
17094 * sunrpc/rpc/rpc_des.h: Likewise.
17095 * sunrpc/rpc/rpc_msg.h: Likewise.
17096 * sunrpc/rpc/svc.h: Likewise.
17097 * sunrpc/rpc/svc_auth.h: Likewise.
17098 * sunrpc/rpc/types.h: Likewise.
17099 * sunrpc/rpc/xdr.h: Likewise.
17100 * sunrpc/rpc_clntout.c: Likewise.
17101 * sunrpc/rpc_cmsg.c: Likewise.
17102 * sunrpc/rpc_common.c: Likewise.
17103 * sunrpc/rpc_cout.c: Likewise.
17104 * sunrpc/rpc_dtable.c: Likewise.
17105 * sunrpc/rpc_hout.c: Likewise.
17106 * sunrpc/rpc_main.c: Likewise.
17107 * sunrpc/rpc_parse.c: Likewise.
17108 * sunrpc/rpc_parse.h: Likewise.
17109 * sunrpc/rpc_prot.c: Likewise.
17110 * sunrpc/rpc_sample.c: Likewise.
17111 * sunrpc/rpc_scan.c: Likewise.
17112 * sunrpc/rpc_scan.h: Likewise.
17113 * sunrpc/rpc_svcout.c: Likewise.
17114 * sunrpc/rpc_tblout.c: Likewise.
17115 * sunrpc/rpc_util.c: Likewise.
17116 * sunrpc/rpc_util.h: Likewise.
17117 * sunrpc/rpcinfo.c: Likewise.
17118 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17119 * sunrpc/rpcsvc/key_prot.x: Likewise.
17120 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17121 * sunrpc/rpcsvc/mount.x: Likewise.
17122 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17123 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17124 * sunrpc/rpcsvc/rex.x: Likewise.
17125 * sunrpc/rpcsvc/rstat.x: Likewise.
17126 * sunrpc/rpcsvc/rusers.x: Likewise.
17127 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17128 * sunrpc/rpcsvc/spray.x: Likewise.
17129 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17130 * sunrpc/rtime.c: Likewise.
17131 * sunrpc/svc.c: Likewise.
17132 * sunrpc/svc_auth.c: Likewise.
17133 * sunrpc/svc_authux.c: Likewise.
17134 * sunrpc/svc_raw.c: Likewise.
17135 * sunrpc/svc_run.c: Likewise.
17136 * sunrpc/svc_simple.c: Likewise.
17137 * sunrpc/svc_tcp.c: Likewise.
17138 * sunrpc/svc_udp.c: Likewise.
17139 * sunrpc/svc_unix.c: Likewise.
17140 * sunrpc/svcauth_des.c: Likewise.
17141 * sunrpc/xcrypt.c: Likewise.
17142 * sunrpc/xdr.c: Likewise.
17143 * sunrpc/xdr_array.c: Likewise.
17144 * sunrpc/xdr_float.c: Likewise.
17145 * sunrpc/xdr_mem.c: Likewise.
17146 * sunrpc/xdr_rec.c: Likewise.
17147 * sunrpc/xdr_ref.c: Likewise.
17148 * sunrpc/xdr_sizeof.c: Likewise.
17149 * sunrpc/xdr_stdio.c: Likewise.
17150
9da4bb31
UD
17151 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17152 handling.
17153
bdaa77bc
AS
171542010-08-19 Andreas Schwab <schwab@redhat.com>
17155
17156 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17157
fe2f79db
LM
171582010-08-19 Luis Machado <luisgpm@br.ibm.com>
17159
17160 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17161 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17162 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17163 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17164 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17165 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17166 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17167 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17168 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17169 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17170 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17171 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17172 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17173 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17174
b9b42ee0
AB
171752010-07-26 Anton Blanchard <anton@samba.org>
17176
17177 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17178 * malloc/arena.c (heap_trim): Likewise.
17179
1c06ba31
UD
171802010-08-16 Ulrich Drepper <drepper@redhat.com>
17181
17182 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17183 here. Not...
17184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17185 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17186
f8392f40
L
171872010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17188
17189 * sysdeps/i386/elf/Makefile: New file.
17190
3162f12e
AS
171912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17192
17193 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17194 from fanotify_init.
17195 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17196 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17197
28c90b2c
UD
171982010-08-15 Ulrich Drepper <drepper@redhat.com>
17199
17200 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17201 of strncasecmp_l.
1feccb6c 17202 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17203
ca6bb004
UD
172042010-08-14 Ulrich Drepper <drepper@redhat.com>
17205
e9f82e0d
UD
17206 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17207 strncase_l-nonascii.
17208 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17209 Add strncase_l-ssse3.
17210 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17211 * sysdeps/x86_64/strcmp.S: Likewise.
17212 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17213 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17214 * sysdeps/x86_64/strncase.S: New file.
17215 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17216 * sysdeps/x86_64/strncase_l.S: New file.
17217 * string/Makefile (strop-tests): Add strncasecmp.
17218 * string/test-strncasecmp.c: New file.
17219
17220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17221 warning.
17222
ca6bb004
UD
17223 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17224 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17225
052fa7b3
AS
172262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17227
17228 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17229
962dba78
UD
172302010-08-12 Ulrich Drepper <drepper@redhat.com>
17231
17232 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17233 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17234 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17235
bebff237
AM
172362010-05-01 Alan Modra <amodra@gmail.com>
17237
17238 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17239 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17240 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17241 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17242 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17243 tidying. Don't tail-call __sigjmp_save for static lib.
17244 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17245 save location.
17246 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17247 (CALL_MCOUNT): Add eh info, and nop after bl.
17248 (TAIL_CALL_SYSCALL_ERROR): New macro.
17249 (PSEUDO_RET): Use it.
17250 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17251 Correct save location of integer regs and cr.
17252 (_dl_profile_resolve): Correct cr save location. Delete nops
17253 after bl when SHARED. Reduce cfi size a little by better
17254 placement of cfi directives.
17255 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17256 make a stack frame. Instead use parm save area as a temp.
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17258 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17260 Don't make a stack frame for parent, use parm save area.
17261 Increase child stack frame to 112 bytes. Don't save unused reg,
17262 and adjust reg usage. Set up cfi on error recovery and
17263 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17265 (__makecontext): Add dummy nop after jump to exit.
17266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17267 Use correct parm save area and cr save, reduce stack frame.
17268 Correct cfi for possible PSEUDO_RET frame setup.
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17270 Branch to local label emitted by PSEUDO_RET rather than
17271 __syscall_error.
17272
02637374
AS
172732010-08-12 Andreas Schwab <schwab@redhat.com>
17274
17275 [BZ #11904]
17276 * locale/programs/locale.c (print_assignment): New function.
17277 (show_locale_vars): Use it.
17278
c3e2f19b
UD
172792010-08-11 Ulrich Drepper <drepper@redhat.com>
17280
3cdaa6ad
UD
17281 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17282 field.
17283 (struct statfs64): Likewise.
17284 (_STATFS_F_FLAGS): Define.
17285 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17286 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17287 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17288 (ST_VALID): Define locally.
17289 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17290 __statvfs_getflags, use the provided value.
17291 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17292 __ASSUME_STATFS_F_FLAGS.
17293
754f7da3
UD
17294 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17295
10b3bedc
UD
17296 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17297 Add sys/fanotify.h.
17298 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17299 fanotify_mask for GLIBC_2.13.
17300 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17301 fanotify_init and fanotify_mark.
17302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17303 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17304
c08fb0d7
UD
17305 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17306 Add prlimit.
17307 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17308 prlimit64 for GLIBC_2.13.
17309 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17310 prlimit64.
17311 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17312 syscall.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17315 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17316 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17318 add prlimit alias.
17319 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17320
15bac72b
UD
17321 [BZ #11903]
17322 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17323 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17324
c3e2f19b
UD
17325 * nss/Makefile: Add rules to build and run tst-nss-test1.
17326 * shlib-versions: Add entry for libnss_test1.
17327 * nss/nss_test1.c: New file.
17328 * nss/tst-nss-test1.c: New file.
17329
17330 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17331 (__nss_configure_lookup): Set appropriate entry in
17332 __nss_configure_lookup to true.
17333 * nss/nsswitch.h: Define enum with indeces of databases in
17334 databases and __nss_database_custom arrays. Declare
17335 __nss_database_custom.
17336 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17337 to avoid using nscd when custom rules are installed.
17338 * nss/getXXbyYY_r.c: Likewise.
17339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17340
17341 * nss/nss_files/files-parse.c: Whitespace fixes.
17342
f15ce4d8
UD
173432010-08-09 Ulrich Drepper <drepper@redhat.com>
17344
17345 [BZ #11883]
17346 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17347 * posix/fnmatch_loop.c: Likewise.
17348
d22e4cc9
AK
173492010-07-17 Andi Kleen <ak@linux.intel.com>
17350
17351 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17352 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17353 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17354 * Versions.def [GLIBC_2.13]: Add.
17355
805bc17d
UD
173562010-08-06 Ulrich Drepper <drepper@redhat.com>
17357
17358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17359 Also fail if tpwd after pwuid call is NULL.
17360
5a42321d
ST
173612010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17362
17363 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17364 when converting to ms.
17365
fd3ebeda
ST
173662010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17367
17368 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17369 EOPNOTSUPP errors with ENOTTY.
17370 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17371 EOPNOTSUPP errors with ENOTTY.
17372
73507d3a
UD
173732010-07-31 Ulrich Drepper <drepper@redhat.com>
17374
17375 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17376 Add strcasecmp_l-ssse3.
17377 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17378 strcasecmp.
17379 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17380 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17381 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17382
fe36dd02
UD
173832010-07-30 Ulrich Drepper <drepper@redhat.com>
17384
66f6765a
UD
17385 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17386
42e08a54
UD
17387 * string/Makefile (strop-tests): Add strcasecmp.
17388 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17389 strcasecmp_l-nonascii.
17390 (gen-as-const-headers): Add locale-defines.sym.
17391 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17392 * sysdeps/x86_64/strcasecmp.S: New file.
17393 * sysdeps/x86_64/strcasecmp_l.S: New file.
17394 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17395 * sysdeps/x86_64/locale-defines.sym: New file.
17396 * string/test-strcasecmp.c: New file.
17397
fe36dd02
UD
17398 * string/test-strcasestr.c: Test both ends of the range of characters.
17399 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17400
48cbc0d6
RM
174012010-07-29 Roland McGrath <roland@redhat.com>
17402
76e6d6bc 17403 [BZ #11856]
48cbc0d6
RM
17404 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17405
880113d9
UD
174062010-07-27 Ulrich Drepper <drepper@redhat.com>
17407
17408 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17409 for ld.so.
17410
deb9cabb
AS
174112010-07-27 Andreas Schwab <schwab@redhat.com>
17412
17413 * manual/memory.texi (Malloc Tunable Parameters): Document
17414 M_PERTURB.
17415
1c7570ff
RM
174162010-07-26 Roland McGrath <roland@redhat.com>
17417
17418 [BZ #11840]
17419 * configure.in (-fgnu89-inline check): Set and substitute
17420 gnu89_inline, not libc_cv_gnu89_inline.
17421 * configure: Regenerated.
17422 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17423
24fb0f88
UD
174242010-07-26 Ulrich Drepper <drepper@redhat.com>
17425
17426 * string/test-strnlen.c: New file.
17427 * string/Makefile (strop-tests): Add strnlen.
17428 * string/tester.c (test_strnlen): Add a few more test cases.
17429 * string/tst-strlen.c: Better error reporting.
17430
17431 * sysdeps/x86_64/strnlen.S: New file.
17432
8e96b93a
UD
174332010-07-24 Ulrich Drepper <drepper@redhat.com>
17434
17435 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17436 lower-latency instructions.
17437
dbc676d4
UD
174382010-07-23 Ulrich Drepper <drepper@redhat.com>
17439
17440 * string/test-strcasestr.c: New file.
17441 * string/test-strstr.c: New file.
17442 * string/Makefile (strop-tests): Add strstr and strcasestr.
17443 * string/str-two-way.h: Don't undefine MAX.
17444 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17445
f6a31e0e
AS
174462010-07-21 Andreas Schwab <schwab@redhat.com>
17447
17448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17449 strcasestr-nonascii.
17450 (CFLAGS-strcasestr-nonascii.c): Define.
17451 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17453 Remove unused attribute.
17454
5dbc3b6c
RM
174552010-07-20 Roland McGrath <roland@redhat.com>
17456
17457 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17458 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17459 ld.so.cache was broken. With it, there is no way to disable dsocaps
17460 like LD_HWCAP_MASK can disable hwcaps.
17461
23d101d8
EPM
174622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17463
17464 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17465
cc9f2e47
UD
174662010-07-16 Ulrich Drepper <drepper@redhat.com>
17467
17468 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17469 call in strcasestr.
17470 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17471 __strcasestr_sse42_nonascii.
17472 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17473 strcasestr-nonascii.c.
17474 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17475
77c1b069
LM
174762010-06-15 Luis Machado <luisgpm@br.ibm.com>
17477
17478 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17479 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17480 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17482
440566c3
UD
174832010-07-09 Ulrich Drepper <drepper@redhat.com>
17484
17485 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17486 fcntl.
17487
5be9d05d
AS
174882010-07-06 Andreas Schwab <schwab@redhat.com>
17489
c30b7ee2 17490 [BZ #11577]
5be9d05d
AS
17491 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17492 dl_signal_cerror.
17493
8a492a67
UD
174942010-07-06 Ulrich Drepper <drepper@redhat.com>
17495
17496 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17497 _PC_PIPE_BUF using F_GETPIPE_SZ.
17498
713df3d5
RM
174992010-07-05 Roland McGrath <roland@redhat.com>
17500
17501 * manual/arith.texi (Rounding Functions): Fix rint description
17502 implicit in round description.
17503
702e8f14
UD
175042010-07-02 Ulrich Drepper <drepper@redhat.com>
17505
17506 * elf/Makefile: Fix linking for a few tests to make recent linker
17507 happy.
17508
52ed8be9
AS
175092010-06-30 Andreas Schwab <schwab@redhat.com>
17510
17511 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17512 $(common-objpfx)libc_nonshared.a.
17513
f47c9a11
LM
175142010-06-21 Luis Machado <luisgpm@br.ibm.com>
17515
17516 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17517 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17518 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17519 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17520 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17521 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17522 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17523 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17538 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17539 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17540 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17541 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17542 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17543 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17544 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17545 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17546 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17547 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17548 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17549 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17564
6fb8cbcb
L
175652010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17566
17567 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17568 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17569 * string/memmove.c (memmove): Renamed to ...
17570 (MEMMOVE): ...this. Default to memmove.
17571 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17572 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17573 (END_CHK): Define.
17574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17575 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17576 mempcpy-ssse3-back memmove-ssse3-back.
17577 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17578 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17580 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17581 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17582 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17583 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17584 * sysdeps/x86_64/multiarch/memmove.c: New file.
17585 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17586 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17587 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17588 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17589 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17591 Define.
17592 (index_Fast_Copy_Backward): Define.
17593 (HAS_ARCH_FEATURE): Define.
17594 (HAS_FAST_REP_STRING): Define.
17595 (HAS_FAST_COPY_BACKWARD): Define.
17596
4e733bac 175972010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17598
17599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17600 Restore proper fallback handling.
17601
63c4ed22
UD
176022010-06-19 Ulrich Drepper <drepper@redhat.com>
17603
ac2b484c
UD
17604 [BZ #11701]
17605 * posix/group_member.c (__group_member): Correct checking loop.
17606
63c4ed22
UD
17607 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17608 OOM in getpwuid_r correctly. Return error number when the caller
17609 should return, otherwise -1.
17610 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17611 call returning > 0 value.
17612 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17613
765ade4b
AS
176142010-06-07 Andreas Schwab <schwab@redhat.com>
17615
17616 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17617 libc_nonshared.a from targets in modules-names.
17618
80da2e09
KS
176192010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17620
17621 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17622 requires it.
17623
158db122
LM
176242010-06-10 Luis Machado <luisgpm@br.ibm.com>
17625
17626 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17627 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17628 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17629 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17630
caa78cf8
AS
176312010-06-02 Andreas Schwab <schwab@redhat.com>
17632
17633 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17634
b2ef2c01
UD
176352010-06-14 Ulrich Drepper <drepper@redhat.com>
17636
17637 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17638 and F_GETPIPE_SZ.
17639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17645
fbd643b6
RM
176462010-06-14 Roland McGrath <roland@redhat.com>
17647
17648 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17649
f32f2869
JJ
176502010-06-07 Jakub Jelinek <jakub@redhat.com>
17651
17652 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17653 __REDIRECT followed by __THROW.
17654 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17655 * posix/getopt.h (getopt): Likewise.
17656
2a50c078
EPM
176572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17658
17659 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17660 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17661 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17662 in AT_FLAGS.
17663 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17664 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17665
eb5ad2eb
LM
176662010-05-28 Luis Machado <luisgpm@br.ibm.com>
17667
17668 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17669
3c88fe1e
L
176702010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17671
17672 [BZ #11640]
17673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17674 Properly check family and model.
17675
d2f73151
TY
176762010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17677
17678 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17679
ebd2e13d
LM
176802010-05-24 Luis Machado <luisgpm@br.ibm.com>
17681
17682 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17683
b32b8b45
UD
176842010-05-21 Ulrich Drepper <drepper@redhat.com>
17685
17686 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17687 symbol reference.
17688
9acbe24d
AS
176892010-05-19 Andreas Schwab <schwab@redhat.com>
17690
17691 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17692 symbol reference.
17693
f0ccf6ea
AS
176942010-05-21 Andreas Schwab <schwab@redhat.com>
17695
3d04ff3a
AS
17696 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17697 and internal_recvmmsg.
17698 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17699 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17700 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17701 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17702
f0ccf6ea
AS
17703 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17704 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17705 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17706
5b08ac57
AS
177072010-05-20 Andreas Schwab <schwab@redhat.com>
17708
17709 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17710
4828935d
LM
177112010-05-17 Luis Machado <luisgpm@br.ibm.com>
17712
17713 POWER7 optimizations.
17714 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17715 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17716
373d545e
UD
177172010-05-19 Ulrich Drepper <drepper@redhat.com>
17718
17719 * version.h: Update for 2.13 development version.
17720
21a2b1ae
AS
177212010-05-12 Andrew Stubbs <ams@codesourcery.com>
17722
17723 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17724 exceptions. Return 0.
17725
3f7dcb2b
RM
177262010-05-07 Roland McGrath <roland@redhat.com>
17727
17728 * elf/ldconfig.c (main): Add a const.
17729
5f24d53a 177302010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17731
a160f8d8
UD
17732 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17733 (args_options): Add no-idn option.
17734 (ahosts_keys_int): Add idn_flags to ai_flags.
17735 (parse_option): Handle 'i' option to clear idn_flags.
17736
5f24d53a
UD
17737 * malloc/malloc.c (_int_free): Possible race in the most recently
17738 added check. Only act on the data if no current modification
17739 happened.
265bb1ce
UD
17740
17741See ChangeLog.17 for earlier changes.