]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix MIPS PREF/PREFX macro definitions in empty case.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d2a54255
PT
12012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2
3 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4
7ecdb005
RM
52012-07-31 Roland McGrath <roland@hack.frob.com>
6
789bd351
RM
7 * include/sys/socket.h (__libc_accept, __libc_accept4):
8 Add attribute_hidden.
9 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10
40ce302d
RM
11 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12 use of PTR_MANGLE.
13 * inet/getnetgrent_r.c (setup): Likewise.
14
7ecdb005
RM
15 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16
e2eabb2c
DM
172012-07-31 David S. Miller <davem@davemloft.net>
18
19 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20
d0419dbf
JM
212012-07-31 Joseph Myers <joseph@codesourcery.com>
22
23 [BZ #13629]
24 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25 value between 1.0 and 2.0 and smaller part has absolute value less
26 than 1.0.
27 * math/s_clog10.c (__clog10): Likewise.
28 * math/s_clog10f.c (__clog10f): Likewise.
29 * math/s_clog10l.c (__clog10l): Likewise.
30 * math/s_clogf.c (__clogf): Likewise.
31 * math/s_clogl.c (__clogl): Likewise.
32 * math/libm-test.inc (clog_test): Add more tests.
33 (clog10_test): Likewise.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36
2bc13872
FW
372012-07-31 Florian Weimer <fweimer@redhat.com>
38
39 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40 Exit with zero in case no suitable GID is found, and write a
41 message to standard error.
42
bea9b193
RM
432012-07-30 Roland McGrath <roland@hack.frob.com>
44
45 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46 rather than to 1.
47 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48 (MAXPATHLEN): Removed.
49 (NOGROUP, NODEV): New macros.
50 (setbit, clrbit, isset, isclr): New macros.
51 (howmany, roundup, powerof2): New macros.
52 (DEV_BSIZE): New macro.
53
54 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
56
57 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58 definition on [!__NO_LONG_DOUBLE_MATH].
59
60 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61 PTR_MANGLE and PTR_DEMANGLE.
62
63 * socket/accept4.c (accept4): Rename to __libc_accept4.
64 Define accept4 as a weak alias.
65
66 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67 on [_DIRENT_HAVE_D_TYPE].
68 * io/ftw.c (ftw_dir): Likewise.
69
70 * io/xmknod.c (__xmknod): Don't check PATH for being null.
71
72 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73
74 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75 Use the BSD numbers rather than the arbitrary ones we had.
76 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78 (SIGXCPU, SIGXFSZ): New macros.
79 (_NSIG): Now 32.
80
81 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
82 initializer on [_LIBC_REENTRANT].
83
84 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
85 definitions inside [_POSIX_MAPPED_FILES].
86
87 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
88
89 * dirent/opendir.c: Include <fcntl.h>.
90
91 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
92 (__libc_getspecific): Likewise.
93 (__libc_key_create): Likewise.
94
95 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
96 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
97 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
98 (tmpfile64): Define as alias.
99 * sysdeps/wordsize-64/tmpfile.c: File removed.
100 * sysdeps/wordsize-64/tmpfile64.c: File removed.
101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
102 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
103
104 * stdio-common/vfscanf.c: Include <stdbool.h>.
105 * nss/makedb.c: Likewise.
106 * stdio-common/_i18n_number.h: Likewise.
107 * argp/argp-help.c: Likewise.
108 * posix/wordexp.c: Likewise.
109 * sysdeps/posix/spawni.c: Likewise.
110 * nss/nss_files/files-initgroups.c: Likewise.
111 * stdio-common/reg-modifier.c: Include <stdlib.h>.
112 * nss/nss_files/files-initgroups.c: Likewise.
113 * nss/nss_db/db-netgrp.c: Likewise.
114 * nss/nss_db/db-initgroups.c: Likewise.
115 * io/fchmodat.c: Include <sys/stat.h>.
116
117 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
118 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
119
120 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
121 [HAVE_MMAP].
122
123 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
124 Add multiple inclusion protection.
125
e5abc686
DM
1262012-07-27 David S. Miller <davem@davemloft.net>
127
128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
129
815e6fa3
GB
1302012-07-27 Gary Benson <gbenson@redhat.com>
131
132 [BZ #14298]
133 * elf/rtld.c: Include <stap-probe.h>.
134 (dl_main): Added static probes "init_start" and "init_complete".
135 * elf/dl-load.c: Include <stap-probe.h>.
136 (lose): Take new parameter "nsid".
137 Added static probe "map_failed".
138 (_dl_map_object_from_fd): Pass namespace id to lose.
139 Added static probe "map_start".
140 (open_verify): Pass namespace id to lose.
141 * elf/dl-open.c: Include <stap-probe.h>.
142 (dl_open_worker) Added static probes "map_complete", "reloc_start"
143 and "reloc_complete".
144 * elf/dl-close.c: Include <stap-probe.h>.
145 (_dl_close_worker): Added static probes "unmap_start" and
146 "unmap_complete".
147 * elf/rtld-debugger-interface.txt: New file documenting the above.
148
9f98c16c
RM
1492012-07-26 Roland McGrath <roland@hack.frob.com>
150
151 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
152 rather than a string variable.
153 * sunrpc/rpc_main.c (h_output): Likewise.
154 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
155
f3c22df3
PT
1562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
157
158 * inet/check_native.c: New file.
159
3129cfc6
JM
1602012-07-26 Joseph Myers <joseph@codesourcery.com>
161
da865e95
JM
162 [BZ #13629]
163 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
164 if larger part has absolute value 1.0.
165 * math/s_clog10.c (__clog10): Likewise.
166 * math/s_clog10f.c (__clog10f): Likewise.
167 * math/s_clog10l.c (__clog10l): Likewise.
168 * math/s_clogf.c (__clogf): Likewise.
169 * math/s_clogl.c (__clogl): Likewise.
170 * math/libm-test.inc (clog_test): Add more tests.
171 (clog10_test): Likewise.
172 * sysdeps/i386/fpu/libm-test-ulps: Update.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
174
3129cfc6
JM
175 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
176 (pltexit): Likewise.
177 (La_regs): Likewise.
178 (La_retval): Likewise.
179 (int_retval): Likewise.
180 Update #error for removed macros to refer only to definitions in
181 tst-audit.h.
182 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
183 macro.
184 (pltexit): Likewise.
185 (La_regs): Likewise.
186 (La_retval): Likewise.
187 (int_retval): Likewise.
188 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
189 macro.
190 (pltexit): Likewise.
191 (La_regs): Likewise.
192 (La_retval): Likewise.
193 (int_retval): Likewise.
194 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
195 macro.
196 (pltexit): Likewise.
197 (La_regs): Likewise.
198 (La_retval): Likewise.
199 (int_retval): Likewise.
200 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
201 macro.
202 (pltexit): Likewise.
203 (La_regs): Likewise.
204 (La_retval): Likewise.
205 (int_retval): Likewise.
206 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
207 macro.
208 (pltexit): Likewise.
209 (La_regs): Likewise.
210 (La_retval): Likewise.
211 (int_retval): Likewise.
212 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
213 macro.
214 (pltexit): Likewise.
215 (La_regs): Likewise.
216 (La_retval): Likewise.
217 (int_retval): Likewise.
218 * sysdeps/generic/tst-audit.h: Update comment to refer only to
219 macro definitions in tst-audit.h.
220 * sysdeps/i386/tst-audit.h: New file.
221 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
222 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
223 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
224 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
225 * sysdeps/sh/tst-audit.h: Likewise.
226 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
227 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
228 * sysdeps/x86_64/tst-audit.h: Likewise.
229
bfc07087
AJ
2302012-07-26 Andreas Jaeger <aj@suse.de>
231
b1b2aaf8
AJ
232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
233 ptrace.
234
235 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
236 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
237 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
238 PTRACE_O_MASK.
239 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
240 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
241 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
242
bfc07087
AJ
243 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
244 value.
245
246 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
247 _sigsys.
248 (si_call_addr, si_syscall, si_arch): Define new macro.
249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
250 _sigsys.
251 (si_call_addr, si_syscall, si_arch): Define new marcro.
252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
253 _sigsys.
254 (si_call_addr, si_syscall, si_arch): Define new macro.
255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
256 _sigsys.
257 (si_call_addr, si_syscall, si_arch): Define new macro.
258
89b4b02f
JM
2592012-07-25 Joseph Myers <joseph@codesourcery.com>
260
261 [BZ #13717]
262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
263 Change to 2.4.21 where previously 2.4.1.
264 * sysdeps/unix/sysv/linux/configure: Regenerated.
265 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
266 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
267 Linux kernel version.
268 (__ASSUME_STD_AUXV): Remove.
269 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
270 kernel version.
271 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
272 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
273 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
274 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
275 (__ASSUME_NETLINK_SUPPORT): Likewise.
276 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
277 (__no_netlink_support): Remove conditional definition.
278 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
279 Remove.
280 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
281 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
282 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
283 (if_nameindex_ioctl): Remove.
284 (if_nameindex_netlink): Do not handle __no_netlink_support.
285 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
286 code.
287 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
288 Remove conditional code.
289 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
290 code.
291 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
292 unconditional.
293 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
294 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
295 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
296 Remove.
297 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
298 [!__ASSUME_STD_AUXV]: Remove conditional code.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
300 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
301 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
303 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
304 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
305 code.
306 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
308 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
309 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
310 conditional code.
311 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
313 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
314 code.
315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
316 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
317 conditional code.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
319 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
320 code unconditional.
321 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
322 conditional code.
323 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
324 unconditional.
325 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
326 conditional code.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
328 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
329 unconditional.
330 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
331 conditional code.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
333 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
334 code unconditional.
335 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
336 conditional code.
337 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
338 unconditional.
339 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
340 conditional code.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
342 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
343 code unconditional.
344 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
345 conditional code.
346 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
347 unconditional.
348 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
349 conditional code.
350
842a39cd
AS
3512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
352
353 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
354 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
355 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
356 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
357 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
358 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
359 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
360 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
361 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
362 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
363 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
364 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
365 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
366 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
369 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
370 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
371 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
373 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
374 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
376
84b3fd84
FW
3772012-07-25 Florian Weimer <fweimer@redhat.com>
378
379 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
380 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
381 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
382 Introduce __libc_secure_getenv.
0c7936d5
FW
383 * stdlib/Versions (2.17): Add secure_getenv
384 (GLIBC_PRIVATE): Add __libc_secure_getenv.
385 * stdlib/secure-getenv.c: Rename __secure_getenv to
386 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
387 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
388 * stdlib/tst-secure-getenv.c: New.
389 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
390 * manual/startup.texi (Environment Access): Document
391 secure_getenv.
84b3fd84
FW
392 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
393 __libc_secure_getenv.
394 * inet/ruserpass.c (ruserpass): Likewise.
395 * malloc/mtrace.c (mtrace): Likewise.
396 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 397 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
398 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
399 * sysdeps/posix/tempname.c: Likewise. Evaluate
400 HAVE_SECURE_GETENV.
401 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 402 __secure_getenv to __libc_secure_getenv.
84b3fd84 403 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
405 Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
407 Likewise.
408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 415
56e49b71
JM
4162012-07-25 Joseph Myers <joseph@codesourcery.com>
417
418 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
419 (struct La_i86_retval): Likewise.
420 (struct La_x86_64_regs): Likewise.
421 (struct La_x86_64_retval): Likewise.
422 (struct La_x32_regs): Likewise.
423 (struct La_x32_retval): Likewise.
424 (struct La_ppc32_regs): Likewise.
425 (struct La_ppc32_retval): Likewise.
426 (struct La_ppc64_regs): Likewise.
427 (struct La_ppc64_retval): Likewise.
428 (struct La_sh_regs): Likewise.
429 (struct La_sh_retval): Likewise.
430 (struct La_s390_32_regs): Likewise.
431 (struct La_s390_32_retval): Likewise.
432 (struct La_s390_64_regs): Likewise.
433 (struct La_s390_64_retval): Likewise.
434 (struct La_sparc32_regs): Likewise.
435 (struct La_sparc32_retval): Likewise.
436 (struct La_sparc64_regs): Likewise.
437 (struct La_sparc64_retval): Likewise.
438 (struct audit_ifaces): Remove architecture-specific pltenter and
439 pltexit members.
440 * sysdeps/i386/ldsodefs.h: New file.
441 * sysdeps/powerpc/ldsodefs.h: Likewise.
442 * sysdeps/s390/ldsodefs.h: Likewise.
443 * sysdeps/sh/ldsodefs.h: Likewise.
444 * sysdeps/sparc/ldsodefs.h: Likewise.
445 * sysdeps/x86_64/ldsodefs.h: Likewise.
446
354691b7
MP
4472012-07-25 Marek Polacek <polacek@redhat.com>
448
449 [BZ #6808]
450 * math/libm-test.inc (yn_test): Add another test.
451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
452 to ERANGE when the result is +-Inf.
453 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
454 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
455 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
456 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
457
bf9e2071
JM
4582012-07-24 Joseph Myers <joseph@codesourcery.com>
459
460 * conform/data/time.h-data (NULL): Use macro-constant. Require
461 equal to 0.
462 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
463 clock_t.
464 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
465
57633811
TS
4662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
467
468 * configure.in <sysdeps resolving>: Correct printing
469 Implies_before.
470 * configure: Regenerate.
471
c23c33b0
TS
4722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
473
474 * math/w_ilogb.c: Include <limits.h>.
475 * math/w_ilogbl.c: Likewise.
476
b5982523
JM
4772012-07-20 Joseph Myers <joseph@codesourcery.com>
478
479 * manual/lang.texi (__va_copy): Document primarily as ISO C99
480 va_copy. Document allowing for unavailable va_copy only as
481 pre-C99 compatibility.
482 * manual/string.texi (Copying and Concatenation): Use va_copy
483 instead of __va_copy in concat example.
484
ac4ea442
PT
4852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
486
487 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
488 (__sendto): Use create_address_port. Initialize APORT and deallocate
489 it if not null.
490
f98eafbd
PT
491 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
492 with O_NOLINK passed to __file_name_lookup.
493
898c7aab
PT
494 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
495 with O_NOLINK passed to __file_name_lookup.
496
0ced335a
PT
497 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
498 negative N or less than NGIDS.
499
b3404dbd
PT
500 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
501 type to string_t. Set ERANGE as errno and return it if NAME is not big
502 enough. Use memcpy instead of strncpy.
503
0f48659e
JM
5042012-07-20 Joseph Myers <joseph@codesourcery.com>
505
506 * elf/Makefile (check-data): Remove.
507 (localplt.data): New vpath directive.
508 ($(objpfx)check-localplt.out): Use localplt.data from vpath
509 instead of $(check-data).
510 * scripts/data/localplt-generic.data: Move to ...
511 * sysdeps/generic/localplt.data: ... here.
512 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
513 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
514 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
516 ... here.
517 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
519 ... here.
520 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
522 ... here.
523 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
525 ... here.
526 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
528 ... here.
529 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
531 ... here.
532
d37cbdaa
AZ
5332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
534
535 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
536 PPC32 and PPC64 files.
537 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
538 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
539
46f85fc2
AK
5402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
541
542 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
543 __makecontext_ret to ...
544 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
545 ... here and call exit if uc_link is NULL. New file.
546 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
547 __makecontext_ret.S.
548 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
549 __makecontext_ret to ...
550 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
551 ... here and call exit if uc_link is NULL. New file.
552 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
553 __makecontext_ret.S.
554
08f43f9b
AK
5552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
556
557 * elf/elf.h (R_390_IRELATIVE): New definition.
558 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
559 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
560 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
562 (elf_machine_lazy_rel): Likewise.
563 * sysdeps/s390/dl-irel.h: New file.
564 * sysdeps/s390/s390-64/memcpy.S: New asm code.
565 * sysdeps/s390/s390-64/memset.S: New asm code.
566 * sysdeps/s390/s390-64/memcmp.S: New asm code.
567 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
568 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
569 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
570 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
571 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
573 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
574 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
575 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
576 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
577 * sysdeps/s390/s390-32/memcpy.S: New asm code.
578 * sysdeps/s390/s390-32/memset.S: New asm code.
579 * sysdeps/s390/s390-32/memcmp.S: New asm code.
580
3b05db33
MP
5812012-07-17 Marek Polacek <polacek@redhat.com>
582
583 [BZ #14349]
584 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
585 * sysdeps/s390/s390-64/configure.in: Likewise.
586 * sysdeps/sparc/configure.in: Likewise.
587 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
588 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
589 * sysdeps/i386/configure.in: Likewise.
590 * sysdeps/x86_64/configure.in: Likewise.
591 * sysdeps/sh/configure.in: Likewise.
592 * sysdeps/s390/s390-32/configure: Regenerated.
593 * sysdeps/s390/s390-64/configure: Likewise.
594 * sysdeps/x86_64/configure: Likewise.
595 * sysdeps/sh/configure: Likewise.
596 * sysdeps/powerpc/powerpc64/configure: Likewise.
597 * sysdeps/powerpc/powerpc32/configure: Likewise.
598 * sysdeps/sparc/configure: Likwise.
599 * sysdeps/i386/configure: Likewise.
600
a66877c6
MP
601 * elf/dl-open.c: Comment fixes.
602
cfc82fd8
JM
6032012-07-17 Joseph Myers <joseph@codesourcery.com>
604
bd29910a
JM
605 * Makefile [CXX] (check-data): Remove.
606 [CXX] (c++-types.data): New vpath directive.
607 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
608 vpath. Do not allow for C++ type data being missing.
609 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
610 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
611 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
612 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
613 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
614 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
615 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
617 ... here.
618 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
620 ... here.
621 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
623 ... here.
624 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
626 ... here.
627 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
629 ... here.
630 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
632 ... here.
633 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
635 ... here.
636 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
638
cfc82fd8
JM
639 * elf/tls-macros.h (TLS_LE): Move architecture-specific
640 definitions to architecture-specific files.
641 (TLS_IE): Likewise.
642 (TLS_LD): Likewise.
643 (TLS_GD): Likewise.
644 * sysdeps/i386/tls-macros.h: New file.
645 * sysdeps/powerpc/tls-macros.h: Likewise.
646 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
647 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
648 * sysdeps/sh/tls-macros.h: Likewise.
649 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
650 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
651 * sysdeps/x86_64/tls-macros.h: Likewise.
652
f7db3170
TS
6532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
654
07cbfc23
TS
655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
656 zero value for regular exit case.
657
f7db3170
TS
658 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
659 (__start_context): Preserve zero value for regular exit case.
660
dc97c227
TS
6612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
662 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
663
664 * manual/setjmp.texi (setcontext): Clarify normal process
665 termination when uc_link is the null pointer.
666 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
667 exit call.
668
d0cd7d02
AS
6692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
670
671 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
672 preprocessor. Test for each exception mask separately.
673
dd318934
AJ
6742012-07-16 Andreas Jaeger <aj@suse.de>
675
676 * po/ru.po: Update from translation team.
677
8048311a
JM
6782012-07-15 Joseph Myers <joseph@codesourcery.com>
679
680 * conform/data/string.h-data (NULL): Use macro-constant. Require
681 equal to 0.
682 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
683 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
684 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
685 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
687
b637d46e
AJ
6882012-07-13 Andreas Jaeger <aj@suse.de>
689
690 * po/fr.po: Update from translation team.
691
541428fe
MP
6922012-07-12 Marek Polacek <polacek@redhat.com>
693
694 [BZ #14173]
695 * math/libm-test.inc (yn_test): Add test for BZ #14173.
696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
697 loop condition.
698
ec332e94
JM
6992012-07-12 Joseph Myers <joseph@codesourcery.com>
700
701 [BZ #13717]
702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
703 Change to 2.4.1 where previously 2.4.0.
704 * sysdeps/unix/sysv/linux/configure: Regenerated.
705 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
706 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
707 version.
708 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
709 (__ASSUME_AT_CLKTCK): Remove.
710 (__ASSUME_AT_PAGESIZE): Likewise.
711 (__ASSUME_AT_XID): Likewise.
712 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
713 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
714 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
715 unconditionally.
716 (HAVE_AUX_PAGESIZE): Likewise.
717 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
718 [__ASSUME_AT_CLKTCK]: Make code unconditional.
719 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
720
7b6e99be
JB
7212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
722
723 [BZ #14307]
724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
725 the temporary buffer used to invoke __gethostbyname2_r,
726 __gethostbyaddr_r and gethostbyname4_r to make room for struct
727 host_data / struct gaih_addrtuple.
728 * resolv/nss_dns/dns-host.c (global scope): Move definition of
729 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
730 header file nss/nsswitch.h.
731 * nss/nsswitch.h (global scope): Add definition of implementation
732 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
733 resolv/nss_dns/dns-host.c).
734
608404eb
AJ
7352012-07-11 Andreas Jaeger <aj@suse.de>
736
737 * po/fr.po: Update from translation team.
738
71220aca
AJ
739 * po/sv.po: Update from translation team
740 * po/fr.po: Another update from translation team.
741
28cfe843
AZ
7422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
743
744 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
745 for subnormals or multiply small sinh result by itself.
746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
748
6b90f981
DM
7492012-07-11 David S. Miller <davem@davemloft.net>
750
751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
752
c6825772
AS
7532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
754
755 [BZ #14347]
756 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
757 (INTERNAL_MARK): Shift it here.
758
7b8e0d49
MP
7592012-07-10 Marek Polacek <polacek@redhat.com>
760
761 [BZ #14151]
762 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
763 libc_cv_asm_global_directive with .globl.
764 * configure: Regenerated.
765 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
766 with .globl.
767 * sysdeps/i386/configure: Regenerated.
768 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
769 with .globl.
770 * sysdeps/x86_64/configure: Regenerated.
771 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
772 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
773 * elf/tst-unique2mod2.c: Likewise.
774 * elf/tst-unique2mod1.c: Likewise.
775 * elf/tst-unique1mod2.c: Likewise.
776 * elf/tst-unique1mod1.c: Likewise.
777 * sysdeps/s390/s390-32/sysdep.h: Likewise.
778 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
779 * sysdeps/s390/s390-64/sysdep.h: Likewise.
780 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
781 * sysdeps/mach/sysdep.h: Likewise.
782 * sysdeps/i386/sysdep.h: Likewise.
783 * sysdeps/i386/i386-mcount.S: Likewise.
784 * sysdeps/x86_64/_mcount.S: Likewise.
785 * sysdeps/x86_64/sysdep.h: Likewise.
786 * sysdeps/sh/_mcount.S: Likewise.
787 * sysdeps/sh/sysdep.h: Likewise.
788 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
789 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
790 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
791 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
792 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
793 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
794 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
795 * locale/localeinfo.h: Likewise.
796 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
797 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
798
6c55cda3
RM
7992012-07-09 Roland McGrath <roland@hack.frob.com>
800
801 [BZ #14336]
802 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
803 system".
804 * manual/message.texi (The Uniforum approach): Likewise.
805 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
806 (glibc iconv Implementation): Likewise.
807
638a572e
JM
8082012-07-09 Joseph Myers <joseph@codesourcery.com>
809
810 [BZ #14337]
811 * math/s_clog.c (__clog): Avoid scaling a value down where that
812 could result in underflow.
813 * math/s_clog10.c (__clog10): Likewise.
814 * math/s_clog10f.c (__clog10f): Likewise.
815 * math/s_clog10l.c (__clog10l): Likewise.
816 * math/s_clogf.c (__clogf): Likewise.
817 * math/s_clogl.c (__clogl): Likewise.
818 * math/libm-test.inc (clog_test): Add more tests.
819 (clog10_test): Likewise.
820 * sysdeps/i386/fpu/libm-test-ulps: Update.
821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
822
261f4859
AS
8232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
824
0abaf3e4
AS
825 [BZ #14283]
826 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
827 by 7 not 8 to examine high bit of fractional part.
828
261f4859
AS
829 [BZ #14042]
830 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
831 for call to __mcount_internal.
832 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
833 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
834 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
835
f17ac40d
JM
8362012-07-06 Joseph Myers <joseph@codesourcery.com>
837
9ad63c23
JM
838 [BZ #14154]
839 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
840 approximation for values within 0x1p-13f of an odd multiple of
841 pi/4.
842 * math/libm-test.inc (tan_test): Do not allow spurious underflow
843 exception. Add more tests.
844 * sysdeps/i386/fpu/libm-test-ulps: Update.
845
f17ac40d
JM
846 [BZ #6778]
847 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
848 inputs and return -1 for them. Do not check for +Inf in case not
849 reachable for +Inf.
850 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
851 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
852 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
853 and return -1 for them. Do not check for +Inf in case not
854 reachable for +Inf.
855 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
856 define.
857 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
858 and return -1 for them. Do not check for +Inf in case not
859 reachable for +Inf.
860 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
861 spurious underflow.
862 * sysdeps/i386/fpu/libm-test-ulps: Update.
863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
864
fb21f89b
MF
8652012-07-06 Mike Frysinger <vapier@gentoo.org>
866
867 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
868
cdfe2c5e
JM
8692012-07-05 Joseph Myers <joseph@codesourcery.com>
870
871 [BZ #14157]
872 [BZ #14331]
873 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
874 could result in spurious underflow. Scale down values above
875 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
876 * math/s_csqrtf.c (__csqrtf): Likewise.
877 * math/s_csqrtl.c (__csqrtl): Likewise.
878 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
879 spurious underflow.
880 * sysdeps/i386/fpu/libm-test-ulps: Update.
881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
882
70d35b67
AS
8832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
884
704bc459
AS
885 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
886 xopen-msg.sed.
887 * catgets/xopen-msg.awk: New file.
888 * catgets/xopen-msg.sed: Removed.
889
70d35b67
AS
890 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
891 po2text.sed.
892 * intl/po2test.awk: New file.
893 * intl/po2test.sed: Removed.
894
ca61cf32
JM
8952012-07-04 Joseph Myers <joseph@codesourcery.com>
896
897 [BZ #14328]
898 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
899 or multiply small sinh result by itself.
900 * math/s_ctanf.c (__ctanf): Likewise.
901 * math/s_ctanh.c (__ctanh): Likewise.
902 * math/s_ctanhf.c (__ctanhf): Likewise.
903 * math/s_ctanhl.c (__ctanhl): Likewise.
904 * math/s_ctanl.c (__ctanl): Likewise.
905 * math/libm-test.inc (ctan_test_tonearest): New function.
906 (ctan_test_towardzero): Likewise.
907 (ctan_test_downward): Likewise.
908 (ctan_test_upward): Likewise.
909 (ctanh_test_tonearest): Likewise.
910 (ctanh_test_towardzero): Likewise.
911 (ctanh_test_downward): Likewise.
912 (ctanh_test_upward): Likewise.
913 (main): Call these new functions.
914 * sysdeps/i386/fpu/libm-test-ulps: Update.
915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
916
ca48a46a
MF
9172012-07-03 Mike Frysinger <vapier@gentoo.org>
918
919 * .gitignore: Delete /ports entry.
920
9d63d37d
AJ
9212012-07-03 Andreas Jaeger <aj@suse.de>
922
923 * po/bg.po: Update from translation team.
924 * po/cs.po: Likewise.
925 * po/de.po: Likewise.
926 * po/hr.po: Likewise.
927 * po/nl.pl: Likewise.
928 * po/pl.po: Likewise.
929 * po/vi.po: Likewise.
930
370ca3d2
JM
9312012-07-03 Joseph Myers <joseph@codesourcery.com>
932
95f5a9a8
JM
933 * Makeconfig [!+link] (+link-before-libc): New variable.
934 [!+link] (+link-after-libc): Likewise.
935 [!+link] (+link-tests): Likewise.
936 [!+link] (+link): Define in terms of $(+link-before-libc) and
937 $(+link-after-libc).
938 [!+link-static] (+link-static-before-libc): New variable.
939 [!+link-static] (+link-static-after-libc): Likewise.
940 [!+link-static] (+link-static-tests): Likewise.
941 [!+link-static] (+link-static): Define in terms of
942 $(+link-static-before-libc) and $(+link-static-after-libc).
943 [build-shared] (link-libc-before-gnulib): New variable.
944 [build-shared] (link-libc-tests): Likewise.
945 [build-shared] (link-libc): Define in terms of
946 $(link-libc-before-gnulib).
947 [!build-shared] (link-libc-tests): New variable.
948 (link-libc-static-tests): New variable.
949 [!gnulib] (gnulib-arch): New variable.
950 [!gnulib] (gnulib-tests): Likewise.
951 [!gnulib] (static-gnulib-arch): Likewise.
952 [!gnulib] (static-gnulib-tests): Likewise.
953 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
954 Define with "=" instead of ":=".
955 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
956 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
957 * Rules (binaries-all-notests): New variable.
958 (binaries-all-tests): Likewise.
959 (binaries-static-notests): Likewise.
960 (binaries-static-tests): Likewise.
961 (binaries-all): Define using $(binaries-all-notests) and
962 $(binaries-all-tests).
963 (binaries-static): Define using $(binaries-static-notests) and
964 $(binaries-static-tests).
965 (binaries-shared-tests): New variable.
966 (binaries-shared-notests): Likewise.
967 (binaries-shared): Remove variable.
968 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
969 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
970 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
971 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
972 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
973 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
974 * elf/Makefile (sln-modules): New variable.
975 (extra-objs): Add $(sln-modules:=.o).
976 (ldconfig-modules): Add static-stubs.
977 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
978 * elf/static-stubs.c: New file.
979
7a845b2c
JM
980 [BZ #14283]
981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
982 by 7 not 8 to examine high bit of fractional part. Use volatile
983 variables when splitting into final array of floats if
984 __FLT_EVAL_METHOD__ != 0.
985 * math/libm-test.inc (cos_test): Add another test.
986 (sin_test): Likewise.
987 * sysdeps/i386/fpu/libm-test-ulps: Update.
988
e2283f38
JM
989 [BZ #14273]
990 * math/libm-test.inc (cosh_test): Add more tests.
991
370ca3d2
JM
992 * version.h (RELEASE): Set to "development".
993 (VERSION): Set to "2.16.90".
994
ee9247c3
CD
9952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
996
997 * NEWS: Update copyright. Remove last-updated date.
998 Mention math library bug fixes and timezone data changes.
999 * README: Mention GNU/Hurd, x32, and HPPA support status.
1000
4648c381
TS
10012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1002
1003 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1004
aac78a43
AJ
10052012-06-27 Andreas Jaeger <aj@suse.de>
1006
1007 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1008
ed3dbfad
AJ
10092012-06-25 Andreas Jaeger <aj@suse.de>
1010
1011 * sysdeps/s390/fpu/libm-test-ulps: Update.
1012
4d0ee855
AS
10132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1014 Thomas Schwinge <thomas@codesourcery.com>
1015
1016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1017 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1019 fanotify_mark.
1020
af1bce34
TS
10212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1022
a9fa33ba
TS
1023 * sysdeps/mach/start.c: Remove file.
1024 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1025 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1026 * sysdeps/sh/init-first.c: Likewise.
1027
58f902b8
TS
1028 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1029 registers for frame unwinding purposes, add CFI directives.
1030 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1032 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1033 Likewise.
1034
1518f58b
TS
1035 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1036 __fortify_fail returning.
1037 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1038
db9b5059
TS
1039 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1040 sysdeps/sh/____longjmp_chk.S.
1041 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1042 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1043 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1044 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1045
967705fe
TS
1046 * sysdeps/sh/abort-instr.h: New file.
1047 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1048 process in case exit returns.
1049
a9def8c4
TS
1050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1051 initialize the GOT register before use.
1052
2a649725
TS
1053 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1054 calculation of ARGC > 4.
1055
af1bce34
TS
1056 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1057 meaningful names to some local labels.
1058
d230f50a
KK
10592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1060 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1061
1062 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1063 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1064 (__arch_compare_and_exchange_val_16_acq): Likewise.
1065 (__arch_compare_and_exchange_val_32_acq): Likewise.
1066 (atomic_exchange_and_add): Fix gUSA sequence.
1067 (atomic_add): Likewise.
1068 (atomic_add_negative): Likewise.
1069 (atomic_add_zero): Likewise.
1070 (atomic_bit_test_set): Likewise.
1071
0479b305
AS
10722012-06-22 Andreas Schwab <schwab@redhat.com>
1073
1074 [BZ #13579]
1075 * include/link.h (struct link_map): Add l_free_initfini.
1076 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1077 l_initfini.
1078 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1079 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1080 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1081 set.
1082
0e3933b9
CD
10832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1084
1085 * configure.in: Use AC_LANG_SOURCE.
1086 * configure: Regenerate.
1087
4248b1b1
RM
10882012-06-22 Roland McGrath <roland@hack.frob.com>
1089
1090 * configure.in (libc_cv_localstatedir): New substituted variable.
1091 * configure: Regenerated.
1092 * config.make.in (localstatedir): New variable, substituted from
1093 libc_cv_localstatedir.
1094 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1095 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1096 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1097 * sysdeps/gnu/configure: Regenerated.
1098
006dd861
JL
10992012-06-21 Jeff Law <law@redhat.com>
1100
1101 [BZ #14277]
1102 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1103 free. Simplify list management for _LIBC case.
1104
79662d42
JM
11052012-06-21 Joseph Myers <joseph@codesourcery.com>
1106
b7abb4bf
JM
1107 [BZ #14273]
1108 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1109 Clear sign bit of 64-bit integer value before comparing against
1110 overflow value.
1111
79662d42
JM
1112 * sysdeps/mach/configure: Regenerated.
1113
1f150908
L
11142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1115
1116 [BZ #14278]
1117 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1118
28363bbf
JL
11192012-06-21 Jeff Law <law@redhat.com>
1120
1121 [BZ #13882]
1122 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1123 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1124 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1125 * elf/dl-open.c (dl_open_worker): Likewise.
1126
09615db4
CD
11272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1128
1129 * scripts/list-sources.sh: Scan PORTS for translations.
1130 * po/libc.pot: Regenerated.
1131
2174c6dd
AJ
11322012-06-21 Andreas Jaeger <aj@suse.de>
1133
1134 [BZ #12194]
1135 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1136 warning.
1137 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1138 * bits/byteswap-16.h (__bswap_16): Likewise.
1139 * bits/byteswap.h (__bswap_constant_16): Likewise.
1140
3ee947b1
L
11412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1142
1143 [BZ #14117]
a2f34833
L
1144 * sysdeps/i386/fpu_control.h: Removed.
1145 * sysdeps/x86_64/fpu_control.h: Moved to ...
1146 * sysdeps/x86/fpu_control.h: Here.
1147
3ee947b1
L
1148 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1149 (_FPU_SETCW): Likewise.
1150
ed1825f8
L
11512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1152
25f1282a
L
1153 [BZ #14117]
1154 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1155 * sysdeps/x86/fpu/bits/mathinline.h: This.
1156 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1157
ed1825f8
L
1158 [BZ #14050]
1159 [BZ #14117]
1160 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1161 functions if __x86_64__ is defined.
1162
36d54b74
CLT
11632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1164
1165 * string/endian.h: Add !__ASSEMBLER__ condition for including
1166 conversion interfaces.
1167
10285c21
JM
11682012-06-15 Joseph Myers <joseph@codesourcery.com>
1169
1170 [BZ #14241]
1171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1172 of ABS(x) in calculating zero to negative powers other than odd
1173 integers.
1174 * math/libm-test.inc (pow_test): Add more tests.
1175
06c5abbd
AJ
11762012-06-15 Andreas Jaeger <aj@suse.de>
1177
1178 * manual/contrib.texi (Contributors): Update entry of Liubov
1179 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1180 Machado Filho.
1181
a3aeac40
CH
11822012-06-15 Cyril Hrubis <metan@ucw.cz>
1183
1184 * string/string.h: Add __wur to GNU version of strerror_r.
1185
49bdf4c1
L
11862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1187
1188 [BZ #14229]
1189 * string/Makefile (tests): Add tst-strtok_r.
1190 * string/tst-strtok_r.c: New file.
1191 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1192 RAX_LP/RDX_LP on SAVE_PTR.
1193
834f9b8d
RM
11942012-06-14 Roland McGrath <roland@hack.frob.com>
1195
1196 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1197
75fa1921
JM
11982012-06-14 Joseph Myers <joseph@codesourcery.com>
1199
1200 * libm_test.inc (csqrt_test): Allow more spurious underflow
1201 exceptions.
1202 (j0_test): Likewise.
1203 (j1_test): Likewise.
1204 (y0_test): Likewise.
1205 (y1_test): Likewise.
1206
771766df
CD
12072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1208
1209 * po/Makefile (libc.pot): Use UTF-8 charset.
1210
ceb9e56b
PP
12112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1212
1213 [BZ #14210]
1214 Suppress sign-conversion warning from FD_SET.
1215 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1216 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1217 not unsigned long int.
1218 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1219
ddb28975
L
12202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 [BZ #14050]
1223 [BZ #14117]
1224 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1225 __extern_always_inline instead of __extern_inline.
1226 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1227 (__signbit): Likewise.
1228 (__signbitl): Support C++ namespace.
1229 (lrintf): New inline function.
1230 (lrint): Likewise.
1231 (llrintf): Likewise.
1232 (llrint): Likewise.
1233 (fmaxf): Likewise.
1234 (fmax): Likewise.
1235 (fminf): Likewise.
1236 (fmin): Likewise.
1237 (rint): Likewise.
1238 (rintf): Likewise.
1239 (ceil): Likewise.
1240 (ceilf): Likewise.
1241 (floor): Likewise.
1242 (floorf): Likewise.
1243 (nearbyint): Likewise.
1244 (nearbyintf): Likewise.
1245
d7b4fb26
TS
12462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1247
1248 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1249 non-default versions.
1250
eb55f5c2
RM
12512012-06-11 Roland McGrath <roland@hack.frob.com>
1252
1253 [BZ #14218]
1254 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1255
366af02c
TS
12562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1257
99ff6e5c
TS
1258 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1259 (FE_UPWARD, FE_DOWNWARD): Don't define.
1260 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1261 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1262
366af02c
TS
1263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1264 reading it.
1265 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1266 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1267
793ea851
KK
12682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1269
1270 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1272 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1273 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1274
a728a38f
L
12752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1276
1277 [BZ #14117]
c08010c7
L
1278 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1279 * sysdeps/i386/fpu/Implies: New file.
1280 * sysdeps/x86_64/fpu/Implies: Likewise.
1281 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1282 * sysdeps/x86/fpu/bits/fenv.h: This.
1283
a728a38f
L
1284 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1285 __SSE_MATH__.
1286
6e230d11
SP
12872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1288
1289 [BZ #14134]
1290 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1291 character 0xffff that matches the last element of the
1292 conversion table.
1293
1b671feb
AZ
12942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1297 fmodl commit.
1298
6043738b
AZ
12992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300
1301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1302 values higher than 25.6283.
1303
34ae0b32
AZ
13042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305
1306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1307 subnormal exponent extraction and add some __builtin_expect.
1308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1309 Fix for subnormal mantissa calculation.
1310
1214ec8f
MF
13112012-06-04 Mike Frysinger <vapier@gentoo.org>
1312
1313 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1314 cpu2 is -1 and errno is not ENOSYS.
1315
f3d1f93c
L
13162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 [BZ #14117]
0e4a3cd7
L
1319 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1320 * sysdeps/x86/bits/string.h: This.
1321 * sysdeps/x86_64/bits/string.h: Removed.
1322
6704c645
L
1323 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1324 if not compiling for x86-64, but compiling for >= i486.
1325
48495318
L
1326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1327 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1328
14adcbfc
L
1329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1330 New macro from Linux kernel 3.4.0.
1331 (FP_XSTATE_MAGIC2): Likewise.
1332 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1333 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1334 (struct _fpx_sw_bytes): New struct.
1335 (struct _xsave_hdr): Likewise.
1336 (struct _ymmh_state): Likewise.
1337 (struct _xstate): Likewise.
1338
68e408ab
L
1339 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1340 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1341 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1342 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1343 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1344 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1345
f3d1f93c
L
1346 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1348 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1349 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1350 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1351 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1352
d9dc34cd
TMQMF
13532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1354
1355 [BZ #13743]
1356 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1357 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1358 (sysdep_headers): Include sys/platform/ppc.h.
1359 * sysdeps/powerpc/test-gettimebase.c: Test for
1360 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1361 * manual/Makefile (appendices): Include platform.texi.
1362 * manual/contrib.texi (Contributors): Update @node pointers.
1363 * manual/maint.texi (Maintenance): Likewise.
1364 (Platform): New node.
1365 * manual/platform.texi: New file. Document the new features.
1366
4af3879c
SP
13672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1368 Jakub Jelinek <jakub@redhat.com>
1369
1370 [BZ #14188]
1371 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1372 where __builtin_expect is unavailable.
1373
2fd6ff13
DM
13742012-06-03 David S. Miller <davem@davemloft.net>
1375
1376 * stdlib/longlong.h: Updated from GCC.
1377
173f7220
AS
13782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1379
1380 [BZ #14042]
1381 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1382 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1383 __mcount_internal.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1385 (GLIBC_2.16): Likewise.
1386
f34a1c6f
L
13872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1390
88a4576f
JM
13912012-06-01 Joseph Myers <joseph@codesourcery.com>
1392
ea32bcdd
JM
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1394 (default-abi): New variable.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1396 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1397 variable.
1398 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1399 Likewise.
1400 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1403 Likewise.
1404
88a4576f
JM
1405 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1406 definition. Document in comment.
1407
402fe938
DM
14082012-06-01 David S. Miller <davem@davemloft.net>
1409
1410 * stdlib/longlong.h: Updated from GCC.
1411
3553723f
L
14122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1413
1414 [BZ #14117]
3bd872c4
L
1415 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1416 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1417 sys/debugreg.h sys/io.h here.
1418 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1419 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1420 sys/io.h.
1421 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1422 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1423 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1424 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1425 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1426 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1427
3553723f
L
1428 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1429 Define only if __x86_64__ is defined.
1430
4842e4fe
JM
14312012-06-01 Joseph Myers <joseph@codesourcery.com>
1432
c5bfe3d5
JM
1433 [BZ #14048]
1434 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1435 Use int64_t for variable i.
1436 * math/libm-test.inc (fmod_test): Add more tests.
1437
4842e4fe
JM
1438 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1439 z computation is not scheduled after fetestexcept.
1440 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1441 Use math_force_eval instead of asm to ensure calculation scheduled
1442 before exception test.
1443 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1444 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1445
efb73488
AJ
14462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1447
1448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1449 computation is not scheduled after fetestexcept.
1450
29bcce7c
L
14512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 [BZ #14117]
1454 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1455 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1456
73a68f94
AZ
14572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458
1459 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1460 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1461
67b6df78
L
14622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1463
edf2933a 1464 [BZ #14117]
ebc64a18
L
1465 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1466 <bits/wordsize.h>.
1467 (__WCHAR_MIN): Support __WORDSIZE == 64.
1468 (__WCHAR_MAX): Likewise.
1469
edf2933a
L
1470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1471 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1472
57c6cf40
L
1473 [BZ #14183]
1474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1475 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1476
67b6df78 1477 [BZ #14117]
8eb6281e
L
1478 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1479 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1480
aac639f4
L
1481 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1482 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1483
67b6df78
L
1484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1485 Defined to 1 if __x86_64__ isn't defined.
1486 (_STAT_VER_LINUX_OLD): New.
1487 (st_atime): Remove duplicate.
1488 (st_mtime): Likewise.
1489 (st_ctime): Likewise.
1490
1c2cfe81
DM
14912012-05-31 David S. Miller <davem@davemloft.net>
1492
1493 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1494 entries.
1495
5be8418c
AS
14962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1497
e7725326
AS
1498 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1499 gen-libm-test.pl.
1500
5be8418c
AS
1501 [BZ #14132]
1502 * elf/dl-reloc.c: Include <_itoa.h>.
1503 (_dl_reloc_bad_type): Remove use of INTUSE.
1504 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1505 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1506 * stdio-common/psiginfo.c (psiginfo): Likewise.
1507 * stdio-common/psignal.c (psignal): Likewise.
1508 * string/strsignal.c (strsignal): Likewise.
1509 * include/signal.h (_sys_siglist): Declare hidden proto.
1510 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1511 INTVARDEF with libc_hidden_data_def.
1512 * stdio-common/itoa-udigits.c: Likewise.
1513 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1514 (_itoa_lower_digits_internal): Remove declaration.
1515 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1516 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1517 (_sys_sigabbrev_internal): Remove aliases.
1518 (_sys_siglist): Define hidden alias.
1519
507352f1
MT
15202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1521
1522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1523 bits/sysctl.h.
1524
42bbb1c3
L
15252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 [BZ #14117]
6bd784b6
L
1528 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1529 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1530
8bca20f0
L
1531 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1532 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1533 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1534 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1536 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1537
f9e890a9
L
1538 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1539 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1540 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1541
471101a1
L
1542 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1543 with __addr.
1544 (insw): Likewise.
1545 (insl): Likewise.
1546 (outsb): Likewise.
1547 (outsw): Likewise.
1548 (outsl): Likewise.
1549
6451c862
L
1550 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1551 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1552 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1553
a254b8c9
L
1554 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1555 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1556 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1557 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1558 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1559 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1560
b8dfdd92
L
1561 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1562 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1563
578cd270
L
1564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1565 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1566
de662f5f
L
1567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1568 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1569 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1570
25653439
L
1571 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1572 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1573 to ...
1574 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1575
6bad24a0
L
1576 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1577 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1578 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1579
42bbb1c3
L
1580 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1581 for x86-64.
1582 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1583
2d10d547
JM
15842012-05-31 Joseph Myers <joseph@codesourcery.com>
1585
1586 * math/math.h (M_El): Use two more decimal places.
1587 (M_LOG2El): Likewise.
1588 (M_LOG10El): Likewise.
1589 (M_LN2l): Likewise.
1590 (M_LN10l): Likewise.
1591 (M_PIl): Likewise.
1592 (M_PI_2l): Likewise.
1593 (M_PI_4l): Likewise.
1594 (M_1_PIl): Likewise.
1595 (M_2_PIl): Likewise.
1596 (M_2_SQRTPIl): Likewise.
1597 (M_SQRT2l): Likewise.
1598 (M_SQRT1_2l): Likewise.
1599
f230c29b
DM
16002012-05-31 David S. Miller <davem@davemloft.net>
1601
1602 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1603 values between float registers.
1604 * sysdeps/sparc/sparc64/memset.S: Likewise.
1605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1606
fed806c3
MF
16072012-05-31 Mike Frysinger <vapier@gentoo.org>
1608
1609 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1610 -D_FORTIFY_SOURCE=1.
1611 (CPPFLAGS-tst-longjmp_chk.c): Define.
1612 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1613 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1614 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1615 CFLAGS-tst-wchar-h.c.
1616
30917259
MP
16172012-05-31 Marek Polacek <polacek@redhat.com>
1618
1619 [BZ #14132]
1620 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1621 __endmntent_internal): Remove declaration.
1622 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1623 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1624 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1625
1c58d5dc
DM
16262012-05-30 David S. Miller <davem@davemloft.net>
1627
1628 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1629 (___Q_simulate_exceptions): Use real FP ops rather than writing
1630 into the %fsr.
1631 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1632 Likewise.
1633
7dc00e0d
L
16342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1635
1636 [BZ #14117]
0bd53985
L
1637 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1638 * sysdeps/x86/bits/xtitypes.h: This.
1639
3a257e66
L
1640 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1641 * sysdeps/x86/bits/wordsize.h: This.
1642
62f62904
L
1643 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1644 * sysdeps/x86/bits/huge_vall.h: This.
1645
404fe9d9
L
1646 * sysdeps/i386/bits/select.h: Removed.
1647 * sysdeps/x86_64/bits/select.h: Renamed to ...
1648 * sysdeps/x86/bits/select.h: This.
1649
d48d0446
L
1650 * sysdeps/i386/bits/setjmp.h: Removed.
1651 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1652 * sysdeps/x86/bits/setjmp.h: This.
1653
7dc00e0d
L
1654 * sysdeps/i386/bits/mathdef.h: Removed.
1655 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1656 * sysdeps/x86/bits/mathdef.h: This.
1657
03277f8f
AS
16582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1659
1660 [BZ #14132]
1661 * include/sys/socket.h (__connect_internal)
1662 (__libc_sa_len_internal): Remove declaration.
1663 (__connect, __libc_sa_len): Declare hidden_proto.
1664 (SA_LEN): Remove use of INTUSE.
1665 * socket/connect.c: Add libc_hidden_def.
1666 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1667 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1668 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1669 alias.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1671 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1672 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1673 of adding _internal alias.
1674
13764867
L
16752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 [BZ #14117]
6bd97696
L
1678 * sysdeps/i386/bits/link.h: Removed.
1679 * sysdeps/i386/bits/linkmap.h: Likewise.
1680 * sysdeps/x86_64/bits/link.h: Renamed to ...
1681 * sysdeps/x86/bits/link.h: This.
1682 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1683 * sysdeps/x86/bits/linkmap.h: This.
1684
f726f0bb
L
1685 * sysdeps/i386/bits/endian.h: Removed.
1686 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1687 * sysdeps/x86/bits/endian.h: This.
1688
13764867
L
1689 * sysdeps/i386/bits/byteswap.h: Removed.
1690 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1691 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1692 * sysdeps/x86/bits/byteswap.h: This.
1693 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1694 * sysdeps/x86/bits/byteswap-16.h: This.
1695 * sysdeps/i386/Implies: Add x86.
1696 * sysdeps/x86_64/Implies: Likewise.
1697
ae251b0b
DM
16982012-05-30 David S. Miller <davem@davemloft.net>
1699
1700 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1701 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1702 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1703 (FP_TRAPPING_EXCEPTIONS): Define.
1704 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1705 (FP_TRAPPING_EXCEPTIONS): Define.
1706 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1707 subnormals only when inexact has been signalled or underflow
1708 exceptions are enabled.
1709 (_FP_PACK_CANONICAL): Likewise.
1710
d5c90867
L
17112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 [BZ #14183]
1714 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1715 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1716
63f1549e
RH
17172012-05-30 Richard Henderson <rth@twiddle.net>
1718
8d8f2279
RH
1719 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1720 with #ifndef NOT_IN_libc.
1721
63f1549e
RH
1722 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1723 marked to avoid plt entry.
1724
0ab0291b
L
17252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 [BZ #14112]
1728 * Makeconfig (default-abi): New macro.
1729 (abi-includes): Likewise.
1730 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1731 $(abi-$(default-abi)-lib-soname) for soname if defined.
1732 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1733 abi-variants.
1734 * Makefile (installed-stubs): Likewise.
1735 * include/stubs-biarch.h: Removed.
1736 * scripts/lib-names.awk: Only handle one library at a time.
1737 * scripts/soversions.awk: Remove WORDSIZE support.
1738 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1739 entries.
1740 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1741 Removed.
1742 (syscall-list-default-condition): Likewise.
1743 (syscall-list-default-condition): Likewise.
1744 (syscall-list-includes): Likewise.
1745 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1746 syscall-list-* with abi-*. Handle undefined abi-variants.
1747 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1748 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1749 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1750 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1751 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1752 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1753 Removed.
1754 (syscall-list-32-options): Likewise.
1755 (syscall-list-32-condition): Likewise.
1756 (syscall-list-64-options): Likewise.
1757 (syscall-list-64-condition): Likewise.
1758 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1759 macro.
1760 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1761 Renamed to ...
1762 (abi-*): This.
1763 (abi-64-ld-soname): New macro.
1764 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1765 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1766 Renamed to ...
1767 (abi-*): This.
1768 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1769 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1770
4da0431d
JM
17712012-05-30 Joseph Myers <joseph@codesourcery.com>
1772
3a85279c
JM
1773 * sysdeps/unix/sysv/linux/kernel-features.h
1774 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1775 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1776 include <kernel-features.h>.
1777 [!__NR_ftruncate64]: Remove conditional code.
1778 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1779 [__NR_ftruncate64]: Make code unconditional.
1780 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1781 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1782 include <kernel-features.h>.
1783 [!__NR_ftruncate64]: Remove conditional code.
1784 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1785 [__NR_ftruncate64]: Make code unconditional.
1786 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1788 include <kernel-features.h>.
1789 [!__NR_ftruncate64]: Remove conditional code.
1790 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1791 [__NR_ftruncate64]: Make code unconditional.
1792 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1794 include <kernel-features.h>.
1795 [!__NR_ftruncate64]: Remove conditional code.
1796 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1797 [__NR_ftruncate64]: Make code unconditional.
1798 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1799
4da0431d
JM
1800 * configure.in (libc_cv_fpie): Weaken to a compile test using
1801 LIBC_TRY_CC_OPTION.
1802 * configure: Regenerated.
1803
11ef492c
AK
18042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1805
1806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1810 Refreshed.
1811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1817 Refreshed.
1818
d66ef399
DM
18192012-05-27 David S. Miller <davem@davemloft.net>
1820
1821 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1822 (___Q_zero): New.
1823 (__Q_simulate_exceptions): Return void. Change to simulate
1824 exceptions by writing into the %fsr.
1825 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1826 (__Qp_handle_exceptions): Likewise.
1827 (numbers): Delete.
1828 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1829 __Qp_handle_exceptions.
1830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1831 __Qp_handle_exceptions.
1832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1833 as unused and give dummy FP_RND_NEAREST initializer.
1834 (FP_INHIBIT_RESULTS): Define.
1835 (___Q_simulate_exceptions): Update declaration.
1836 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1837 formatting.
1838 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1839 as unused and give dummy FP_RND_NEAREST initializer.
1840 (__Qp_handle_exceptions): Update declaration.
1841 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1842 formatting.
1843
04fb54b5
TS
18442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1845
1846 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1847 the temporary FPU control word.
1848 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1849 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1850 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1851 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1852 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1853 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1854 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1855 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1856 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1857 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1858 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1859
3f99608f
KK
18602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1861
1862 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1863 fields.
1864
65a4de4e
CLT
18652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1866
1867 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1868 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1869 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1870 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1871 Likewise.
1872 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1873 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1874 Likewise.
1875
15749d40
UD
18762012-05-27 Ulrich Drepper <drepper@gmail.com>
1877
1878 * po/h.po: Update from translation team.
1879
25dbcb27
AS
18802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1881
3d3f8e55
AS
1882 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1883
25dbcb27
AS
1884 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1885 handling of denormals.
1886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1887 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1893 Likewise.
1894
7ad47a80 18952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1896
1897 [BZ #14152]
1898 * math/libm-test.inc (fma_test): Don't always expect underflow
1899 exception.
1900
9c6ea9fa
SP
19012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1902
1903 [BZ #12416]
1904 * elf/tst-execstack.c: Include stackinfo.h.
1905 (do_test): Adjust test case to ensure that pthread_getattr_np
1906 behaviour remains the same after marking stack executable.
1907
a8239222
JM
19082012-05-25 Joseph Myers <joseph@codesourcery.com>
1909
1910 * sysdeps/unix/sysv/linux/kernel-features.h
1911 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1912 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1913 kernel-features.h.
1914 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1915 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1916 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1917 kernel-features.h.
1918 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1919 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1920
918b5606
L
19212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * configure.in: Define the default includes to being none.
1924 * configure: Regenerated.
1925
3a097cc7
RM
19262012-05-25 Roland McGrath <roland@hack.frob.com>
1927
8422c9a5
RM
1928 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1929 * sysdeps/x86_64/setjmp.S: Likewise.
1930 * sysdeps/i386/bsd-setjmp.S: Likewise.
1931 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1932 * sysdeps/i386/setjmp.S: Likewise.
1933 * sysdeps/i386/__longjmp.S: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1935 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1936
3a097cc7
RM
1937 * include/stap-probe.h: New file.
1938 * configure.in: Handle --enable-systemtap.
1939 * configure: Regenerated.
1940 * config.h.in (USE_STAP_PROBE): New #undef.
1941 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1942 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1943 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1944
21708942
JM
19452012-05-25 Joseph Myers <joseph@codesourcery.com>
1946
1947 [BZ #13717]
1948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1949 to 2.4.0 where earlier.
1950 * sysdeps/unix/sysv/linux/configure: Regenerated.
1951 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1952 <kernel-features.h>.
1953 [__ASSUME_32BITUIDS]: Make code unconditional.
1954 [!__ASSUME_32BITUIDS]: Remove conditional code.
1955 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1956 <kernel-features.h>.
1957 [__ASSUME_32BITUIDS]: Make code unconditional.
1958 [!__ASSUME_32BITUIDS]: Remove conditional code.
1959 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1960 [__ASSUME_32BITUIDS]: Make code unconditional.
1961 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1962 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1963 <kernel-features.h>.
1964 [__ASSUME_32BITUIDS]: Make code unconditional.
1965 [!__ASSUME_32BITUIDS]: Remove conditional code.
1966 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1967 <kernel-features.h>.
1968 [__ASSUME_32BITUIDS]: Make code unconditional.
1969 [!__ASSUME_32BITUIDS]: Remove conditional code.
1970 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1971 <kernel-features.h>.
1972 [__ASSUME_32BITUIDS]: Make code unconditional.
1973 [!__ASSUME_32BITUIDS]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1975 <kernel-features.h>.
1976 [__ASSUME_32BITUIDS]: Make code unconditional.
1977 [!__ASSUME_32BITUIDS]: Remove conditional code.
1978 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1979 <kernel-features.h>.
1980 [__ASSUME_32BITUIDS]: Make code unconditional.
1981 [!__ASSUME_32BITUIDS]: Remove conditional code.
1982 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1983 <kernel-features.h>.
1984 [__ASSUME_32BITUIDS]: Make code unconditional.
1985 [!__ASSUME_32BITUIDS]: Remove conditional code.
1986 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1987 <kernel-features.h>.
1988 [__ASSUME_32BITUIDS]: Make code unconditional.
1989 [!__ASSUME_32BITUIDS]: Remove conditional code.
1990 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.c: Do not include
1999 <kernel-features.h>.
2000 [__ASSUME_32BITUIDS]: Make code unconditional.
2001 [!__ASSUME_32BITUIDS]: Remove conditional code.
2002 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2003 <kernel-features.h>.
2004 [__NR_setresgid] (__setresgid): Do not declare.
2005 [__ASSUME_32BITUIDS]: Make code unconditional.
2006 [!__ASSUME_32BITUIDS]: Remove conditional code.
2007 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2008 <kernel-features.h>.
2009 [__NR_setresuid] (__setresuid): Do not declare.
2010 [__ASSUME_32BITUIDS]: Make code unconditional.
2011 [!__ASSUME_32BITUIDS]: Remove conditional code.
2012 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2013 <kernel-features.h>.
2014 [__ASSUME_32BITUIDS]: Make code unconditional.
2015 [!__ASSUME_32BITUIDS]: Remove conditional code.
2016 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2017 <kernel-features.h>.
2018 [__ASSUME_32BITUIDS]: Make code unconditional.
2019 [!__ASSUME_32BITUIDS]: Remove conditional code.
2020 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2021 <kernel-features.h>.
2022 [__ASSUME_32BITUIDS]: Make code unconditional.
2023 [!__ASSUME_32BITUIDS]: Remove conditional code.
2024 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2025 <kernel-features.h>.
2026 [__ASSUME_32BITUIDS]: Make code unconditional.
2027 [!__ASSUME_32BITUIDS]: Remove conditional code.
2028 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2029 <kernel-features.h>.
2030 [__ASSUME_32BITUIDS]: Make code unconditional.
2031 [!__ASSUME_32BITUIDS]: Remove conditional code.
2032 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2033 <kernel-features.h>.
2034 [__ASSUME_32BITUIDS]: Make code unconditional.
2035 [!__ASSUME_32BITUIDS]: Remove conditional code.
2036 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2037 <kernel-features.h>.
2038 [__ASSUME_32BITUIDS]: Make code unconditional.
2039 [!__ASSUME_32BITUIDS]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2041 <kernel-features.h>.
2042 [__ASSUME_32BITUIDS]: Make code unconditional.
2043 [!__ASSUME_32BITUIDS]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2045 <kernel-features.h>.
2046 [__ASSUME_32BITUIDS]: Make code unconditional.
2047 [!__ASSUME_32BITUIDS]: Remove conditional code.
2048 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2049 <kernel-features.h>.
2050 [__ASSUME_32BITUIDS]: Make code unconditional.
2051 [!__ASSUME_32BITUIDS]: Remove conditional code.
2052 * sysdeps/unix/sysv/linux/kernel-features.h
2053 (__ASSUME_SETRESUID_SYSCALL): Remove.
2054 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2055 (__ASSUME_32BITUIDS): Likewise.
2056 (__ASSUME_LDT_WORKS): Likewise.
2057 (__ASSUME_O_DIRECTORY): Likewise.
2058 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2059 architecture but not kernel version.
2060 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2061 (__ASSUME_MMAP2_SYSCALL): Likewise.
2062 (__ASSUME_STAT64_SYSCALL): Likewise.
2063 (__ASSUME_IPC64): Likewise.
2064 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2065 <kernel-features.h>.
2066 [__ASSUME_32BITUIDS]: Make code unconditional.
2067 [!__ASSUME_32BITUIDS]: Remove conditional code.
2068 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2069 <kernel-features.h>.
2070 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2071 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2072 132096]: Remove conditional code.
2073 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2074 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2075 <kernel-features.h>.
2076 [__ASSUME_32BITUIDS]: Make code unconditional.
2077 [!__ASSUME_32BITUIDS]: Remove conditional code.
2078 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2079 <kernel-features.h>.
2080 [__ASSUME_32BITUIDS]: Make code unconditional.
2081 [!__ASSUME_32BITUIDS]: Remove conditional code.
2082 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2083 <kernel-features.h>.
2084 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2085 unconditional.
2086 (__setresgid): Do not declare.
2087 [__ASSUME_32BITUIDS]: Make code unconditional.
2088 [!__ASSUME_32BITUIDS]: Remove conditional code.
2089 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2090 <kernel-features.h>.
2091 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2092 unconditional.
2093 (__setresuid): Do not declare.
2094 [__ASSUME_32BITUIDS]: Make code unconditional.
2095 [!__ASSUME_32BITUIDS]: Remove conditional code.
2096 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2097 <kernel-features.h>.
2098 [__ASSUME_32BITUIDS]: Make code unconditional.
2099 [!__ASSUME_32BITUIDS]: Remove conditional code.
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2101 <kernel-features.h>.
2102 [__ASSUME_32BITUIDS]: Make code unconditional.
2103 [!__ASSUME_32BITUIDS]: Remove conditional code.
2104
a386f1cc
RH
21052012-05-25 Richard Henderson <rth@twiddle.net>
2106
2107 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2108 dl_hwcap to ifunc resolver.
2109 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2110 elf_ifunc_invoke.
2111 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2112 dl_hwcap to ifunc resolver.
2113 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2114
b6550497
JM
21152012-05-24 Joseph Myers <joseph@codesourcery.com>
2116
2117 [BZ #14153]
2118 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2119 for |x| <= 2**-26, not 2**-57.
2120 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2121 exception.
2122
b0bc23a1
JL
21232012-05-24 Jeff Law <law@redhat.com>
2124
2125 * stdio-common/Makefile (tests): Add bug25.
2126 * stdio-common/bug25.c: New test.
2127
347c92e9
L
21282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 [BZ #13576]
2131 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2132 multiple of MALLOC_ALIGNMENT in size.
2133 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2134
6bcc8b3f
JM
21352012-05-24 Joseph Myers <joseph@codesourcery.com>
2136
2137 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2138 Require >= 256.
2139 (FILENAME_MAX): Use macro-int-constant.
2140 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2141 (_IOFBF): Use macro-int-constant.
2142 (_IOLBF): Likewise.
2143 (_IONBF): Likewise.
2144 (SEEK_CUR): Likewise.
2145 (SEEK_END): Likewise.
2146 (SEEK_SET): Likewise.
2147 (TMP_MAX): Likewise.
2148 (EOF): Use macro-int-constant. Require < 0.
2149 (NULL): Use macro-constant. Require == 0.
2150 (stdin): Require type to be FILE *.
2151 (stdout): Likewise.
2152 (stderr): Likewise.
2153 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2154 macro-int-constant.
2155 (EXIT_SUCCESS): Likewise.
2156 (NULL): Use macro-constant. Require == 0.
2157 (RAND_MAX): Use macro-int-constant.
2158 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2159 [C99-based standards] (strtof): Require function.
2160 [C99-based standards] (strtold): Likewise.
2161 [C99-based standards] (strtoll): Likewise.
2162 [C99-based standards] (strtoull): Likewise.
2163 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2164 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2165 [ISO || ISO99 || ISO11] (math.h): Likewise.
2166 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2167 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2168 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2169
d18ea0c5
AS
21702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2171
2172 [BZ #14132]
56d25bb8
AS
2173 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2174 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2175 * intl/dgettext.c (DCGETTEXT): Likewise.
2176 * intl/gettext.c (DCGETTEXT): Likewise.
2177 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2178 * posix/regex_internal.h (gettext): Likewise.
2179 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2180 Remove declaration.
2181 * include/argz.h (__argz_count_internal)
2182 (__argz_stringify_internal): Remove declaration.
2183 (__argz_count, __argz_stringify): Declare hidden proto.
2184 * intl/dcgettext.c: Remove use of INTDEF.
2185 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2186 * string/argz-stringify.c: Likewise.
2187 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2188 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2189 Declare hidden proto.
d18ea0c5
AS
2190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2192 Declare hidden proto.
2193 * include/stdio.h (__asprintf_internal): Don't declare.
2194 (__asprintf): Don't define as macro. Declare hidden proto.
2195 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2196 (__fsetlocking): Declare hidden proto.
2197 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2198 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2199 hidden proto.
2200 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2201 (_IO_setlinebuf): Remove use of INTUSE.
2202 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2203 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2204 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2205 Remove declaration.
2206 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2207 (_IO_do_flush): Remove use of INTUSE.
2208 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2209 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2210 (_IO_adjust_column, _IO_least_wmarker)
2211 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2212 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2213 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2214 (_IO_default_doallocate, _IO_wdefault_doallocate)
2215 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2216 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2217 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2218 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2219 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2220 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2221 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2222 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2223 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2224 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2225 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2226 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2227 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2228 proto.
2229 (_IO_flush_all_internal, _IO_adjust_column_internal)
2230 (_IO_default_uflow_internal, _IO_default_finish_internal)
2231 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2232 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2233 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2234 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2235 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2236 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2237 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2238 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2239 (_IO_file_close_internal, _IO_file_close_it_internal)
2240 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2241 (_IO_file_init_internal, _IO_file_attach_internal)
2242 (_IO_file_fopen_internal, _IO_file_read_internal)
2243 (_IO_file_sync_internal, _IO_file_seek_internal)
2244 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2245 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2246 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2247 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2248 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2249 (_IO_list_all_internal, _IO_link_in_internal)
2250 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2251 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2252 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2253 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2254 (_IO_do_write_internal, _IO_padn_internal)
2255 (_IO_getline_info_internal, _IO_getline_internal)
2256 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2257 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2258 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2259 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2260 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2261 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2262 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2263 with libc_hidden_ver, remove use of INTUSE.
2264 * libio/genops.c: Likewise.
2265 * libio/freopen.c: Likewise.
2266 * libio/freopen64.c: Likewise.
2267 * libio/iofclose.c: Likewise.
2268 * libio/iofdopen.c: Likewise.
2269 * libio/iofflush.c: Likewise.
2270 * libio/iofflush_u.c: Likewise.
2271 * libio/iofgets.c: Likewise.
2272 * libio/iofgets_u.c: Likewise.
2273 * libio/iofopen.c: Likewise.
2274 * libio/iofopncook.c: Likewise.
2275 * libio/iofread.c: Likewise.
2276 * libio/iofread_u.c: Likewise.
2277 * libio/ioftell.c: Likewise.
2278 * libio/iofwrite.c: Likewise.
2279 * libio/iogetline.c: Likewise.
2280 * libio/iogets.c: Likewise.
2281 * libio/iogetwline.c: Likewise.
2282 * libio/iopadn.c: Likewise.
2283 * libio/iopopen.c: Likewise.
2284 * libio/ioseekoff.c: Likewise.
2285 * libio/ioseekpos.c: Likewise.
2286 * libio/iosetbuffer.c: Likewise.
2287 * libio/iosetvbuf.c: Likewise.
2288 * libio/ioungetc.c: Likewise.
2289 * libio/ioungetwc.c: Likewise.
2290 * libio/iovdprintf.c: Likewise.
2291 * libio/iovsprintf.c: Likewise.
2292 * libio/iovsscanf.c: Likewise.
2293 * libio/memstream.c: Likewise.
2294 * libio/obprintf.c: Likewise.
2295 * libio/oldfileops.c: Likewise.
2296 * libio/oldiofclose.c: Likewise.
2297 * libio/oldiofdopen.c: Likewise.
2298 * libio/oldiofopen.c: Likewise.
2299 * libio/oldiopopen.c: Likewise.
2300 * libio/oldstdfiles.c: Likewise.
2301 * libio/putc.c: Likewise.
2302 * libio/setbuf.c: Likewise.
2303 * libio/setlinebuf.c: Likewise.
2304 * libio/stdfiles.c: Likewise.
2305 * libio/strops.c: Likewise.
2306 * libio/vasprintf.c: Likewise.
2307 * libio/vscanf.c: Likewise.
2308 * libio/vsnprintf.c: Likewise.
2309 * libio/vswprintf.c: Likewise.
2310 * libio/wfiledoalloc.c: Likewise.
2311 * libio/wfileops.c: Likewise.
2312 * libio/wgenops.c: Likewise.
2313 * libio/wmemstream.c: Likewise.
2314 * libio/wstrops.c: Likewise.
2315 * libio/__fpurge.c: Likewise.
2316 * libio/__fsetlocking.c: Likewise.
2317 * assert/assert.c: Likewise.
2318 * debug/fgets_chk.c: Likewise.
2319 * debug/fgets_u_chk.c: Likewise.
2320 * debug/fread_chk.c: Likewise.
2321 * debug/fread_u_chk.c: Likewise.
2322 * debug/gets_chk.c: Likewise.
2323 * debug/obprintf_chk.c: Likewise.
2324 * debug/vasprintf_chk.c: Likewise.
2325 * debug/vdprintf_chk.c: Likewise.
2326 * debug/vsnprintf_chk.c: Likewise.
2327 * debug/vsprintf_chk.c: Likewise.
2328 * malloc/mtrace.c: Likewise.
2329 * misc/error.c: Likewise.
2330 * misc/syslog.c: Likewise.
2331 * stdio-common/asprintf.c: Likewise.
2332 * stdio-common/fxprintf.c: Likewise.
2333 * stdio-common/getw.c: Likewise.
2334 * stdio-common/isoc99_fscanf.c: Likewise.
2335 * stdio-common/isoc99_scanf.c: Likewise.
2336 * stdio-common/isoc99_vfscanf.c: Likewise.
2337 * stdio-common/isoc99_vscanf.c: Likewise.
2338 * stdio-common/isoc99_vsscanf.c: Likewise.
2339 * stdio-common/printf-prs.c: Likewise.
2340 * stdio-common/printf_fp.c: Likewise.
2341 * stdio-common/printf_fphex.c: Likewise.
2342 * stdio-common/printf_size.c: Likewise.
2343 * stdio-common/putw.c: Likewise.
2344 * stdio-common/scanf.c: Likewise.
2345 * stdio-common/sprintf.c: Likewise.
2346 * stdio-common/tmpfile.c: Likewise.
2347 * stdio-common/vfprintf.c: Likewise.
2348 * stdio-common/vfscanf.c: Likewise.
2349 * stdlib/strfmon_l.c: Likewise.
2350 * sunrpc/openchild.c: Likewise.
2351 * sunrpc/xdr_stdio.c: Likewise.
2352 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2353 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2354
d6c33fda
RM
23552012-05-24 Roland McGrath <roland@hack.frob.com>
2356
c1487492
RM
2357 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2358
2359 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2360 in the third column, to generate for the shared library an IFUNC
2361 that uses _dl_vdso_vsym.
2362 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2363 * Makeconfig (object-suffixes-noshared): New variable.
2364
2365 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2366 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2367 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2368 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2369
d6c33fda
RM
2370 [BZ #14132]
2371 * include/sys/time.h (__gettimeofday): Remove macro.
2372 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2373 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2374 Remove INTDEF.
2375 (__gettimeofday): Add libc_hidden_def.
2376 (gettimeofday): Add libc_hidden_weak.
2377 * sysdeps/mach/gettimeofday.c: Likewise.
2378 * sysdeps/posix/gettimeofday.c: Likewise.
2379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2380 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2382 (__gettimeofday_internal): Remove strong_alias.
2383 (__gettimeofday): Add libc_hidden_def.
2384 (gettimeofday): Add libc_hidden_weak.
2385 * sysdeps/unix/syscalls.list (gettimeofday):
2386 Remove __gettimeofday_internal alias.
2387
b5a2bbe6
L
23882012-05-24 Daniel Jacobowitz <drow@false.org>
2389 H.J. Lu <hongjiu.lu@intel.com>
2390
2391 [BZ #12495]
2392 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2393 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2394 (largebin_index_32_big): New.
2395 (largebin_index): Use it for 16-byte alignment.
2396 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2397 correction with front_misalign.
2398
cfba4fda
L
23992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2400
7f907421
L
2401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2403 Likewise.
2404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2405 Likewise.
2406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2407 Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2409 Likewise.
2410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2411 Likewise.
2412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2413 Likewise.
2414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2415 Likewise.
2416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2417 Likewise.
2418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2419 Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2421 Likewise.
2422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2423 Likewise.
2424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2425 Likewise.
2426
cfba4fda
L
2427 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2428 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2429
80bad0cc
JM
24302012-05-24 Joseph Myers <joseph@codesourcery.com>
2431
7a25eb06
JM
2432 [BZ #10846]
2433 [BZ #14036]
2434 * math/libm-test.inc (exp_test): Add test from bug 14036.
2435 (pow_test): Add test from bug 10846.
2436
795405f9
JM
2437 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2438 and other flags.
2439 (special_function): Do not include flags in test name.
2440 (parse_args): Likewise.
2441 * sysdeps/i386/fpu/libm-test-ulps: Update.
2442 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2443 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2444 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446
80bad0cc
JM
2447 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2448 exceptions.
2449 * math/libm-test.inc ("Philosophy"): Update comment about
2450 exception testing.
2451 (UNDERFLOW_EXCEPTION): New macro.
2452 (UNDERFLOW_EXCEPTION_OK): Likewise.
2453 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2454 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2455 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2456 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2457 (INVALID_EXCEPTION_OK): Update value.
2458 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2459 (OVERFLOW_EXCEPTION_OK): Likewise.
2460 (IGNORE_ZERO_INF_SIGN): Likewise.
2461 (test_exceptions): Handle underflow exceptions.
2462 (acos_test): Update for underflow exception expectations.
2463 (cexp_test): Likewise.
2464 (clog_test): Likewise.
2465 (clog10_test): Likewise.
2466 (csqrt_test): Likewise.
2467 (ctan_test): Likewise.
2468 (ctanh_test): Likewise.
2469 (exp_test): Likewise.
2470 (exp10_test): Likewise.
2471 (exp2_test): Likewise.
2472 (expm1_test): Likewise.
2473 (fma_test): Likewise.
2474 (j0_test): Likewise.
2475 (jn_test): Likewise.
2476 (nexttoward_test): Likewise.
2477 (pow_test): Likewise.
2478 (scalbn_test): Likewise.
2479 (scalbln_test): Likewise.
2480 (tan_test): Likewise.
2481 (y1_test): Likewise.
2482 * sysdeps/i386/fpu/libm-test-ulps: Update.
2483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2484
9e0e3d0b
DM
24852012-05-23 David S. Miller <davem@davemloft.net>
2486
2487 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2488 (__libc_sigaction): Remove unused local variables.
2489
ccd0a08f
L
24902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2493
62bdf9a6
PE
24942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2495
f8591f80
PE
2496 mktime: avoid signed integer overflow
2497 * time/mktime.c (__mktime_internal): Do not mishandle the case
2498 where diff == INT_MIN.
2499
94c7d826
PE
2500 mktime: simplify computation of average
2501 * time/mktime.c (ranged_convert): Use new time_t_avg function
2502 instead of rolling our own (probably-slower) code.
2503
ce73d683
PE
2504 mktime: do not assume signed right shift propagates sign bit
2505 * time/mktime.c (isdst_differ): New static function.
2506 (__mktime_internal): No need to normalize tm_isdst now.
2507 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2508 tm_isdst values.
2509
72a22e59
PE
2510 mktime: merge another wrapv change from gnulib
2511 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2512 from some compilers.
2513
68605433
PE
2514 mktime: remove incorrect attempt at unusual arithmetics
2515 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2516 The code didn't really work on such machines anyway.
2517 (TYPE_MINIMUM): Assume two's complement.
2518 (twos_complement_arithmetic): Verify that long_int and time_t
2519 are two's complement (or unsigned, in the latter case).
2520
03cf7fe3
PE
2521 mktime: check signed shifts on long_int and time_t, too
2522 * time/mktime.c (SHR): Check that shifts work as desired
2523 on the types long_int and time_t too, as SHR is used on
2524 such types.
2525
f04dfbc2
PE
2526 mktime: do not assume 'long' is wide enough
2527 * time/mktime.c (verify): Move decl up.
2528 (long_int): New type.
2529 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2530 to remove assumption in the code that 'long' is wide enough to
2531 store year values. This assumption is not true on x32 and on
2532 some non-glibc platforms.
2533
62bdf9a6
PE
2534 mktime: merge wrapv change from gnulib
2535 * time/mktime.c (WRAPV): New macro.
2536 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2537 (guess_time_tm, __mktime_internal): Do not assume that signed
2538 integer overflow wraps around; modern compilers generate code
2539 where this assumption is no longer valid.
2540
5e292e4f
L
25412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2542
2543 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2544 Replace "jmp L(pseudo_end)" with "ret".
2545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2546 Likewise.
2547
8caf8c87
AJ
25482012-05-23 Andreas Jaeger <aj@suse.de>
2549
2550 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2551 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2552
1a09dc56
AJ
25532012-05-23 Andreas Jaeger <aj@suse.de>
2554 Maximilian Attems <max@stro.at>
2555
2556 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2557 New macros.
2558
1c87aba0
L
25592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2560
2561 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2562 code so that pseudo_end is just ret and the stack pointer is
2563 correct also for static library in error case.
2564
40e45bd5
JM
25652012-05-23 Joseph Myers <joseph@codesourcery.com>
2566
c2670533
JM
2567 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2568 move to syscalls.list.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2573
40e45bd5
JM
2574 * manual/install.texi (Running make install): Do not mention Linux
2575 kernel version for which pt_chown is not needed.
2576 (Linux): Do not mention problems with nscd with 2.0 kernels.
2577 * INSTALL: Regenerated.
2578
be08eda5
AJ
25792012-05-23 Andreas Jaeger <aj@suse.de>
2580
2581 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2582 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2583 macro.
2584 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2586 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2588 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2594 * sysdeps/unix/sysv/linux/bits/in.h
2595 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2596
a6a056bb
RM
25972012-05-22 Roland McGrath <roland@hack.frob.com>
2598
2599 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2600 (PREPARE_VERSION): Just use assert instead, it will be elided
2601 under [NDEBUG] anyway.
2602
c9009328
L
26032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2604
2605 * sysdeps/unix/sysv/linux/Makefile: Include
2606 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2607 (sysdep_routines): Remove sysctl.
c9009328
L
2608 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2609 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2610 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2611 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2612 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2613
73338355
AJ
26142012-05-22 Andreas Jaeger <aj@suse.de>
2615
2616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2617 that pseudo_end is just ret and the stack pointer is correct also
2618 for static library in error case.
2619
d44638b0
PP
26202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2621
2622 [BZ #14122]
2623 * nss/nsswitch.c (defconfig_entries): New variable.
2624 (__nss_database_lookup): Don't leak defconfig entries.
2625 (nss_parse_service_list): Don't leak on error paths.
2626 (free_database_entries): New function.
2627 (free_defconfig): New function.
2628 (free_mem): Move common code to free_database_entries.
2629
31a39bd8
L
26302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2631
da0331a8
L
2632 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2633 Add arch_prctl.
2634 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2635
31a39bd8
L
2636 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2637 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2639 New macro.
2640 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2641 (INTERNAL_SYSCALL_TYPES): Likewise.
2642 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2643 (LOAD_REGS_TYPES_[1-6]): Likewise.
2644 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2645 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2646
45470df3
AZ
26472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2648
2649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2650 copysignl for GLIBC_2_0.
2651 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2652 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2654 logbl for GLIBC_2_0.
2655 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2657
98a61bcb
L
26582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2659
a4f6e481
L
2660 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2661 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2662
f63d5db6
L
2663 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2664 Use "neg %eax".
2665
98a61bcb
L
2666 * time/mktime.c: Update copyright years.
2667
95770f14
PE
26682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2669
6226efbd
PE
2670 mktime: merge comment-quoting-style change from gnulib
2671 * time/mktime.c: Quote 'like this' in comments.
2672 The GNU coding standards suggest that we no longer quote `like this',
2673 as "`" and "'" are typically rendered asymmetrically nowadays.
2674 The typical gnulib style is to quote 'like this' when quoting
2675 code, and "like this" when quoting English.
2676
b99e4f78
PE
2677 * time/mktime.c (compile-command): Add "-I.".
2678
643e01e6
PE
2679 mktime: merge mktime-internal.h change from gnulib
2680 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2681
2554247d
PE
2682 mktime: merge time_r change from gnulib
2683 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2684
826dd0ab
PE
2685 mktime: merge DEBUG change from gnulib
2686 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2687 case system <time.h> has a #define.
2688
bd83aabe
PE
2689 mktime: merge <sys/types.h> change from gnulib
2690 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2691 since <time.t> is now guaranteed to define time_t.
2692
95770f14
PE
2693 mktime: merge HAVE_CONFIG_H change from gnulib
2694 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2695
5e1a27a9
L
26962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2697
0e44a77e
L
2698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2699 Use "neg %eax".
2700
5e1a27a9
L
2701 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2702 __rlim_t cast.
2703 (struct rusage): Use anonymous union to pad each field to
2704 __syscall_slong_t.
2705
46259bec
DM
27062012-05-21 David S. Miller <davem@davemloft.net>
2707
2708 * Makefules (o-iterator): Remove .s cases.
2709 (compile-command.s): Delete.
2710 (COMPILE.s): Delete.
2711 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2712
59f0c22e
JM
27132012-05-21 Joseph Myers <joseph@codesourcery.com>
2714
2715 * configure.in (libc_cv_predef_stack_protector): Only consider
2716 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2717 * configure: Regenerated.
2718
20c07380
L
27192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2720
bbb3154b
L
2721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2722 New macro. Use R*LP on int and pointer.
2723 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2724 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2725 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2726 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2727
20c07380
L
2728 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2729 [__WORDSIZE_TIME64_COMPAT32] instead of
2730 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2731 (struct utmp): Likewise.
2732 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2733 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2734 Renamed to ...
2735 (__WORDSIZE_TIME64_COMPAT32): This.
2736 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2737 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2738 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2739 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2740 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2741 (__WORDSIZE_TIME64_COMPAT32): New macro.
2742
d8d1017e
AJ
27432012-05-21 Andreas Jaeger <aj@suse.de>
2744
2745 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2746 only if [SHARED]. Add prototype for __wcschr_ia32.
2747
6c7fb145
RM
27482012-05-21 Roland McGrath <roland@hack.frob.com>
2749
2750 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2751 of %rbp unmolested in the jmp_buf while mangling the low bits.
2752 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2753 unmolested high bits of %rbp while demangling the low bits.
2754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2755
66274218
AJ
27562012-05-21 Andreas Jaeger <aj@suse.de>
2757
07c58f8f
AJ
2758 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2759 * sunrpc/svc_simple.c: Use it for registerrpc.
2760 * sunrpc/xcrypt.c: Use it for passwd2des.
2761
66274218
AJ
2762 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2763
61f65140
L
27642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2767 Don't define if [__SYSCALL_WORDSIZE != 32].
2768 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2769 New macro.
2770
5fefb436
AJ
27712012-05-21 Bruno Haible <bruno@clisp.org>
2772 Andreas Jaeger <aj@suse.de>
2773
2774 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2775 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2776 inptr and inend for must_buffer_ch.
2777 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2778 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2779 * stdio-common/Makefile (tests): Remove bug15.
2780 (bug15-ENV): Remove macro.
2781 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2782 anymore.
2783
d8e272ab
AJ
27842012-05-19 Andreas Jaeger <aj@suse.de>
2785 Roland McGrath <roland@hack.frob.com>
2786
2787 * manual/contrib.texi: Completely rewritten. It contains now an
2788 alphabetical list of contributors and their contributions.
2789
4a56a162
RH
27902012-05-21 Richard Henderson <rth@twiddle.net>
2791
2792 * misc/getauxval.c (__getauxval): Use unsigned long int.
2793 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2794 (getauxval): Use unsigned long int.
2795
d024d23c
L
27962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2797
2798 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2799
cbc00a03
RM
28002012-05-21 Roland McGrath <roland@hack.frob.com>
2801
2802 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2803 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2804 __alignof__ (long double).
2805
478143fa
AZ
28062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2807
2808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2809
c7683a6d
RH
28102012-05-20 Richard Henderson <rth@twiddle.net>
2811
2812 * misc/getauxval.c: New file.
2813 * misc/sys/auxv.h: New file.
2814 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2815 (routines): Add getauxval.
2816 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2817 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2818 * elf/dl-sysdep.c (_dl_auxv): Remove.
2819 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2820 * elf/dl-support.c (_dl_auxv): New variable.
2821 (_dl_aux_init): Initialize it.
2822 * manual/startup.texi (Auxiliary Vector): New node.
2823 * sysdeps/generic/bits/hwcap.h: New file.
2824 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2825 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2826 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2827 * sysdeps/sparc/sysdep.h: ... here. Include it.
2828 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2831 Update.
c7683a6d
RH
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2840
a6f1845d
AZ
28412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2842
2843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2844
cbcbe830
DM
28452012-05-19 David S. Miller <davem@davemloft.net>
2846
2847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2848
e0b16cc2
JM
28492012-05-19 Joseph Myers <joseph@codesourcery.com>
2850
2851 [BZ #14123]
2852 * math/s_ccosh.c: Include <float.h>
2853 (__ccosh): Avoid internal overflow calculating sinh and cosh
2854 values before multiplying by sin and cos values.
2855 * math/s_ccoshf.c: Likewise.
2856 * math/s_ccoshl.c: Likewise.
2857 * math/s_csin.c: Likewise.
2858 * math/s_csinf.c: Likewise.
2859 * math/s_csinl.c: Likewise.
2860 * math/s_csinh.c: Likewise.
2861 * math/s_csinhf.c: Likewise.
2862 * math/s_csinhl.c: Likewise.
2863 * math/libm-test.inc (ccos_test): Add more tests.
2864 (ccosh_test): Likewise.
2865 (csin_test): Likewise.
2866 (csinh_test): Likewise.
2867 * sysdeps/i386/fpu/libm-test-ulps: Update.
2868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2869
6ad13e08
L
28702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2871
f66f0ce8
L
2872 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2873 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2874
6ad13e08
L
2875 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2876
b1d072a7
JM
28772012-05-19 Joseph Myers <joseph@codesourcery.com>
2878
2879 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2880 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2881 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2882 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2883 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2884 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2885 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2886 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2887 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2888 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2889 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2890 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2891 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2892 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2893 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2894 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2895 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2896 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2897 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2898 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2899 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2900 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2901 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2902 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2903 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2904 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2905 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2906 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2907 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2908 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2909 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2910
9eae47cb
AJ
29112012-05-18 Andreas Jaeger <aj@suse.de>
2912
2913 * csu/.gitignore: Delete.
2914
bb07f69f
L
29152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2916
2917 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2918 (timex): Use __syscall_slong_t.
2919
e6bdb741
AJ
29202012-05-18 Andreas Jaeger <aj@suse.de>
2921 Carlos O'Donell <carlos_odonell@mentor.com>
2922
2923 * manual/install.texi (Configuring and compiling): Update
2924 description about files modified in the source directory.
d6c33fda 2925 * INSTALL: Regenerated.
e6bdb741 2926
1b74487e
L
29272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2928
2929 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2930 value. Use "or" to set return value to -1.
2931 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2932 negate return value.
2933
a88b64b9
TMQMF
29342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2935
2936 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2937 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2938 failure if the compiler has Graphite support disabled.
2939 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2940 Likewise.
2941 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2942 CFLAGS-memmove.c): Likewise.
2943 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2944 Likewise.
2945
3707636e
L
29462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2947
610b8622
L
2948 * sysdeps/x86_64/x32/_itoa.h: New file.
2949
7cd195df
L
2950 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2951 getdents system call only if kernel and user dirents have the
2952 same d_ino and d_off.
2953
94b07d20
L
2954 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2955 LLONG_MAX != LONG_MAX.
2956 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2957 (_fitoa_word): Likewise.
2958
18298070
L
2959 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2960 years.
2961 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2962 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2964
553c7ea4
L
2965 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2966 include <bits/wordsize.h>. Check __x86_64__ instead of
2967 __WORDSIZE.
2968 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2969 if __x86_64__ is defined. Use anonymous union on fpstate.
2970
3707636e
L
2971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2972 anonymous union.
2973
b53ef01a
AS
29742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2975
37fb1dc0
AS
2976 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2977 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2978 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2979 Refer to _rtld_local_ro instead of _rtld_global_ro.
2980 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2981 Likewise.
2982 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2983 Likewise.
2984 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2985 Likewise.
2986 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2987 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2988 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2989
b53ef01a
AS
2990 * sysdeps/powerpc/powerpc32/dl-machine.c
2991 (__elf_machine_runtime_setup) [PROF]: Don't reference
2992 _dl_prof_resolve.
2993
7a185db2
AJ
29942012-05-18 Andreas Jaeger <aj@suse.de>
2995
2996 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2997 function only available for GCCs before 3.4 since GCC 3.4
2998 introduced a builtin.
2999 (lrint): Likewise.
3000 (llrintf): Likewise.
3001 (llrint): Likewise.
3002 (fmaxf): Likewise.
3003 (fmax): Likewise.
3004 (fminf): Likewise.
3005 (fmin): Likewise.
3006 (rint): Likewise.
3007 (rintf): Likewise.
3008 (nearbyint): Likewise.
3009 (nearbyintf): Likewise.
3010 (ceil): Likewise.
3011 (ceilf): Likewise.
3012 (floor): Likewise.
3013 (floorf): Likewise.
3014
3e5aef87
L
30152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3016
428bd707
L
3017 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3018 on both fields and cast pointer to __syscall_ulong_t.
3019
3e5aef87
L
3020 * bits/types.h (__fsword_t): New type.
3021 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3022 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3024 (__FSWORD_T_TYPE): Likewise.
3025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3026 (__FSWORD_T_TYPE): Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3028 (__FSWORD_T_TYPE): Likewise.
3029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3030 (__FSWORD_T_TYPE): Likewise.
3031 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3032 __SWORD_TYPE with __fsword_t.
3033 (statfs64): Likewise.
3034
1ba7c3dc
DM
30352012-05-17 David S. Miller <davem@davemloft.net>
3036
3037 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3038
59910343
AJ
30392012-05-17 Andreas Jaeger <aj@suse.de>
3040
3041 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3042 warning.
3043
2e4c1e9e
L
30442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3047
de7f5ce7
AJ
30482012-05-17 Andreas Jaeger <aj@suse.de>
3049
3050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3051 when it is used.
3052
286abc3d
CM
30532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3054
3055 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3056
477cc68e
L
30572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3058
3059 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3060 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3061
1a0994f5
CD
30622012-05-17 Andreas Jaeger <aj@suse.de>
3063 Carlos O'Donell <carlos_odonell@mentor.com>
3064
3065 [BZ #14059]
3066 * sysdeps/x86_64/multiarch/init-arch.h
3067 (bit_YMM_Usable): Rename to...
3068 (bit_AVX_Usable): ... this.
3069 (bit_FMA4_Usable): New macro.
3070 (bit_XMM_state): New macro.
3071 (bit_YMM_state): New macro.
3072 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3073 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3074 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3075 (CPUID_OSXSAVE): New macro.
3076 (CPUID_AVX): New macro.
3077 (CPUID_FMA4): New macro.
3078 (index_YMM_Usable): Rename to...
3079 (index_AVX_Usable): ... this.
3080 (HAS_AVX): Use HAS_ARCH_FEATURE.
3081 (HAS_FMA4): Likewise.
3082 (HAS_YMM_USABLE): Remove.
3083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3084 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3085 are present.
3086 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3087 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3088 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3089 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3090 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3091
0af797de
CM
30922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3093
3094 * math/libm-test.c: Support platforms without multiple rounding modes.
3095 * math/bug-nextafter.c: Support platforms without FP exceptions.
3096 * math/bug-nexttoward.c: Likewise.
3097 * math/test-fenv.c: Likewise.
3098 * math/test-misc.c: Likewise.
3099 * stdlib/bug-getcontext.c: Likewise.
3100
e39745ff
AJ
31012012-05-17 Andreas Jaeger <aj@suse.de>
3102
3103 * manual/examples/search.c (critter_cmp): Change signature to
3104 avoid warnings.
3105 * manual/string.texi (Collation Functions): Likewise.
3106
48970aba
L
31072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * bits/types.h: Fold copyright years.
3110 * bits/typesizes.h: Likewise.
3111 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3115 * time/time.h: Likewise.
3116
bedee953
PP
31172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3118
3119 [BZ #208]
3120 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3121 in instead of returning them. Return void.
3122 (__libc_mallinfo): Accumulate over all arenas.
3123 (__malloc_stats): Adjust for change in int_mallinfo interface.
3124
61653dfb
RM
31252012-05-16 Roland McGrath <roland@hack.frob.com>
3126
30b99d79
RM
3127 [BZ #10375]
3128 * configure.in (NM): Add AC_CHECK_TOOL for it.
3129 (libc_extra_cflags): New substituted variable.
3130 Check for -fstack-protector being used implicitly.
3131 * configure: Regenerated.
3132 * config.make.in (config-extra-cflags): New variable,
3133 gets @libc_extra_cflags@.
3134 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3135
61653dfb
RM
3136 [BZ #10375]
3137 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3138 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3139 * configure: Regenerated.
3140 * config.make.in (CPPUNDEFS): New substituted variable.
3141 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3142 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3143 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3144
661768bb
L
31452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3146
3147 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3148 (mq_attr): Use __syscall_slong_t.
3149
d4261567
L
31502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3153 Check __x86_64__ instead of __WORDSIZE.
3154 (_STAT_VER_LINUX): Likewise.
3155 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3156 __syscall_ulong_t and __syscall_slong_t.
3157 (stat64): Likewise.
3158
cf3ff365
L
31592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3160
3161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3162
76cf3e4d
L
31632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3166
a637753a
L
31672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3170 __syscall_ulong_t.
3171
d5e05119
L
3172 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3173 include <bits/wordsize.h>. Check __x86_64__ instead of
3174 __WORDSIZE.
3175 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3176 defined.
3177 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3178
f62ee380
L
3179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3180 include <bits/wordsize.h>. Check __x86_64__ instead of
3181 __WORDSIZE.
3182 (user_regs_struct): Use "__extension__ unsigned long long"
3183 instead of "unsigned long" if __x86_64__ is defined.
3184 (user): Likewise. Pad after pointer field if __ILP32__ is
3185 defined.
3186
4e124ced
JM
31872012-05-16 Joseph Myers <joseph@codesourcery.com>
3188
6a3951a0
JM
3189 * configure.in (makeinfo): Require version 4.5 or later. Allow
3190 versions 5 to 9.
3191 * configure: Regenerated.
3192 * manual/install.texi (texinfo): Increase version requirement to
3193 4.5 or later.
3194 * INSTALL: Regenerated.
3195
4e124ced
JM
3196 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3197
953ca31a
L
31982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3199
3200 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3201
617aca05
L
3202 * sysdeps/x86_64/x32/ffs.c: New file.
3203
5762f7ae
L
3204 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3205 __syscall_ulong_t.
3206 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3207 defined. Use __syscall_ulong_t.
3208 (shminfo): Use __syscall_ulong_t.
3209 (shm_info): Likewise.
3210
a26b6856
L
3211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3212 __syscall_ulong_t.
3213
cb2b9ef7
L
3214 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3215 <bits/wordsize.h>.
3216 (msgqnum_t): Use __syscall_ulong_t.
3217 (msglen_t): Likewise.
3218 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3219 __syscall_ulong_t.
3220
34683bb0
L
3221 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3223
84a68786
L
3224 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3225
48baa5f1
L
3226 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3227 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3228
180be88b
L
3229 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3230 __syscall_slong_t.
3231
5e90c8ad
L
3232 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3233 include <bits/wordsize.h>. Check __x86_64__ instead of
3234 __WORDSIZE.
3235
23dfb58b
L
3236 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3237 "unsigned long long int" if __x86_64__ is defined.
3238 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3239
ce5d54b0
L
3240 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3241 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3242 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3243
13dc9eac
L
3244 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3245 <stdint.h>.
3246 (GET_PC): Cast to uintptr_t first.
3247 (GET_FRAME): Likewise.
3248 (GET_STACK): Likewise.
3249
a7895d15
L
3250 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3255 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3256 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3258 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3260 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3262 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3264 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3265 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3266 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3267 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3270 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3271 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3273 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3274 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3275 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3276 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3278 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3279
656416c9
AS
32802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3281
5bd66283
AS
3282 * Makerules (+depfiles): Also collect depfiles from .oS in
3283 $(extra-objs).
3284 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3285 .oS, $(libnldbl-routines)).
3286
656416c9
AS
3287 * Makerules (native-compile-mkdep-flags): Define.
3288 * sunrpc/Makefile (extra-objs): Add $(addprefix
3289 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3290 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3291 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3292 calling $(make-target-directory).
3293
a46f2169
L
32942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3295
3296 * bits/types.h (__snseconds_t): Removed.
3297 * time/time.h (struct timespec): Replace __snseconds_t with
3298 __syscall_slong_t.
3299 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3300 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3301 Likewise.
3302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3303 (__SNSECONDS_T_TYPE): Likewise.
3304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3305 (__SNSECONDS_T_TYPE): Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3307 (__SNSECONDS_T_TYPE): Likewise.
3308
6af6528b
L
33092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3310
3311 * sysdeps/mach/hurd/bits/typesizes.h
3312 (__SYSCALL_SLONG_TYPE): New macro.
3313 (__SYSCALL_ULONG_TYPE): Likewise.
3314
de986b56
L
33152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3316
3317 * bits/types.h (__syscall_slong_t): New type.
3318 (__syscall_ulong_t): Likewise.
3319
3320 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3321 (__SYSCALL_ULONG_TYPE): Likewise.
3322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3323 (__SYSCALL_SLONG_TYPE): Likewise.
3324 (__SYSCALL_ULONG_TYPE): Likewise.
3325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3326 (__SYSCALL_SLONG_TYPE): Likewise.
3327 (__SYSCALL_ULONG_TYPE): Likewise.
3328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3329 (__SYSCALL_SLONG_TYPE): Likewise.
3330 (__SYSCALL_ULONG_TYPE): Likewise.
3331
85736dc7
L
33322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3333
3334 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3335 Add sigaltstack-offsets.sym.
3336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3337 <sigaltstack-offsets.h>.
3338 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3339 longjmp_msg pointer.
3340 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3341 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3342 signal stack.
3343 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3344
cc03b296
JM
33452012-05-15 Joseph Myers <joseph@codesourcery.com>
3346
a9538892
JM
3347 * elf/stackguard-macros.h: Remove file.
3348 * sysdeps/generic/stackguard-macros.h: New file.
3349 * sysdeps/i386/stackguard-macros.h: Likewise.
3350 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3351 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3352 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3353 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3354 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3355 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3356 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3357 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3358 <elf/stackguard-macros.h>.
3359
cc03b296
JM
3360 [BZ #14109]
3361 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3362 __aligned__ in attribute.
3363 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3364 (gregset_t): Likewise.
3365
93171016
L
33662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3369 * sysdeps/x86_64/64/Implies-after: Here. New file.
3370 * sysdeps/x86_64/x32/Implies-after: New file.
3371
d86813a0
L
33722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3373
3374 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3375 and access return value for _dl_profile_fixup. Use R10_LP to
3376 load frame size.
3377
2953ec75
L
33782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3379
3380 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3381
3b550e9e
L
33822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3385 * sysdeps/x86_64/x32/sysdep.h: New file.
3386
eda41706
L
33872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3390 * sysdeps/x86_64/setjmp.S: Likewise.
3391
9ea01d93
AZ
33922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3393
3394 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3395 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3396 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3397 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3398 remove unused global constant.
3399
02a91938
CM
34002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3401
3402 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3403 include of <not-cancel.h>.
3404
6540185f
RM
34052012-05-15 Roland McGrath <roland@hack.frob.com>
3406
3407 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3408
509072a0
AJ
34092012-05-15 Jeff Law <law@redhat.com>
3410 Andreas Jaeger <aj@suse.de>
3411
3412 [BZ #13594]
3413 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3414 out from...
3415 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3416 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3417 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3418 code changing __hst_map_handle.map.
3419
ba75122d
RM
34202012-05-15 Roland McGrath <roland@hack.frob.com>
3421
3422 * configure.in (sysnames): Look for Implies-before and Implies-after
3423 files.
3424 * configure: Regenerated.
3425
890d8bd8
L
34262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3427
3428 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3429 8-byte data alignment with LP_SIZE alignment.
3430
f6ee6623
L
34312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3432
3433 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3434 into R10_LP.
3435
ea2626f6
L
34362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3437
3438 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3439
085f715e
L
34402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3443 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3444 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3445 Likewise.
3446 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3447
be8498fc
L
34482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3451 (stackinfo_sub_sp): Likewise.
3452
70bc83b9
L
34532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3454
3455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3456 RAX_LP.
3457
9bc0b730
L
34582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3459
3460 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3461 into R*_LP.
3462
6d2850e7
L
34632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3466 sizes into R*_LP.
3467
3cb84561
L
34682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3469
3470 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3471
54e2ed81
L
34722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3473
3474 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3475 into R11_LP and load __x86_64_shared_cache_size_half into
3476 R8_LP.
3477
8a17f349
L
34782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3481 R8_LP.
3482
777b1eea
AZ
34832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3484
3485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3486 logb for POWER7.
3487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3488 logbf for POWER7.
3489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3490 logbl for POWER7.
3491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3492 powerpc32/power7/fpu/s_logb.c via #include.
3493 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3494 powerpc32/power7/fpu/s_logbf.c via #include.
3495 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3496 powerpc32/power7/fpu/s_logbl.c via #include.
3497
d20d4ac2
JM
34982012-05-15 Joseph Myers <joseph@codesourcery.com>
3499
3500 * README.libm: Remove file.
3501
6cdef1ab
L
35022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3503
3504 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3505 count for x32. Use R*_LP and omit operand-size suffix.
3506
0b254d8f
L
35072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3508
3509 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3510 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3511 * sysdeps/x86_64/x32/shlib-versions: New file.
3512
ceb809dc
RM
35132012-05-14 Roland McGrath <roland@hack.frob.com>
3514
3515 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3516 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3517 Use _dl_fatal_printf instead.
3518
37f1abd4
JM
35192012-05-14 Joseph Myers <joseph@codesourcery.com>
3520
3521 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3522 set if not set by the user. Do not allow for being unset.
3523 * sysdeps/unix/sysv/linux/configure: Regenerated.
3524
11de3a33
L
35252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3528 the `q' suffix from lea and replace .quad with ASM_ADDR.
3529
e02f153a
L
35302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3531
3532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3533 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3534 instead of $17.
3535 (PTR_DEMANGLE): Likewise.
3536
520ae0fd
L
35372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3540 (LP_OP): Likewise.
3541 (ASM_ADDR): Likewise.
3542 (RAX_LP): Likewise.
3543 (RBP_LP): Likewise.
3544 (RBX_LP): Likewise.
3545 (RCX_LP): Likewise.
3546 (RDI_LP): Likewise.
3547 (RSI_LP): Likewise.
3548 (RSP_LP): Likewise.
3549 (R8_LP): Likewise.
3550 (R9_LP): Likewise.
3551 (R10_LP): Likewise.
3552 (R10_LP): Likewise.
3553 (R11_LP): Likewise.
3554 (R12_LP): Likewise.
3555 (R13_LP): Likewise.
3556 (R14_LP): Likewise.
3557 (R15_LP): Likewise.
3558
b985be81
L
35592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3560
3561 * sysdeps/x86_64/x32/dl-machine.h: New file.
3562
6a4888ff
AJ
35632012-05-14 Andreas Jaeger <aj@suse.de>
3564
3565 * manual/Makefile (subdir): Remove export of subdir.
3566 (all): Remove target.
3567 (.PHONY): Remove all from list.
3568 (mkinstalldirs): Remove.
3569 (.PHONY): Remove installdirs from list.
3570 ($(inst_infodir)/libc.info): Use make-target-directory.
3571 (installdirs): Remove.
3572 (subdir_%): Remove.
3573 (glibc-targets): Remove.
3574 (lib): Remove.
3575 (stubs): Remove.
3576 ($(objpfx)stubs ../po/manual.pot): Remove.
3577 ($(objpfx)stamp%): Remove.
3578 (make-target-directory): Remove.
3579 (subdir_install): Remove.
3580 (routines): Remove.
3581 (aux): Remove.
3582 (sources): Remove.
3583 (objects): Remove.
3584 (headers): Remove.
3585
3586 [BZ #13750]
3587 * manual/.gitignore: Remove, it's not needed anymore.
3588 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3589 all files in it.
3590 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3591 directory.
3592 (texis): Renamed to $(objpfx)texis.
3593 (texis-path): New, contains path to generated files.
3594 (chapters.%): Use texis-path for complete path, add extra argument
3595 libc-texinfo.sh.
3596 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3597 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3598 (summary,texi, stamp-summary): Use complete path of
3599 files. Generate files in build dir.
3600 (dir-add.texi): Build in build dir.
3601 (libm-err.texi,stamp-libm-err): Likewise.
3602 (version.texi, stamp-version): Likewise.
3603 (.%c.texi): Likewise.
3604 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3605 (mostlyclean): Remove target.
3606 (realclean): Remove target.
3607 (generated): Add new variable with contents from mostlyclean and
3608 realclean, remove entries duplicated in common-mostlyclean, add
3609 stamp-libm-err and stamp-version.
3610 (generated-dirs): Add libc directory.
3611 ($(inst_infodir)/libc.info): Install files from build dir.
3612
3613 * manual/install.texi (Configuring and compiling): Adjust since
3614 the info files are not part of the tar ball anymore.
3615
7ac77294
AJ
36162012-05-14 Andreas Jaeger <aj@suse.de>
3617
3618 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3619 variable.
3620
ffb7875d
JM
36212012-05-14 Joseph Myers <joseph@codesourcery.com>
3622
3623 [BZ #13717]
3624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3625 to 2.2.0 where earlier.
3626 * sysdeps/unix/sysv/linux/configure: Regenerated.
3627 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3628 Remove conditional code.
3629 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3630 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3631 Remove conditional code.
3632 [!__NR_lchown]: Likewise.
3633 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3634 [__NR_lchown]: Likewise.
3635 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3636 comment referencing __ASSUME_LCHOWN_SYSCALL.
3637 * sysdeps/unix/sysv/linux/i386/sigaction.c
3638 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3639 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3640 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3641 Remove conditional code.
3642 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3643 (__protocol_available): Remove #if 0 code.
3644 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3645 conditional code.
3646 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3647 * sysdeps/unix/sysv/linux/kernel-features.h
3648 (__ASSUME_GETCWD_SYSCALL): Don't define.
3649 (__ASSUME_REALTIME_SIGNALS): Likewise.
3650 (__ASSUME_PREAD_SYSCALL): Likewise.
3651 (__ASSUME_PWRITE_SYSCALL): Likewise.
3652 (__ASSUME_POLL_SYSCALL): Likewise.
3653 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3654 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3655 non-SPARC.
3656 (__ASSUME_SIOCGIFNAME): Don't define.
3657 (__ASSUME_MSG_NOSIGNAL): Likewise.
3658 (__ASSUME_SENDFILE): Define unconditionally.
3659 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3660 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3661 conditional code.
3662 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3663 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3664 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3665 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3666 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3668 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3693 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3694 Remove conditional code.
3695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3696 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3697 Remove conditional code.
3698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3699 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3700 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3701 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3702 Remove conditional code.
3703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3704 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3705 Remove conditional code.
3706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3707 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3708 Remove conditional code.
3709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3710 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3711 Remove conditional code.
3712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3713 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3714 Remove conditional code.
3715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3716 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3719 * sysdeps/unix/sysv/linux/sigaction.c
3720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3722 * sysdeps/unix/sysv/linux/sigpending.c
3723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3725 * sysdeps/unix/sysv/linux/sigprocmask.c
3726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3728 * sysdeps/unix/sysv/linux/sigsuspend.c
3729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3731 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3732 (__libc_missing_rt_sigs): Remove.
3733 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3734 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3735 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3736 Remove conditional code.
3737 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3738 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3739 return 1.
3740 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3741 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3742 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3743 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3744
1bfb7291
AJ
37452012-05-14 Andreas Jaeger <aj@suse.de>
3746
caae5a81
AJ
3747 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3748 it's not used in glibc.
3749 (__coshm1): Likewise.
3750 (__acosh1p): Likewise.
3751 (__sgn): Likewise.
3752
1bfb7291
AJ
3753 * manual/string.texi (Copying and Concatenation): Add missing
3754 variable in concat example.
3755 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3756
c044d724
L
37572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3758
144c5467 3759 [BZ #14103]
c044d724
L
3760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3761 __builtin_clzl with __builtin_clzll.
3762
2523c62b
L
37632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 [BZ #14104]
3766 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3767 libc_freeres_ptr.
3768
d7bb4c42
LD
37692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3770
3771 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3772 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3773 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3774 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3775
9dc4e1fb
MF
37762012-05-14 Mike Frysinger <vapier@gentoo.org>
3777
3778 * NEWS: Update ia64 info.
3779
c7df0112
AS
37802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3781
3782 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3783 used as bcopy.
3784
dc70356c
TS
37852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3786
3787 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3788 * sysdeps/unix/syscalls.list (dup3): Likewise.
3789 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3790 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3791
9fb1a21f
L
37922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3793
3794 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3795 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3796
4822a2a5
L
37972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3800 thread pointer.
3801 (TLS_IE): Use mov/add instead of movq/addq to load thread
3802 pointer.
3803 (TLS_GD_PREFIX): New.
3804 (TLS_GD): Use it.
3805
842b81d6
DM
38062012-05-11 David S. Miller <davem@davemloft.net>
3807
3808 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3809 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3810 (_FPU_SETCW): Likewise.
3811
1cf463cd
L
38122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3813
3814 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3815 is 32-byte aligned.
3816
60cc4a18
AS
38172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3818
3819 [BZ #11837]
3820 * iconvdata/gb18030.c: Update tables.
3821 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3822 characters specially.
3823 (BODY for TO_LOOP): Add encoding of missing ranges.
3824
febb44a4
TS
38252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3826
3827 [BZ #13673]
3828 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3829 * sysdeps/mach/hurd/dup3.c: Likewise.
3830 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3831 * sysdeps/powerpc/memmove.c:: Likewise.
3832
0a10fb9e
L
38332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3834
3835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3836 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3837
df8a552f
L
38382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3839
3840 * elf/elf.h (R_X86_64_RELATIVE64): New.
3841 (R_X86_64_NUM): Updated.
3842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3843 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3844 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3845 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3846 tst-quad1pie tst-quad2pie
3847 (modules-names): Add tst-quadmod1 tst-quadmod2.
3848 ($(objpfx)tst-quad1): New dependency.
3849 ($(objpfx)tst-quad2): Likewise.
3850 ($(objpfx)tst-quad1pie): Likewise.
3851 ($(objpfx)tst-quad2pie): Likewise.
3852 * sysdeps/x86_64/tst-quad1.c: New file.
3853 * sysdeps/x86_64/tst-quad1pie.c: New file.
3854 * sysdeps/x86_64/tst-quad2.c: Likewise.
3855 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3856 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3857 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3858 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3859 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3860
f34d6f84
ST
38612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3862
f42d41d1
ST
3863 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3864 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3865 * streams/stropts.h (t_scalar_t): Define type.
3866
3c3571fc
ST
3867 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3868 (_PATH_PRESERVE): Set to "/var/lib".
3869 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3870
61f06bd3
ST
3871 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3872 instead of int.
3873
918d4d71
ST
3874 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3875 if __dir_mkfile succeeded.
3876
f34d6f84
ST
3877 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3878 checking for _hurd_dtablesize. Unlock it right after having
3879 finished _hurd_dtable allocation.
3880
10589b4a
TS
38812012-05-10 Thomas Schwinge <thomas@schwinge.name>
3882
674cdbc7
TS
3883 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3884 * sysdeps/mach/hurd/configure: Regenerated.
3885 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3886 special-casing to...
3887 * sysdeps/gnu/configure.in: ... this new file.
3888 * sysdeps/unix/sysv/linux/configure: Regenerated.
3889 * sysdeps/gnu/configure: New generated file.
3890
8e41b99f
TS
3891 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3892 for Linux: use nsec instead of usec, as well as:
3893 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3894 members of type struct timespec.
3895 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3896 New macros.
3897 (struct stat64): Likewise.
3898 (_STATBUF_ST_NSEC): New macro.
3899 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3900
10589b4a
TS
3901 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3902 __strtoul_internal rather than strtoul.
3903
63643c85
PT
39042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3905
3906 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3907 and reject them.
3908
3faebe6a
ST
39092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3910
3911 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3912 which preserves existing values.
3913 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3914
c6474b07
PT
39152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3916
3917 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3918 TIMEOUT values. Return EINVAL for NFDS values either negative or
3919 greater than FD_SETSIZE.
3920
1043890b
ST
39212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3922
3923 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3924 allocated, call __vm_protect to finish enabling the existing space, and
3925 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3926 allocate the remainder.
3927
37ed8b9b
PT
39282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3929
3930 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3931 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3932
db653660
ST
39332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3934
37ed8b9b
PT
3935 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3936 sysdeps/mach/hurd/readlink.c.
b29d4053 3937
db653660
ST
3938 * posix/tst-sysconf.c (posix_options): Only use
3939 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3940 _POSIX_SYNCHRONIZED_IO when they are defined
3941 * sysdeps/mach/hurd/bits/posix_opt.h:
3942 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3943 (_XOPEN_REALTIME): Undefine macro.
3944 (_XOPEN_REALTIME_THREADS): Undefine macro.
3945 (_XOPEN_SHM): Undefine macro.
3946 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3947 macro to -1.
3948 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3949 macro to -1.
3950 (_POSIX_ASYNC_IO): Undefine macro.
3951 (_POSIX_PRIORITIZED_IO): Undefine macro.
3952 (_POSIX_SPIN_LOCKS): Define macro to -1.
3953
ee16e894
ST
3954 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3955 SA_NODEFER, SA_RESETHAND.
3956 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3957 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3958 F_DUPFD_CLOEXEC.
3959
6103ae3b
TS
39602012-05-10 Thomas Schwinge <thomas@schwinge.name>
3961
3962 * elf/Makefile (pldd-modules): Define unconditionally.
3963
80b4e5f3
TS
39642012-05-10 Thomas Schwinge <thomas@schwinge.name>
3965
3966 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3967
edadcbd6
ST
39682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3969
3970 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3971 Return ENOENT when name is empty.
3972 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3973
80694780
TS
39742012-05-10 Thomas Schwinge <thomas@schwinge.name>
3975
1792c087
TS
3976 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3977
80694780
TS
3978 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3979
6b645f0d
ST
39802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3981
80694780
TS
3982 Fix mlock in all cases except non-readable pages.
3983 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3984 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3985
6b645f0d
ST
3986 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3987 (__mkdir): When path is `/', just fail with EEXIST.
3988 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3989
e468f8a3
TS
39902012-05-10 Thomas Schwinge <thomas@schwinge.name>
3991
3992 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3993 <sys/uio.h> (for writev).
3994 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3995 and <sys/param.h> (for MIN).
3996
a4186cff
PT
39972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3998
3999 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4000 REQUESTED_TIME. Properly set the remaining time and return EINTR
4001 if interrupted.
4002
510bbf14
TS
40032012-05-10 Thomas Schwinge <thomas@schwinge.name>
4004
4005 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4006 Depend on against $(link-rpcuserlibs).
4007
5d5722e8
ST
40082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4009
a4186cff
PT
4010 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4011 (__libc_stack_end): Do not use attribute_relro.
4012 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4013 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4014 to libthread-provided value.
a4186cff
PT
4015 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4016 attribute_relro.
5d5722e8 4017
37233df9
TS
40182012-05-10 Thomas Schwinge <thomas@schwinge.name>
4019
be971a2b
TS
4020 [BZ #3748]
4021 * bits/libc-lock.h (__libc_once_get): New macro.
4022 * sysdeps/mach/bits/libc-lock.h: Likewise.
4023 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4025 instead of using implementation details.
4026
37233df9
TS
4027 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4028 * libio/freopen.c: Likewise.
4029 * libio/freopen64.c: Likewise.
4030 * misc/syslog.c: Likewise.
4031 * nscd/connections.c: Likewise.
4032 * nscd/netgroupcache.c: Likewise.
4033 * sysdeps/posix/getcwd.c: Likewise.
4034
38de94a5
RM
40352012-05-10 Roland McGrath <roland@hack.frob.com>
4036
4037 * math/w_ilogbf.c: Add #include <limits.h>.
4038
67530489
ST
40392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4040
a4186cff 4041 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4042 path instead of returning without unlocking.
4043
67530489
ST
4044 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4045 immediate-write ioctls.
4046 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4047
5aa3a74a
TS
40482012-05-10 Thomas Schwinge <thomas@schwinge.name>
4049
18bad2ae
TS
4050 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4051 __builtin_frame_address instead of making assumptions about the
4052 location of the return address relative to DATA. Force early load of
4053 the return address.
4054 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4055 __builtin_frame_address.
4056
5aa3a74a
TS
4057 dup3 for GNU Hurd.
4058 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4059 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4060 implement dup3 and do some further code clean-ups.
4061 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4062 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4063
ecd0de9a
ST
40642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4065
cd9fa985
ST
4066 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4067
a4186cff
PT
4068 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4069 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4070 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4071 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4072 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4073 d->port.lock.
802ca5a5 4074
a4186cff
PT
4075 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4076 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4077 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4078
bcf55240
TS
40792012-05-10 Thomas Schwinge <thomas@schwinge.name>
4080
6960eb42
TS
4081 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4082 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4083 definitions.
4084
eb43375f
TS
4085 accept4 for GNU Hurd.
4086 * include/sys/socket.h (__libc_accept4): New prototype.
4087 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4088 to implement __libc_accept4.
4089 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4090 __libc_accept4.
4091 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4092
bcf55240
TS
4093 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4094 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4095 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4096 signal-defines.sym.
4097
6178c55b
ST
40982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4099
a4186cff 4100 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4101
6f080c2f
TS
41022012-05-10 Thomas Schwinge <thomas@schwinge.name>
4103
4104 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4105 assertion on O_CLOEXEC flag.
4106 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4107 * hurd/intern-fd.c: Likewise.
4108 * hurd/port2fd.c: Likewise.
4109
bcfe3a54
ST
41102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4111
4112 [BZ #3906]
4113 * bits/in.h (IPV6_PKTINFO): Define new macro.
4114 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4115
89c9aa49
AZ
41162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4117
4118 [BZ #13954]
4119 [BZ #13955]
4120 [BZ #13956]
4121 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4123 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4124 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4126 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4127 * math/libm-test.inc (logb_test) : Additional logb tests.
4128
021db4be
AJ
41292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4130 Andreas Jaeger <aj@suse.de>
4131
4132 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4133 * configure: Regenerated.
4134 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4135 * config.make.in (link-obsolete-rpc): New substituted variable.
4136 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4137 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4138 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4139 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4140 so that libc.a contains the symbols.
4141 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4142 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4143 * sunrpc/auth_none.c: Likewise.
4144 * sunrpc/auth_unix.c: Likewise.
4145 * sunrpc/authdes_prot.c: Likewise.
4146 * sunrpc/authuxprot.c: Likewise.
4147 * sunrpc/clnt_gen.c: Likewise.
4148 * sunrpc/clnt_perr.c: Likewise.
4149 * sunrpc/clnt_raw.c: Likewise.
4150 * sunrpc/clnt_simp.c: Likewise.
4151 * sunrpc/clnt_tcp.c: Likewise.
4152 * sunrpc/clnt_udp.c: Likewise.
4153 * sunrpc/clnt_unix.c: Likewise.
4154 * sunrpc/des_crypt.c: Likewise.
4155 * sunrpc/des_soft.c: Likewise.
4156 * sunrpc/get_myaddr.c: Likewise.
4157 * sunrpc/key_call.c: Likewise.
4158 * sunrpc/key_prot.c: Likewise.
4159 * sunrpc/netname.c: Likewise.
4160 * sunrpc/pm_getmaps.c: Likewise.
4161 * sunrpc/pm_getport.c: Likewise.
4162 * sunrpc/pmap_clnt.c: Likewise.
4163 * sunrpc/pmap_prot.c: Likewise.
4164 * sunrpc/pmap_prot2.c: Likewise.
4165 * sunrpc/pmap_rmt.c: Likewise.
4166 * sunrpc/publickey.c: Likewise.
4167 * sunrpc/rpc_cmsg.c: Likewise.
4168 * sunrpc/rpc_common.c: Likewise.
4169 * sunrpc/rpc_dtable.c: Likewise.
4170 * sunrpc/rpc_prot.c: Likewise.
4171 * sunrpc/rpc_thread.c: Likewise.
4172 * sunrpc/rtime.c: Likewise.
4173 * sunrpc/svc.c: Likewise.
4174 * sunrpc/svc_auth.c: Likewise.
4175 * sunrpc/svc_raw.c: Likewise.
4176 * sunrpc/svc_run.c: Likewise.
4177 * sunrpc/svc_tcp.c: Likewise.
4178 * sunrpc/svc_udp.c: Likewise.
4179 * sunrpc/svc_unix.c: Likewise.
4180 * sunrpc/svcauth_des.c: Likewise.
4181 * sunrpc/xcrypt.c: Likewise.
4182 * sunrpc/xdr.c: Likewise.
4183 * sunrpc/xdr_array.c: Likewise.
4184 * sunrpc/xdr_float.c: Likewise.
4185 * sunrpc/xdr_intXX_t.c: Likewise.
4186 * sunrpc/xdr_mem.c: Likewise.
4187 * sunrpc/xdr_rec.c: Likewise.
4188 * sunrpc/xdr_ref.c: Likewise.
4189 * sunrpc/xdr_sizeof.c: Likewise.
4190 * sunrpc/xdr_stdio.c: Likewise.
4191
b5c086a2
RM
41922012-05-10 Roland McGrath <roland@hack.frob.com>
4193
4194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4195 change. Update copyright years.
4196
6d74dd09
JM
41972012-05-10 Joseph Myers <joseph@codesourcery.com>
4198
4199 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4200
28e72501
MK
42012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4202 Joseph Myers <joseph@codesourcery.com>
4203 Paul Pluzhnikov <ppluzhnikov@google.com>
4204
4205 [BZ #14012]
4206 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4207 requiring rpcgen.
4208 [cross-compiling] (extra-libs): Likewise.
4209 [cross-compiling] (extra-libs-others): Likewise.
4210 [cross-compiling] (librpcsvc-routines): Likewise.
4211 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4212 [cross-compiling] (omit-deps): Likewise.
4213 (sunrpc-CPPFLAGS): New variable.
4214 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4215 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4216 (cross-rpcgen-objs): New variable.
4217 (extra-objs): Append $(cross-rpcgen-objs).
4218 ($(cross-rpcgen-objs)): New rule.
4219 ($(objpfx)cross-rpcgen): Likewise.
4220 (rpcgen-cmd): Define to use $(built-program-file). Expand
4221 comment.
4222 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4223 ($(objpfx)x%.stmp): Likewise.
4224 * sunrpc/proto.h [IS_IN_build] (_): Define.
4225 [IS_IN_build] (_libc_intl_domainname): Likewise.
4226
c8c59454
L
42272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4228
4229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4230 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4231 and R_X86_64_TPOFF64.
4232
6f27cd16
JM
42332012-05-10 Joseph Myers <joseph@codesourcery.com>
4234
4235 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4236 sysdeps/unix/sysv/syscalls.list.
4237 (stime): Likewise.
4238 (utime): Likewise.
4239 * sysdeps/unix/sysv/syscalls.list: Remove file.
4240
02467e1c
PE
42412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4242
4243 [BZ #3440]
4244 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4245 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4246 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4247 (__LC_IDENTIFICATION): Make these macros useful in #if
4248 expressions, as required by C99.
4249
da392631
AS
42502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4251
4252 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4253 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4254 after this.
4255
8115f29b
L
42562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 * stdlib/longlong.h: Updated from GCC.
4259
bdd74070
AJ
42602012-05-09 Andreas Jaeger <aj@suse.de>
4261
edfe0dbe
AJ
4262 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4263 default is first entry.
4264 (run_mode): Set type.
4265 (main): Remove informal message about syslog.
4266 (options): Fix typo.
4267
bcfe3a54
ST
4268 [BZ #14053]
4269 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4270 to asm.
bcfe3a54
ST
4271 (lrint): Likewise.
4272 (llrintf): Likewise.
4273 (llrint): Likewise.
4274 (rint): Likewise.
4275 (rintf): Likewise.
4276 (nearbyint): Likewise.
4277 (nearbyintf): Likewise.
bdd74070 4278
91d8d69e
AJ
42792012-05-09 Andreas Jaeger <aj@suse.de>
4280 Pedro Alves <palves@redhat.com>
4281
4282 * nscd/nscd.c (run_mode): Use enum.
4283 (main): Cleanup coding style issue.
4284
bb90b80b
AJ
42852012-05-09 Alexandre Oliva <aoliva@redhat.com>
4286 Andreas Jaeger <aj@suse.de>
4287
bcfe3a54
ST
4288 * nscd/nscd.c (go_background): Replaced with...
4289 (run_mode): ... this.
bb90b80b 4290 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4291 (options): Add -F --foreground.
4292 (main): Implement it.
4293 (parse_opt): Parse it.
bb90b80b 4294
1a4b75a1
AJ
42952012-05-09 Andreas Jaeger <aj@suse.de>
4296
4297 [BZ #14083]
4298 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4299 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4300 -Wconversion warning.
4301 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4302 Likewise.
4303
b1cc2472
JM
43042012-05-09 Joseph Myers <joseph@codesourcery.com>
4305
4306 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4307 == 0.
4308 (LC_ALL): Use macro-int-constant.
4309 (LC_COLLATE): Likewise.
4310 (LC_CTYPE): Likewise.
4311 (LC_MESSAGES): Likewise.
4312 (LC_MONETARY): Likewise.
4313 (LC_NUMERIC): Likewise.
4314 (LC_TIME): Likewise.
4315 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4316 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4318 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4319 Specify type.
4320 [C99-based standards] (float_t): Expect type.
4321 [C99-based standards] (double_t): Expect type.
4322 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4323 type.
4324 [C99-based standards] (HUGE_VALL): Likewise.
4325 [C99-based standards] (INFINITY): Likewise.
4326 [C99-based standards] (NAN): Likewise.
4327 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4328 [C99-based standards] (FP_NAN): Likewise.
4329 [C99-based standards] (FP_NORMAL): Likewise.
4330 [C99-based standards] (FP_SUBNORMAL): Likewise.
4331 [C99-based standards] (FP_ZERO): Likewise.
4332 [C99-based standards] (FP_FAST_FMA): Use
4333 optional-macro-int-constant. Specify type. Require == 1.
4334 [C99-based standards] (FP_FAST_FMAF): Likewise.
4335 [C99-based standards] (FP_FAST_FMAL): Likewise.
4336 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4337 [C99-based standards] (FP_ILOGBNAN): Likewise.
4338 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4339 Specify type.
4340 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4341 [C99-based standards] (math_errhandling): Specify type.
4342 [ISO99 || ISO11] (signgam): Do not allow.
4343 [non-C99-based standards] (copysignf): Do not allow.
4344 [non-C99-based standards] (exp2f): Likewise.
4345 [non-C99-based standards] (log2f): Likewise.
4346 [non-C99-based standards] (modff): Allow.
4347 [non-C99-based standards] (erff): Do not allow.
4348 [non-C99-based standards] (erfcf): Likewise.
4349 [non-C99-based standards] (gammaf): Likewise.
4350 [non-C99-based standards] (hypotf): Likewise.
4351 [non-C99-based standards] (j0f): Likewise.
4352 [non-C99-based standards] (j1f): Likewise.
4353 [non-C99-based standards] (jnf): Likewise.
4354 [non-C99-based standards] (lgammaf): Likewise.
4355 [non-C99-based standards] (tgammaf): Likewise.
4356 [non-C99-based standards] (y0f): Likewise.
4357 [non-C99-based standards] (y1f): Likewise.
4358 [non-C99-based standards] (ynf): Likewise.
4359 [non-C99-based standards] (isnanf): Likewise.
4360 [non-C99-based standards] (acoshf): Likewise.
4361 [non-C99-based standards] (asinhf): Likewise.
4362 [non-C99-based standards] (atanhf): Likewise.
4363 [non-C99-based standards] (cbrtf): Likewise.
4364 [non-C99-based standards] (expm1f): Likewise.
4365 [non-C99-based standards] (ilogbf): Likewise.
4366 [non-C99-based standards] (log1pf): Likewise.
4367 [non-C99-based standards] (logbf): Likewise.
4368 [non-C99-based standards] (nextafterf): Likewise.
4369 [non-C99-based standards] (remainderf): Likewise.
4370 [non-C99-based standards] (rintf): Likewise.
4371 [non-C99-based standards] (scalbf): Likewise.
4372 [non-C99-based standards] (copysignl): Likewise.
4373 [non-C99-based standards] (exp2l): Likewise.
4374 [non-C99-based standards] (log2l): Likewise.
4375 [non-C99-based standards] (modfl): Allow.
4376 [non-C99-based standards] (erfl): Do not allow.
4377 [non-C99-based standards] (erfcl): Likewise.
4378 [non-C99-based standards] (gammal): Likewise.
4379 [non-C99-based standards] (hypotl): Likewise.
4380 [non-C99-based standards] (j0l): Likewise.
4381 [non-C99-based standards] (j1l): Likewise.
4382 [non-C99-based standards] (jnl): Likewise.
4383 [non-C99-based standards] (lgammal): Likewise.
4384 [non-C99-based standards] (tgammal): Likewise.
4385 [non-C99-based standards] (y0l): Likewise.
4386 [non-C99-based standards] (y1l): Likewise.
4387 [non-C99-based standards] (ynl): Likewise.
4388 [non-C99-based standards] (isnanl): Likewise.
4389 [non-C99-based standards] (acoshl): Likewise.
4390 [non-C99-based standards] (asinhl): Likewise.
4391 [non-C99-based standards] (atanhl): Likewise.
4392 [non-C99-based standards] (cbrtl): Likewise.
4393 [non-C99-based standards] (expm1l): Likewise.
4394 [non-C99-based standards] (ilogbl): Likewise.
4395 [non-C99-based standards] (log1pl): Likewise.
4396 [non-C99-based standards] (logbl): Likewise.
4397 [non-C99-based standards] (nextafterl): Likewise.
4398 [non-C99-based standards] (remainderl): Likewise.
4399 [non-C99-based standards] (rintl): Likewise.
4400 [non-C99-based standards] (scalbl): Likewise.
4401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4402 [non-C99-based standards] (FP_*): Do not allow.
4403 [C99-based standards] (FP_*): Change to
4404 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4405 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4406 allow.
4407 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4408 (SIG_ERR): Likewise.
4409 [X/Open-based standards] (SIG_HOLD): Likewise.
4410 (SIG_IGN): Likewise.
4411 (SIGABRT): Use macro-int-constant. Specify type. Require
4412 positive value.
4413 (SIGFPE): Likewise.
4414 (SIGILL): Likewise.
4415 (SIGINT): Likewise.
4416 (SIGSEGV): Likewise.
4417 (SIGTER): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4423 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4424 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4425 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4430 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4431 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4432 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4436 [X/Open-based standards] (SIGTRAP): Likewise.
4437 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4439 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4440 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4441 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4442 allow.
4443
b9f1922d
IW
44442012-05-08 Ian Wienand <ianw@vmware.com>
4445
4446 [BZ #14080]
4447 * time/tzset.c (__tzset_parse_tz): Update default rules for
4448 daylight time changes in the Energy Policy Act of 2005.
4449
1db86e88
AJ
44502012-05-09 Andreas Jaeger <aj@suse.de>
4451
4452 [BZ #13983]
4453 * elf/ldconfig.c (parse_conf): Change string to make clear that
4454 ldconfig only issued a warning if ld.so.conf does not exist.
4455
dee4a4e3
DM
44562012-05-08 David S. Miller <davem@davemloft.net>
4457
ee0db190
DM
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4459 movxtod instead of popping the value on the stack.
4460
dee4a4e3
DM
4461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4462
6a43ec98
CD
44632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4464
4465 * config.h.in: Add HAVE_ARM_PCS_VFP.
4466
05c2c961
RMG
44672012-05-08 Roland Mc Grath <roland@hack.frob.com>
4468
bcfe3a54
ST
4469 [BZ #13979]
4470 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4471 checking but the checks are disabled for any reason.
05c2c961 4472
4b30f61a
L
44732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4474
4475 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4476 and ELF64_R_TYPE with ELFW(R_TYPE).
4477
eee2bc67
JM
44782012-05-08 Joseph Myers <joseph@codesourcery.com>
4479
7ea5391a
JM
4480 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4481 (ulimit): Likewise.
4482
eee2bc67
JM
4483 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4484 (settimeofday): Likewise.
4485
abb66a67
MF
44862012-05-08 Mike Frysinger <vapier@gentoo.org>
4487
4488 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4489 a struct th_u2 inside the union, and move tu_block/tu_code into
4490 a new th_u3 union of tu_block/tu_code inside of that. Move
4491 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4492 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4493 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4494 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4495 (th_stuff): Change to th_u1.tu_stuff.
4496 (th_data): Define.
4497 (th_msg): Change to th_u1.th_u2.tu_data.
4498
7f18b530
DM
44992012-05-07 David S. Miller <davem@davemloft.net>
4500
05760585
DM
4501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4502
7f18b530
DM
4503 [BZ #14074]
4504 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4505 (SETUP_PIC_REG): Use it.
4506 (SETUP_PIC_REG_LEAF): Use it.
4507
495fd99f
JM
45082012-05-07 Joseph Myers <joseph@codesourcery.com>
4509
4510 [BZ #13885]
4511 [BZ #13923]
4512 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4513 USE_AS_EXPM1L.
4514 (EXPL_FINITE): Likewise.
4515 (FLDLOG): Likewise.
4516 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4517 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4518 e_expl.S.
4519 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4520 USE_AS_EXPM1L.
4521 (EXPL_FINITE): Likewise.
4522 (FLDLOG): Likewise.
4523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4524 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4525 e_expl.S.
4526 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4527 test of -max_value argument for long double.
4528 * sysdeps/i386/fpu/libm-test-ulps: Update.
4529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4530
6693d694
DM
45312012-05-06 David S. Miller <davem@davemloft.net>
4532
4533 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4534 quad soft-float symbols whose references which are compiler
4535 generated.
4536 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4537
6c23e11c
JM
45382012-05-06 Joseph Myers <joseph@codesourcery.com>
4539
d8b82cad
JM
4540 [BZ #13884]
4541 [BZ #13914]
4542 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4543 USE_AS_EXP10L.
4544 (EXPL_FINITE): Likewise.
4545 (FLDLOG): Likewise.
4546 (c0): Likewise.
4547 (c1): Likewise.
4548 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4549 Adjust comments for base varying.
4550 (__expl_finite): Change alias to EXPL_FINITE.
4551 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4552 e_expl.S.
4553 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4554 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4555 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4556 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4557 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4558 USE_AS_EXP10L.
4559 (EXPL_FINITE): Likewise.
4560 (FLDLOG): Likewise.
4561 (c0): Likewise.
4562 (c1): Likewise.
4563 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4564 Adjust comments for base varying.
4565 (__expl_finite): Change alias to EXPL_FINITE.
4566 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4567 tests for bugs.
4568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4569
6c23e11c
JM
4570 [BZ #14064]
4571 * math/libm-test.inc (check_float_internal): Correct ulp
4572 calculation for subnormal expected results.
4573
29ba805c
AJ
45742012-05-06 Andreas Jaeger <aj@suse.de>
4575
4576 * Makeconfig (+math-flags): New, set to -frounding-math.
4577 (+cflags): Add +math-flags so that all of glibc gets compiled with
4578 it.
4579
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4581
7b17aeda
JM
45822012-05-05 Joseph Myers <joseph@codesourcery.com>
4583
5779f134
JM
4584 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4585 Disable one test.
4586
41498f4d
JM
4587 [BZ #13787]
4588 [BZ #13922]
4589 [BZ #14036]
4590 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4591 (__ieee754_expl): Allow for and saturate large arguments.
4592 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4593 (u_threshold): Likewise.
4594 (__exp): Call __ieee754_exp before checking for overflow and
4595 underflow.
4596 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4597 (u_threshold): Likewise.
4598 (__expf): Call __ieee754_expf before checking for overflow and
4599 underflow.
4600 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4601 (u_threshold): Likewise.
4602 (__expl): Call __ieee754_expl before checking for overflow and
4603 underflow.
4604 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4605 (__ieee754_expl): Allow for and saturate large arguments.
4606 * math/libm-test.inc (exp_test): Add another test. Do not allow
4607 missing overflow exception on overflow.
4608 (expm1_test): Do not allow missing overflow exception on overflow.
4609
6698b8bf
JM
4610 * sysdeps/i386/fpu/e_expl.c: Move to ...
4611 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4612 rather than using inline asm.
4613 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4614 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4615 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4616
7b17aeda
JM
4617 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4618 (nice): Likewise.
4619 (poll): Likewise.
4620 (signal): Likewise.
4621 (time): Likewise.
4622 (times): Likewise.
4623
f7c85819
JM
46242012-05-04 Joseph Myers <joseph@codesourcery.com>
4625
4626 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4627 sysdeps/unix/common/syscalls.list.
4628 (fchmod): Likewise.
4629 (fchown): Likewise.
4630 (ftruncate): Likewise.
4631 (getrusage): Likewise.
4632 (gettimeofday): Likewise.
4633 (setpgid): Likewise.
4634 (setregid): Likewise.
4635 (setreuid): Likewise.
4636 (sigaction): Likewise.
4637 (truncate): Likewise.
4638 (vhangup): Likewise.
4639 * sysdeps/unix/common/syscalls.list: Remove file.
4640 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4641 * sysdeps/unix/sysv/linux/Implies: Likewise.
4642
336270d0
L
46432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4647 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4648 Moved to ...
4649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4650 Here.
4651 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4652 to ...
4653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4654 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4655 to ...
4656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4657 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4658 to ...
4659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4660 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4661 to ...
4662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4663 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4664 to ...
4665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4666 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4667 to ...
4668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4669 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4670 to ...
4671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4672 Here.
4673 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4674 to ...
4675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4676 Here.
4677 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4678 to ...
4679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4680 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4681 Moved to ...
4682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4683 Here.
4684 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4685 to ...
4686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4687
d128e450
JM
46882012-05-04 Joseph Myers <joseph@codesourcery.com>
4689
fa8ee516
JM
4690 * sysdeps/unix/common/bits/dirent.h: Remove file.
4691 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4692
d128e450
JM
4693 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4694 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4695 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4696 * sysdeps/unix/bsd/isatty.c: Likewise.
4697 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4698 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4699 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4700
ff8faaf0 47012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4702
62881be4 4703 [BZ #13563]
31dc8730
AZ
4704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4705 long double comparison inaccuracies.
4706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4708
6fef930c
AS
47092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4710
4711 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4713
8f203e6c
JM
47142012-05-04 Joseph Myers <joseph@codesourcery.com>
4715
4716 [BZ #14049]
4717 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4718 nonzero digits before rounding a hex value.
4719 * stdlib/tst-strtod.c (tests): Add another test.
4720
5197d9c2
AK
47212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4722
4723 * sysdeps/s390/fpu/libm-test-ulps: Update.
4724
f0c1dedf
AJ
47252012-05-03 Andreas Jaeger <aj@suse.de>
4726
4727 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4728 does not get optimized out.
4729 (malloc_opt_barrier): New.
4730
a65ef2ae 47312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4732 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4733
2b942cb7 4734 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4735 intermediate file deletion.
2b942cb7 4736 (generated): Add .symlist files.
a65ef2ae 4737
54b71e02
JM
47382012-05-03 Joseph Myers <joseph@codesourcery.com>
4739
4740 [BZ #13775]
4741 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4742 Redirect under this condition.
4743 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4744 [__USE_GNU] (__dprintf_chk): Not under this condition.
4745 [__USE_GNU] (__vdprintf_chk): Likewise.
4746 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4747 under this condition.
4748 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4749 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4750 [__USE_XOPEN2K8] (vdprintf): Likewise.
4751 [__USE_GNU] (__dprintf_chk): Not under this condition.
4752 [__USE_GNU] (__vdprintf_chk): Likewise.
4753 [__USE_GNU] (dprintf): Likewise.
4754 [__USE_GNU] (vdprintf): Likewise.
4755
d3dfcc41
RM
47562012-05-03 Roland McGrath <roland@hack.frob.com>
4757
4758 * elf/Makefile (common-generated): Set this instead of generated for
4759 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4760 $(all-built-dso)-derived lists.
4761
7ac30cc5
AJ
47622012-05-03 Andreas Jaeger <aj@suse.de>
4763
0c51e550
AJ
4764 * sysdeps/i386/fpu/libm-test-ulps: Update.
4765
7ac30cc5
AJ
4766 * FAQ: Removed.
4767 * FAQ.in: Likewise.
4768 * scripts/gen-FAQ.pl: Likewise.
4769 * manual/install.texi (Installation): Point to online location of
4770 FAQ.
4771 * Makefile (files-for-dist): Remove FAQ.
4772 (FAQ): Remove.
4773
d4c2917f
AM
47742012-05-02 Allan McRae <allan@archlinux.org>
4775
4776 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4777 (LDFLAGS-reldepmod5.so): Likewise.
4778 (LDFLAGS-reldep6mod1.so): Likewise.
4779 (LDFLAGS-reldep6mod4.so): Likewise.
4780 (LDFLAGS-reldep8mod3.so): Likewise.
4781 (LDFLAGS-unload4mod1.so): Likewise.
4782 (LDFLAGS-unload4mod2.so): Likewise.
4783 (LDFLAGS-tst-initorder): Likewise.
4784 (LDFLAGS-tst-initordera2.so): Likewise.
4785 (LDFLAGS-tst-initordera3.so): Likewise.
4786 (LDFLAGS-tst-initordera4.so): Likewise.
4787 (LDFLAGS-tst-initorderb2.so): Likewise.
4788 (LDFLAGS-noload): Likewise.
4789 (LDFLAGS-next): Likewise.
4790 (LDFLAGS-order2mod1.so): Likewise.
4791 (LDFLAGS-order2mod2.so): Likewise.
4792 (LDFLAGS-tst-initorder2): Likewise.
4793 (LDFLAGS-tst-initorder2a.so): Likewise.
4794 (LDFLAGS-tst-initorder2b.so): Likewise.
4795 (LDFLAGS-tst-initorder2c.so): Likewise.
4796 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4797
d77f993f
DM
47982012-05-02 David S. Miller <davem@davemloft.net>
4799
4800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4801
171a70b4
PP
48022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4803
4804 [BZ #14055]
4805 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4806
0be196ad
AJ
48072012-05-02 Andreas Jaeger <aj@suse.de>
4808
4809 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4810 since we manipulate rounding mode.
4811 (CPPFLAGS-test-idouble.c): Likewise.
4812 (CPPFLAGS-test-ifloat.c): Likewise.
4813 (CFLAGS-test-ldouble.c): Likewise.
4814 (CFLAGS-test-double.c): Likewise.
4815 (CFLAGS-test-float.c): Likewise.
4816 (CFLAGS-test-misc.c): Likewise.
4817 (CFLAGS-test-test-fenv.c): Likewise.
4818
4f9d04aa
AZ
48192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4820
2b942cb7
RM
4821 [BZ #2550]
4822 [BZ #2570]
4823 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4824 comparisons to determine direction to adjust input.
4f9d04aa 4825
82a79e7d
RM
48262012-05-01 Roland McGrath <roland@hack.frob.com>
4827
f5a01ca9
RM
4828 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4829 output to the target.
4830
90fe4186
RM
4831 * scripts/localplt.awk: New file.
4832 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4833 (check-localplt-CFLAGS): Variable removed.
4834 ($(all-built-dso:=.jmprel)): New static pattern rule.
4835 (generated): Add those targets.
4836 (localplt-built-dso): New variable.
4837 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4838
4839 * elf/check-localplt.c: File removed.
4840
82397ed6
RM
4841 * scripts/check-execstack.awk: New file.
4842 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4843 (check-execstack-CFLAGS): Variable removed.
4844 ($(objpfx)check-execstack.h): Target removed.
4845 ($(objpfx)execstack-default): New target.
4846 (generated): Add that instead of check-execstack.h.
4847 ($(all-built-dso:=.phdr)): New static pattern rule.
4848 (generated): Add those targets.
4849 * elf/check-execstack.c: File removed.
4850
82a79e7d
RM
4851 * scripts/check-textrel.awk: New file.
4852 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4853 (check-textrel-CFLAGS): Variable removed.
4854 (all-built-dso): Use := to define.o
4855 ($(all-built-dso:=.dyn)): New static pattern rule.
4856 (generated): Add those targets.
4857 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4858 * config.make.in (READELF): New substituted variable.
4859 * elf/check-textrel.c: File removed.
4860
62fde54f 48612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4862
615605c9
JM
4863 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4864 allow.
4865 * conform/data/ctype.h-data [C99-based standards] (isblank):
4866 Expect function.
4867 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4868 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4870 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4871 Specify type. Require positive value.
4872 (EILSEQ): Likewise.
4873 (ERANGE): Likewise.
4874 [ISO || POSIX] (EILSEQ): Do not expect.
4875 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4876 Specify type. Require positive value.
4877 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4878 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4879 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4880 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4881 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4882 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4883 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4884 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4885 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4886 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4887 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4888 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4889 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4890 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4893 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4895 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4896 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4897 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4898 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4899 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4900 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4909 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4910 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4911 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4914 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4915 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4916 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4917 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4918 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4919 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4925 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4926 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4931 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4932 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4933 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4934 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4939 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4945 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4951 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4952 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4953 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4954 Require >= 2.
4955 (FLT_ROUNDS): Expect as macro, not constant.
4956 (FLT_MANT_DIG): Use macro-int-constant.
4957 (DBL_MANT_DIG): Likewise.
4958 (LDBL_MANT_DIG): Likewise.
4959 (FLT_DIG): Likewise.
4960 (DBL_DIG): Likewise.
4961 (LDBL_DIG): Likewise.
4962 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4963 (DBL_MIN_EXP): Likewise.
4964 (LDBL_MIN_EXP): Likewise.
4965 (FLT_MAX_EXP): Use macro-int-constant.
4966 (DBL_MAX_EXP): Likewise.
4967 (LDBL_MAX_EXP): Likewise.
4968 (FLT_MAX_10_EXP): Likewise.
4969 (DBL_MAX_10_EXP): Likewise.
4970 (LDBL_MAX_10_EXP): Likewise.
4971 (FLT_MAX): Use macro-constant.
4972 (DBL_MAX): Likewise.
4973 (LDBL_MAX): Likewise.
4974 (FLT_EPSILON): Use macro-constant. Give upper bound.
4975 (DBL_EPSILON): Likewise.
4976 (LDBL_EPSILON): Likewise.
4977 (FLT_MIN): Likewise.
4978 (DBL_MIN): Likewise.
4979 (LDBL_MIN): Likewise.
4980 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4981 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4982 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4983 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4984 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4985 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4986 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4987 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4988 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4989 [ISO11] (FLT_TRUE_MIN): Likewise.
4990 [ISO11] (LDBL_TRUE_MIN): Likewise.
4991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4992 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4993 (SCHAR_MIN): Use macro-int-constant. Specify type.
4994 (SCHAR_MAX): Likewise.
4995 (UCHAR_MAX): Likewise.
4996 (CHAR_MIN): Likewise.
4997 (CHAR_MAX): Likewise.
4998 (MB_LEN_MAX): Use macro-int-constant.
4999 (SHRT_MIN): Use macro-int-constant. Specify type.
5000 (SHRT_MAX): Likewise.
5001 (USHRT_MAX): Likewise.
5002 (INT_MAX): Likewise.
5003 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5004 bound negative.
5005 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5006 bound with "U".
5007 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5008 bound with "L".
5009 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5010 bound negative. Suffix upper bound with "L".
5011 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5012 bound with "UL".
5013 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5014 Specify type.
5015 [C99-based standards] (LLONG_MAX): Likewise.
5016 [C99-based standards] (ULLONG_MAX): Likewise.
5017 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5018 == 0.
5019 [ISO11] (max_align_t): Require type.
5020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5021
c9140a62
JM
5022 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5023 from $CFLAGS, without defining away __attribute__ calls.
5024 (checknamespace): Use $CFLAGS_namespace.
5025
9af0bf29
JM
5026 * conform/conformtest.pl (@keywords): Only include C99 keywords
5027 for standards based on C99 or C11.
5028
343222a2
JM
5029 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5030 Disable tests.
5031 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5032 UNIX98]: Likewise.
5033
661f8cf0
JM
5034 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5035 usability of symbols in #if.
5036
ee74b9cb
JM
5037 * conform/conformtest.pl: If macro or constant types start
5038 "promoted:", expect the symbol to be of the following type
5039 promoted by the integer promotions.
62fde54f 5040
aafc49b3
JM
5041 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5042 in one place. Also handle "macro-constant".
5043
fefdf574
JM
5044 * conform/conformtest.pl: Only accept expected macro values with
5045 "==". Parse all "macro" lines in one place.
5046 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5047
f2d922fe
JM
5048 * conform/conformtest.pl: Handle braced types on "constant" lines
5049 instead of handling "typed-constant".
5050 * conform/data/signal.h-data: Use "constant" instead of
5051 "typed-constant".
5052
d22956c9
JM
5053 * conform/conformtest.pl: Handle "optional-" at start of lines in
5054 one place rather than duplicating several cases. Handle each
5055 format of "macro" line with initial "optional-".
5056
028e2e38
JM
5057 * conform/conformtest.pl: Only accept expected constant or
5058 optional-constant values with "==". Parse all "constant" lines in
5059 one place. Parse all "optional-constant" lines in one place.
5060 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5061 * conform/data/fmtmsg.h-data: Likewise.
5062 * conform/data/netinet/in.h-data: Likewise.
5063 * conform/data/tar.h-data: Likewise.
5064 * conform/data/limits.h-data: Use "==" form on "constant" and
5065 "optional-constant" lines.
5066
1b8f2850
JM
5067 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5068 Use -std=c99 for XOPEN2K.
5069 (@knownproblems): Remove.
5070 (newtoken): Don't check %isknown.
5071
a05a144b
JM
5072 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5073 Do not expect macro.
5074 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5075 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5076 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5077 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5078 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5079 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5080 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5081 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5082 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5083 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5084 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5085 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5086 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5087 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5088 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5089 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5090 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5091 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5092 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5093 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5094 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5095 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5096 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5097 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5098 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5099 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5100 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5101 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5102 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5103 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5104 [XPG3] (acosh): Likewise.
5105 [XPG3] (asinh): Likewise.
5106 [XPG3] (atanh): Likewise.
5107 [XPG3] (cbrt): Likewise.
5108 [XPG3] (expm1): Likewise.
5109 [XPG3] (ilogb): Likewise.
5110 [XPG3] (log1p): Likewise.
5111 [XPG3] (logb): Likewise.
5112 [XPG3] (nextafter): Likewise.
5113 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5114 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5115 [XPG3] (remainder): Likewise.
5116 [XPG3] (rint): Likewise.
5117 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5118 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5119 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5120 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5121 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5122 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5123 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5124 [UNIX98 || XOPEN2K] (scalb): Expect.
5125 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5126 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5127 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5128 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5129 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5130 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5131 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5132 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5133 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5134 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5135 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5136 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5137 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5138 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5139 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5140 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5141 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5142 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5143 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5144 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5145 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5146 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5147 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5148 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5149 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5150 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5151 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5152 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5153 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5154 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5155 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5156 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5168 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5169 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5186 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5187 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5206 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5207 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5208 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5262
73c5ebe3
JM
5263 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5264 _XOPEN_SOURCE_EXTENDED for XPG4.
5265
39c33b6c
JM
5266 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5267
62fde54f
JM
5268 * Makeconfig (localtime): Remove variable.
5269 (inst_localtime-file): Likewise.
5270
0741d64c
AS
52712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5272
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5274 Update.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5276 Update.
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5278 Update.
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5280 Update.
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5282 Update.
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5284 Update.
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5286 Update.
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5288 Update.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5290 Update.
5291
7cb029ee
JM
52922012-05-01 Joseph Myers <joseph@codesourcery.com>
5293
5294 [BZ #2550]
5295 [BZ #2570]
5296 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5297 comparisons to determine direction to adjust input.
5298 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5299 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5301 Likewise.
5302 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5303 Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5305 Likewise.
5306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5308 Likewise.
5309 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5310 Likewise.
5311 * math/libm-test.inc (nexttoward_test): Add more tests.
5312
412bd966
AS
53132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5314
5315 [BZ #14040]
5316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5317 in version GLIBC_2.1, not GLIBC_2.0.
5318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5319 Likewise.
5320
9568c0c2
JM
53212012-04-30 Joseph Myers <joseph@codesourcery.com>
5322
adfbc8ac
JM
5323 [BZ #13942]
5324 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5325 (1 - x) * (1 + x).
5326 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5327 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5328 * math/libm-test.inc (acos_test): Add more tests.
5329 (asin_test): Likewise.
5330 * sysdeps/i386/fpu/libm-test-ulps: Update.
5331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5332
5ba3cc69
JM
5333 [BZ #14034]
5334 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5335 of square root.
5336 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5337 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5338 * math/libm-test.inc (acos_test_tonearest): New function.
5339 (acos_test_towardzero): Likewise.
5340 (acos_test_downward): Likewise.
5341 (acos_test_upward): Likewise.
5342 (asin_test_tonearest): Likewise.
5343 (asin_test_towardzero): Likewise.
5344 (asin_test_downward): Likewise.
5345 (asin_test_upward): Likewise.
5346 (main): Call the new functions.
5347 * sysdeps/i386/fpu/libm-test-ulps: Update.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5349
9568c0c2
JM
5350 [BZ #13884]
5351 [BZ #13924]
5352 * math/e_exp10.c: Include <float.h>.
5353 (__ieee754_exp10): Handle underflow here rather than multiplying
5354 large negative argument by M_LN10.
5355 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5356 of __ieee754_expf.
5357 * math/e_exp10l.c: Include <float.h>.
5358 (__ieee754_exp10l): Handle underflow here rather than multiplying
5359 large negative argument by M_LN10l.
5360 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5361 spurious overflow exception on underflow.
5362
5ac3ea17
MP
53632012-04-29 Marek Polacek <polacek@redhat.com>
5364
5365 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5366 (__fortify_function): New macro.
5367 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5368 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5369 __extern_always_inline.
5370 * libio/bits/stdio2.h: Likewise.
5371 * libio/bits/stdio.h: Likewise.
5372 * string/string.h: Likewise.
5373 * string/bits/string3.h: Likewise.
5374 * include/stdio.h: Likewise.
5375 * stdlib/bits/stdlib.h: Likewise.
5376 * stdlib/stdlib.h: Likewise.
5377 * rt/bits/mqueue2.h: Likewise.
5378 * rt/mqueue.h: Likewise.
5379 * posix/bits/unistd.h: Likewise.
5380 * posix/unistd.h: Likewise.
5381 * io/bits/poll2.h: Likewise.
5382 * io/bits/fcntl2.h: Likewise.
5383 * io/fcntl.h: Likewise.
5384 * io/sys/poll.h: Likewise.
5385 * misc/bits/syslog.h: Likewise.
5386 * misc/bits/syslog-ldbl.h: Likewise.
5387 * misc/sys/syslog.h: Likewise.
5388 * socket/bits/socket2.h: Likewise.
5389 * socket/sys/socket.h: Likewise.
5390 * debug/tst-chk1.c: Likewise.
5391 * wcsmbs/bits/wchar2.h: Likewise.
5392 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5393 * wcsmbs/wchar.h: Likewise.
5394
ecf0ebfb
AJ
53952012-04-29 Andreas Jaeger <aj@suse.de>
5396
5397 * Makerules (tests): Remove enable-check-abi protection.
5398 (check-abi-warn): Remove.
5399 (check-abi-%): Remove check-abi-warn usage.
5400
5401 * configure.in: Remove check-abi configure option.
5402 * configure: Regenerated.
5403 * config.make.in (enable-check-abi): Remove.
5404
6d5c57fa
AS
54052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5406
24c5d07e 5407 [BZ #14033]
ded5180a
AS
5408 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5409 double functions to double *_finite functions.
5410
7e0d315d
AS
5411 [BZ #13941]
5412 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5413 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5414 LDBL_MIN_EXP.
5415 * stdio-common/Makefile (tests): Add tst-sprintf3.
5416 * stdio-common/tst-sprintf3.c: New file.
5417
6d5c57fa
AS
5418 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5419 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5420
0749ff8b
JM
54212012-04-28 Joseph Myers <joseph@codesourcery.com>
5422
5423 * conform/conformtest.pl: Remove duplicate typed-constant
5424 handling.
5425
8dbd5d7b
DM
54262012-04-28 David S. Miller <davem@davemloft.net>
5427
5428 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5429 (check-abi-%): Remove AWK script prerequisite and explicit
5430 abilist directory.
5431 (check-abi): Rewrite to just diff the symlist with the abilist.
5432 (config-tls, config-abi-config): Delete, no longer used.
5433 (update-abi-%): Remove AWK script and explicit abilist directory.
5434 (update-abi): Rewrite to simply compare and conditionally copy the
5435 symlist and the sysdep abilist file. Remove update-abi-config
5436 checks.
5437 * abilist/ld.abilist: Remove.
5438 * abilist/libBrokenLocale.abilist: Remove.
5439 * abilist/libanl.abilist: Remove.
5440 * abilist/libcrypt.abilist: Remove.
5441 * abilist/libdl.abilist: Remove.
5442 * abilist/librt.abilist: Remove.
5443 * abilist/libthread_db.abilist: Remove.
5444 * abilist/libutil.abilist: Remove.
5445 * scripts/extract-abilist.awk: Remove.
5446 * scripts/merge-abilist.awk: Remove.
5447 * sysdeps/generic/libcidn.abilist: New file.
5448 * sysdeps/generic/libnss_compat.abilist: New file.
5449 * sysdeps/generic/libnss_db.abilist: New file.
5450 * sysdeps/generic/libnss_dns.abilist: New file.
5451 * sysdeps/generic/libnss_files.abilist: New file.
5452 * sysdeps/generic/libnss_hesiod.abilist: New file.
5453 * sysdeps/generic/libnss_nis.abilist: New file.
5454 * sysdeps/generic/libnss_nisplus.abilist: New file.
5455 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5456 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5457 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5458 file.
5459 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5460 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5461 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5462 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5463 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5464 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5465 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5466 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5467 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5468 file.
5469 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5470 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5471 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5472 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5473 file.
5474 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5475 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5476 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5477 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5478 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5479 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5480 file.
5481 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5482 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5483 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5484 file.
5485 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5487 New file.
5488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5489 New file.
5490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5491 New file.
5492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5493 New file.
5494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5495 New file.
5496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5497 New file.
5498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5499 New file.
5500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5501 New file.
5502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5503 New file.
5504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5505 New file.
5506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5507 New file.
5508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5509 New file.
5510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5511 New file.
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5513 file.
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5515 New file.
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5517 New file.
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5519 file.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5521 New file.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5523 New file.
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5525 file.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5527 New file.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5529 New file.
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5531 New file.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5533 New file.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5535 New file.
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5537 New file.
5538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5540 file.
5541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5542 New file.
5543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5544 file.
5545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5546 file.
5547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5548 file.
5549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5550 file.
5551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5552 file.
5553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5554 New file.
5555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5556 file.
5557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5558 file.
5559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5560 New file.
5561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5562 file.
5563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5565 file.
5566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5567 New file.
5568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5569 file.
5570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5571 file.
5572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5573 file.
5574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5575 file.
5576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5577 file.
5578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5579 New file.
5580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5581 file.
5582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5583 file.
5584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5585 New file.
5586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5587 file.
5588 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5589 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5590 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5591 file.
5592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5593 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5594 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5595 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5596 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5597 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5598 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5599 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5600 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5601 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5604 file.
5605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5606 New file.
5607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5608 file.
5609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5610 file.
5611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5612 file.
5613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5614 file.
5615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5616 file.
5617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5618 New file.
5619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5620 New file.
5621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5622 file.
5623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5624 New file.
5625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5626 file.
5627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5629 file.
5630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5631 New file.
5632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5633 file.
5634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5635 file.
5636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5637 file.
5638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5639 file.
5640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5641 file.
5642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5643 New file.
5644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5645 New file.
5646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5647 file.
5648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5649 New file.
5650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5651 file.
5652
41d73a1b
JM
56532012-04-28 Joseph Myers <joseph@codesourcery.com>
5654
5655 * conform/conformtest.pl: Fix typo in handling typed-constant from
5656 allow-header.
5657
28aeeda4
JM
56582012-04-27 Joseph Myers <joseph@codesourcery.com>
5659
adae8f5e
JM
5660 * README: Cut down references to pre-2.6 Linux kernels and
5661 Linuxthreads. Update lists of configurations in libc and ports
5662 and sort alphabetically. Say "or newer" with Linux kernel version
5663 requirements.
5664
28aeeda4
JM
5665 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5666
a462cb63
RA
56672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5668
5669 [BZ #887]
5670 * math/libm-test.inc (logb_test_downward): New test to expose
5671 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5672 rounding mode.
5673
6ad3493e
JM
56742012-04-27 Joseph Myers <joseph@codesourcery.com>
5675
5676 [BZ #14027]
5677 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5678 to be done.
5679 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5680 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5681
2ce4f015
JM
56822012-04-26 Joseph Myers <joseph@codesourcery.com>
5683
5aeb141a
JM
5684 * sysdeps/unix/i386/brk.S: Remove file.
5685 * sysdeps/unix/i386/dl-brk.S: Likewise.
5686 * sysdeps/unix/i386/pipe.S: Likewise.
5687 * sysdeps/unix/i386/sigreturn.S: Likewise.
5688 * sysdeps/unix/i386/syscall.S: Likewise.
5689 * sysdeps/unix/i386/vfork.S: Likewise.
5690 * sysdeps/unix/i386/wait.S: Likewise.
5691
7143acae
JM
5692 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5693 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5694
2ce4f015
JM
5695 * configure.in (arm*-none*): Do not allow without
5696 --enable-hacker-mode.
5697 (netbsd*): Remove case setting base_os.
5698 (386bsd*): Likewise.
5699 (freebsd*): Likewise.
5700 (bsdi*): Likewise.
5701 (osf*): Likewise.
5702 (sunos*): Likewise.
5703 (ultrix*): Likewise.
5704 (newsos*): Likewise.
5705 (dynix*): Likewise.
5706 (*bsd*): Likewise.
5707 (sysv*): Likewise.
5708 (isc*): Likewise.
5709 (esix*): Likewise.
5710 (sco*): Likewise.
5711 (minix*): Likewise.
5712 (irix4*): Likewise.
5713 (irix6*): Likewise.
5714 (solaris[2-9]*): Likewise.
5715 (none): Likewise.
5716 * configure: Regenerated.
5717
0ac229c8
AZ
57182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5719
5720 [BZ #11521]
5721 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5722 overflow or cancellation in calculating denominator.
5723 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5725 down expression to avoid unexpected rounding in newer GCCs.
5726 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5727
33f244f4
DM
57282012-04-26 David S. Miller <davem@davemloft.net>
5729
5730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5731 long-double compat symbols.
5732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5745
cfa1f3e8
DM
57462012-04-25 David S. Miller <davem@davemloft.net>
5747
5748 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5749 HWCAP_* values only after the memory barriers have been defined.
5750 (atomic_full_barrier): Define.
5751 (atomic_read_barrier): Define.
5752 (atomic_write_barrier): Define.
5753
6e236b92
SP
57542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5755
5756 * shlib-versions: Add libgcc_s version information.
5757 * sysdeps/generic/libgcc_s.h: Remove.
5758 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5759 libgcc_s.h.
5760 * sysdeps/gnu/unwind-resume.c: Likewise.
5761 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5762
aab39a09
DM
57632012-04-25 David S. Miller <davem@davemloft.net>
5764
5765 * sysdeps/unix/sparc/brk.S: Delete.
5766 * sysdeps/unix/sparc/dl-brk.S: Delete.
5767 * sysdeps/unix/sparc/pipe.S: Delete.
5768 * sysdeps/unix/sparc/sysdep.S: Delete.
5769 * sysdeps/unix/sparc/sysdep.h: Delete.
5770 * sysdeps/unix/sparc/vfork.S: Delete.
5771 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5772 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5773 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5774 ret_ERRVAL, r0, r1, MOVE): Define.
5775 (JUMPTARGET): Remove.
5776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5777 sysdeps/unix/sparc/sysdep.h
5778 (ENTRY, END): Remove.
5779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5780
a3cc4f48
JM
57812012-04-25 Joseph Myers <joseph@codesourcery.com>
5782
2ed8cda2
JM
5783 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5784 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5785 -DIS_IN_build.
5786
35d76d59
JM
5787 * timezone/README: Update upstream location and email address for
5788 tzcode and tzdata.
5789 * timezone/zdump.c: Update from tzcode 2012b.
5790 * timezone/zic.c: Likewise.
5791
a3cc4f48
JM
5792 * configure.in (libc_cv_as_needed): Remove test.
5793 * configure: Regenerated.
5794 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5795 conditional definition.
5796 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5797 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5798 * config.make.in (have-as-needed): Remove variable.
5799
ceab42c3
SP
58002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5801 Paul Pluzhnikov <ppluzhnikov@google.com>
5802
5803 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5804 strings correctly.
5805
3ce2865f
CLT
58062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5807
5808 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5809 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5810 * sysdeps/sh/strlen.S: Likewise.
5811
f37e0d68
JM
58122012-04-24 Joseph Myers <joseph@codesourcery.com>
5813
ae186e9a
JM
5814 * sysdeps/unix/fork.S: Remove file.
5815 * sysdeps/unix/i386/fork.S: Likewise.
5816 * sysdeps/unix/sparc/fork.S: Likewise.
5817
b96914af
JM
5818 * sysdeps/unix/system.c: Remove file.
5819 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5820
f37e0d68
JM
5821 * sysdeps/unix/getegid.S: Remove file.
5822 * sysdeps/unix/geteuid.S: Likewise.
5823
87ef29ca
RM
58242012-04-24 Roland McGrath <roland@hack.frob.com>
5825
83bcd236
RM
5826 * scripts/check-localplt.awk: New file.
5827 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5828 of diff.
5829 * scripts/data/localplt-generic.data: Add a comment.
5830
87ef29ca
RM
5831 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5832 NODE when __dir_mkfile failed.
5833 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5834 Reported by Ludovic Courtès <ludo@gnu.org>.
5835
e5a6e567
AJ
58362012-04-24 Andreas Jaeger <aj@suse.de>
5837
5838 * Makerules (common-clean): Also remove gen-as-const-headers
5839 files.
5840
c1820385
JM
58412012-04-24 Joseph Myers <joseph@codesourcery.com>
5842
5843 * Makerules (native-compile): Do not change working directory for
5844 build. Use $(OUTPUT_OPTION) in command.
5845 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5846
94e02fc4
AZ
58472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5848
5849 [BZ #13886]
5850 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5851 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5852 * math/libm-test.inc (floor_test): Add more tests.
5853 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5854
3a533ca3
JM
58552012-04-24 Joseph Myers <joseph@codesourcery.com>
5856
940ab4b3
JM
5857 * sysdeps/unix/getdents.c: Remove file.
5858 * sysdeps/unix/sysv/getdents.c: Likewise.
5859 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5860
90e037bd
JM
5861 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5862 sysdeps/unix/mman/syscalls.list.
5863 (mmap): Likewise.
5864 (mprotect): Likewise.
5865 (msync): Likewise.
5866 (munmap): Likewise.
5867 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5868 * sysdeps/unix/mman/syscalls.list: Remove.
5869 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5870
3a533ca3
JM
5871 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5872 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5873 * configure: Regenerated.
5874 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5875 $(libgcc_s_suffix).
5876 * config.make.in (libgcc_s_suffix): Remove variable.
5877
1ad743de
JM
58782012-04-23 Joseph Myers <joseph@codesourcery.com>
5879
4ad451e2
JM
5880 * sysdeps/unix/sysv/gethostname.c: Move to ...
5881 * sysdeps/posix/gethostname.c: ... here.
5882
5e37ce39
JM
5883 * sysdeps/unix/execve.S: Remove file.
5884
1ad743de
JM
5885 * sysdeps/unix/_exit.S: Remove file.
5886
4e681b5b
AJ
58872012-04-23 Andreas Jaeger <aj@suse.de>
5888
5889 [BZ #13739]
5890 * manual/Makefile: Remove make dist support, there's no
5891 need for a stand-alone documentation tar ball.
5892 (TEXI2DVI): Define always, it's not in Makeconfig.
5893 (dist): Removed.
5894 (tar-it): Removed.
5895 (edition): Removed.
5896 (glibc-doc-$(edition).tar): Removed
5897 (%.Z): Removed.
5898 (%.gz): Removed.
5899 (%.uu): Removed.
5900 (ETAGS): Remove, it's in Makeconfig.
5901 (move-if-change): Remove, it's in Makeconfig.
5902
c0baea34
PE
59032013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5904
5905 [BZ #13970]
5906 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5907 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5908 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5909 (strtod_l, strtof_l, strtold_l): Remove __wur.
5910 It is not necessarily an error to ignore strtol's return value.
5911 One can reliably look at the stored endptr to decide whether
5912 the number had valid syntax.
5913
7c0616fa
AJ
59142012-04-21 Andreas Jaeger <aj@suse.de>
5915
803cb6b7 5916 [BZ #13739]
7c0616fa
AJ
5917 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5918
b0fe253f
JM
59192012-04-21 Joseph Myers <joseph@codesourcery.com>
5920
5921 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5922 * sysdeps/unix/sysv/Versions: Remove file.
5923
8280f22d
MT
59242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5925
5926 [BZ #13927]
5927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5928
75ce411f 59292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5930
5931 [BZ #7064]
5932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5933 version from __vm86.
5934
097d59fa
JM
59352012-04-20 Joseph Myers <joseph@codesourcery.com>
5936
a90f3bcb
JM
5937 * sysdeps/unix/common/lxstat.c: Remove file.
5938 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5939
edc7ea78
JM
5940 * sysdeps/unix/sysv/Makefile: Remove file.
5941
cb78c221
JM
5942 * sysdeps/unix/sysv/direct.h: Remove file.
5943
efa6a45f
JM
5944 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5945 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5946 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5947 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5948 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5949 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5950 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5951
9c9f2d0c
JM
5952 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5953
4541c83b
JM
5954 * sysdeps/unix/xmknod.c: Remove file.
5955 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5956
f5d153a0
JM
5957 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5958
aa746595
JM
5959 * sysdeps/unix/sysv/i386/time.S: Remove file.
5960
cce5905e
JM
5961 * sysdeps/unix/fxstat.c: Remove file.
5962 * sysdeps/unix/xstat.c: Likewise.
5963 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5964
37fa3841
JM
5965 * sysdeps/unix/sysv/sigaction.c: Remove file.
5966
ff1962a3
JM
5967 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5968 (sysdep_headers): Remove variable.
5969 [termio.h not in sysdep_headers] (generated): Likewise.
5970 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5971 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5972 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5973 * sysdeps/unix/sysv/tcflow.c: Likewise.
5974 * sysdeps/unix/sysv/tcflush.c: Likewise.
5975 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5976 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5977 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5978 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5979 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5980
e7740d31
JM
5981 * sysdeps/unix/siglist.c: Remove file.
5982
ee06f18b
JM
5983 * sysdeps/unix/getppid.S: Remove file.
5984
097d59fa
JM
5985 * sysdeps/unix/mkdir.c: Remove file.
5986 * sysdeps/unix/rmdir.c: Likewise.
5987
ff3d51ec
AS
59882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5989
5990 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5991 ERR_MAX value.
5992 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5993 errlist-compat value.
5994
50f81fd7
DM
59952012-04-18 David S. Miller <davem@davemloft.net>
5996
5997 * sysdeps/generic/memcopy.h (reg_char): Delete.
5998 * debug/strcat_chk.c: Use char, not reg_char.
5999 * debug/strcpy_chk.c: Likewise.
6000 * debug/strncat_chk.c: Likewise.
6001 * debug/strncpy_chk.c: Likewise.
6002 * string/memchr.c: Likewise.
6003 * string/memrchr.c: Likewise.
6004 * string/rawmemchr.c: Likewise.
6005 * string/strcat.c: Likewise.
6006 * string/strchr.c: Likewise.
6007 * string/strchrnul.c: Likewise.
6008 * string/strcmp.c: Likewise.
6009 * string/strcpy.c: Likewise.
6010 * string/strncat.c: Likewise.
6011 * string/strncmp.c: Likewise.
6012 * string/strncpy.c: Likewise.
6013
8ff41c46
WS
60142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6015
6016 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6017 __builtin_memcopy is called when src and dest ranges are known to not
6018 overlap.
6019
6b652f46
WS
60202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6021
6022 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6023 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6024 fwd_align_merge macro call.
6025 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6026 bwd_align_merge macro call.
6027 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6028
b282631e
WS
60292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6030
6031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6032 bwd_align_merge macros.
6033 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6034 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6035 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6036
95aa737c
DM
60372012-04-18 David S. Miller <davem@davemloft.net>
6038
6039 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6040
7a99a614
AJ
60412012-04-18 Andreas Jaeger <aj@suse.de>
6042
6043 [BZ# 6794]
6044 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6045 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6047
6048 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6049 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6050 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6051
6052 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6053 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6054 Adjust for changed ldbl-128 files.
6055
6056 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6057 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6059
e5270c23
DM
60602012-04-17 David S. Miller <davem@davemloft.net>
6061
6062 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6063
fb5e92c9
AS
60642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6065
6066 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6067 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6068 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6069 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6070 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6071 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6072
76da7265
AZ
60732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074
6075 [BZ #6794]
6076 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6077 * math/libm-test.inc: Add ilogb errno and exception tests.
6078 * math/w_ilogb.c: New file: ilogb wrapper.
6079 * math/w_ilogbf.c: New file: ilogbf wrapper.
6080 * math/w_ilogbl.c: New file: ilogbl wrapper.
6081 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6082 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6083 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6084 exception being thrown with 0.0 as argument.
6085 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6086 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6087 exception being thrown with 0.0 as argument.
6088 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6089 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6090 exception being thrown with 0.0 as argument.
6091 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6092 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6093 exception being thrown with 0.0 as argument.
6094 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6095 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6096 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6097 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6098 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6099 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6100 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6101 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6102 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6103
0396e69d
PB
61042012-04-17 Petr Baudis <pasky@ucw.cz>
6105
6106 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6107 with altivec.
6108
750b5926
MP
61092012-04-16 Marek Polacek <polacek@redhat.com>
6110
6111 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6112
751728a1
MP
61132012-04-16 Marek Polacek <polacek@redhat.com>
6114
6115 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6116 operands of fdivp instruction.
6117
34a27407
L
61182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6119
6120 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6121 * elf/tst-auditmod3b.c: Likewise.
6122 * elf/tst-auditmod4b.c: Likewise.
6123 * elf/tst-auditmod5b.c: Likewise.
6124 * elf/tst-auditmod6b.c: Likewise.
6125 * elf/tst-auditmod6c.c: Likewise.
6126 * elf/tst-auditmod7b.c: Likewise.
6127 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6128 * sysdeps/x86_64/preconfigure.in: Likewise.
6129 * sysdeps/x86_64/preconfigure: Regenerated.
6130
7e73e17d
L
61312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6134 __ILP32__.
6135
c7a6ab72
AB
61362012-04-13 Antoine Balestrat <merkil33@gmail.com>
6137
6138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6139 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6140
a9e8e0e0
CL
61412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6142
6143 [BZ #13973]
6144 * locale/iso-639.def: Fix gl language name. Spotted by
6145 Yaron Shahrabani.
6146
ec98af7d
RM
61472012-04-12 Roland McGrath <roland@hack.frob.com>
6148
6149 [BZ #2074]
6150 * libio/libio.h (__io_write_fn): Update comment.
6151
247c3ede
PB
61522012-04-12 Petr Baudis <pasky@ucw.cz>
6153
6154 [BZ #2074]
6155 * stdio.texi (Hook Functions): The user provided writer function
6156 is not allowed to return -1.
6157
55939d6d
DM
61582012-04-11 David S. Miller <davem@davemloft.net>
6159
6160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6161
90020f5a
MF
61622012-04-11 Mike Frysinger <vapier@gentoo.org>
6163
6164 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6165 Add a leading slash to rtkaio.
6166
288f9098
JM
61672012-04-11 Jim Meyering <meyering@redhat.com>
6168
90020f5a
MF
6169 [BZ #11959]
6170 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6171 It is not necessarily an error to ignore fwrite's return
6172 value. One can reliably use ferror to test for errors after
6173 the fact.
288f9098 6174
4be2b570
L
61752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * bits/types.h (__snseconds_t): New type.
6178 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6179
6180 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6182 (__SNSECONDS_T_TYPE): Likewise.
6183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6184 (__SNSECONDS_T_TYPE): Likewise.
6185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6186 (__SNSECONDS_T_TYPE): Likewise.
6187
288f9098 61882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6189
6190 [BZ #2636]
6191 * manual/time.texi (Processor Time): Return type of times is
6192 elapsed real time since an arbitrary point in the past.
6193 (CPU Time): Move CLK_TCK from here...
6194 (Processor Time): ...to here. Correct description.
6195 * manual/conf.texi (Constants for Sysconf): Correct description of
6196 _SC_CLK_TCK.
6197
d7dd4413
DM
61982012-04-10 David S. Miller <davem@davemloft.net>
6199
6200 [BZ #13967]
6201 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6202 where the is a gap between DT_REL(A) and DT_JMPREL.
6203
b46068fc
L
62042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6205
6206 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6207 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6208 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6209
73d65cc3
SP
62102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6211
6212 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6213 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6214 (dl_main): Handle --inhibit-cache.
6215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6216 _dl_inhibit_cache.
6217 * elf/dl-load.c (_dl_map_object): Use it.
6218 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6219
bcc8d661
JM
62202012-04-09 Joseph Myers <joseph@codesourcery.com>
6221
8f9a2fae
JM
6222 [BZ #13872]
6223 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6224 (__ieee754_powl): Saturate large exponents rather than testing for
6225 overflow of y*log2(x).
6226 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6227 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6228 exceptions.
6229
bcc8d661
JM
6230 [BZ #11521]
6231 * math/s_ctan.c: Include <float.h>.
6232 (__ctan): Avoid internal overflow or cancellation in calculating
6233 denominator.
6234 * math/s_ctanf.c: Likewise.
6235 * math/s_ctanl.c: Likewise.
6236 * math/s_ctanh.c: Likewise.
6237 * math/s_ctanhf.c: Likewise.
6238 * math/s_ctanhl.c: Likewise.
6239 * math/libm-test.inc (ctan_test): Add more tests.
6240 (ctanh_test): Likewise.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6243
823fbbb4
AJ
62442012-04-09 Andreas Jaeger <aj@suse.de>
6245
03879793
AJ
6246 [BZ #6894]
6247 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6248 is an optional BSD extension.
6249
823fbbb4
AJ
6250 [BZ #10254]
6251 * manual/stdio.texi (Opening Streams): Document additional fopen
6252 parameters.
6253
8de131cb
RM
62542012-04-09 Roland McGrath <roland@hack.frob.com>
6255
6256 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6257 %eax without telling the compiler.
6258
c0ed9d7d
CD
62592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6260
6261 [BZ # 13963]
6262 * manual/install.texi: Use sourceware.org.
6263
c483f6b4
JM
62642012-04-09 Joseph Myers <joseph@codesourcery.com>
6265
d7dd9453
JM
6266 [BZ #13873]
6267 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6268 (__ieee754_pow): Generate overflow and underflow using huge*huge
6269 and tiny*tiny rather than just returning constant infinity or zero
6270 for large exponents.
6271 * math/libm-test.inc (pow_test): Require overflow exceptions for
6272 applicable cases of large exponents.
6273
c483f6b4
JM
6274 [BZ #706]
6275 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6276 (__ieee754_pow): Use iterative multiplication algorithm only for
6277 integer exponents with absolute value below 1024. Check for odd
6278 integer exponents when using algorithm for real exponents.
6279 * math/libm-test.inc (pow_test): Add more tests.
6280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6281
d2de7579
JM
62822012-04-08 Joseph Myers <joseph@codesourcery.com>
6283
6284 [BZ #13705]
6285 * math/libm-test.inc (exp_test): Do not allow overflow exception
6286 on underflow test.
6287
f77f1232
AJ
62882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6289
6290 [BZ #13705]
6291 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6292 instead of __kernel_standard_f.
6293
3884932b
MF
62942012-04-08 Mike Frysinger <vapier@gentoo.org>
6295
6296 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6297 * sysdeps/x86_64/memset_chk.S: Likewise.
6298
54472e9c
AJ
62992012-04-08 Andreas Jaeger <aj@suse.de>
6300
6ab0fbfc
AJ
6301 [BZ #10153]
6302 * manual/startup.texi (Environment Access): Describe return value
6303 for putenv and setenv.
6304
61efba8c
AJ
6305 [BZ #6895]
6306 * manual/filesys.texi (Directory Entries): Add description for
6307 DT_LNK.
6308
95c3f29a
AJ
6309 [BZ #6890]
6310 * manual/filesys.texi (Directory Entries): Clarify that it's file
6311 system not operating system in the description of DT_UNKNOWN.
6312
54472e9c
AJ
6313 [BZ #6578]
6314 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6315
624254b1
SC
63162012-04-08 Stephen Compall <s11@member.fsf.org>
6317
6318 [BZ #6649]
6319 * manual/llio.texi (Opening and Closing Files): Add cross
6320 reference to explain mode argument.
6321
1e4920e0
MF
63222012-04-07 Mike Frysinger <vapier@gentoo.org>
6323
6324 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6325 * sysdeps/x86_64/memset_chk.S: Likewise.
6326
5ed848f3
DM
63272012-04-07 David S. Miller <davem@davemloft.net>
6328
6329 * elf/elf.h (R_SPARC_WDISP10): Define.
6330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6331 R_SPARC_SIZE32.
6332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6333 R_SPARC_SIZE64 and R_SPARC_H34.
6334
96154cd8
CD
63352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6336
6337 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6338 conditions and remove no longer applicable assertion.
6339
9904dc47
L
63402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6341
6342 * bits/byteswap.h: Include <features.h>.
6343 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6344 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6345
f8887d0a
L
63462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6347
6348 * bits/byteswap.h (__bswap_16): Removed.
6349 Include <bits/byteswap-16.h> to get __bswap_16.
6350 * sysdeps/i386/bits/byteswap.h: Likewise.
6351 * sysdeps/s390/bits/byteswap.h: Likewise.
6352 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6353 * bits/byteswap-16.h: New file.
6354 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6355 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6356 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6357 * string/Makefile (headers): Add bits/byteswap-16.h.
6358
62470f60
PP
63592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6360
6361 [BZ #13895]
6362 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6363 extra indirection.
6364 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6365 * nss/tst-nss-static.c: New.
6366
4dad7bab
RM
63672012-04-06 Robert Millan <rmh@gnu.org>
6368
6369 [BZ #6486]
6370 * manual/llio.texi (File Position Primitive): lseek
6371 refers to WHENCE when it really means OFFSET.
6372
e9142a17
AJ
63732012-04-06 Andreas Jaeger <aj@suse.de>
6374
2c040eff
AJ
6375 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6376 strncmp declarations.
6377
e9142a17
AJ
6378 * abilist/libc.abilist: Add __poll and __ppoll.
6379
ff9f1c5f
DM
63802012-04-05 David S. Miller <davem@davemloft.net>
6381
dcd2ae90
DM
6382 * scripts/check-local-headers.sh: Accept a host triplet in the
6383 path matched by the exclude regexp.
6384
993eb054
DM
6385 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6386 definition.
6387 * sysdeps/powerpc/powerpc32/dl-machine.h
6388 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6389 * sysdeps/s390/s390-32/dl-machine.h
6390 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6391 * sysdeps/sparc/sparc32/dl-machine.h
6392 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6393 * sysdeps/sparc/sparc64/dl-machine.h
6394 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6395
ff9f1c5f
DM
6396 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6397 lazy binding.
48e2e132 6398 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6399 undefined symbol errors.
6400
48e2e132 6401 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6402 DT_NEEDED entries.
6403
e80d6f94
MM
64042012-04-05 Michael Matz <matz@suse.de>
6405
6406 [BZ #13592]
6407 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6408
349fa79f
AJ
64092012-04-05 Andreas Jaeger <aj@suse.de>
6410
6411 [BZ #13908]
6412 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6413 comment.
6414
f402708f
KK
64152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6416
6417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6418 which ROUND is no valid rounding mode.
6419
2ecccfc9
KK
64202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6421
6422 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6423 read again.
6424 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6425
8a53f50f
KK
64262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6427
6428 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6429 an exception using FPU order intentionally.
6430
64312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6432
6433 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6434 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6435 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6436 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6437
d653abb7
SJ
64382012-04-05 Simon Josefsson <simon@josefsson.org>
6439
6440 [BZ #12340]
6441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6442 EINVAL when BUFLEN is too smal.
6443
c3b1bf7d
TS
64442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6445
6446 [BZ #13553]
6447 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6448 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6449
b1aa60f3
AJ
64502012-04-03 Andreas Jaeger <aj@suse.de>
6451
c3b1bf7d 6452 [BZ #13938]
67f60a26
AJ
6453 * manual/setjmp.texi (System V contexts): Fix sentence.
6454
b1aa60f3
AJ
6455 [BZ #13926]
6456 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6457 New macro for this case.
6458 [!__GNUC__] (__bswap_64): New inline function for this case.
6459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6460 * bits/byteswap.h: Likewise.
6461 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6462 ull, guard with __GLIBC_HAVE_LONG_LONG.
6463
6464 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6465 __GLIBC_HAVE_LONG_LONG.
6466
6467 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6468 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6469
39c59c35
TMQMF
64702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6471
6472 [BZ #13691]
6473 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6474 inptr and inend, rather than using last_ch.
6475
135ffda8
DM
64762012-04-02 David S. Miller <davem@davemloft.net>
6477
6478 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6479 * stdio-common/printf-parse.h (read_int): Change return type to
6480 'int', return -1 on INT_MAX overflow.
6481 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6482 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6483 overflows INT_MAX. Check for overflow of in-format-string precision
6484 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6485 SIZE_MAX not INT_MAX for integer overflow test.
6486 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6487 skip the construct in the format string but do not record anything.
6488 * stdio-common/bug22.c: Adjust to test both width/prevision
6489 INT_MAX overflow as well as total length INT_MAX overflow. Check
6490 explicitly for proper errno values.
6491
228c019e
TS
64922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6493
302cadd3
TS
6494 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6495 CHAR_MAX.
6496 * string/test-strcmp.c [! WIDE]: Likewise.
6497 * time/tst-mktime2.c: Likewise for INT_MAX.
6498 * string/test-string.h: #include <sys/param.h> for MIN.
6499
228c019e
TS
6500 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6501 * sysdeps/i386/init-first.c (init): Likewise.
6502 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6503 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6504 * sysdeps/sh/init-first.c (init): Likewise.
6505
cfa633f5
UD
65062012-04-01 Ulrich Drepper <drepper@gmail.com>
6507
6508 * po/ru.po: Update from translation team.
d1635ef8 6509 * po/vi.po: Likewise.
cfa633f5 6510
6cd0a5ea
SP
65112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6512
6513 * resolv/nss_dns/dns-host.c: Merge copyright years.
6514
4b43400f
LD
65152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6516
6517 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6518 Optimize memcpy with prefetch if
6519 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6520 src, dst pointers have unequal 16 byte alignments.
6521
48c41d04
SP
65222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6523
6524 [BZ #13928]
6525 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6526 from a CNAME entry and return the minimum ttl for the query.
6527 (gaih_getanswer_slice): Likewise.
6528
b8dc394d
JL
65292012-03-30 Jeff Law <law@redhat.com>
6530
6531 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6532 due to long keys.
6533 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6534 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6535
2f5a5ed0
JL
6536 * resolv/nss_dns/dns-host.c: Update copyright year.
6537
1d39e359
UD
65382012-03-30 Ulrich Drepper <drepper@gmail.com>
6539
c030f70c 6540 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6541 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6542
1d39e359
UD
6543 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6544 comments for sendmmsg.
6545
65462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6547
6548 [BZ #13691]
6549 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6550 with only 1 character between 0x0041 and 0x01b0.
6551 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6552 * wcsmbs/tst-mbsnrtowcs.c: New file.
6553
20fde227
DM
65542012-03-29 David S. Miller <davem@davemloft.net>
6555
6556 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6557 small copies by hand.
6558
984a4237
JL
65592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6560
6561 [BZ #13761]
6562 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6563 _nss_compat_initgroups_dyn): Fall back to malloc/free
6564 for large group memberships.
6565
18c9d62b
DM
65662012-03-28 David S. Miller <davem@davemloft.net>
6567
88d85d4f
DM
6568 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6569 that branches into memcpy.
6570 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6572 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6573 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6575 bits.
6576 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6577 implementation too.
6578 * sysdeps/sparc/mempcpy.S: New file.
6579
e5aa83e1
DM
6580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6581 the IFUNC routine in the libc case.
6582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6583
88570753
DM
6584 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6585 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6586 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6587 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6588 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6589 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6590 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6591 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6592
249d7567
DM
6593 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6594 loop to 256 bytes instead of 64 bytes and fix test signedness.
6595
18c9d62b
DM
6596 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6597 * sysdeps/sparc/sparc32/Makefile: rather than here...
6598 * sysdeps/sparc/sparc64/Makefile: and here.
6599
05f3d1f6
UD
66002012-03-28 Ulrich Drepper <drepper@gmail.com>
6601
6602 * malloc/mallocbug.c: Avoid warnings about unused variables.
6603
86ae07a8
JL
66042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6605
6606 [BZ #13760]
6607 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6608 in the right place. Discard and retry query if response is
6609 larger than input buffer size.
6610
41bf21a1
JM
66112012-03-28 Joseph Myers <joseph@codesourcery.com>
6612
d6270972
JM
6613 [BZ #369]
6614 [BZ #2678]
6615 [BZ #3866]
6616 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6617 x for large integer exponent.
6618 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6619 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6620 sign of result as needed afterwards.
6621 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6622 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6623 result for underflowing pow the same as for overflow.
6624 (__kernel_standard_l): Handle powl overflow and underflow here
6625 rather than calling __kernel_standard.
6626 * math/libm-test.inc (pow_test): Add more tests.
6627
414fca03 6628 [BZ #3868]
41bf21a1
JM
6629 [BZ #13879]
6630 [BZ #13910]
6631 [BZ #13911]
6632 [BZ #13912]
6633 [BZ #13913]
6634 [BZ #13915]
6635 [BZ #13916]
6636 [BZ #13917]
6637 [BZ #13918]
6638 [BZ #13919]
6639 [BZ #13920]
6640 [BZ #13921]
6641 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6642 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6643 (__kernel_standard_l): New function.
6644 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6645 __kernel_standard.
6646 * math/w_acosl.c (__acosl): Likewise.
6647 * math/w_asinl.c (__asinl): Likewise.
6648 * math/w_atan2l.c (__atan2l): Likewise.
6649 * math/w_atanhl.c (__atanhl): Likewise.
6650 * math/w_coshl.c (__coshl): Likewise.
6651 * math/w_exp10l.c (__exp10l): Likewise.
6652 * math/w_exp2l.c (__exp2l): Likewise.
6653 * math/w_fmodl.c (__fmodl): Likewise.
6654 * math/w_hypotl.c (__hypotl): Likewise.
6655 * math/w_j0l.c (__j0l, __y0l): Likewise.
6656 * math/w_j1l.c (__j1l, __y1l): Likewise.
6657 * math/w_jnl.c (__jnl, __ynl): Likewise.
6658 * math/w_lgammal.c (__lgammal): Likewise.
6659 * math/w_log10l.c (__log10l): Likewise.
6660 * math/w_log2l.c (__log2l): Likewise.
6661 * math/w_logl.c (__logl): Likewise.
6662 * math/w_powl.c (__powl): Likewise.
6663 * math/w_remainderl.c (__remainderl): Likewise.
6664 * math/w_scalbl.c (sysv_scalbl): Likewise.
6665 * math/w_sinhl.c (__sinhl): Likewise.
6666 * math/w_sqrtl.c (__sqrtl): Likewise.
6667 * math/w_tgammal.c (__tgammal): Likewise.
6668 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6669 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6670 * math/libm-test.inc (acos_test): Add more tests.
6671 (acosh_test): Likewise.
6672 (asin_test): Likewise.
6673 (atanh_test): Likewise.
6674 (exp_test): Likewise.
6675 (exp10_test): Likewise.
6676 (exp2_test): Likewise.
6677 (expm1_test): Likewise.
6678 (lgamma_test): Likewise.
6679 (log_test): Likewise.
6680 (log10_test): Likewise.
6681 (log1p_test): Likewise.
6682 (log2_test): Likewise.
6683 (pow_test): Do not allow some spurious overflow exceptions.
6684 (sqrt_test): Add more tests.
6685 (tgamma_test): Likewise.
6686 (y0_test): Likewise.
6687 (y1_test): Likewise.
6688 (yn_test): Likewise.
6689
dd62fda6
AB
66902012-03-27 Anton Blanchard <anton@samba.org>
6691
6692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6693 MAP_HUGETLB.
6694 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6697
1e3cdfda
AJ
66982012-03-27 David S. Miller <davem@davemloft.net>
6699
b855ab85
DM
6700 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6701
1e3cdfda
AJ
6702 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6703 have-as-vis3 check.
6704
67052012-03-27 Andreas Jaeger <aj@suse.de>
6706
6707 * sysdeps/x86_64/elf/configure.in: Moved to ...
6708 * sysdeps/x86_64/configure.in: ... here.
6709 * sysdeps/x86_64/elf/start.S: Moved to ...
6710 * sysdeps/x86_64/start.S: ... here.
6711 * sysdeps/x86_64/elf/configure: Delete.
6712
6713 * sysdeps/x86_64/configure.in: Merge contents from
6714 sysdeps/i386/configure.in (without i686 check).
6715
6716 * sysdeps/i386/elf/Versions: Merge into ...
6717 * sysdeps/i386/Versions: ... this.
6718 * sysdeps/i386/elf/Versions: Delete file.
6719 * sysdeps/i386/elf/start.S: Moved to ...
6720 * sysdeps/i386/start.S: ...here.
6721 * sysdeps/i386/elf/configure.in: Merge into...
6722 * sysdeps/i386/configure.in: ...here.
6723 * sysdeps/i386/elf/configure.in: Delete file.
6724 * sysdeps/i386/elf/configure: Delete file.
6725
6726 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6727 * debug/backtracesyms.c: ... here.
6728 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6729 * debug/backtracesymsfd.c: ... here.
6730 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6731 * sysdeps/generic/ifunc-sel.h: ... here.
6732
6733 * sysdeps/unix/i386/start.c: Delete file.
6734 * sysdeps/unix/sparc/start.c: Delete file.
6735 * sysdeps/unix/start.c: Delete file.
6736
6737 * sysdeps/sh/elf/configure.in: Moved to ...
6738 * sysdeps/sh/configure.in: ... here.
6739 * sysdeps/sh/elf/start.S: Moved to ...
6740 * sysdeps/sh/start.S: ... here.
6741 * sysdeps/sh/elf/configure: Delete file.
6742
6743 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6744 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6745 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6746 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6747 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6748 * sysdeps/powerpc/powerpc64/start.S: here.
6749 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6750 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6751 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6752 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6753 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6754
6755 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6756 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6757 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6758 * sysdeps/powerpc/powerpc32/start.S: ... here.
6759 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6760 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6761 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6762
6763 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6764 * sysdeps/powerpc/ifunc-sel.h: ... here.
6765 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6766 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6767
6768 * sysdeps/sparc/elf/configure.in: Moved to ...
6769 * sysdeps/sparc/configure.in: ... here.
6770 * sysdeps/sparc/elf/configure: Delete file.
6771 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6772 * sysdeps/sparc/sparc32/start.S: ... here.
6773 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6774 * sysdeps/sparc/sparc64/start.S: ... here.
6775 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6776 * sysdeps/sparc/sparc32/Makefile: ... this.
6777 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6778 * sysdeps/sparc/sparc64/Makefile: ... this.
6779
6780 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6781 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6782 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6783 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6784 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6785 * sysdeps/s390/s390-32/setjmp.S: ... here.
6786 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6787 * sysdeps/s390/s390-32/configure.in: ... here.
6788 * sysdeps/s390/s390-32/elf/configure: Delete file.
6789 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6790 * sysdeps/s390/s390-32/start.S: ... here.
6791
6792 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6793 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6794 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6795 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6796 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6797 * sysdeps/s390/s390-64/setjmp.S: ... here.
6798 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6799 * sysdeps/s390/s390-64/configure.in: ... here
6800 * sysdeps/s390/s390-64/elf/configure: Delete file.
6801 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6802 * sysdeps/s390/s390-64/start.S: ... here.
6803 * sysdeps/s390/s390-64/elf/configure: Delete.
6804
6805 * configure.in: Remove support for elf directories in sysdeps.
6806
6807 * configure: Regenerated.
6808 * sysdeps/i386/configure: Regenerated.
6809 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6810 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6811 * sysdeps/s390/s390-32/configure: Regenerated.
6812 * sysdeps/s390/s390-64/configure: Regenerated.
6813 * sysdeps/sh/configure: Regenerated.
6814 * sysdeps/sparc/configure: Regenerated.
6815 * sysdeps/x86_64/configure: Regenerated.
6816
a3f61311
AS
68172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6818
c876e002
AS
6819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6820
a3f61311
AS
6821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6822 denormal result into account.
6823
ac4c54f0
RM
68242012-03-25 Roland McGrath <roland@hack.frob.com>
6825
6826 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6827 Reported by Allan McRae <allan@archlinux.org>.
6828
6a9b9c02
JL
68292012-03-23 Jeff Law <law@redhat.com>
6830
6831 * nss/getnssent.c (__nss_getent): Fix typo.
6832
4c42a0c1
DM
68332012-03-23 David S. Miller <davem@davemloft.net>
6834
6835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6836
1532c7ac
L
68372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6840 to pad to uint64_t for each field.
6841 (dl_tls_index): Replace unsigned long with uint64_t.
6842
3ff42526
PP
68432012-03-23 Daniel Jacobowitz <dmj@google.com>
6844 Paul Pluzhnikov <ppluzhnikov@google.com>
6845
6846 [BZ #6528]
6847 * grp/Makefile (otherlibs): Don't set it.
6848 * inet/Makefile (otherlibs): Likewise.
6849 * login/Makefile (otherlibs): Likewise.
6850 * nscd/Makefile (otherlibs): Likewise.
6851 * posix/Makefile (otherlibs): Likewise.
6852 * pwd/Makefile (otherlibs): Likewise.
6853 * rt/Makefile (otherlibs): Likewise.
6854 * sunrpc/Makefile (otherlibs): Likewise.
6855 * nss/Makefile (otherlibs): Likewise.
6856 Add libnss_files to routines and static-only-routines.
6857 ($(objpfx)getent): Remove rule.
6858 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6859 static-only-routines.
6860
7c69cd14
JM
68612012-03-22 Joseph Myers <joseph@codesourcery.com>
6862
6863 [BZ #13892]
6864 * math/s_cexp.c: Include <float.h>.
6865 (__cexp): Handle exp result overflowing not necessarily
6866 overflowing both real and imaginary parts of result.
6867 * math/s_cexpf.c: Likewise.
6868 * math/s_cexpl.c: Likewise.
6869 * math/libm-test.inc (cexp_test): Add more tests.
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6872
81b035fe
L
68732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6874
6875 * include/link.h (ELFW): New macro.
6876 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6877 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6878
1da7940c
L
68792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6882 with uint64_t.
6883
b749dbb9
L
68842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6885
6886 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6887 declaration.
6888 (struct La_x32_retval): Likewise.
6889
2ff87f3f
L
68902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6891
6892 * sysdeps/x86_64/preconfigure.in: New file.
6893 * sysdeps/x86_64/preconfigure: New generated file.
6894
c0df8e69
JM
68952012-03-22 Joseph Myers <joseph@codesourcery.com>
6896
48e44791
JM
6897 [BZ #13824]
6898 * math/e_exp2l.c: Include <float.h>.
6899 (__ieee754_exp2l): Handle overflow and underflow cases
6900 separately. Only pass fractional part of argument to
6901 __ieee754_expl.
6902 * math/libm-test.inc (exp2_test): Add more tests.
6903
c0df8e69
JM
6904 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6905 negating x to take absolute value.
6906 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6907 Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6910 Likewise.
6911 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6912 computing low part if x was negated.
6913 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6914
c8e43ba7
L
69152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6916
6917 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6918 la_x32_gnu_pltexit.
6919 (pltexit): Cast int_retval to ptrdiff_t.
6920 * elf/tst-auditmod3b.c: Likewise.
6921 * elf/tst-auditmod4b.c: Likewise.
6922 * elf/tst-auditmod5b.c: Likewise.
6923 * elf/tst-auditmod6b.c: Likewise.
6924 * elf/tst-auditmod6c.c: Likewise.
6925 * elf/tst-auditmod7b.c: Likewise.
6926
6927 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6928 and x32_gnu_pltexit.
6929
6930 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6931 __ELF_NATIVE_CLASS.
6932 (La_x32_regs): New macro.
6933 (La_x32_retval): Likewise.
6934 (la_x32_gnu_pltenter): New function prototype.
6935 (la_x32_gnu_pltexit): Likewise.
6936
7998fa78
AS
69372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6938
dcb33988
AS
6939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6940 exponent.
6941
233fc563
AS
6942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6943
7998fa78
AS
6944 * configure.in (libc_cv_cc_nofma): Check for option to disable
6945 generation of FMA instructions.
6946 * configure: Regenerate.
6947 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6948 * sysdeps/ieee754/dbl-64/Makefile: New file.
6949 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6950 Remove brandred-fma4.
6951 (CFLAGS-brandred-fma4.c): Remove.
6952 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6954 define.
6955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6956 define.
6957
8e95c99a
L
69582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6959
6960 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6961 LLONG_MAX != LONG_MAX.
6962 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6963 (_fitoa_word): Likewise.
6964 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6965 LLONG_MAX != LONG_MAX.
6966 * stdio-common/_itowa.h: Include <_itoa.h>.
6967 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6968 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6969 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6970 only if not defined.
6971 (_ITOA_WORD_TYPE): Likewise.
6972 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6973 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6974
6f4db457
DM
69752012-03-21 David S. Miller <davem@davemloft.net>
6976
6977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6978
7785fe5a
L
69792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6980
6981 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6982 of x86_64 when setting libc_cv_slibdir, libdir and
6983 libc_cv_localedir.
6984 * sysdeps/unix/sysv/linux/configure: Regenerated.
6985
4535cd55
JM
69862012-03-21 Joseph Myers <joseph@codesourcery.com>
6987
6988 * manual/lang.texi (Old Varargs): Remove section.
6989 (How Variadic): Update menu.
6990 (va_start): Do not mention varargs.h.
6991
17228132
TS
69922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6993 Joseph Myers <joseph@codesourcery.com>
6994
6995 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6996 link test.
6997 * configure: Regenerated.
6998
8149f976
TS
69992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7000
05f3d1f6
UD
7001 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7002 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7003 conformtest.pl
8149f976 7004
1a4ac776
JM
70052012-03-21 Joseph Myers <joseph@codesourcery.com>
7006
be22ce65
JM
7007 * NOTES: Remove.
7008 * Makefile (files-for-dist): Remove NOTES.
7009 (NOTES): Remove rule.
7010 * README: Don't refer to NOTES.
7011 * manual/creature.texi: Don't include macros.texi.
7012 * manual/intro.texi (creature.texi): Remove comment referring to
7013 NOTES.
7014
40b601fb
JM
7015 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7016 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7017 * configure: Regenerated.
7018 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7019 LIBC_TRY_CC_OPTION.
7020 (libc_cv_as_i686): Likewise.
7021 (libc_cv_cc_avx): Likewise.
7022 (libc_cv_cc_sse2avx): Likewise.
7023 (libc_cv_cc_fma4): Likewise.
7024 (libc_cv_cc_novzeroupper): Likewise.
7025 * sysdeps/i386/configure: Regenerated.
7026
1a4ac776
JM
7027 [BZ #13883]
7028 * sysdeps/i386/fpu/s_cexp.S: Remove.
7029 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7030 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7031 * math/libm-test.inc (cexp_test): Add more tests.
7032 * sysdeps/i386/fpu/libm-test-ulps: Update.
7033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7034
a458e7fe
AM
70352012-03-21 Allan McRae <allan@archlinux.org>
7036
7037 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7038
0cb7efc5
JM
70392012-03-21 Joseph Myers <joseph@codesourcery.com>
7040
7041 [BZ #13871]
7042 * math/w_exp2.c: Do not include <float.h>.
7043 (o_threshold, u_threshold): Remove.
7044 (__exp2): Calculate result before checking finiteness and calling
7045 __kernel_standard.
7046 * math/w_exp2f.c: Likewise.
7047 * math/w_exp2l.c: Likewise.
7048 * math/libm-test.inc (exp2_test): Require overflow exception for
7049 1e6 input.
2460d3aa
JM
7050
7051 [BZ #3866]
7052 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7053 range of signed 64-bit integers before using fistpll. Remove
7054 checks for whether integers fit in mantissa bits.
7055 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7056 the range of signed 32-bit integers before using fistpl. Remove
7057 checks for whether integers fit in mantissa bits.
7058 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7059 (__ieee754_powl): Test for y outside the range of signed 64-bit
7060 integers before using fistpll. Reduce 64-bit values to 63-bit
7061 ones as needed.
7062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7063 divide-by-zero is raised for zero to large negative powers.
7064 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7065 (__ieee754_powl): Test for y outside the range of signed 64-bit
7066 integers before using fistpll. Reduce 64-bit values to 63-bit
7067 ones as needed.
7068 * math/libm-test.inc (pow_test): Add more tests.
7069
eb96ffb0
L
70702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7071
7072 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7073 <stdio-common/_itoa.h>.
7074 * debug/segfault.c: Likewise.
7075 * elf/dl-cache.c: Likewise.
7076 * elf/dl-minimal.c: Likewise.
7077 * elf/dl-misc.c: Likewise.
7078 * elf/dl-sysdep.c: Likewise.
7079 * elf/dl-version.c: Likewise.
7080 * elf/rtld.c: Likewise.
7081 * hurd/hurdsock.c: Likewise.
7082 * hurd/lookup-retry.c: Likewise.
7083 * malloc/malloc.c: Likewise.
7084 * malloc/mtrace.c: Likewise.
7085 * nscd/nscd_getgr_r.c: Likewise.
7086 * nscd/nscd_getpw_r.c: Likewise.
7087 * nscd/nscd_getserv_r.c: Likewise.
7088 * posix/getopt_init.c: Likewise.
7089 * posix/wordexp.c: Likewise.
7090 * stdio-common/_itoa.c: Likewise.
7091 * stdio-common/printf_fphex.c: Likewise.
7092 * stdio-common/vfprintf.c: Likewise.
7093 * string/_strerror.c: Likewise.
7094 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7095 * sysdeps/i386/i686/hp-timing.h: Likewise.
7096 * sysdeps/mach/_strerror.c: Likewise.
7097 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7098 * sysdeps/mach/hurd/sethostid.c: Likewise.
7099 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7100 * sysdeps/mach/xpg-strerror.c: Likewise.
7101 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7103 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7104 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7105 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7106 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7108 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7109 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7110 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7111 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7112 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7115 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7116 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7119 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7120 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7121 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7122
7123 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7124
7125 * stdio-common/_itoa.h: Moved to ...
7126 * sysdeps/generic/_itoa.h: Here.
7127
7128 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7129
7130 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7131 instead of "_itoa.h" and "_itowa.h".
7132 * stdio-common/vfprintf.: Likewise.
7133
d1af992d
L
71342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7135
7136 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7137 <bits/wordsize.h>.
7138 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7139 (__signbit): Likwise.
7140 (llrintf): Likwise.
7141 (llrint): Likwise.
7142
114883e0
L
71432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7144
7145 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7146 __WORDSIZE != 64.
7147
c135cc1b
JM
71482012-03-20 Joseph Myers <joseph@codesourcery.com>
7149
7150 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7151 OVERFLOW_EXCEPTION_OK.
7152 * math/libm-test.inc ("Philosophy"): Update comment about
7153 exception testing.
7154 (OVERFLOW_EXCEPTION): Define.
7155 (OVERFLOW_EXCEPTION_OK): Likewise.
7156 (INVALID_EXCEPTION_OK): Renumber.
7157 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7158 (IGNORE_ZERO_INF_SIGN): Likewise.
7159 (test_exceptions): Handle FE_OVERFLOW.
7160 (exp10_test): Expect overflow exceptions.
7161 (exp2_test): Likewise.
7162 (expm1_test): Likewise.
7163 (nextafter_test): Likewise.
7164 (pow_test): Likewise.
7165 (scalbn_test): Likewise.
7166 (scalbln_test): Likewise.
7167
95443d88
L
71682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 * sysdeps/x86_64/bits/atomic.h
7171 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7172 64bit integer.
7173 (atomic_exchange_acq): Likewise.
7174 (__arch_exchange_and_add_body): Likewise.
7175 (__arch_add_body): Likewise.
7176 (atomic_add_negative): Likewise.
7177 (atomic_add_zero): Likewise.
7178
490df6c4
L
71792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7180
c2722551 7181 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7182 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7183
5e52b189
L
71842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7185
7186 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7187 Check __x86_64__ instead of __WORDSIZE.
7188
a9879d4c
L
71892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7190
7191 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7192
5df98260
DM
71932012-03-19 David S. Miller <davem@davemloft.net>
7194
e1497744
DM
7195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7196
5df98260
DM
7197 * sysdeps/sparc/fpu/fenv_private.h: New file.
7198 * sysdeps/sparc/fpu/math_private.h: Use it.
7199 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7200 Remove.
7201 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7202 (libc_feholdexcept_setroundl): Remove.
7203 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7204 Remove.
7205 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7206 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7207
b4c35121
L
72082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7209
7210 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7211 int64_t instead of long int.
7212 (INSERT_WORDS64): Likwise.
7213
56965fd7
L
72142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7215
7216 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7217 _Unwind_GetCFA return to _Unwind_Ptr first.
7218
83d1aec8
JM
72192012-03-19 Joseph Myers <joseph@codesourcery.com>
7220
1897ad44
JM
7221 [BZ #13629]
7222 * math/s_clog.c: Include <float.h>.
7223 (__clog): Scale large or subnormal inputs.
7224 * math/s_clogf.c: Likewise.
7225 * math/s_clogl.c: Likewise.
7226 * math/s_clog10.c: Include <float.h>.
7227 (M_LOG10_2): Define.
7228 (__clog10): Scale large or subnormal inputs.
7229 * math/s_clog10f.c: Likewise.
7230 * math/s_clog10l.c: Likewise.
7231 * math/libm-test.inc (clog_test): Add more tests.
7232 (clog10_test): Likewise.
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7235
7726d6a9
JM
7236 [BZ #11451]
7237 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7238 x and y.
7239 * math/libm-test.inc (atan2_test): Add another test.
7240
83d1aec8
JM
7241 * Makerules (common-objdir-compile): Remove.
7242 * sysdeps/unix/Makefile (config-generated): Do not add
7243 $(unix-generated) to variable.
7244 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7245 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7246 Remove rule.
7247 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7248 Likewise.
7249 [generic bits/local_lim.h] (before-compile): Do not append to
7250 variable.
7251 [generic bits/local_lim.h] (common-generated): Likewise.
7252 [generic sys/param.h] (before-compile): Do not append to variable.
7253 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7254 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7255 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7256 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7257 include.
7258 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7259 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7260 [generic sys/param.h] ($(addprefix
7261 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7262 [generic sys/param.h] (common-generated): Do not append to
7263 variable.
7264 [generic sys/param.h] (sysdep_headers): Likewise.
7265 [generic bits/errno.h] (before-compile): Do not append to
7266 variable.
7267 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7268 rule.
7269 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7270 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7271 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7272 [generic bits/errno.h] (common-generated): Do not append to
7273 variable.
7274 [generic bits/ioctls.h] (before-compile): Do not append to
7275 variable.
7276 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7277 rule.
7278 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7279 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7280 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7281 rule.
7282 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7283 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7284 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7285 [generic bits/ioctls.h] (common-generated): Do not append to
7286 variable.
7287 [generic sys/syscall.h] (syscall.h): Remove variable.
7288 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7289 rule.
7290 [generic sys/syscall.h] (before-compile): Do not append to
7291 variable.
7292 [generic sys/syscall.h] (common-generated): Likewise.
7293 * sysdeps/unix/errnos-tmpl.c: Remove file.
7294 * sysdeps/unix/errnos.awk: Likewise.
7295 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7296 * sysdeps/unix/ioctls.awk: Likewise.
7297 * sysdeps/unix/mk-local_lim.c: Likewise.
7298 * sysdeps/unix/snarf-ioctls: Likewise.
7299
4851a949
RH
73002012-03-19 Richard Henderson <rth@twiddle.net>
7301
bd37f2ee
RH
7302 * sysdeps/i386/fpu/fenv_private.h: New file.
7303 * sysdeps/i386/fpu/math_private.h: Use it.
7304 (math_opt_barrier, math_force_eval): Remove.
7305 (libc_feholdexcept_setround_53bit): Remove.
7306 (libc_feupdateenv_53bit): Remove.
7307 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7308 (math_opt_barrier, math_force_eval): Remove.
7309 (libc_feholdexcept): Remove.
7310 (libc_feholdexcept_setround): Remove.
7311 (libc_fetestexcept, libc_fesetenv): Remove.
7312 (libc_feupdateenv_test): Remove.
7313 (libc_feupdateenv, libc_feholdsetround): Remove.
7314 (libc_feresetround): Remove.
7315
d0adc922
RH
7316 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7317 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7318
0fe0f1f8
RH
7319 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7320 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7321 (libc_feupdateenv_testl): New.
7322 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7323 (libc_feupdateenv_testf): New.
7324 (libc_feupdateenv): Use libc_feupdateenv_test.
7325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7326 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7327
eb92c487
RH
7328 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7329 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7330 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7331 (libc_feresetround_noex): New.
7332 (libc_feresetround_noexf): New.
7333 (libc_feresetround_noexl): New.
7334 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7335 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7336 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7337 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7338 SET_RESTORE_ROUND.
7339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7341 (__cos): Likewise.
7342 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7343 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7344 SET_RESTORE_ROUND_NOEX.
7345 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7346 SET_RESTORE_ROUND_NOEXF.
7347 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7348 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7349 (libc_feholdsetroundf): New.
7350 (libc_feresetround, libc_feresetroundf): New.
7351
7d2e8012
RH
7352 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7353 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7354 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7355
b4dabbb4
RH
7356 * sysdeps/generic/math_private.h: Include <fenv.h>.
7357 (default_libc_feholdexcept): New.
7358 (default_libc_feholdexcept_setround): New.
7359 (default_libc_fesetenv, default_libc_feupdateenv): New.
7360 (libc_feholdexcept): Only define if undefined.
7361 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7362 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7363 (libc_feholdexcept_setroundl): Likewise.
7364 (libc_feholdexcept_setround_53bit): Likewise.
7365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7366 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7367 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7368 (libc_feupdateenv_53bit): Likewise.
7369 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7370 (libc_feholdexcept): Convert from macro to inline function.
7371 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7372 (libc_fesetenv, libc_feupdateenv): Likewise.
7373
4851a949
RH
7374 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7375 not previously defined.
7376 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7377 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7378 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7379 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7380 * sysdeps/ieee754/flt-32/math_private.h: New file.
7381 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7382 math_private.h below SET_FLOAT_WORD.
7383 (__isnan, __isinf_ns, __finite): Remove.
7384 (__isnanf, __isinf_nsf, __finitef): Remove.
7385
e79d442e
AS
73862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7387
7388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7389
90b80344
DM
73902012-03-17 David S. Miller <davem@davemloft.net>
7391
7392 [BZ #6471]
7393 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7394 for 2.16.
7395
edc21804
DM
73962012-03-16 David S. Miller <davem@davemloft.net>
7397
77e927af
DM
7398 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7399 warnings.
7400
374976dd
DM
7401 [BZ #6471]
7402 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7403 properly.
7404 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7405 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7406 sysdep_routines when subdir is sysvipc.
7407 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7408 __getshmlba helper.
7409
edc21804
DM
7410 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7411
473c3ef3
L
74122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7413
7414 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7415 [__LP64__].
7416
eb0f39b6
L
74172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7418
7419 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7420 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7421 (__lround): Renamed to ...
7422 (__llround): This. Replace long int with long long int.
7423 Define lround functions as aliases of llround functions.
7424 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7425
6b6cd74b
L
74262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7429 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7430 adresses to uintptr_t. Replace "long int" and "unsigned long
7431 int" with "greg_t" on va_arg.
7432
f1a77b01
L
74332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7434
7435 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7436 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7437
7438 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7439 Move e_machine check before EI_CLASS check. Handle x32
7440 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7441 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7442 SKIP_EM_IA_64 and include
7443 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7444
7445 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7446 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7447 (add_system_dir): New macro.
7448
7449 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7450 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7451
11b90b9f
JM
74522012-03-16 Joseph Myers <joseph@codesourcery.com>
7453
c36e1d23
JM
7454 [BZ #2551]
7455 [BZ #2552]
7456 [BZ #2553]
7457 [BZ #2554]
7458 [BZ #2562]
7459 [BZ #2563]
7460 [BZ #2565]
7461 [BZ #2566]
7462 [BZ #2576]
7463 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7464 (y0): Likewise.
7465 * math/w_j0f.c (j0f): Likewise.
7466 (y0f): Likewise.
7467 * math/w_j0l.c (__j0l): Likewise.
7468 (__y0l): Likewise.
7469 * math/w_j1.c (j1): Likewise.
7470 (y1): Likewise.
7471 * math/w_j1f.c (j1f): Likewise.
7472 (y1f): Likewise.
7473 * math/w_j1l.c (__j1l): Likewise.
7474 (__y1l): Likewise.
7475 * math/w_jn.c (jn): Likewise.
7476 (yn): Likewise.
7477 * math/w_jnf.c (jnf): Likewise.
7478 (ynf): Likewise.
7479 * math/w_jnl.c (__jnl): Likewise.
7480 (__ynl): Likewise.
7481 * math/libm-test.inc (j0_test): Add more tests.
7482 (j1_test): Likewise.
7483 (jn_test): Likewise. Add trailing semicolon to existing test.
7484 (y0_test): Likewise.
7485 (y1_test): Likewise.
7486 * sysdeps/i386/fpu/libm-test-ulps: Update.
7487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7488
11b90b9f
JM
7489 [BZ #13851]
7490 [BZ #13854]
7491 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7492 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7493 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7494 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7495 (__tanl): Set errno for infinite argument.
7496 * sysdeps/i386/fpu/mptan.c: Remove.
7497 * sysdeps/i386/fpu/s_tan.S: Likewise.
7498 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7499 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7500 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7501 * math/libm-test.inc (tan_test): Add more tests and enable more
7502 tests for double and long double.
7503 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7505
6a1bd2a1
JK
75062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7507
7508 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7509 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7510
10a803e0
RM
75112012-03-16 Roland McGrath <roland@hack.frob.com>
7512
7513 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7514 * configure.in: Use it for both main tree and add-ons.
7515 * configure: Regenerated.
7516
f196c7f7
L
75172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7518
7519 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7520
8848d99d
JM
75212012-03-16 Joseph Myers <joseph@codesourcery.com>
7522
96cbe7f4
JM
7523 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7524 in comment.
7525
8848d99d
JM
7526 [BZ #13851]
7527 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7528 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7532 infinite argument.
7533 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7535 != 0 for prec == 2.
7536 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7537 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7538 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7539 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7540 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7541 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7542 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7543 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7544 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7545 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7546 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7547 * math/libm-test.inc (cos_test): Add more tests and enable more
7548 tests for long double.
7549 (sin_test): Likewise.
7550 (sincos_test): Likewise.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553
dd7f4703
DM
75542012-03-16 David S. Miller <davem@davemloft.net>
7555
7556 * sysdeps/sparc/fpu/math_private.h: New file.
7557
006f1daa
DM
75582012-03-15 David S. Miller <davem@davemloft.net>
7559
c0c83bc8
DM
7560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7561 file.
e6a62e18 7562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7564 file.
e6a62e18
DM
7565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7571 sysdep routines.
7572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7573
88cb87d9
DM
7574 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7575 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7576
006f1daa 7577 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7579 sparc-ifunc.h
006f1daa 7580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7582 Likewise.
7583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7584 Likewise.
006f1daa
DM
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7589 Likewise.
006f1daa
DM
7590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7595 Likewise.
7596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7597 Likewise.
006f1daa
DM
7598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7622
11e0098e
AS
76232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7624
7625 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7626 scaling.
7627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7628
e85b09d0
AJ
76292012-03-15 Andreas Jaeger <aj@suse.de>
7630
7631 [BZ #13852]
7632 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7633 ieee754/flt-32 implementation for sin, cos and sincos.
7634 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7635 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7636 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7637 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7638 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7639 ieee754/flt-32 implementation for tan.
7640
7641 * math/libm-test.inc (cos_test): Enable some large input tests for
7642 float as well
7643 (sin_test): Likewise.
7644 (sincos_test): Likewise.
7645 (tan_test): Add tests for large input.
7646
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7648
81c64153
AJ
76492012-03-15 Andreas Jaeger <aj@suse.de>
7650
7651 [BZ #13658]
7652 * math/libm-test.inc (cos_test): Add more test cases.
7653 (sin_test): Likewise.
7654 (sincos_test): Likewise.
7655
7bbfa5c6
AJ
76562012-03-15 Andreas Jaeger <aj@suse.de>
7657
7658 [BZ #13837]
7659 * math/libm-test.inc (cos_test): Add a test case for large input
7660 value.
7661 (sin_test): Likewise.
7662 (sincos_test): Likewise.
7663
76642012-03-15 Andreas Jaeger <aj@suse.de>,
7665 Joseph Myers <joseph@codesourcery.com>
7666
7667 [BZ #13658]
0671f479 7668 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7669 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7670 * sysdeps/i386/fpu/branred.c: Likewise.
7671 * sysdeps/i386/fpu/dosincos.c: Likewise.
7672 * sysdeps/i386/fpu/mpa.c: Likewise.
7673 * sysdeps/i386/fpu/s_cos.S: Likewise.
7674 * sysdeps/i386/fpu/s_sin.S: Likewise.
7675 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7676 * sysdeps/i386/fpu/sincos32.c: Likewise.
7677
7678 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7679 Define.
7680 (libc_feupdateenv_53bit): Define.
7681 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7682 Define.
7683 (libc_feupdateenv_53bit): Define.
7684
7685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7686 53 bit (without extend i386 double precision).
7687
7688 * math/libm-test.inc (sincos_test): Add tests for large input.
7689 (sin): Likewise.
7690 (cos): Likewise.
7691
7692 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7693
9cad04ea
AS
76942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7695
7696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7697
f7062b9a
DM
76982012-03-15 David S. Miller <davem@davemloft.net>
7699
7700 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7701 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7702 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7703 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7716 file.
f7062b9a 7717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7719 file.
f7062b9a 7720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7722 file.
f7062b9a 7723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7725 file.
f7062b9a
DM
7726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7728 fmin/fmax sysdep routines.
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7730
7bd951ff
DM
77312012-03-14 David S. Miller <davem@davemloft.net>
7732
559398ab
DM
7733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7738 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7739 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7759 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7762 routines.
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7764 file.
559398ab 7765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7767 file.
559398ab 7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7770 file.
559398ab 7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7773 file.
559398ab 7774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7776 file.
559398ab 7777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7779 file.
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7781 file.
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7783 file.
7784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7785 file.
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7787 New file.
7788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7789 file.
7790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7791 file.
559398ab 7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7794 file.
559398ab 7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7797 file.
559398ab 7798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7800 file.
559398ab 7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7803 VIS3 routines.
559398ab
DM
7804
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7806 New file.
7807
5a1c1e32
DM
7808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7809
eae47a36
DM
7810 * sysdeps/sparc/configure.in: New file.
7811 * sysdeps/sparc/configure: Generate.
7812 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7813 * configure: Regenerate.
7814 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7815 * config.make.in (have-as-vis3): New.
7816 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7817 available use -Av9d instead of -Av9a.
7818 * sysdeps/sparc/sparc64/Makefile: Likewise.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7821 New file.
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7823 file.
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7825 New file.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7827 file.
eae47a36
DM
7828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7829 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7830 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7831 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7833
c0c83bc8
DM
7834 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7835 fzeros/fnegs to load 0x80000000 into a float register instead of
7836 using the stack.
7bd951ff
DM
7837 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7838
bd951ccb
JM
78392012-03-14 Joseph Myers <joseph@codesourcery.com>
7840
7841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7842 bits/syscall.h.
7843 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7844 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7845 ($(inst_includedir)/bits/syscall.h): Remove rule.
7846 ($(objpfx)bits/syscall.d): Include instead of
7847 $(objpfx)syscall-list.d.
7848 (generated): Change syscall-list.h and syscall-list.d to
7849 bits/syscall.h and bits/syscall.d.
7850
bb4e6db2
RM
78512012-03-14 Roland McGrath <roland@hack.frob.com>
7852
7853 [BZ #13846]
7854 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7855
aa4a2ae1
JM
78562012-03-14 Joseph Myers <joseph@codesourcery.com>
7857
e456826d
JM
7858 [BZ #13841]
7859 * math/s_csqrt.c: Include <float.h>.
7860 (__csqrt): Scale large or subnormal inputs.
7861 * math/s_csqrtf.c: Likewise.
7862 * math/s_csqrtl.c: Likewise.
7863 * math/libm-test.inc (csqrt_test): Add more tests.
7864 * sysdeps/i386/fpu/libm-test-ulps: Update.
7865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7866
aa4a2ae1
JM
7867 [BZ #13840]
7868 * math/libm-test.inc (hypot_test): Add more tests.
7869
7c10fd35
DM
78702012-03-13 David S. Miller <davem@davemloft.net>
7871
7872 [BZ #13840]
7873 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7874 double-precision for the calculation instead of scaling.
7875
f453b98b
JM
78762012-03-13 Joseph Myers <joseph@codesourcery.com>
7877
7878 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7879 manipulate bits before adding and subtracting TWO52[sx].
7880 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7881 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7882 Likewise.
7883 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7884
09a3453f
DM
78852012-03-13 David S. Miller <davem@davemloft.net>
7886
8e59da90
DM
7887 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7888 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7890 rtld-global-offsets.h
7891 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7892
2a8ab7f2
DM
7893 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7894 large parameters.
7895
10f62770
DM
7896 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7897
5f0bdb18
DM
7898 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7899 'err' in the ifdef scope in which it is actually used.
7900
09a3453f
DM
7901 * nss/nss_db/db-init.c: Include string.h
7902
b4b2eb5e
DM
79032012-03-12 David S. Miller <davem@davemloft.net>
7904
98bb2f1c
DM
7905 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7906 masking out of the most significant byte of random value used.
7907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7908 Fix coding style in previous change.
7909
b4b2eb5e
DM
7910 * sysdeps/unix/sysv/linux/kernel-features.h
7911 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7912 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7913 expression.
7914 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7915 later.
7916
6e226b09
DM
79172012-03-11 David S. Miller <davem@davemloft.net>
7918
a1bcbd40
DM
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7920 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7922 for 'resultvar' otherwise things get truncated on 64-bit.
7923
cb9d6174
DM
7924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7925 Fix masking out of the most significant byte of random value used.
7926
6e226b09
DM
7927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7928
058c132d
AS
79292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7930
7931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7932
2d2cd515
DM
79332012-03-09 David S. Miller <davem@davemloft.net>
7934
7935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7936 variables with appropriate CPP guards.
7937 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7938 frame pointer, not the stack pointer. Correct layout comments. Fix test
7939 on resulting framesize and the management of the outregs buffer for pltexit.
7940 Preserve floating point return values across _dl_call_pltexit call.
7941 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7942 framesize and the management of the outregs buffer for pltexit.
7943 Preserve floating point return values across _dl_call_pltexit
7944 call.
7945 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7946 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7947 (print_exit): Fix format string for return register value.
7948
9a07f9d0
JM
79492012-03-10 Joseph Myers <joseph@codesourcery.com>
7950
7951 * sunrpc/Makefile (others): Add rpcgen.
7952 ($(objpfx)rpcgen): Remove special build rule and dependency on
7953 libc.
7954 * sunrpc/rpcgen.c: New file.
7955
547b5e30
PE
79562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7957
c524201a
PE
7958 [BZ #13673]
7959 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7960 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7961 * sysdeps/i386/crti.S: Likewise.
7962 * sysdeps/i386/crtn.S: Likewise.
7963 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7964 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7967 * sysdeps/sh/crti.S: Likewise.
7968 * sysdeps/sh/crtn.S: Likewise.
7969 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7970
7b6235f2
PE
7971 [BZ #13673]
7972 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7973 with URL.
7974 * locale/programs/locfile-kw.gperf: Likewise.
7975 * locale/programs/charmap-kw.h: Regenerated.
7976 * locale/programs/locfile-kw.h: Likewise.
7977
547b5e30
PE
7978 [BZ #13673]
7979 * intl/plural.y: Replace FSF snail mail address with URL.
7980 * intl/plural.c: Regenerated.
7981
5f0a5dae
RH
79822012-03-09 Richard Henderson <rth@twiddle.net>
7983
7984 * include/math_private.h: Remove file.
7985 * math/math_private.h: Move file ...
7986 * sysdeps/generic/math_private.h: ... here.
7987
b8c03620
RH
7988 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7989 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7990 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7991
4e234f5d 7992 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7993 and <math_private.h>.
7994 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7995 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7996 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7997 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7998 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7999 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8000 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8082 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8083 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8084 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8087 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8088 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8089 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8091 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8092 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8093 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8094 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8095 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8096 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8097 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8098 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8099 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8100 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8101 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8102 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8103 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8104 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8105 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8106 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8107 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8108 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8109 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8110 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8111 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8112 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8113 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8114 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8115 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8116 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8117 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8118 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8119 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8120 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8121 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8123 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8124 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8125 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8126 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8127 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8128 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8129 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8130 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8131 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8132 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8133 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8135 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8136 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8137 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8138 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8139 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8140 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8141 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8142 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8143 * sysdeps/ieee754/k_standard.c: Likewise.
8144 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8148 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8149 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8152 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8153 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8154 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8157 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8158 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8159 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8160 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8161 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8162 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8165 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8166 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8259 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8263 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8264 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8266 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8271 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8276 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8292 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8293 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8294 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8304 * sysdeps/ieee754/s_lib_version.c: Likewise.
8305 * sysdeps/ieee754/s_matherr.c: Likewise.
8306 * sysdeps/ieee754/s_signgam.c: Likewise.
8307 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8308 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8309 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8310 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8311 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8312 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8313 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8314 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8315 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8316 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8317 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8318 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8319 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8320 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8321 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8322 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8323 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8324 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8325 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8328
1991fa03
JM
83292012-03-09 Joseph Myers <joseph@codesourcery.com>
8330
8331 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8332 * sunrpc/rpc_main.c: Likewise.
8333 * sunrpc/rpc_svcout.c: Likewise.
8334
60d6f5a6
DM
83352012-03-09 David S. Miller <davem@davemloft.net>
8336
8337 * include/math_private.h: New file.
8338
4962050e
JM
83392012-03-09 Joseph Myers <joseph@codesourcery.com>
8340
02a6f887
JM
8341 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8342 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8343 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8344 from <bits/socket_type.h>.
8345 (enum __socket_type): Don't define here.
8346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8348 bits/socket_type.h.
8349
c6e013c1
JM
8350 [BZ #13566]
8351 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8352 checking __USE_GNU.
8353
4962050e
JM
8354 * Makerules ($(inst_includedir)/%.h): New rule.
8355 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8356 (install-others): Remove variable setting.
8357 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8358
38842f45
RH
83592012-03-08 Richard Henderson <rth@twiddle.net>
8360
67bb6da6
RH
8361 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8362 from macro to inline function; merge with the
8363 !__LIBC_INTERNAL_MATH_INLINES version.
8364 (__ieee754_sqrtf): Likewise.
8365
15194b4b
RH
8366 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8367 to inline function.
8368 (__rintf, __floor, __floorf): Likewise.
8369
64e21ede
RH
8370 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8371 macro to inline function.
8372 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8373
38842f45
RH
8374 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8375 not <math/math_private.h>.
8376
c64bf5fe
DM
83772012-03-08 David S. Miller <davem@davemloft.net>
8378
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8380 copyright year.
8381 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8382
82d86f28
TS
83832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8384
8385 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8386 normalization.
8387 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8388 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8389
aea5d727
UD
83902012-03-08 Ulrich Drepper <drepper@gmail.com>
8391
8392 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8393 be defined individually, they must be defined as a block. Define
8394 S for printing a string instead of hidint the different by using a
8395 macro for adding the 'l'.
8396 * stdio-common/tst-fphex-wide.c: Adjust.
8397
70bca0a3
MP
83982012-03-07 Marek Polacek <polacek@redhat.com>
8399
8400 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8401
65b81130
MP
84022012-03-08 Marek Polacek <polacek@redhat.com>
8403
8404 [BZ #13806]
8405 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8406 * stdio-common/tst-fphex.c: Define a few macros to make the
8407 test reusable. Use them.
8408 * stdio-common/tst-fphex-wide.c: New file.
8409
07037eeb
JM
84102012-03-08 Joseph Myers <joseph@codesourcery.com>
8411
a7a93d50
JM
8412 [BZ #6911]
8413 * manual/macros.texi (gnusystems): New macro.
8414 (nongnusystems): Likewise.
8415 (gnulinuxhurdsystems): Likewise.
8416 (gnuhurdsystems): Likewise..
8417 (gnulinuxsystems): Likewise.
8418 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8419 variants of the GNU system, not "GNU system".
8420 * manual/conf.texi: Likewise.
8421 * manual/errno.texi: Likewise. Update example of errno macro
8422 expansion.
8423 * manual/filesys.texi: Likewise.
8424 (getumask): Document as specific to GNU/Hurd.
8425 * manual/install.texi: Likewise. Reword some references to
8426 GNU/Linux.
8427 * manual/intro.texi: Likewise.
8428 * manual/io.texi: Likewise.
8429 (File Name Portability): Detail which constraints are inapplicable
8430 to all GNU systems and which are only inapplicable to GNU/Hurd.
8431 * manual/job.texi: Likewise.
8432 * manual/llio.texi: Likewise.
8433 (O_NOCTTY): Document as present on GNU/Linux.
8434 * manual/maint.texi: Likewise.
8435 * manual/memory.texi: Likewise.
8436 * manual/pattern.texi: Likewise.
8437 * manual/pipe.texi: Likewise.
8438 * manual/process.texi: Likewise.
8439 * manual/resource.texi: Likewise.
8440 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8441 child on GNU/Hurd.
8442 * manual/setjmp.texi: Likewise.
8443 * manual/signal.texi: Likewise.
8444 * manual/startup.texi: Likewise.
8445 * manual/stdio.texi: Likewise.
8446 * manual/terminal.texi: Likewise.
8447 (ONLCR): Document as POSIX.
8448 (OXTABS): Document availability on GNU/Linux as XTABS.
8449 (ONOEOT): Document availability separately from other bits.
8450 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8451 * manual/time.texi: Likewise.
8452 * manual/users.texi: Likewise.
8453 * INSTALL: Regenerated.
8454 * sysdeps/gnu/errlist.c: Regenerated.
8455
07037eeb
JM
8456 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8457 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8458 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8459 puts.
8460 * configure: Regenerated.
8461
d1d3431a
JM
84622012-03-07 Joseph Myers <joseph@codesourcery.com>
8463
af6a1e37
JM
8464 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8465 default includes instead of AC_HEADER_CHECK.
8466 * sysdeps/i386/configure: Regenerated.
8467
d1d3431a
JM
8468 [BZ #10716]
8469 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8470 * math/s_cacoshf.c (__cacoshf): Likewise.
8471 * math/s_cacoshl.c (__cacoshl): Likewise.
8472 * math/s_casinh.c (__casinh): Set signs of result from argument.
8473 * math/s_casinhf.c (__casinhf): Likewise.
8474 * math/s_casinhl.c (__casinhl): Likewise.
8475 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8476 (casinh_test): Add more tests.
8477 * sysdeps/i386/fpu/libm-test-ulps: Update.
8478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8479
482ff4da
UD
84802012-03-07 Ulrich Drepper <drepper@gmail.com>
8481
872fda05
UD
8482 * po/zh_TW.po: Update from translation team.
8483
a4300c7a
UD
8484 * login/Makefile (distribute): Remove variable.
8485 * catgets/Makefile: Likewise.
8486 * mach/Makefile: Likewise.
8487 * malloc/Makefile: Likewise.
8488 * misc/Makefile: Likewise.
8489 * iconv/Makefile: Likewise.
8490 * nscd/Makefile: Likewise.
8491 * hurd/Makefile: Likewise.
8492 * manual/Makefile: Likewise.
8493 * locale/Makefile: Likewise.
8494 * intl/Makefile: Likewise.
8495 * conform/Makefile: Likewise.
8496 * nss/Makefile: Likewise.
8497 * time/Makefile: Likewise.
8498 * soft-fp/Makefile: Likewise.
8499 * dirent/Makefile: Likewise.
8500 * gmon/Makefile: Likewise.
8501 * po/Makefile: Likewise.
8502 * rt/Makefile: Likewise.
8503 * socket/Makefile: Likewise.
8504 * math/Makefile: Likewise.
8505 * signal/Makefile: Likewise.
8506 * debug/Makefile: Likewise.
8507 * elf/Makefile: Likewise.
8508 * timezone/Makefile: Likewise.
8509 * stdlib/Makefile: Likewise.
8510 * iconvdata/Makefile: Likewise.
8511 * sunrpc/Makefile: Likewise.
8512 * io/Makefile: Likewise.
8513 * argp/Makefile: Likewise.
8514 * inet/Makefile: Likewise.
8515 * hesiod/Makefile: Likewise.
8516 * grp/Makefile: Likewise.
8517 * csu/Makefile: Likewise.
8518 * wctype/Makefile: Likewise.
8519 * crypt/Makefile: Likewise.
8520 * libio/Makefile: Likewise.
8521 * string/Makefile: Likewise.
8522 * nis/Makefile: Likewise.
8523 * resolv/Makefile: Likewise.
8524 * stdio-common/Makefile: Likewise.
8525 * wcsmbs/Makefile: Likewise.
8526 * dlfcn/Makefile: Likewise.
8527 * posix/Makefile: Likewise.
8528
3b7c4e74 8529 [BZ #6959]
482ff4da
UD
8530 * timezone/Makefile: Don't install timezone files, just the programs
8531 and scripts.
8532
f72ed77d
UD
85332012-03-06 Ulrich Drepper <drepper@gmail.com>
8534
a000466f
UD
8535 * nss/databases.def: Add missing gshadow entry.
8536
f72ed77d
UD
8537 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8538
a53b7a4e
MP
85392012-03-06 Marek Polacek <polacek@redhat.com>
8540
8541 [BZ #13726]
8542 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8543 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8544 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8545 * stdio-common/tst-long-dbl-fphex.c: New file.
8546
e9258400
DM
85472012-03-06 David S. Miller <davem@davemloft.net>
8548
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8550 (set_obp_int): New function.
8551 (get_obp_int): New function.
8552 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8553 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8554 Avoid unused variable warnings on 'val' and use builtin_expect.
8555 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8556 __builtin_expect.
e9258400
DM
8557 (INLINE_CLONE_SYSCALL): Likewise.
8558
3bd2c723
DM
85592012-03-05 David S. Miller <davem@davemloft.net>
8560
8561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8562
bbb78d03
AS
85632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8564
884c5db4
AS
8565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8566
bbb78d03
AS
8567 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8568 only for |x| >= 40.
8569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8570
1c9f702a 85712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8572
8573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8574 Replace gettimeofday with __vdso_gettimeofday.
8575
7be16f82
RM
8576 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8577 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8578 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8579
8580 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8581 time with __vdso_time.
8582
ed58a00f
JM
85832012-03-05 Joseph Myers <joseph@codesourcery.com>
8584
8585 * manual/lang.texi (size_t): Note types to which size_t may be
8586 equivalent with the GNU C Library, but do not describe when
8587 differences between them are significant.
8588
30ee4ced
AJ
85892012-03-05 Andreas Jaeger <aj@suse.de>
8590
8591 * sysdeps/i386/fpu/libm-test-ulps: Update.
8592
b7cd39e8
JM
85932012-03-05 Joseph Myers <joseph@codesourcery.com>
8594
8595 [BZ #3976]
8596 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8597 (__ieee754_pow): Save and restore rounding mode and use
8598 round-to-nearest for main computations.
8599 * math/libm-test.inc (pow_test_tonearest): New function.
8600 (pow_test_towardzero): Likewise.
8601 (pow_test_downward): Likewise.
8602 (pow_test_upward): Likewise.
8603 (main): Call the new functions.
8604 * sysdeps/i386/fpu/libm-test-ulps: Update.
8605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8606
8607 [BZ #3976]
8608 * math/libm-test.inc (cosh_test_tonearest): New function.
8609 (cosh_test_towardzero): Likewise.
8610 (cosh_test_downward): Likewise.
8611 (cosh_test_upward): Likewise.
8612 (sinh_test_tonearest): Likewise.
8613 (sinh_test_towardzero): Likewise.
8614 (sinh_test_downward): Likewise.
8615 (sinh_test_upward): Likewise.
8616 (main): Call the new functions.
8617 * sysdeps/i386/fpu/libm-test-ulps: Update.
8618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8619
6c6a98c9
TV
86202012-03-05 Tom de Vries <tom@codesourcery.com>
8621
8622 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8623 default stack guard is set in last bytes.
8624 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8625
21bb2d2e 86262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8627
21bb2d2e 8628 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8629
21bb2d2e
AJ
8630 [BZ #13656]
8631 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8632 possibly allocate from heap instead of stack.
8633 * stdio-common/bug-vfprintf-nargs.c: New file.
8634 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8635
c6922934
AS
86362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8637
8638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8639
bc957d53
MP
86402012-03-03 Marek Polacek <polacek@redhat.com>
8641
8642 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8643 * math/math_private.h: Likewise.
8644 * stdlib/tst-strtod.c: Likewise.
8645 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8646 * sysdeps/x86_64/bits/atomic.h: Likewise.
8647
6358490d
DM
86482012-03-02 David S. Miller <davem@davemloft.net>
8649
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8654 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8655 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8656 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8657 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8658
01ae168d
RM
86592012-03-02 Roland McGrath <roland@hack.frob.com>
8660
d9a17c07
RM
8661 [BZ #13792]
8662 * manual/examples/README: New file, says the example source files
8663 can be used under GPL>=2.
8664 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8665 line containing just "*/".
8666 * manual/examples/add.c: Add copyright header (GPL>=2).
8667 * manual/examples/argp-ex1.c: Likewise.
8668 * manual/examples/argp-ex2.c: Likewise.
8669 * manual/examples/argp-ex3.c: Likewise.
8670 * manual/examples/argp-ex4.c: Likewise.
8671 * manual/examples/atexit.c: Likewise.
8672 * manual/examples/db.c: Likewise.
8673 * manual/examples/dir.c: Likewise.
8674 * manual/examples/dir2.c: Likewise.
8675 * manual/examples/execinfo.c: Likewise.
8676 * manual/examples/filecli.c: Likewise.
8677 * manual/examples/filesrv.c: Likewise.
8678 * manual/examples/fmtmsgexpl.c: Likewise.
8679 * manual/examples/genpass.c: Likewise.
8680 * manual/examples/inetcli.c: Likewise.
8681 * manual/examples/inetsrv.c: Likewise.
8682 * manual/examples/isockad.c: Likewise.
8683 * manual/examples/longopt.c: Likewise.
8684 * manual/examples/memopen.c: Likewise.
8685 * manual/examples/memstrm.c: Likewise.
8686 * manual/examples/mkfsock.c: Likewise.
8687 * manual/examples/mkisock.c: Likewise.
8688 * manual/examples/mygetpass.c: Likewise.
8689 * manual/examples/pipe.c: Likewise.
8690 * manual/examples/popen.c: Likewise.
8691 * manual/examples/rprintf.c: Likewise.
8692 * manual/examples/search.c: Likewise.
8693 * manual/examples/select.c: Likewise.
8694 * manual/examples/setjmp.c: Likewise.
8695 * manual/examples/sigh1.c: Likewise.
8696 * manual/examples/sigusr.c: Likewise.
8697 * manual/examples/stpcpy.c: Likewise.
8698 * manual/examples/strdupa.c: Likewise.
8699 * manual/examples/strftim.c: Likewise.
8700 * manual/examples/strncat.c: Likewise.
8701 * manual/examples/subopt.c: Likewise.
8702 * manual/examples/swapcontext.c: Likewise.
8703 * manual/examples/termios.c: Likewise.
8704 * manual/examples/testopt.c: Likewise.
8705 * manual/examples/testpass.c: Likewise.
8706 * manual/examples/timeval_subtract.c: Likewise.
8707
01ae168d
RM
8708 [BZ #13792]
8709 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8710 function to ...
8711 * manual/timeval_subtract.c.texi: ... here, new file.
8712
49efa33d
DM
87132012-03-02 David S. Miller <davem@davemloft.net>
8714
8715 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8716
28afd92d
JM
87172012-03-02 Joseph Myers <joseph@codesourcery.com>
8718
804360ed
JM
8719 [BZ #3976]
8720 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8721 (__sin): Save and restore rounding mode and use round-to-nearest
8722 for all computations.
8723 (__cos): Save and restore rounding mode and use round-to-nearest
8724 for all computations.
8725 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8726 <fenv.h>.
8727 (tan): Save and restore rounding mode and use round-to-nearest for
8728 all computations.
8729 * math/libm-test.inc (cos_test_tonearest): New function.
8730 (cos_test_towardzero): Likewise.
8731 (cos_test_downward): Likewise.
8732 (cos_test_upward): Likewise.
8733 (sin_test_tonearest): Likewise.
8734 (sin_test_towardzero): Likewise.
8735 (sin_test_downward): Likewise.
8736 (sin_test_upward): Likewise.
8737 (tan_test_tonearest): Likewise.
8738 (tan_test_towardzero): Likewise.
8739 (tan_test_downward): Likewise.
8740 (tan_test_upward): Likewise.
8741 (main): Call the new functions.
8742 * sysdeps/i386/fpu/libm-test-ulps: Update.
8743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8744
a6d06d7b
JM
8745 [BZ #10135]
8746 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8747 small n, then large n, before computing and testing k+n.
8748 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8750 Likewise.
8751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8752 Likewise.
8753 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8754 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8755 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8756 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8759 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8760 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8761 * math/libm-test.inc (scalbn_test): Add more tests.
8762 (scalbln_test): Likewise.
8763
07e12bb3
JM
8764 * manual/filesys.texi (mode_t): Describe constraints on size and
8765 signedness, not exact equivalence to a particular type.
8766 (ino_t): Likewise.
8767 (ino64_t): Likewise.
8768 (dev_t): Likewise.
8769 (nlink_t): Likewise.
8770 (blkcnt_t): Likewise.
8771 (blkcnt64_t): Likewise.
8772 * manual/llio.texi (off_t): Likewise.
8773
28afd92d
JM
8774 [BZ #3976]
8775 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8776 (__ieee754_exp): Save and restore rounding mode and use
8777 round-to-nearest for all computations.
8778 * math/libm-test.inc (exp_test_tonearest): New function.
8779 (exp_test_towardzero): Likewise.
8780 (exp_test_downward): Likewise.
8781 (exp_test_upward): Likewise.
8782 (main): Call the new functions.
8783 * sysdeps/i386/fpu/libm-test-ulps: Update.
8784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8785
b1eeb65d
CD
87862012-03-01 Chris Demetriou <cgd@google.com>
8787
8788 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8789 have predictable order.
8790
53362a4b
DM
87912012-03-01 David S. Miller <davem@davemloft.net>
8792
3c969083
DM
8793 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8794
759707de
DM
8795 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8796 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8797 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8798 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8799
dfdb8ff2
DM
8800 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8801 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8802 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8804 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8805 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8806 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8807 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8808 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8809
ead89f96
DM
8810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8811
7f66bd07
DM
8812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8813 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8814 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8815
53362a4b
DM
8816 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8817 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8818 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8819 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8820 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8823 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8824 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8825 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8826 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8830 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8832 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8833 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8834 * sysdeps/sparc/elf/configure: Regenerated.
8835
7b1902cb
JM
88362012-03-01 Joseph Myers <joseph@codesourcery.com>
8837
bec039bc
JM
8838 * configure.in (AS, LD): Require binutils 2.20 or later.
8839 * configure: Regenerated.
8840 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8841 as required minimum version.
8842 * INSTALL: Regenerated.
8843
7b1902cb
JM
8844 [BZ #2541]
8845 [BZ #4108]
8846 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8847 before squaring exponent.
8848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8849 bottom long double and 27 bits of top long double before squaring
8850 exponent.
8851 * math/libm-test.inc (erfc_test): Add more tests.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update.
8853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8855
f775c276
KT
88562012-03-01 Kai Tietz <ktietz@redhat.com>
8857
8858 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8859 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8860 containing bit-fields.
8861 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8862 * soft-fp/single.h (_FP_UNION_S): Likewise.
8863 * soft-fp/double.h (_FP_UNION_D): Likewise.
8864
5b8a4d4a
JM
88652012-02-29 Joseph Myers <joseph@codesourcery.com>
8866
0bab47b6
JM
8867 [BZ #13786]
8868 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8869 not include ../strcmp.S.
8870 [USE_AS_STRNCASECMP_L]: Likewise.
8871 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8872 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8873 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8874 (__strncasecmp_l_ia32): Define as alias to
8875 __strncasecmp_l_nonascii.
8876
0fcad3e2
JM
8877 [BZ #5794]
8878 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8879 * sysdeps/i386/fpu/libm-test-ulps: Update.
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8881
5b8a4d4a
JM
8882 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8884
8fdceb2e
JL
88852012-02-29 Jeff Law <law@redhat.com>
8886
8887 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8888 out of bounds read.
8889
1f393a11
MP
88902012-02-29 Marek Polacek <polacek@redhat.com>
8891
8892 [BZ #13706]
8893 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8894 * elf/Makefile: Add rules to run tst-unused-dep.out.
8895
8847f037
DM
88962012-02-28 David S. Miller <davem@davemloft.net>
8897
8898 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8899 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8902 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8903 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8904
169d7f11
JM
89052012-02-29 Joseph Myers <joseph@codesourcery.com>
8906
8907 * math/libm-test.inc (llround_test): Move one test from
8908 lround_test. Use TEST_f_L in moved test.
8909 (lround_test): Move misplaced test to llround_test. Add testcase
8910 from bug 2561.
8911
39adf059
UD
89122012-02-28 Ulrich Drepper <drepper@gmail.com>
8913
8914 * sysdeps/x86_64/fpu/e_expf.S: New file.
8915 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8916
71b5d1c5
SB
89172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8918
8919 [BZ #13637]
8920 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8921 of remain_len that may cause incomplete multi-byte character and
8922 false match.
8923 * posix/bug-regex33.c: New file.
8924 * posix/Makefile (tests): Add bug-regex33.
8925
1f77f049
JM
89262012-02-28 Joseph Myers <joseph@codesourcery.com>
8927
8928 * manual/macros.texi: New file.
8929 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8930 * manual/libc.texinfo: Include macros.texi.
8931 * manual/creatute.texi: Likewise.
8932 * manual/install.texi: Likewise.
8933 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8934 @glibcadj{} in references to the GNU C Library.
8935 * manual/charset.texi: Likewise.
8936 * manual/conf.texi: Likewise.
8937 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8938 when not using those macros.
8939 * manual/creature.texi: Likewise.
8940 * manual/crypt.texi: Likewise.
8941 * manual/errno.texi: Likewise.
8942 * manual/filesys.texi: Likewise.
8943 * manual/header.texi: Likewise.
8944 * manual/install.texi: Likewise.
8945 * manual/intro.texi: Likewise.
8946 * manual/io.texi: Likewise.
8947 * manual/job.texi: Likewise.
8948 * manual/lang.texi: Likewise.
8949 * manual/libc.texiinfo: Likewise.
8950 * manual/llio.texi: Likewise.
8951 * manual/locale.texi: Likewise.
8952 * manual/maint.texi: Likewise.
8953 * manual/math.texi: Likewise.
8954 * manual/memory.texi: Likewise.
8955 * manual/message.texi: Likewise.
8956 * manual/nss.texi: Likewise.
8957 * manual/pattern.texi: Likewise.
8958 * manual/process.texi: Likewise.
8959 * manual/resource.texi: Likewise.
8960 * manual/search.texi: Likewise.
8961 * manual/setjmp.texi: Likewise.
8962 * manual/signal.texi: Likewise.
8963 * manual/socket.texi: Likewise.
8964 * manual/startup.texi: Likewise.
8965 * manual/stdio.texi: Likewise.
8966 * manual/string.texi: Likewise.
8967 * manual/sysinfo.texi: Likewise.
8968 * manual/syslog.texi: Likewise.
8969 * manual/terminal.texi: Likewise.
8970 * manual/time.texi: Likewise.
8971 * manual/users.texi: Likewise.
8972 * INSTALL: Regenerated.
8973 * NOTES: Regenerated.
d40c5d54 8974 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8975
450bf206
AS
89762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8977
8978 * include/dirent.h: Include <dirstream.h> before
8979 <dirent/dirent.h>.
8980
741a235b
DM
89812012-02-28 David S. Miller <davem@davemloft.net>
8982
8983 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8984 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8985 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8986 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8987
d6b5aa58
DM
89882012-02-27 David S. Miller <davem@davemloft.net>
8989
1aff59a3
DM
8990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8992 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8993 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8994
d6b5aa58
DM
8995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8996 frame pointer instead of stack pointer relative arg slot.
8997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8998 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8999 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9000
433f48bf
CD
90012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9002
9003 [BZ #3992]
9004 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9005
d674b76d
DM
90062012-02-27 David S. Miller <davem@davemloft.net>
9007
9008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9012 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9013 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9014 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9015 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9016
0e7727f7
JM
90172012-02-27 Joseph Myers <joseph@codesourcery.com>
9018
9019 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9020 later. Allow versions 5-9.
43be4ca2 9021 * configure: Regenerated.
0e7727f7
JM
9022 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9023 required minimum version and 4.6 as recommended version. Do not
9024 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9025 * INSTALL: Regenerated.
0e7727f7 9026
a78bc654
DM
90272012-02-27 David S. Miller <davem@davemloft.net>
9028
428d5830
DM
9029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9033 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9034 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9035 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9036 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9037
a78bc654
DM
9038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9039 manipulate bits before adding and subtracting TWO112[sx].
9040 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9041
4579f81c
RM
90422012-02-27 Roland McGrath <roland@hack.frob.com>
9043
36c8acb4
RM
9044 [BZ #13775]
9045 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9046 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9047 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9048 being in POSIX, because they are in 1003.1-2008.
9049
84ad622b
RM
9050 * rt/tst-aio.c: Include <fcntl.h>.
9051 * rt/tst-aio7.c: Likewise.
9052 * rt/tst-aio64.c: Likewise.
9053
4579f81c
RM
9054 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9055
abd923db
JM
90562012-02-27 Joseph Myers <joseph@codesourcery.com>
9057
9058 * manual/install.texi (--with-headers): Describe headers as
9059 interface headers, not private headers.
9060 (Specific advice for GNU/Linux systems): Describe use of headers
9061 from "make headers_install", not private headers from older
9062 kernels.
43be4ca2 9063 * INSTALL: Regenerated.
abd923db
JM
9064 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9065 Change to 2.6.19.
9066 * sysdeps/unix/sysv/linux/configure: Regenerated.
9067
6664049b
JM
9068 * manual/llio.texi (fclean): Remove documentation.
9069
bb8b6697
JM
9070 * manual/Makefile (libc-texi-generated): New variable. Include
9071 version.texi.
9072 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9073 $(libc-texi-generated), not duplicated list of files.
9074 (version.texi, stamp-version): New rules.
9075 (realclean): Remove $(libc-texi-generated), not individual files
9076 from that list. Do not remove dir-add.texinfo.
9077 * manual/libc.texinfo: Comment out uses of edition numbers and
9078 references to printed manual. Remove last-updated dates.
9079 (EDITION): Comment out.
9080 (ISBN): Likewise.
9081 (VERSION, UPDATED): Remove.
9082 (version.texi): Include.
9083
12e5c3b9
AS
90842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9085
9086 * sysdeps/posix/spawni.c: Include <signal.h>.
9087 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9088 * sysdeps/pthread/aio_fsync.c: Likewise.
9089
4efeffc1 90902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9091
ba63ba08
UD
9092 * conform/Makefile (tests): Run only when not cross-compiling and
9093 when fast-check is not defined.
9094
d94a4670
UD
9095 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9096 * conform/data/limits.h-data: Fixes for POSIX2008.
9097 * conform/run-conformtest.sh: Run all tests.
9098 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9099 headers.
9100 * include/bits/dlfcn.h: Likewise.
9101 * include/langinfo.h: Likewise.
9102 * include/monetary.h: Likewise.
9103 * include/sys/poll.h: Likewise.
9104
9105 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9106 for __USE_GNU.
9107 * posix/spawn.h: Define __need_sigset_t.
9108 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9109 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9110 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9111 to get sigevent_t only.
9112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9113 only for __USE_GNU.
9114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9115 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9116 process_vm_writev only for __USE_GNU.
9117 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9118
9119 * conform/Makefile: For now ignore errors from run-conformtest.
9120 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9121 POSIX to avoid namespace pollution. Don't prepend headers.
9122 * conform/data/aio.h-data: Fixes for POSIX testing.
9123 * conform/data/fcntl.h-data: Likewise.
9124 * conform/data/glob.h-data: Likewise.
9125 * conform/data/grp.h-data: Likewise.
9126 * conform/data/pthread.h-data: Likewise.
9127 * conform/data/pwd.h-data: Likewise.
9128 * conform/data/signal.h-data: Likewise.
9129 * conform/data/spawn.h-data: Likewise.
9130 * conform/data/stdio.h-data: Likewise.
9131 * conform/data/stdlib.h-data: Likewise.
9132 * conform/data/stropts.h-data: Likewise.
9133 * conform/data/sys/mman.h-data: Likewise.
9134 * conform/data/sys/stat.h-data: Likewise.
9135 * conform/data/sys/types.h-data: Likewise.
9136 * conform/data/sys/wait.h-data: Likewise.
9137 * conform/data/time.h-data: Likewise.
9138 * conform/data/unistd.h-data: Likewise.
9139 * conform/data/utime.h-data: Likewise.
9140
9141 * io/sys/stat.h: fchmod was always in POSIX.
9142 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9143 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9144 * rt/aio.h: Define __need_timespec before including <time.h>.
9145 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9146 struct. Add forward declaration of pthread_attr_t and use it in
9147 sigevent.
9148 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9149 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9150 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9151 always remove CLK_TCK definition.
9152
c20105c3
AS
91532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9154
9155 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9156
7a270350
UD
91572012-02-25 Ulrich Drepper <drepper@gmail.com>
9158
31341567
UD
9159 * conform/run-conformtest.sh: New file.
9160 * conform/Makefile: Run run-conformtest for tests.
9161 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9162 support.
9163
9164 * conform/data/uchar.h-data: New file.
9165 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9166 * conform/data/arpa/inet.h-data: Likewise.
9167 * conform/data/assert.h-data: Likewise.
9168 * conform/data/complex.h-data: Likewise.
9169 * conform/data/cpio.h-data: Likewise.
9170 * conform/data/ctype.h-data: Likewise.
9171 * conform/data/dirent.h-data: Likewise.
9172 * conform/data/dlfcn.h-data: Likewise.
9173 * conform/data/errno.h-data: Likewise.
9174 * conform/data/fcntl.h-data: Likewise.
9175 * conform/data/float.h-data: Likewise.
9176 * conform/data/fmtmsg.h-data: Likewise.
9177 * conform/data/fnmatch.h-data: Likewise.
9178 * conform/data/ftw.h-data: Likewise.
9179 * conform/data/glob.h-data: Likewise.
9180 * conform/data/grp.h-data: Likewise.
9181 * conform/data/iconv.h-data: Likewise.
9182 * conform/data/inttypes.h-data: Likewise.
9183 * conform/data/langinfo.h-data: Likewise.
9184 * conform/data/libgen.h-data: Likewise.
9185 * conform/data/limits.h-data: Likewise.
9186 * conform/data/locale.h-data: Likewise.
9187 * conform/data/math.h-data: Likewise.
9188 * conform/data/monetary.h-data: Likewise.
9189 * conform/data/mqueue.h-data: Likewise.
9190 * conform/data/ndbm.h-data: Likewise.
9191 * conform/data/net/if.h-data: Likewise.
9192 * conform/data/netdb.h-data: Likewise.
9193 * conform/data/netinet/in.h-data: Likewise.
9194 * conform/data/nl_types.h-data: Likewise.
9195 * conform/data/poll.h-data: Likewise.
9196 * conform/data/pthread.h-data: Likewise.
9197 * conform/data/pwd.h-data: Likewise.
9198 * conform/data/regex.h-data: Likewise.
9199 * conform/data/sched.h-data: Likewise.
9200 * conform/data/search.h-data: Likewise.
9201 * conform/data/semaphore.h-data: Likewise.
9202 * conform/data/setjmp.h-data: Likewise.
9203 * conform/data/signal.h-data: Likewise.
9204 * conform/data/spawn.h-data: Likewise.
9205 * conform/data/stdarg.h-data: Likewise.
9206 * conform/data/stdio.h-data: Likewise.
9207 * conform/data/stdlib.h-data: Likewise.
9208 * conform/data/string.h-data: Likewise.
9209 * conform/data/strings.h-data: Likewise.
9210 * conform/data/stropts.h-data: Likewise.
9211 * conform/data/sys/ipc.h-data: Likewise.
9212 * conform/data/sys/mman.h-data: Likewise.
9213 * conform/data/sys/msg.h-data: Likewise.
9214 * conform/data/sys/resource.h-data: Likewise.
9215 * conform/data/sys/select.h-data: Likewise.
9216 * conform/data/sys/sem.h-data: Likewise.
9217 * conform/data/sys/shm.h-data: Likewise.
9218 * conform/data/sys/socket.h-data: Likewise.
9219 * conform/data/sys/stat.h-data: Likewise.
9220 * conform/data/sys/statvfs.h-data: Likewise.
9221 * conform/data/sys/time.h-data: Likewise.
9222 * conform/data/sys/timeb.h-data: Likewise.
9223 * conform/data/sys/times.h-data: Likewise.
9224 * conform/data/sys/types.h-data: Likewise.
9225 * conform/data/sys/uio.h-data: Likewise.
9226 * conform/data/sys/un.h-data: Likewise.
9227 * conform/data/sys/utsname.h-data: Likewise.
9228 * conform/data/sys/wait.h-data: Likewise.
9229 * conform/data/syslog.h-data: Likewise.
9230 * conform/data/tar.h-data: Likewise.
9231 * conform/data/termios.h-data: Likewise.
9232 * conform/data/utime.h-data: Likewise.
9233 * conform/data/utmpx.h-data: Likewise.
9234 * conform/data/varargs.h-data: Likewise.
9235 * conform/data/wchar.h-data: Likewise.
9236 * conform/data/wctype.h-data: Likewise.
9237 * conform/data/wordexp.h-data: Likewise.
9238
9239 * include/stropts.h: New file.
9240 * include/uchar.h: New file.
9241 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9242 * include/assert.h: Likewise.
9243 * include/ctype.h: Likewise.
9244 * include/dirent.h: Likewise.
9245 * include/dlfcn.h: Likewise.
9246 * include/fcntl.h: Likewise.
9247 * include/fnmatch.h: Likewise.
9248 * include/glob.h: Likewise.
9249 * include/grp.h: Likewise.
9250 * include/libio.h: Likewise.
9251 * include/locale.h: Likewise.
9252 * include/math.h: Likewise.
9253 * include/net/if.h: Likewise.
9254 * include/netdb.h: Likewise.
9255 * include/netinet/in.h: Likewise.
9256 * include/pthread.h: Likewise.
9257 * include/pwd.h: Likewise.
9258 * include/regex.h: Likewise.
9259 * include/sched.h: Likewise.
9260 * include/search.h: Likewise.
9261 * include/setjmp.h: Likewise.
9262 * include/signal.h: Likewise.
9263 * include/stdio.h: Likewise.
9264 * include/stdlib.h: Likewise.
9265 * include/string.h: Likewise.
9266 * include/sys/cdefs.h: Likewise.
9267 * include/sys/mman.h: Likewise.
9268 * include/sys/msg.h: Likewise.
9269 * include/sys/resource.h: Likewise.
9270 * include/sys/select.h: Likewise.
9271 * include/sys/socket.h: Likewise.
9272 * include/sys/stat.h: Likewise.
9273 * include/sys/statvfs.h: Likewise.
9274 * include/sys/time.h: Likewise.
9275 * include/sys/times.h: Likewise.
9276 * include/sys/uio.h: Likewise.
9277 * include/sys/utsname.h: Likewise.
9278 * include/sys/wait.h: Likewise.
9279 * include/termios.h: Likewise.
9280 * include/time.h: Likewise.
9281 * include/ulimit.h: Likewise.
9282 * include/unistd.h: Likewise.
9283 * include/utime.h: Likewise.
9284 * include/wchar.h: Likewise.
9285 * include/wctype.h: Likewise.
9286 * include/wordexp.h: Likewise.
9287
9288 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9289
7a270350
UD
9290 * time/time.h: TIME_UTC must be a macro.
9291 Make timespec_get available for ISO C11 only as well.
9292
7724defc
UD
92932012-02-24 Ulrich Drepper <drepper@gmail.com>
9294
9295 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9296 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9297
6b1d1d46
JM
92982012-02-24 Joseph Myers <joseph@codesourcery.com>
9299
9300 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9301
0f8bbd69
JM
93022012-02-24 Joseph Myers <joseph@codesourcery.com>
9303
9304 * manual/texinfo.tex: Update to version 2012-01-19.16.
9305
66ab80bc
JM
93062012-02-24 Joseph Myers <joseph@codesourcery.com>
9307
9308 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9309
74981cc5
RM
93102012-02-24 Roland McGrath <roland@hack.frob.com>
9311
ee968201
RM
9312 [BZ #13738]
9313 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9314 * manual/fdl-1.3.texi: New file.
9315 * manual/fdl-1.1.texi: File removed.
9316
74981cc5
RM
9317 [BZ #13738]
9318 * manual/libc.texinfo (FDL_VERSION): New @set.
9319 Use it for mention of FDL in cover text.
9320 (Documentation License): Use it in @include file name.
9321
7bb764bc
JM
93222012-02-22 Joseph Myers <joseph@codesourcery.com>
9323 Roland McGrath <roland@hack.frob.com>
9324
9325 [BZ #5461]
9326 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9327 not LONG_LONG_MAX and LONG_LONG_MIN.
9328 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9329 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9330 name.
9331 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9332
6cbeae47
JM
93332012-02-22 Joseph Myers <joseph@codesourcery.com>
9334
9335 [BZ #2547]
9336 [BZ #11365]
9337 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9338 manipulate bits before adding and subtracting TWO23[sx].
9339 * math/libm-test.inc (nearbyint_test): Add more tests.
9340
fe45ce09
JM
93412012-02-22 Joseph Myers <joseph@codesourcery.com>
9342
9343 [BZ #2548]
9344 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9345 bits before adding and subtracting TWO23[sx].
9346 * math/libm-test.inc (rint_test): Add more tests.
9347 (rint_test_tonearest): Likewise.
9348 (rint_test_towardzero): Likewise.
9349 (rint_test_downward): Likewise.
9350 (rint_test_upward: Likewise.
9351
ff3b3d82
JM
93522012-02-22 Joseph Myers <joseph@codesourcery.com>
9353
9354 [BZ #10110]
9355 * include/stdc-predef.h: New file. Extracted from features.h.
9356 * include/features.h: Include stdc-predef.h.
9357 * Makefile (headers): Add stdc-predef.h.
9358 * CONFORMANCE (Compiler limitations): Update.
9359
ef0aab35
JM
93602012-02-22 Joseph Myers <joseph@codesourcery.com>
9361
9362 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9363
58639409
DM
93642012-02-21 David S. Miller <davem@davemloft.net>
9365
9366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9367 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9368
c0e70b25
DM
93692012-02-20 David S. Miller <davem@davemloft.net>
9370
9371 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9372 using a normal save/restore sequence, rather than allocating a
9373 dummy stack frame just to store a frame pointer and restore.
9374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9375
fb06851d
JM
93762012-02-21 Joseph Myers <joseph@codesourcery.com>
9377
9378 * manual/install.texi: Fix stray word in line-wrapped comment.
9379
7a8b71c3
DM
93802012-02-20 David S. Miller <davem@davemloft.net>
9381
d510c123
DM
9382 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9383 both binutils and gcc support GOTDATA.
9384
0722d7c2
DM
9385 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9386 "rd %pc" in the PIC register setup sequences.
9387
3d2b3019
DM
9388 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9389 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9390 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9391 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9392 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9397 (SYSCALL_ERROR_HANDLER): Likewise.
9398 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9399 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9401 (SYSCALL_ERROR_HANDLER): Likewise.
9402
c80098a9
DM
9403 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9404 (HAVE_GCC_GOTDATA): New.
9405 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9406 relocation support in both binutils and gcc.
9407 * sysdeps/sparc/elf/configure: Regenerate.
9408
3a2545a0
DM
9409 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9410 * sysdeps/sparc/sparc32/elf/configure: Delete.
9411 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9412 * sysdeps/sparc/sparc64/elf/configure: Delete.
9413 * sysdeps/sparc/elf/configure.in: New file.
9414 * sysdeps/sparc/elf/configure: Generate.
9415
7a8b71c3
DM
9416 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9417 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9418 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9419 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9420 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9421
f1e86fca
JM
94222012-02-21 Joseph Myers <joseph@codesourcery.com>
9423
9424 * manual/install.texi: Do not mention specific glibc version
9425 numbers.
9426 * manual/libc.texinfo (VERSION, UPDATED): Update.
9427 (@copying): Use @copyright{} and range of years.
9428
0e7dfaef
JM
94292012-02-21 Joseph Myers <joseph@codesourcery.com>
9430
9431 [BZ #13695]
9432 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9433 [crti.S not in sysdirs] (generated): Do not append.
9434 [crti.S not in sysdirs] (omit-deps): Likewise.
9435 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9436 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9437 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9438 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9439 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9440 Likewise.
9441 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9442 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9443 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9444 * csu/defs.awk: Remove file.
9445 * sysdeps/generic/initfini.c: Likewise.
9446 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9447 variable.
9448 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9449 Likewise.
9450
599af3ca
JM
94512012-02-20 Joseph Myers <joseph@codesourcery.com>
9452
9453 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9454 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9458 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9459 <bits/epoll.h>.
9460 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9461 (__EPOLL_PACKED): Define to empty if not defined by
9462 <bits/epoll.h>.
9463 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9465 bits/epoll.h.
9466
0e499750
JM
94672012-02-20 Joseph Myers <joseph@codesourcery.com>
9468
9469 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9470 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9472 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9473 <bits/timerfd.h>.
9474 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9476 bits/timerfd.h.
9477
5ad91f6e
JM
94782012-02-20 Joseph Myers <joseph@codesourcery.com>
9479
9480 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9481 in C locale.
9482 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9483 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9484 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9486
06b99b02
AJ
94872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9488
9489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9490 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9491
7638c0fd
AS
94922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9493
9494 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9495 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9496 defined.
9497 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9498 Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9500 entry for 2.16.
9501
92221550
AJ
95022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9503
9504 * math/w_acos.c: Use non-signaling floating-point comparisons.
9505 * math/w_acosf.c: Likewise.
9506 * math/w_acosh.c: Likewise.
9507 * math/w_acoshf.c: Likewise.
9508 * math/w_acoshl.c: Likewise.
9509 * math/w_acosl.c: Likewise.
9510 * math/w_asin.c: Likewise.
9511 * math/w_asinf.c: Likewise.
9512 * math/w_asinl.c: Likewise.
9513 * math/w_atanh.c: Likewise.
9514 * math/w_atanhf.c: Likewise.
9515 * math/w_atanhl.c: Likewise.
9516 * math/w_exp2.c: Likewise.
9517 * math/w_exp2f.c: Likewise.
9518 * math/w_exp2l.c: Likewise.
9519 * math/w_j0.c: Likewise.
9520 * math/w_j0f.c: Likewise.
9521 * math/w_j0l.c: Likewise.
9522 * math/w_j1.c: Likewise.
9523 * math/w_j1f.c: Likewise.
9524 * math/w_j1l.c: Likewise.
9525 * math/w_jn.c: Likewise.
9526 * math/w_jnf.c: Likewise.
9527 * math/w_log.c: Likewise.
9528 * math/w_log10.c: Likewise.
9529 * math/w_log10f.c: Likewise.
9530 * math/w_log10l.c: Likewise.
9531 * math/w_log2.c: Likewise.
9532 * math/w_log2f.c: Likewise.
9533 * math/w_log2l.c: Likewise.
9534 * math/w_logf.c: Likewise.
9535 * math/w_logl.c: Likewise.
9536 * math/w_sqrt.c: Likewise.
9537 * math/w_sqrtf.c: Likewise.
9538 * math/w_sqrtl.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9541 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9542 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9544
ebaf36eb
JM
95452012-02-19 Joseph Myers <joseph@codesourcery.com>
9546
9547 [BZ #9739]
9548 * manual/string.texi (strnlen): Use correct parameter name in
9549 equivalent expression.
9550
71c254a6
JM
95512012-02-19 Joseph Myers <joseph@codesourcery.com>
9552
9553 [BZ #11174]
9554 * manual/users.texi (seteuid): Consistently use neweuid for
9555 argument name.
9556
16d2c631
JM
95572012-02-19 Joseph Myers <joseph@codesourcery.com>
9558
9559 [BZ #13704]
9560 * manual/nss.texi (Services in the NSS configuration): Correct
9561 list of services in example configuration file.
9562
cd837b09
NB
95632012-02-19 Nick Bowler <nbowler@draconx.ca>
9564
9565 [BZ #11322]
9566 * manual/arith.texi: Remove statements about negative zero
9567 behaving identically to zero.
9568
02c4bbad
JM
95692012-02-18 Joseph Myers <joseph@codesourcery.com>
9570
9571 [BZ #5993]
9572 * manual/install.texi: Do not document upgrading from libc5.
9573
366842e7
JM
95742012-02-18 Joseph Myers <joseph@codesourcery.com>
9575
9576 [BZ #4596]
9577 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9578
dd54084d
DM
95792012-02-18 David S. Miller <davem@davemloft.net>
9580
9581 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9582 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9583 %o7 across the call.
9584 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9585 instead.
9586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9587 SETUP_PIC_REG_LEAF.
9588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9589 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9590 * sysdeps/sparc/crtn.S: Likewise.
9591
2bcc53a3
UD
95922012-02-17 Ulrich Drepper <drepper@gmail.com>
9593
9594 * aout/Makefile: Remove.
9595
09c093b5
RK
95962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9597
9598 [BZ #13058]
9599 * manual/examples/argp-ex1.c (main): Format definition in GNU
9600 style.
9601 * manual/examples/argp-ex2.c (main): Likewise.
9602 * manual/examples/argp-ex3.c (main): Likewise.
9603 * manual/examples/argp-ex4.c (main): Likewise.
9604 * manual/examples/longopt.c (main): Use new-style prototype
9605 definition.
9606 * manual/examples/strncat.c (main): Specify return type and use
9607 (void) for arguments.
9608 * manual/examples/subopt.c (main): Use char **argv argument.
9609
2ee633a2
JM
96102012-02-17 Joseph Myers <joseph@codesourcery.com>
9611
9612 [BZ #5077]
9613 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9614 rounding modes.
9615
0520adde
FB
96162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9617
9618 [BZ #6907]
9619 * manual/string.texi (strchr): Change when strchrnul is
9620 recommended.
9621
3f4081cd
DGM
96222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9623
9624 [BZ #174]
9625 * manual/locale.texi (setlocale): Document LOCPATH.
9626
d1b10e78
JM
96272012-02-17 Joseph Myers <joseph@codesourcery.com>
9628
9629 [BZ #10210]
9630 * manual/process.texi (execle): Move @dots{} before last argument.
9631
79c6869c
PB
96322012-02-17 Paul Bolle <pebolle@tiscali.nl>
9633
9634 [BZ #12047]
9635 * manual/charset.texi (Generic Charset Conversion): Fix typo
9636 (LC_TYPE -> LC_CTYPE).
9637
cc6e48bc
NB
96382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9639
9640 [BZ #5805]
9641 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9642 (scalbnf): Likewise.
9643 (scalbnl): Likewise.
9644 (scalbln): Likewise.
9645 (scalblnf): Likewise.
9646 (scalblnl): Likewise.
9647 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9648 (vwarnx): Likewise.
9649 (verr): Likewise.
9650 (verrx): Likewise.
9651 * manual/filesys.texi (telldir): Use braces around return type.
9652 * manual/llio.texi (mmap): Add space after comma.
9653 (mmap64): Likewise.
9654 * manual/math.texi (jn): Use @var{} on parameter names.
9655 (jnf): Likewise.
9656 (jnl): Likewise.
9657 (yn): Likewise.
9658 (ynf): Likewise.
9659 (ynl): Likewise.
9660 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9661 line.
9662 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9663 "...".
9664 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9665 (sched_get_priority_max): Likewise.
9666 * manual/signal.texi (sigvec): Add space after comma.
9667 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9668 names.
9669 (if_indextoname): Likewise.
9670 (if_freenameindex): Likewise.
9671 (sendto): Use ',' instead of '.' in prototype.
9672 * manual/startup.texi (syscall): Use @dots{} instead of literal
9673 "...".
9674 * manual/stdio.texi (__fpending): Separate initial words of
9675 paragraph from @deftypefun line.
9676 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9677 "...".
9678 (vsyslog): Use @var{} on parameter names.
9679 * manual/terminal.texi (stty): Use @var{} on parameter names.
9680 * manual/users.texi (getutmp): Use @var{} on parameter names.
9681 (getutmpx): Likewise.
9682
5b23062f
JM
96832012-02-17 Joseph Myers <joseph@codesourcery.com>
9684
9685 [BZ #6884]
9686 * manual/stdio.texi (fopen): Fix typos in description of
9687 ",ccs=STRING".
9688
8dee4833
AJ
96892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9690
9691 [BZ #4026]
9692 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9693 get clock_id definition.
9694
9078ce93
TS
96952012-02-17 Thomas Schwinge <thomas@schwinge.name>
9696
9697 [BZ #4822]
9698 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9699 (madvise): Cast every argument to void on its own.
9700
3835c55f
JM
97012012-02-17 Joseph Myers <joseph@codesourcery.com>
9702
9703 [BZ #9902]
9704 * manual/startup.texi (Exit Status): Fix typo.
9705
35c47e37
JM
97062012-02-17 Joseph Myers <joseph@codesourcery.com>
9707
9708 [BZ #10140]
9709 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9710 * manual/examples/argp-ex2.c: Likewise.
9711 * manual/examples/argp-ex3.c: Likewise.
9712
e3b69ca7
RH
97132012-02-16 Richard Henderson <rth@redhat.com>
9714
9715 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9716 * sysdeps/s390/s390-32/initfini.c: Remove.
9717 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9718 * sysdeps/s390/s390-64/initfini.c: Remove.
9719
df83af67
KK
97202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9721
9722 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9723 compiler output for sysdeps/generic/initfini.c.
9724 * sysdeps/sh/elf/initfini.c: Remove file.
9725
f63f3380
DM
97262012-02-16 David S. Miller <davem@davemloft.net>
9727
fb59b3a4
DM
9728 [BZ #11494]
9729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9730
f63f3380
DM
9731 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9732 * sysdeps/sparc/crti.S: New file.
9733 * sysdeps/sparc/crtn.S: New file.
9734 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9735 * sysdeps/sparc/sparc64/Makefile: Likewise.
9736
df6a4a4a
MF
97372012-02-15 Mike Frysinger <vapier@gentoo.org>
9738
6dd8f3dc 9739 [BZ #3335]
df6a4a4a
MF
9740 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9741
1cac7236
RM
97422012-02-15 Roland McGrath <roland@hack.frob.com>
9743
d2c736f8
RM
9744 [BZ #4822]
9745 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9746
1cac7236
RM
9747 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9748 (write, read, close): Likewise.
9749 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9750
8e475601
JM
97512012-02-15 Joseph Myers <joseph@codesourcery.com>
9752
9753 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9754 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9755 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9756 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9757 <bits/signalfd.h>.
9758 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9760 bits/signalfd.h.
9761
ed656b40
MP
97622012-02-14 Marek Polacek <polacek@redhat.com>
9763
9764 * sysdeps/x86_64/crti.S: New file.
9765 * sysdeps/x86_64/crtn.S: New file.
9766 * sysdeps/x86_64/elf/initfini.c: Remove file.
9767
2a979d3a
JM
97682012-02-13 Joseph Myers <joseph@codesourcery.com>
9769
9770 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9771 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9772 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9773 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9774 <bits/inotify.h>.
9775 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9777 bits/inotify.h.
9778
2a418ac3
JM
97792012-02-13 Joseph Myers <joseph@codesourcery.com>
9780
9781 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9782 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9783 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9784 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9785 <bits/eventfd.h>.
9786 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9788 bits/eventfd.h.
9789
fb779be7
TS
97902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9791
e19e83c5
RM
9792 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9793 __feraiseexcept instead of feraiseexcept.
7c35ffed 9794
fb779be7
TS
9795 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9796 nanosleep invocations.
9797 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9798 strings, and add error checking for a nanosleep invocations.
9799
59ba27a6
PE
98002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9801
9802 Replace FSF snail mail address with URLs, as per GNU coding standards.
9803 Most of the snail mail addresses were wrong anyway, and omitting
9804 them makes the source code easier to maintain. Almost all of the
9805 changes are to license notices and to locale LC_IDENTIFICATION
9806 addresses, except for this one:
9807 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9808 not its snail mail address.
9809
57b957eb
RH
98102012-02-09 Richard Henderson <rth@twiddle.net>
9811
af850b1c
RH
9812 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9813 of kernel-features.h.
9814
57b957eb
RH
9815 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9816
6b73181a
MP
98172012-02-08 Marek Polacek <polacek@redhat.com>
9818
9819 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9820 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9821 * sysdeps/gnu/_G_config.h: Likewise.
9822 * sysdeps/generic/_G_config.h: Likewise.
9823
26ecc33a
AS
98242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9825
6c6dbc63
AS
9826 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9827 tests.
9828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9829
e216c012
AS
9830 * sysdeps/powerpc/powerpc32/crti.S: New file.
9831 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9832 * sysdeps/powerpc/powerpc64/crti.S: New file.
9833 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9834
26ecc33a
AS
9835 * Makeconfig (have-initfini): Don't set.
9836 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9837 * configure.in (nopic_initfini): Don't substitute.
9838 * config.h.in (HAVE_INITFINI): Don't #undef.
9839 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9840 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9841
3add8e13
JM
98422012-02-08 Joseph Myers <joseph@codesourcery.com>
9843
9844 Support crti.S and crtn.S provided directly by architectures.
9845 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9846 [crti.S in sysdirs] (omit-deps): Likewise.
9847 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9848 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9849 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9850 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9851 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9852 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9853 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9854 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9855 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9856 compiler output for sysdeps/generic/initfini.c.
9857 * sysdeps/i386/elf/Makefile: Remove file.
9858 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9859
a22f12b4
MP
98602012-02-07 Marek Polacek <polacek@redhat.com>
9861
9862 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9863 * sysdeps/gnu/_G_config.h: Likewise.
9864 * sysdeps/mach/hurd/_G_config.h: Likewise.
9865
148cf100
MP
98662012-02-07 Marek Polacek <polacek@redhat.com>
9867
9868 * math/Makefile (tests): Add tst-CMPLX2.
9869 * math/tst-CMPLX2.c: New file.
9870
cfdc0dd7
AS
98712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9872
84ba42c4
AS
9873 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9874
cfdc0dd7
AS
9875 * math/libm-test.inc (jn_test): Add missing L suffix.
9876
622c86f4
MP
98772012-02-06 Marek Polacek <polacek@redhat.com>
9878
9879 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9880 * sysdeps/i386/fpu/e_powf.S: Likewise.
9881 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9882 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9883 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9884 * sysdeps/i386/fpu/e_pow.S: Likewise.
9885 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9887 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9888 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9889 * sysdeps/i386/fpu/e_log2.S: Likewise.
9890 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9891 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9892 * sysdeps/i386/fpu/e_powl.S: Likewise.
9893 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9894 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9895 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9896 * sysdeps/i386/fpu/e_logl.S: Likewise.
9897 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9898 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9899 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9900 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9901 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9902 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9903 * sysdeps/i386/fpu/e_log.S: Likewise.
9904 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9905 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9906 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9907 * sysdeps/i386/fpu/e_logf.S: Likewise.
9908 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9909 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9910 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9911 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9912 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9913 * sysdeps/i386/fpu/e_log10.S: Likewise.
9914 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9916 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9917 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9918 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9919 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9920 * sysdeps/i386/asm-syntax.h: Likewise.
9921 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9922 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9923 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9924 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9925 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9926 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9927 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9928 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9929 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9930 * sysdeps/powerpc/sysdep.h: Likewise.
9931 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9932 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9933
d4a54ac6
JM
99342012-02-06 Joseph Myers <joseph@codesourcery.com>
9935
9936 [BZ #411]
9937 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9938
314054ea
JM
99392012-02-06 Joseph Myers <joseph@codesourcery.com>
9940
9941 * sysdeps/i386/sysdep.h: Include <features.h>.
9942 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9943 version.
9944
d8e0ca50
JM
99452012-02-05 Joseph Myers <joseph@codesourcery.com>
9946
9947 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9948 Define.
9949 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9950 LOAD_PIC_REG_STR.
9951
b1da7dd9
JM
99522012-02-03 Joseph Myers <joseph@codesourcery.com>
9953
9954 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9955 (SETUP_PIC_REG): Use GET_PC_THUNK.
9956 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9957 macro.
9958
9a1d9254
JM
99592012-02-03 Joseph Myers <joseph@codesourcery.com>
9960
9961 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9962 for non-PIC compilation.
9963 (SETUP_PIC_REG): Add .p2align directive.
9964 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9965 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9966 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9967 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9969 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9970 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9971 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9972 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9973 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9974 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9975 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9976 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9977 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9978 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9979 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9980 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9981 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9982 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9983 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9984 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9985 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9986 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9987 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9988 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9990 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9992 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9993 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9994 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9996 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9997 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9998 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9999 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10000 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10001 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10002 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10003 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10004 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10005
65dc3b75
JM
100062012-02-03 Joseph Myers <joseph@codesourcery.com>
10007
10008 * math/tst-CMPLX.c: Include <stdio.h>.
10009
d55bf177
JM
100102012-01-31 Joseph Myers <joseph@codesourcery.com>
10011
10012 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10013 float.
10014 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10015 * sysdeps/sparc/bits/mathdef.h: Likewise.
10016
69db4f8f
MP
100172012-01-31 Marek Polacek <polacek@redhat.com>
10018
10019 * libio/libio.h: Don't define _PARAMS.
10020 * locale/programs/config.h: Don't define PARAMS.
10021 * stdlib/strtol_l.c: Likewise.
10022 (__strtol_l): Remove PARAMS from the prototype.
10023
41b81892
UD
100242012-01-31 Ulrich Drepper <drepper@gmail.com>
10025
3b49edc0
UD
10026 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10027 names. Just use the correct names. Remove unnecessary wrapper
10028 functions.
10029 * malloc/arena.c: Likewise.
10030 * malloc/hooks.c: Likewise.
10031
41b81892
UD
10032 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10033 ARENA_TEST says not to. Simplify test for creation of a new arena.
10034 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10035
27a25b6e
UD
100362012-01-30 Ulrich Drepper <drepper@gmail.com>
10037
10038 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10039 into tail calls.
10040 (update_get_addr): New function.
10041 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10042 GET_ADDR_MODULE parameter.
10043
c8a89e7d
JM
100442012-01-30 Joseph Myers <joseph@codesourcery.com>
10045
10046 * crypt/cert.c: Remove __STDC__ conditionals.
10047 * crypt/crypt-entry.c: Likewise.
10048 * crypt/crypt_util.c: Likewise.
10049 * libio/filedoalloc.c: Likewise.
10050 * libio/fileops.c: Likewise.
10051 * libio/genops.c: Likewise.
10052 * libio/iofclose.c: Likewise.
10053 * libio/iofdopen.c: Likewise.
10054 * libio/iofopen.c: Likewise.
10055 * libio/iofopen64.c: Likewise.
10056 * libio/iogetdelim.c: Likewise.
10057 * libio/iopopen.c: Likewise.
10058 * libio/obprintf.c: Likewise.
10059 * libio/oldfileops.c: Likewise.
10060 * libio/oldiofclose.c: Likewise.
10061 * libio/oldiofdopen.c: Likewise.
10062 * libio/oldiofopen.c: Likewise.
10063 * libio/oldiopopen.c: Likewise.
10064 * libio/wfiledoalloc.c: Likewise.
10065 * libio/wgenops.c: Likewise.
10066 * locale/programs/xmalloc.c: Likewise.
10067 * misc/syslog.c: Likewise.
10068 * stdio-common/xbug.c: Likewise.
10069 * string/memchr.c: Likewise.
10070 * string/memcmp.c: Likewise.
10071 * string/memrchr.c: Likewise.
10072 * string/rawmemchr.c: Likewise.
10073 * sysdeps/posix/getcwd.c: Likewise.
10074 * time/strftime_l.c: Likewise.
10075
3b100462
JM
100762012-01-30 Joseph Myers <joseph@codesourcery.com>
10077
10078 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10079 * config.make.in (config-cflags-sse2avx): Define.
10080 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10081 Fix typo.
10082
607998af
CM
100832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10084
10085 * scripts/config.guess: Update from upstream config git repository.
10086 * scripts/config.sub: Likewise.
10087
3601428f
CM
100882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10089
3ac8b282
CM
10090 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10091 (EM_NUM): Update.
10092 (R_TILEPRO_*, R_TILEGX_*): New macros.
10093
e034841e
CM
10094 * scripts/firstversions.awk: Fix bug in version range handling.
10095
540d7568
CM
10096 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10097
3601428f
CM
10098 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10099
463de862
CM
10100 * include/sys/epoll.h: New file.
10101 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10102 libc_hidden_def.
10103
73139a76
UD
101042012-01-28 Ulrich Drepper <drepper@gmail.com>
10105
96bc5b45
UD
10106 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10107 Avoid unnecessary __WORDSIZE == 64 test.
10108 (fmaxf): Use VEX format if possible.
10109 (fmax): Likewise.
10110 (fminf): Likewise.
10111 (fmin): Likewise.
10112
56f6f6a2
UD
10113 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10114 * math/math_private.h: Remove libc_fegetround* and
10115 libc_fesetround*.
10116 * sysdeps/i386/configure.in: Check for -msse2avx.
10117 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10118 also if SSE2AVX is defined.
10119 Remove libc_fegetround* and libc_fesetround*.
10120 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10121 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10122 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10123 of HAS_YMM_USABLE.
10124 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10125 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10126 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10127 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10128 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10129
73139a76
UD
10130 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10131
d73f93a4
AZ
101322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10133
10134 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10135 size is not set.
10136 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10137
6ee65ed6
UD
101382012-01-27 Ulrich Drepper <drepper@gmail.com>
10139
10140 [BZ #13618]
10141 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10142 relocation.
10143 * Makeconfig (libm): Define.
10144 * elf/Makefile: Add rules to build and run tst-relsort1.
10145 * elf/tst-relsort1.c: New file.
10146 * elf/tst-relsort1mod1.c: New file.
10147 * elf/tst-relsort1mod2.c: New file.
10148
8db21882
JM
101492012-01-27 Joseph Myers <joseph@codesourcery.com>
10150
10151 * math/s_ldexp.c: Remove __STDC__ conditionals.
10152 * math/s_ldexpf.c: Likewise.
10153 * math/s_ldexpl.c: Likewise.
10154 * math/s_nextafter.c: Likewise.
10155 * math/s_nexttowardf.c: Likewise.
10156 * math/s_significand.c: Likewise.
10157 * math/s_significandf.c: Likewise.
10158 * math/s_significandl.c: Likewise.
10159 * math/w_jnl.c: Likewise.
10160 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10161 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10162 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10163 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10164 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10181 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10182 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10183 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10184 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10185 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10186 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10187 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10188 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10189 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10190 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10191 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10192 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10193 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10194 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10195 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10196 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10197 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10198 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10199 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10200 * sysdeps/ieee754/k_standard.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10262 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10267 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10280 * sysdeps/ieee754/s_matherr.c: Likewise.
10281 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10285
965a54a4
JM
102862012-01-26 Joseph Myers <joseph@codesourcery.com>
10287
10288 * crypt/md5.h: Remove __STDC__ conditionals.
10289 * libio/libioP.h: Likewise.
10290 * locale/programs/config.h: Likewise.
10291 * sysdeps/generic/sysdep.h: Likewise.
10292 * sysdeps/i386/asm-syntax.h: Likewise.
10293 * sysdeps/s390/asm-syntax.h: Likewise.
10294 * sysdeps/unix/sysdep.h: Likewise.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10297
7071ad79
JM
102982012-01-26 Joseph Myers <joseph@codesourcery.com>
10299
10300 * libio/libio.h: Remove __STDC__ conditionals.
10301 * malloc/obstack.h: Likewise.
10302 * math/complex.h: Likewise.
10303 * math/math.h: Likewise.
10304 * sysdeps/generic/_G_config.h: Likewise.
10305 * sysdeps/gnu/_G_config.h: Likewise.
10306 * sysdeps/mach/hurd/_G_config.h: Likewise.
10307 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10308 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10309 * sysdeps/sparc/bits/mathdef.h: Likewise.
10310
afc5ed09
UD
103112012-01-26 Ulrich Drepper <drepper@gmail.com>
10312
10313 [BZ #13583]
10314 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10315 Clean up HAS_* macros.
afc5ed09 10316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10317 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10318 possible.
10319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10320 HAS_AVX.
10321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10323 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10324 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10325 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10326
bdb6de1d
JM
103272012-01-25 Joseph Myers <joseph@codesourcery.com>
10328
10329 * elf/tst-unique3.cc (gets): Remove declaration.
10330 * elf/tst-unique3lib.cc (gets): Likewise.
10331 * elf/tst-unique3lib2.cc (gets): Likewise.
10332 * elf/tst-unique4.cc (gets): Likewise.
10333
b15549e6
UD
103342012-01-24 Ulrich Drepper <drepper@gmail.com>
10335
10336 * include/stdio.h: Add C++ protection. Add gets declarations and
10337 definitions.
10338 * debug/tst-chk1.c: Don't declare gets here.
10339 * stdio-common/tst-gets.c: Likewise.
10340
a037381f
JM
103412012-01-24 Joseph Myers <joseph@codesourcery.com>
10342
10343 * posix/glob: Remove directory.
10344
f1d4aa75
JM
103452012-01-24 Joseph Myers <joseph@codesourcery.com>
10346
10347 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10348
81c0c964
PT
103492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10350
10351 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10352 of the non-standard EPFNOSUPPORT.
10353
0ea698ae
ST
103542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10355
10356 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10357 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10358 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10359
d220b117
UD
103602012-01-21 Ulrich Drepper <drepper@gmail.com>
10361
10362 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10363
3e1aa84e
UD
103642012-01-20 Ulrich Drepper <drepper@gmail.com>
10365
10366 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10367 transient errors.
10368 * nscd/grpcache.c (cache_addgr): Likewise.
10369 * nscd/hstcache.c (cache_addhst): Likewise.
10370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10371 * nscd/pwdcache.c (cache_addpw): Likewise.
10372 * nscd/servicescache.c (cache_addserv): Likewise.
10373
400aa020
UD
103742012-01-16 Ulrich Drepper <drepper@gmail.com>
10375
d77e7869
UD
10376 * malloc/malloc.c: Various cleanups.
10377 * malloc/hooks.c: Likewise.
10378
400aa020
UD
10379 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10380 * stdlib/bug-fmtmsg1.c: New file.
10381
10382 * stdlib/fmtmsg.c (init): Add missing unlock.
10383 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10384
e0a309cf
MP
103852012-01-12 Marek Polacek <polacek@redhat.com>
10386
10387 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10388 and _GNU_SOURCE.
10389
929d11c7
WS
103902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10391
10392 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10393 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10394 macro to ensure uniqueness of label name.
10395 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10396 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10397
41d0e869
UD
103982012-01-11 Ulrich Drepper <drepper@gmail.com>
10399
0cc5ed3b
UD
10400 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10401
41d0e869
UD
10402 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10403 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10404 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10406
a47a831a
UD
104072012-01-10 Ulrich Drepper <drepper@gmail.com>
10408
daa891c0
UD
10409 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10410
10411 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10412 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10413 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10414
e58ef0f2
UD
10415 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10416
a47a831a 10417 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10418 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10421
10422 * math/bits/math-finite.h: Add ldexp support.
10423
a0bfc9c7
MP
104242012-01-10 Marek Polacek <polacek@redhat.com>
10425
10426 * locale/programs/localedef.h (show_archive_content): Add noreturn
10427 attribute.
10428
d6e97a1d
UD
104292012-01-09 Ulrich Drepper <drepper@gmail.com>
10430
10431 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10432
d5835c26
UD
104332012-01-08 Ulrich Drepper <drepper@gmail.com>
10434
e5f484c6
UD
10435 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10436
d5835c26
UD
10437 * io/Makefile (headers): Add bits/poll2.h.
10438
d1f741e9
WS
104392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10440
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10442 typo #include statement.
10443
ec09c1c4
UD
104442012-01-08 Ulrich Drepper <drepper@gmail.com>
10445
10446 * include/sys/cdefs.h: Define __attribute_alloc_size.
10447 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10448 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10449 * elf/pldd.c: Likewise.
10450 * iconv/iconv_charmap.c: Likewise.
10451 * iconv/iconvconfig.c: Likewise.
10452 * iconv/strtab.c: Likewise.
10453 * locale/programs/locale.c: Likewise.
10454 * locale/programs/localedef.h: Likewise.
10455 * locale/programs/simple-hash.c: Likewise.
10456 * nscd/nscd.h: Likewise.
10457 * nss/makedb.c: Likewise.
10458 * sysdeps/generic/ldconfig.h: Likewise.
10459 * locale/programs/localedef.c: Remove xmalloc prototype.
10460 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10461
20b38e03
PP
104622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10463
10464 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10465 appropriate.
10466
a0da5fe1
UD
104672012-01-08 Ulrich Drepper <drepper@gmail.com>
10468
1d5a644a 10469 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10470 * math/tst-CMPLX.c: New file.
1d5a644a 10471
8784a6db
UD
10472 * math/complex.h (CMPLXL): Fix typo.
10473
d9a216c0
UD
10474 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10475 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10476 GLIBC_2.16.
10477 * debug/tst-chk1.c: Add poll and ppoll tests.
10478 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10479 * include/sys/poll.h: Add hidden proto for ppoll.
10480 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10481 * sysdeps/mach/hurd/ppoll.c: Likewise.
10482 * io/ppoll.c: Likewise.
10483 * debug/poll_chk.c: New file.
10484 * debug/ppoll_chk.c: New file.
10485 * include/bits/poll2.h: New file.
10486 * io/bits/poll2.h: New file.
10487
ac097f5c
UD
10488 [BZ #1350]
10489 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10490
2119dcfa
UD
10491 * configure.in: static is always set to yes. Remove.
10492 * config.make.in: Don't set build-static.
10493 * Makeconfig: Remove use of build-static.
10494 * dlfcn/Makefile: Likewise.
10495 * elf/Makefile: Likewise.
10496 * math/Makefile: Likewise.
10497 * misc/Makefile: Likewise.
10498 * nptl/Makefile: Likewise.
10499 * sysdeps/mach/hurd/Makefile: Likewise.
10500
121766a9
UD
10501 * configure.in: PWD_P is not used anymore.
10502 * config.make.in: Remove PWD_P entry.
10503
51a1d39c 10504 * configure.in: Remove last remnants of RANLIB.
8720d066 10505 No need to check for signed size_t anymore.
215f4bdc
UD
10506 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10507 and IA-64.
3857022a 10508 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10509 * aclocal.m4: Likewise.
10510
d3ed7225
UD
10511 * wcsmbs/mbrtoc16.c: Implement using towc function.
10512 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10513 * wcsmbs/wcsmbsload.c: Likewise.
10514 * iconv/gconv_simple.c: Likewise.
10515 * iconv/gconv_int.h: Likewise.
10516 * iconv/gconv_builtin.h: Likewise.
10517 * iconv/iconv_prog.c: Remove CHAR16 handling.
10518
10519 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10520
10521 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10522
a0da5fe1
UD
10523 * configure.in: Remove --with-elf and --enable-bounded options.
10524 Dont set base_machine for ia64. More non-ELF conditions removed.
10525 Remove testing and setting of leading underscore information.
10526 * config.make.in (build-bounded): Set to no.
10527 * config.h.in: Remove NO_UNDERSCORES entry.
10528 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10529 them.
10530 * csu/start.c: Remove !NO_UNDERSCORE code.
10531 * locale/localeinfo.h: Likewise.
10532 * sysdeps/generic/machine-gmon.h: Likewise.
10533 * sysdeps/generic/sysdep.h: Likewise.
10534 * sysdeps/i386/sysdep.h: Likewise.
10535 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10536 * sysdeps/mach/sysdep.h: Likewise.
10537 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10538 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10539 * sysdeps/sh/sysdep.h: Likewise.
10540 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10541 * sysdeps/unix/i386/sysdep.S: Likewise.
10542 * sysdeps/unix/sparc/start.c: Likewise.
10543 * sysdeps/unix/sparc/sysdep.S: Likewise.
10544 * sysdeps/unix/sparc/sysdep.h: Likewise.
10545 * sysdeps/unix/start.c: Likewise.
10546 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10547 * sysdeps/x86_64/sysdep.h: Likewise.
10548
df78418a
UD
105492012-01-07 Ulrich Drepper <drepper@gmail.com>
10550
a784e502
UD
10551 [BZ #13553]
10552 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10553 for non-gcc.
10554 * argp/argp-fmtstream.h: Use const instead __const.
10555 * argp/argp.h: Likewise.
10556 * assert/assert.h: Likewise.
10557 * bits/fenv.h: Likewise.
10558 * bits/sched.h: Likewise.
10559 * bits/sigset.h: Likewise.
10560 * bits/sigthread.h: Likewise.
10561 * catgets/nl_types.h: Likewise.
10562 * conform/data/pthread.h-data: Likewise.
10563 * crypt/crypt-private.h: Likewise.
10564 * crypt/crypt.h: Likewise.
10565 * crypt/crypt_util.c: Likewise.
10566 * ctype/ctype.h: Likewise.
10567 * debug/execinfo.h: Likewise.
10568 * debug/mbsnrtowcs_chk.c: Likewise.
10569 * debug/mbsrtowcs_chk.c: Likewise.
10570 * debug/wcsnrtombs_chk.c: Likewise.
10571 * debug/wcsrtombs_chk.c: Likewise.
10572 * debug/wcstombs_chk.c: Likewise.
10573 * dirent/dirent.h: Likewise.
10574 * dlfcn/dlfcn.h: Likewise.
10575 * elf/neededtest4.c: Likewise.
10576 * grp/grp.h: Likewise.
10577 * gshadow/gshadow.h: Likewise.
10578 * iconv/gconv.h: Likewise.
10579 * iconv/gconv_int.h: Likewise.
10580 * iconv/gconv_simple.c: Likewise.
10581 * iconv/iconv.h: Likewise.
10582 * iconv/loop.c: Likewise.
10583 * iconv/skeleton.c: Likewise.
10584 * include/aio.h: Likewise.
10585 * include/aliases.h: Likewise.
10586 * include/argz.h: Likewise.
10587 * include/arpa/inet.h: Likewise.
10588 * include/assert.h: Likewise.
10589 * include/dirent.h: Likewise.
10590 * include/dlfcn.h: Likewise.
10591 * include/execinfo.h: Likewise.
10592 * include/fcntl.h: Likewise.
10593 * include/fenv.h: Likewise.
10594 * include/glob.h: Likewise.
10595 * include/grp.h: Likewise.
10596 * include/libintl.h: Likewise.
10597 * include/mntent.h: Likewise.
10598 * include/netdb.h: Likewise.
10599 * include/pwd.h: Likewise.
10600 * include/rpc/netdb.h: Likewise.
10601 * include/sched.h: Likewise.
10602 * include/search.h: Likewise.
10603 * include/shadow.h: Likewise.
10604 * include/signal.h: Likewise.
10605 * include/stdio.h: Likewise.
10606 * include/stdlib.h: Likewise.
10607 * include/string.h: Likewise.
10608 * include/sys/socket.h: Likewise.
10609 * include/sys/stat.h: Likewise.
10610 * include/sys/statfs.h: Likewise.
10611 * include/sys/statvfs.h: Likewise.
10612 * include/sys/syslog.h: Likewise.
10613 * include/sys/time.h: Likewise.
10614 * include/sys/uio.h: Likewise.
10615 * include/time.h: Likewise.
10616 * include/unistd.h: Likewise.
10617 * include/utmp.h: Likewise.
10618 * include/wchar.h: Likewise.
10619 * include/wctype.h: Likewise.
10620 * inet/aliases.h: Likewise.
10621 * inet/arpa/inet.h: Likewise.
10622 * inet/netinet/ether.h: Likewise.
10623 * inet/netinet/in.h: Likewise.
10624 * intl/libintl.h: Likewise.
10625 * io/bits/fcntl2.h: Likewise.
10626 * io/fcntl.h: Likewise.
10627 * io/ftw.h: Likewise.
10628 * io/sys/poll.h: Likewise.
10629 * io/sys/stat.h: Likewise.
10630 * io/sys/statfs.h: Likewise.
10631 * io/sys/statvfs.h: Likewise.
10632 * io/utime.h: Likewise.
10633 * libio/bits/stdio.h: Likewise.
10634 * libio/bits/stdio2.h: Likewise.
10635 * libio/libio.h: Likewise.
10636 * libio/libioP.h: Likewise.
10637 * libio/stdio.h: Likewise.
10638 * locale/lc-ctype.c: Likewise.
10639 * locale/locale.h: Likewise.
10640 * login/utmp.h: Likewise.
10641 * malloc/arena.c: Likewise.
10642 * malloc/malloc.c: Likewise.
10643 * malloc/malloc.h: Likewise.
10644 * malloc/mcheck.c: Likewise.
10645 * malloc/mtrace.c: Likewise.
10646 * math/bits/mathcalls.h: Likewise.
10647 * math/fenv.h: Likewise.
10648 * math/math_private.h: Likewise.
10649 * misc/bits/error.h: Likewise.
10650 * misc/bits/syslog.h: Likewise.
10651 * misc/err.h: Likewise.
10652 * misc/error.h: Likewise.
10653 * misc/fstab.h: Likewise.
10654 * misc/mntent.h: Likewise.
10655 * misc/regexp.h: Likewise.
10656 * misc/search.h: Likewise.
10657 * misc/sgtty.h: Likewise.
10658 * misc/sys/mman.h: Likewise.
10659 * misc/sys/syslog.h: Likewise.
10660 * misc/sys/uio.h: Likewise.
10661 * misc/sys/xattr.h: Likewise.
10662 * misc/ttyent.h: Likewise.
10663 * nis/rpcsvc/ypclnt.h: Likewise.
10664 * nss/nss.h: Likewise.
10665 * posix/bits/unistd.h: Likewise.
10666 * posix/fnmatch.h: Likewise.
10667 * posix/glob.h: Likewise.
10668 * posix/sched.h: Likewise.
10669 * posix/spawn.h: Likewise.
10670 * posix/sys/wait.h: Likewise.
10671 * posix/unistd.h: Likewise.
10672 * posix/wordexp.h: Likewise.
10673 * pwd/pwd.h: Likewise.
10674 * resolv/netdb.h: Likewise.
10675 * resource/sys/resource.h: Likewise.
10676 * rt/aio.h: Likewise.
10677 * rt/bits/mqueue2.h: Likewise.
10678 * rt/mqueue.h: Likewise.
10679 * shadow/shadow.h: Likewise.
10680 * signal/signal.h: Likewise.
10681 * socket/send.c: Likewise.
10682 * socket/sendto.c: Likewise.
10683 * socket/sys/socket.h: Likewise.
10684 * stdio-common/printf.h: Likewise.
10685 * stdlib/bits/stdlib.h: Likewise.
10686 * stdlib/fmtmsg.h: Likewise.
10687 * stdlib/monetary.h: Likewise.
10688 * stdlib/stdlib.h: Likewise.
10689 * stdlib/ucontext.h: Likewise.
10690 * streams/stropts.h: Likewise.
10691 * string/argz.h: Likewise.
10692 * string/bits/string2.h: Likewise.
10693 * string/string.h: Likewise.
10694 * string/strings.h: Likewise.
10695 * sunrpc/rpc/auth.h: Likewise.
10696 * sunrpc/rpc/auth_des.h: Likewise.
10697 * sunrpc/rpc/clnt.h: Likewise.
10698 * sunrpc/rpc/netdb.h: Likewise.
10699 * sunrpc/rpc/pmap_clnt.h: Likewise.
10700 * sunrpc/rpc/xdr.h: Likewise.
10701 * sysdeps/generic/inttypes.h: Likewise.
10702 * sysdeps/generic/net/if.h: Likewise.
10703 * sysdeps/generic/sys/swap.h: Likewise.
10704 * sysdeps/gnu/net/if.h: Likewise.
10705 * sysdeps/gnu/utmpx.h: Likewise.
10706 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10707 * sysdeps/i386/i486/bits/string.h: Likewise.
10708 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10709 * sysdeps/s390/bits/string.h: Likewise.
10710 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10711 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10712 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10713 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10714 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10715 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10716 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10717 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10718 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10719 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10720 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10721 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10722 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10723 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10724 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10725 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10726 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10729 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10732 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10733 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10734 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10735 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10736 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10738 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10739 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10740 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10741 * sysvipc/sys/ipc.h: Likewise.
10742 * sysvipc/sys/msg.h: Likewise.
10743 * sysvipc/sys/sem.h: Likewise.
10744 * sysvipc/sys/shm.h: Likewise.
10745 * termios/termios.h: Likewise.
10746 * time/sys/time.h: Likewise.
10747 * time/time.h: Likewise.
10748 * wcsmbs/bits/wchar2.h: Likewise.
10749 * wcsmbs/uchar.h: Likewise.
10750 * wcsmbs/wchar.h: Likewise.
10751 * wctype/wctype.h: Likewise.
10752
0269750c
UD
10753 [BZ #13551]
10754 * Makeconfig: Remove all but ELF support including AIX support.
10755 * Makerules: Likewise.
10756 * config.h.in: Likewise.
10757 * config.make.in: Likewise.
10758 * configure: Likewise.
10759 * configure.in: Likewise.
10760 * csu/Makefile: Likewise.
10761 * csu/version.c: Likewise.
10762 * debug/Makefile: Likewise.
10763 * dlfcn/Makefile: Likewise.
10764 * elf/Makefile: Likewise.
10765 * extra-lib.mk: Likewise.
10766 * iconv/Makefile: Likewise.
10767 * include/libc-symbols.h: Likewise.
10768 * include/shlib-compat.h: Likewise.
10769 * resolv/Makefile: Likewise.
10770 * resolv/res_libc.c: Likewise.
10771 * rt/Makefile: Likewise.
10772 * sysdeps/i386/asm-syntax.h: Likewise.
10773 * sysdeps/i386/sysdep.h: Likewise.
10774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10775 * sysdeps/mach/sysdep.h: Likewise.
10776 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10777 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10778 * sysdeps/s390/asm-syntax.h: Likewise.
10779 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10780 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10781 * sysdeps/sh/sysdep.h: Likewise.
10782 * sysdeps/unix/sparc/sysdep.h: Likewise.
10783 * sysdeps/wordsize-32/divdi3.c: Likewise.
10784 * sysdeps/x86_64/sysdep.h: Likewise.
10785
00bbd29b
UD
10786 * argp/Versions: Remove _argp_unlock_xxx.
10787
10788 [BZ #13559]
10789 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10790 * abilist/libBrokenLocale.abilist: Likewise.
10791 * abilist/libanl.abilist: Likewise.
10792 * abilist/libc.abilist: Likewise.
10793 * abilist/libcrypt.abilist: Likewise.
10794 * abilist/libdl.abilist: Likewise.
10795 * abilist/libm.abilist: Likewise.
10796 * abilist/libnsl.abilist: Likewise.
10797 * abilist/libpthread.abilist: Likewise.
10798 * abilist/libresolv.abilist: Likewise.
10799 * abilist/librt.abilist: Likewise.
10800 * abilist/libthread_db.abilist: Likewise.
10801 * abilist/libutil.abilist: Likewise.
10802 * abilist/libnss_db.abilist: New file.
10803
10804 * scripts/abilist.awk: Add support for indirect functions.
10805
a2693a0e
UD
10806 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10807
3f05895f
UD
10808 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10809
ecb6fb48
UD
10810 * shlib-versions: Remove entries for ports architectures.
10811
664f8cb9
UD
10812 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10813 files in ports.
10814 * elf/stackguard-macros.h: Remove support for IA-64.
10815 * elf/tst-auditmod1.c: Likewise.
10816 * sysdeps/generic/ldsodefs.h: Likewise.
10817
7ae81d88
UD
10818 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10819 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10820 configure files.
10821
bdeba135
UD
10822 [BZ #13552]
10823 * configure.in: Remove --enable-omitfp support.
10824 * FAQ.in: Adjust.
10825 * config.make.in: Likewise.
10826 * Makeconfig: Likewise.
10827 * manual/install.texi: Likewise.
10828
d75a0a62
UD
10829 In case anyone cares, the IA-64 architecture could move to ports.
10830 * sysdeps/ia64/*: Removed.
10831 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10832 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10833
dcc9756b
UD
10834 [BZ #13555]
10835 * configure.in: Remove entries for unsupported architectures.
10836
d3761ebc 10837 [BZ #13533]
9954432e
UD
10838 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10839 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10840 routines.
10841 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10842 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10843 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10844 fall back to using wcrtomb.
10845 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10846 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10847 renaming.
10848 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10849 * wcsmbs/tst-c16c32-1.c: New file.
10850
10851 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10852 local variable.
10853
c3a87236
UD
10854 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10855
28926a1b
UD
10856 * elf/tst-unique3.cc: Add explicit declaration of gets.
10857 * elf/tst-unique3lib.cc: Likewise.
10858 * elf/tst-unique3lib2.cc: Likewise.
10859 * elf/tst-unique4.cc: Likewise.
10860
df78418a
UD
10861 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10862
8ecd6b2a
JM
108632012-01-06 Joseph Myers <joseph@codesourcery.com>
10864
10865 [BZ #13566]
10866 * assert/assert.h (static_assert): Don't define for C++.
10867 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10868 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10869
9f115170
UD
108702012-01-03 Ulrich Drepper <drepper@gmail.com>
10871
5e0d0300
UD
10872 * iconv/loop.c (single loop): Fix assertion in storing of
10873 remaining bytes.
10874
9f115170
UD
10875 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10876
81fb02b0
UD
108772012-01-01 Ulrich Drepper <drepper@gmail.com>
10878
10879 * posix/getconf.c: Update copyright year.
10880 * nss/getent.c: Likewise.
a316c1f6 10881 * nss/makedb.c: Likewise.
81fb02b0
UD
10882 * iconv/iconvconfig.c: Likewise.
10883 * iconv/iconv_prog.c: Likewise.
10884 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10885 * elf/pldd.c: Likewise.
10886 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10887 * catgets/gencat.c: Likewise.
10888 * csu/version.c: Likewise.
10889 * elf/ldd.bash.in: Likewise.
10890 * elf/sprof.c (print_version): Likewise.
10891 * locale/programs/locale.c: Likewise.
10892 * locale/programs/localedef.c: Likewise.
a316c1f6 10893 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10894 * nscd/nscd.c (print_version): Likewise.
10895 * debug/xtrace.sh: Likewise.
10896 * malloc/memusage.sh: Likewise.
10897 * malloc/mtrace.pl: Likewise.
10898 * debug/catchsegv.sh: Likewise.
10899
2ba92745
JJ
109002011-12-30 Jakub Jelinek <jakub@redhat.com>
10901
10902 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10903 pure attribute.
10904
dadebdae
UD
109052011-12-24 Ulrich Drepper <drepper@gmail.com>
10906
d3761ebc 10907 [BZ #13533]
db6af3eb
UD
10908 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10909 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10910 transformations.
10911 * iconv/gconv_int.h: Likewise.
10912 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10913 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10914 from libc for GLIBC_2.16.
10915 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10916 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10917 * wcsmbs/uchar.h: Really define mbstate_t.
10918 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10919 * wcsmbs/c16rtomb.c: New file.
10920 * wcsmbs/mbrtoc16.c: New file.
10921 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10922 for C/POSIX locale.
10923 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10924 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10925
dadebdae
UD
10926 * wcsmbs/wchar.h: Add missing __restrict.
10927
67371b56
UD
109282011-12-23 Ulrich Drepper <drepper@gmail.com>
10929
74033a25
UD
10930 [BZ #13532]
10931 * time/Makefile (routines): Add timespec_get.
10932 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10933 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10934 timespec for ISO C11.
10935 * time/timespec_get.c: New file.
10936 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10937 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10938
380d7e87
UD
10939 [BZ #13531]
10940 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10941 * stdlib/stdlib.h: Declare aligned_alloc.
10942 * Versions.def: Add GLIBC_2.16 for libc.
10943 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10944
4e9e7a35
UD
10945 [BZ 13527]
10946 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10947 ISO C11.
10948
380d7e87 10949 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10950 code.
10951
03a71829
UD
10952 [BZ #13528]
10953 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10954
839e283e
UD
10955 [BZ #13529]
10956 * assert/assert.h (static_assert): Define.
10957
ce5294e2 10958 * version.h: Update for 2.16 development version.
90fa7312 10959
8d44e150 10960 [BZ #13526]
d7809905
UD
10961 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10962 _ISOC11_SOURCE.
10963
c0da14cd
UD
10964 * version.h (RELEASE): Bump for 2.15 release.
10965 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10966
530a3249
MP
10967 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10968 Patch by Marek Polacek <mpolacek@redhat.com>.
10969
67371b56
UD
10970 * bits/byteswap.h: Protect long long constants with __extension__.
10971 * sysdeps/i386/bits/byteswap.h: Likewise.
10972 * sysdeps/ia64/bits/byteswap.h: Likewise.
10973 * sysdeps/s390/bits/byteswap.h: Likewise.
10974 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10975
15db4de1
LD
109762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10977
10978 [BZ #13540]
bbe315ea
LD
10979 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10980 destination buffer.
15db4de1
LD
10981 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10982
2b2596b1
MP
109832011-12-23 Marek Polacek <polacek@redhat.com>
10984
10985 * elf/dl-addr.c (determine_info): Add inline keyword.
10986 * elf/tst-auditmod4b.c (check_avx): Likewise.
10987 * elf/tst-auditmod6b.c (check_avx): Likewise.
10988 * elf/tst-auditmod6c.c (check_avx): Likewise.
10989 * elf/tst-auditmod7b.c (check_avx): Likewise.
10990
70c6c246
UD
109912011-12-23 Ulrich Drepper <drepper@gmail.com>
10992
10993 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10994 !__SSE_MATH__.
10995
c044cf14
LD
109962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10997
15db4de1 10998 [BZ #13540]
c044cf14
LD
10999 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11000 processing for last bytes.
11001
6b13d9d9
BH
110022011-08-06 Bruno Haible <bruno@clisp.org>
11003
d455f537
BH
11004 [BZ #13061]
11005 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11006 U+0385, not to U+1FEE.
11007
6b13d9d9
BH
11008 [BZ #13062]
11009 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11010 entry for U+00A5 U+0301.
11011
db910efd
UD
110122011-12-22 Ulrich Drepper <drepper@gmail.com>
11013
27deeafc
UD
11014 [BZ #13166]
11015 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11016 buffer for the output is too small.
11017
aed9d171
UD
11018 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11019 optimization.
11020
db910efd
UD
11021 [BZ #13185]
11022 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11023 SSE flags if possible.
11024
2bd779ae
LD
110252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11026
e7f9dac3 11027 [BZ #13540]
2bd779ae
LD
11028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11029 processing for last bytes.
11030
154bfc16
JM
110312011-12-22 Joseph Myers <joseph@codesourcery.com>
11032
11033 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11034 (syscall-list-default-options, syscall-list-default-condition)
11035 (syscall-list-includes): Define.
11036 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11037 list of ABIs and options and #if conditions for each ABI. Do not
11038 handle common syscalls between ABIs specially.
11039 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11040 Remove.
11041 (syscall-list-variants, syscall-list-32bit-options)
11042 (syscall-list-32bit-condition, syscall-list-64bit-options)
11043 (syscall-list-64bit-condition): Define.
11044 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11045 (syscall-list-variants, syscall-list-32bit-options)
11046 (syscall-list-32bit-condition, syscall-list-64bit-options)
11047 (syscall-list-64bit-condition): Define.
11048 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11049 Remove.
11050 (syscall-list-variants, syscall-list-32bit-options)
11051 (syscall-list-32bit-condition, syscall-list-64bit-options)
11052 (syscall-list-64bit-condition): Define.
11053 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11054 Remove.
11055 (syscall-list-variants, syscall-list-32bit-options)
11056 (syscall-list-32bit-condition, syscall-list-64bit-options)
11057 (syscall-list-64bit-condition): Define.
11058
21eaf3a5
UD
110592011-12-22 Ulrich Drepper <drepper@gmail.com>
11060
16c6f992
UD
11061 * locale/iso-639.def: Add brx entry.
11062
41043168
UD
11063 [BZ #13328]
11064 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11065 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11066
21eaf3a5
UD
11067 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11068 __feraiseexcept_renamed.
11069
e3a851a2
UD
110702011-12-21 Ulrich Drepper <drepper@gmail.com>
11071
4920765e
UD
11072 [BZ #13538]
11073 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11074 EPOLLET with unsigned values.
11075 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11076 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11077
e3a851a2
UD
11078 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11079 to large cancellation.
11080 * math/s_cacoshf.c: Likewise.
11081 * math/s_cacoshl.c: Likewise.
11082
b27e24b8
RK
110832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11084
11085 [BZ #13305]
aebefeee 11086 [BZ #12786]
b27e24b8
RK
11087 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11088 * math/s_cacoshf.c: Likewise.
11089 * math/s_cacoshl.c: Likewise.
11090
ee190f67
UD
110912011-12-21 Ulrich Drepper <drepper@gmail.com>
11092
11093 [BZ #13439]
11094 * iconv/gconv.h: Define __GCONV_SWAP.
11095 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11096 * iconvdata/utf-16.c: Likewise.
11097 * iconvdata/utf-32.c: Likewise.
11098
707f25df
AS
110992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 [BZ #13524]
11102 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11103 numerator after shifting it by one limb.
11104
d2daaa1e
RÁE
111052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11106
11107 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11108 under [__USE_EXTERN_INLINES].
11109
a4647e72
UD
111102011-12-17 Ulrich Drepper <drepper@gmail.com>
11111
11112 [BZ #13446]
11113 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11114
f0b264f1
AZ
111152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11116
11117 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11118 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11119 optimized code.
11120 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11121 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11122 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11123 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11124 for strncasecmp/strncasecmp_l compilation.
11125 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11126 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11127
8ef4f244
MP
111282011-12-08 Marek Polacek <mpolacek@redhat.com>
11129
11130 [BZ #13484]
11131 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11132 of __asm__.
11133
97ac2654
UD
111342011-12-17 Ulrich Drepper <drepper@gmail.com>
11135
11136 [BZ #13506]
11137 * time/tzfile.c (__tzfile_read): Check values from file header.
11138
91d2a845
WS
111392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11140
11141 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11142 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11143 * powerpc/powerpc32/dl-start.S: Likewise.
11144 * powerpc/powerpc32/elf/start.S: Likewise.
11145 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11146 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11147 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11148 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11149 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11150 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11151 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11152 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11153 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11154 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11155 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11156 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11157 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11158 * powerpc/powerpc32/memset.S: Likewise.
11159 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11160 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11161 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11162 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11163 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11164 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11165 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11166 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11167 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11168 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11169 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11170 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11171 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11172
a1267ba1
AZ
111732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11174
11175 * math/libm-test.inc: Added more nearbyint tests.
11176 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11177 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11178 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11179 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11180
ad8ac1bd
RL
111812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11182
11183 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11184 FD_CLOEXEC.
11185
1d3e4b61
UD
111862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11187
11188 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11189 Add wcscpy-ssse3 wcscpy-c.
11190 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11191 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11192 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11193 * sysdeps/x86_64/wcschr.S: New file.
11194 * sysdeps/x86_64/wcsrchr.S: New file.
11195 * string/test-strcmp.c: Remove checking of wcscmp function for
11196 wrong alignments.
11197 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11198 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11199 wcsrchr-sse2 wcsrchr-c.
11200 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11201 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11202 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11203 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11204 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11205 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11206 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11207 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11208 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11209 * wcsmbc/wcschr.c (WCSCHR): New macro.
11210
5b330a2d
UD
112112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11212
11213 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11214 * wcsmbs/test-wcsrchr.c: New file.
11215 * string/test-strrchr.c: Add wcsrchr support.
11216 (WIDE): New macro.
11217 * wcsmbs/test-wcscpy.c: New file.
11218 * string/test-strcpy.c: Add wcscpy support.
11219 (WIDE): New macro.
26428b7c 11220
f039c043
UD
112212011-12-10 Ulrich Drepper <drepper@gmail.com>
11222
11223 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11224 the inner loop.
11225
850fb039
AS
112262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11227
11228 [BZ #13472]
11229 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11230
4efbd5cb
UD
112312011-12-04 Ulrich Drepper <drepper@gmail.com>
11232
52ff5dd0 11233 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11234 Minor optimizations.
52ff5dd0 11235
4efbd5cb
UD
11236 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11237 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11238 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11239
8a426e12
UD
112402011-12-03 Ulrich Drepper <drepper@gmail.com>
11241
aff2453d
UD
11242 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11243 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11244 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11245 for gcc to avoid warnings.
11246 * inet/Makefile (tests): Add tst-checks.
11247 * inet/tst-checks.c: New file.
11248
11249 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11250 warning.
11251
11252 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11253 __wmemcmp_sse2.
11254
11255 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11256 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11257
8a426e12
UD
11258 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11259
9bea3473
UD
112602011-12-02 Ulrich Drepper <drepper@gmail.com>
11261
3a965496
UD
11262 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11263 problem.
11264
9bea3473
UD
11265 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11266
f101631b
UD
112672011-11-29 Joseph Myers <joseph@codesourcery.com>
11268
11269 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11270 conditional on GCC version.
11271 (__arch_compare_and_exchange_val_8_acq)
11272 (__arch_compare_and_exchange_val_16_acq)
11273 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11274 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11275 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11276
a98275aa
UD
112772011-12-02 Joseph Myers <joseph@codesourcery.com>
11278
11279 * sysdeps/sh/backtrace.c: New file.
11280
d4cc29a2
AS
112812011-12-02 Andreas Schwab <schwab@redhat.com>
11282
11283 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11284 parenthesis.
11285
6257af2d
AS
112862011-12-01 Andreas Schwab <schwab@redhat.com>
11287
11288 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11289 falling back to utime.
11290
b5f44c1a
AS
112912011-11-30 Andreas Schwab <schwab@redhat.com>
11292
11293 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11294 expectations for float.
11295
f3a6cc0a
AS
112962011-11-29 Andreas Schwab <schwab@redhat.com>
11297
11298 * locale/weight.h (findidx): Add parameter len.
11299 * locale/weightwc.h (findidx): Likewise.
11300 * posix/fnmatch_loop.c (FCT): Adjust caller.
11301 * posix/regcomp.c (build_equiv_class): Likewise.
11302 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11303 * posix/regexec.c (check_node_accept_bytes): Likewise.
11304 * string/strcoll_l.c (STRCOLL): Likewise.
11305 * string/strxfrm_l.c (STRXFRM): Likewise.
11306
9d65ea3a
UD
113072011-11-17 Ulrich Drepper <drepper@gmail.com>
11308
11309 * Makefile.in: Remove CVSOPT handling.
11310 * configure.in: Remove use of AC_REVISION.
11311 * iconvdata/Makefile (distribute): No need to filter out CVS.
11312 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11313 handling.
11314
5583a086
AS
113152011-11-16 Andreas Schwab <schwab@redhat.com>
11316
11317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11318 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11319 [USE_AS_STRNCASECMP_L]: Likewise.
11320 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11321 NO_TLS_DIRECT_SEG_REFS.
11322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11323 Fix argument offsets for non-PIC.
11324 [USE_AS_STRNCASECMP_L]: Likewise.
11325 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11326 NO_TLS_DIRECT_SEG_REFS.
11327
d62a8200
UD
113282011-11-15 Ulrich Drepper <drepper@gmail.com>
11329
9d65ea3a 11330 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11331 O_CLOEXEC.
11332 * locale/loadlocale.c (_nl_load_locale): Likewise.
11333
09f93bd3
AS
113342011-11-15 Andreas Schwab <schwab@redhat.com>
11335
446514f9
AS
11336 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11337 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11338 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11339 (SYSCALL_GETTIME): Set errno on error.
11340
09f93bd3
AS
11341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11342 count references to noai6ai_cached.
11343
312be3f9
UD
113442011-11-15 Ulrich Drepper <drepper@gmail.com>
11345
11346 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11347
11348 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11349 FD_CLOEXEC for /proc/self/maps.
11350
11351 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11352 FD_CLOEXEC for /proc/meminfo.
11353
11354 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11355 gai.conf.
11356
11357 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11358 FD_CLOEXEC for given file.
11359
11360 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11361
11362 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11363 FD_CLOEXEC for /etc/hosts.
11364 (_gethtent): Likewise.
11365
11366 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11367
11368 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11369 cancellation and set FD_CLOEXEC for /etc/netgroup.
11370
11371 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11372 reading /etc/publickey.
11373
11374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11375 allow cancellation when reading /etc/group.
11376
11377 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11378 cancellation.
11379 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11380
11381 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11382 when using data file.
11383
11384 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11385
11386 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11387 (write_nis_obj): Use "c" and "e" in fopen.
11388
11389 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11390
11391 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11392
11393 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11394
11395 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11396
11397 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11398 locale.alias.
11399
11400 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11401
11402 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11403
11404 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11405
11406 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11407 file parsing and set FD_CLOEXEC.
11408
82af0fa8
UD
114092011-11-14 Ulrich Drepper <drepper@gmail.com>
11410
11411 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11412
a5fb313c
AS
114132011-11-14 Andreas Schwab <schwab@redhat.com>
11414
11415 * malloc/arena.c (arena_get2): Don't call reused_arena when
11416 _int_new_arena failed.
11417
6abf3465
UD
114182011-11-14 Ulrich Drepper <drepper@gmail.com>
11419
11420 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11421 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11422 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11423 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11424 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11426 to compile strcasecmp and strncasecmp.
11427 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11428 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11429
11430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11431
76e3966e
UD
114322011-11-13 Ulrich Drepper <drepper@gmail.com>
11433
11434 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11435 locale-defines.sym to gen-as-const-headers.
11436 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11437 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11439 to compile strcasecmp and strncasecmp.
11440 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11441 strcasecmp_l and strncasecmp_l.
11442 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11443 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11444 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11445 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11446 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11447 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11448 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11449 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11450 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11451 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11452 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11453
ab26144e
UD
114542011-11-12 Ulrich Drepper <drepper@gmail.com>
11455
7edb22ef
UD
11456 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11457 result of SYSDEP_GETTIME_CPU to retval.
11458 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11459 parameter list to macro. Remove trailing semicolon. Adjust users.
11460
9694fc44
UD
11461 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11462 variable.
11463
8ad89ef8
UD
11464 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11465 mantissa words.
11466 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11467
0c822ef9
UD
11468 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11469 from unused variable.
11470
874e0564
UD
11471 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11472 DWARF definitions.
11473 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11474 for assembling.
11475
3a2edc79
UD
11476 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11477 over namespaces.
11478
f3c2577f
UD
11479 * sunrpc/rpc_prot.c (rejected): Fix case value.
11480
294ce126
UD
11481 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11482 unsigned long long int to avoid warnings in shift.
11483
5e2b63c6
UD
11484 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11485 of use of trans.
11486 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11487 variable tmp.
11488
e7f4b08e
UD
11489 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11490 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11491 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11492
ab26144e
UD
11493 * nis/nis_table.c (nis_list): Use variable of correct type for
11494 result of __follow_path call.
11495
8a6d5255
AZ
114962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11497
11498 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11499 of math functions ceil, trunc, floor, round, and sqrt, when
11500 avaliable on the platform.
11501 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11502 name clash.
11503 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11504 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11505 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11506
aaddc98c
MP
115072011-10-30 Marek Polacek <mpolacek@redhat.com>
11508
11509 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11510 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11511
95b7042b
RM
115122011-11-11 Roland McGrath <roland@hack.frob.com>
11513
11514 * include/unistd.h: Fix __readlink return type.
11515 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11516
57769839
UD
115172011-11-11 Ulrich Drepper <drepper@gmail.com>
11518
11519 * stdlib/ucontext.h: Undo last change for makecontext.
11520
edc5984d
AS
115212011-11-11 Andreas Schwab <schwab@redhat.com>
11522
98591e58
AS
11523 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11524
edc5984d
AS
11525 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11526 * setjmp/setjmp.h: Mark functions as non-leaf.
11527 * setjmp/bits/setjmp2.h: Likewise.
11528 * stdlib/ucontext.h: Likewise.
11529
77cdc054
AS
115302011-11-10 Andreas Schwab <schwab@redhat.com>
11531
11532 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11533 (reused_arena): Don't check arena limit.
11534 (arena_get2): Atomically check arena limit.
11535
fe72eebd
UD
115362011-11-08 Ulrich Drepper <drepper@gmail.com>
11537
5f078c32
UD
11538 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11539 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11540
fe72eebd
UD
11541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11542 instructions.
11543
ae1bc2fa
AS
115442011-11-07 Andreas Schwab <schwab@redhat.com>
11545
7583a88d
AS
11546 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11547 handler when locking.
11548
ae1bc2fa
AS
11549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11550 Fix size of allocated buffer.
11551
10fb0bfa
AS
115522011-11-04 Andreas Schwab <schwab@redhat.com>
11553
998832a4
AS
11554 [BZ #10103]
11555 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11556 declarations for long double functions.
11557 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11558
10fb0bfa
AS
11559 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11560
3d7ba52b
AS
115612011-11-03 Andreas Schwab <schwab@redhat.com>
11562
a9ae54a1
AS
11563 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11564 installed.
11565
3d7ba52b
AS
11566 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11567 is disabled.
11568
bc8db248
ST
115692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11570
11571 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11572
45b96dd6
AS
115732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11574
647776f6
AS
11575 * include/alloca.h (stackinfo_alloca_round): Define.
11576 (extend_alloca): Use it.
11577 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11578 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11579 here.
11580
d91a8b93
AS
11581 * scripts/check-local-headers.sh: Ignore libaudit.h.
11582
45b96dd6
AS
11583 * nscd/Makefile (extra-objs): Make recursively expanded.
11584
432d41ce
UD
115852011-11-01 Ulrich Drepper <drepper@gmail.com>
11586
34372fc6
UD
11587 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11588 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11589
fadb59f8
UD
11590 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11591 * posix/tst-rfc3484-2.c: Likewise.
11592 * posix/tst-rfc3484-3.c: Likewise.
11593
78239589
UD
11594 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11595 process_vm_writev.
11596 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11597 process_vm_writev.
11598 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11599 process_vm_writev from libc using GLIBC_2.15 version.
11600
432d41ce
UD
11601 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11602
02f9c6cf
PP
116032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11604
11605 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11606 stack usage.
11607
3a2c0242
UD
116082011-10-31 Ulrich Drepper <drepper@gmail.com>
11609
f4ec4833
UD
11610 [BZ #13367]
11611 * nss/getent.c (initgroups_keys): Show error message in case no group
11612 names are given.
11613
3a2c0242
UD
11614 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11615 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11616 __bump_nl_timestamp.
11617 * nscd/connections (nscd_init): When host database is served open
11618 netlink socket and request notification about configuration changes.
11619 (main_loop_poll): Track netlink file descriptor and bump timestamp
11620 in case data becomes available.
11621 (main_loop_epoll): Likewise.
11622 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11623 (database_pers_head): Add extra_data fileds.
11624 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11625 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11626 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11627 Adjust caller.
11628 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11629 in6ai data, call __free_in6ai.
11630 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11631 Add -DHAVE_NETLINK.
11632 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11633 interface information. Reuse previous data if netlink timestamp
11634 is not changed.
11635 (__bump_nl_timestamp): New function.
11636 (__free_in6ai): New function.
11637
636064eb
UD
116382011-10-30 Ulrich Drepper <drepper@gmail.com>
11639
11640 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11641 close_not_cancel_no_status here.
11642 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11643
9beb2334
UD
116442011-10-29 Ulrich Drepper <drepper@gmail.com>
11645
6ef76f3b
UD
11646 [BZ #13276]
11647 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11648 return value.
11649
0ffc4f3e 11650 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11651 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11652 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11653
cb95113e
UD
116542011-07-03 Andreas Jaeger <aj@suse.de>
11655
11656 [BZ #10709]
11657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11658 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11659 * math/libm-test.inc (sin_test): Add test case.
11660
a1b560ff
UD
116612011-10-29 Ulrich Drepper <drepper@gmail.com>
11662
c9aaface
UD
11663 [BZ #13337]
11664 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11665 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11666
d272e7f1
UD
11667 * elf/chroot_canon.c (chroot_canon): Cleanups.
11668
1bc33071
UD
11669 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11670
1760874d
TJ
11671 [BZ #13335]
11672 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11673 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11674
51d91b18
UD
11675 * string/test-strchr.c: Make usable for strchrnul testing.
11676 * string/test-strchrnul.c: New file.
11677 * string/Makefile (strop-tests): Add strchrnul.
11678
a1b560ff 11679 * po/it.po: Update from translation team.
b611fb81 11680 * po/es.po: Likewise.
a1b560ff 11681
a5b81e1f
UD
116822011-10-28 Ulrich Drepper <drepper@gmail.com>
11683
fd52bc6d
UD
11684 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11685 the three constants needed as parameters. Drop the others.
11686 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11687 __m128i_strloadu_tolower.
52e4b9eb
UD
11688 Create and initialize variable zero and use it in all the places
11689 where _mm_setzero_si128 was used.
fd52bc6d 11690
a5b81e1f
UD
11691 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11692 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11693 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11694 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11695 anymore.
11696 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11697 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11698 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11699 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11700 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11701 __mpranred, __mptan.
11702 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11703 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11704 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11705 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11706 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11707 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11709 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11710 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11711
b4343346
AS
117122011-10-28 Andreas Schwab <schwab@redhat.com>
11713
0c92d8a8
AS
11714 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11715 redefine if SHARED.
11716 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11717
b4343346
AS
11718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11719 wide char related routines to wcsmbs subdir.
11720
3871f58f
AS
117212011-10-27 Andreas Schwab <schwab@redhat.com>
11722
11723 [BZ #13344]
11724 * misc/sys/cdefs.h (__THROWNL): Define.
11725 * posix/unistd.h: Use __THREADNL instead of __THREAD
11726 for memory synchronization functions.
11727
94d44d9f
RM
117282011-10-26 Roland McGrath <roland@hack.frob.com>
11729
21b64b15 11730 [BZ #13349]
94d44d9f
RM
11731 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11732 doesn't exist.
11733 * manual/stdio.texi (Obstack Streams): Node removed.
11734
f6ce9294
AS
117352011-10-26 Andreas Schwab <schwab@redhat.com>
11736
80479147
AS
11737 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11738 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11740
f6ce9294
AS
11741 * math/math_private.h (math_force_eval): Allow non-addressable
11742 arguments.
11743 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11744
618280a1
UD
117452011-10-25 Ulrich Drepper <drepper@gmail.com>
11746
e0016b11
UD
11747 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11748 file is not needed.
11749
11750 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11753 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11755 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11756 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11757 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11758 Add AVX variants.
11759 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11760 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11761 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11762 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11763 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11764 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11765 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11766 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11767 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11768 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11769 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11770 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11772 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11773 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11774 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11775 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11776 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11777 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11778
11779 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11780 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11781
618280a1
UD
11782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11783 place. Use VEX encoding when compiling for AVX.
11784
37822576
AS
117852011-10-25 Andreas Schwab <schwab@redhat.com>
11786
1f1e1947
AS
11787 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11788 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11789
37822576
AS
11790 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11791
31ea014d
UD
117922011-10-25 Ulrich Drepper <drepper@gmail.com>
11793
d7826aa1 11794 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11795 useless if() expression.
d7826aa1
UD
11796 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11798 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11799 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11801 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11805 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11807 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11808 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11809 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11810 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11811 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11815
31ea014d
UD
11816 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11817
16437fec
AS
118182011-10-25 Andreas Schwab <schwab@redhat.com>
11819
11820 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11821 condition.
11822 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11823
31d3cc00
UD
118242011-10-25 Ulrich Drepper <drepper@gmail.com>
11825
11826 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11827 .text section. Avoid duplicate constants.
11828 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11830 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11833 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11836 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11838 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11840 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11842 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11843 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11844 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11845 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11846 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11851 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11852 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11853 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11854 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11855 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11856 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11857 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11858 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11859 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11860 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11861 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11862 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11863 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11864 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11866 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11867 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11868 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11869 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11870 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11871 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11872 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11873
58985aa9
UD
118742011-10-24 Ulrich Drepper <drepper@gmail.com>
11875
202c9deb
UD
11876 * sysdeps/x86_64/dla.h: Move to ...
11877 * sysdeps/x86_64/fpu/dla.h: ...here.
11878 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11879 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11880
af968f62
UD
11881 * config.make.in: Add have-mfma4 entry.
11882 * configure.in: Substitute libc_cv_cc_fma4.
11883 * math/Makefile (dbl-only-routines): Add sincostab.
11884 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11885 Use __sincostab not sincos.
11886 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11887 name is a macro.
11888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11892 using __copysign.
11893 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11894 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11895 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11896 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11897 and __inv.
11898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11899 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11900 __copysign.
11901 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11902 define aliases when function name is a macro.
11903 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11904 sysdeps/ieee754/dbl-64/sincos.tbl.
11905 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11906 fma4-enabled routines.
11907 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11908 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11909 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11910 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11911 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11912 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11914 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11916 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11917 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11918 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11919 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11920 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11921 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11922 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11923 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11924 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11925 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11926 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11927 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11928 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11929 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11930 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11932 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11933 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11934 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11935 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11936 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11937
58985aa9
UD
11938 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11939 rename.
11940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11948
a201fbcf
AS
119492011-10-24 Andreas Schwab <schwab@redhat.com>
11950
11951 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11952
fc2ee42a
LD
119532011-10-23 Ulrich Drepper <drepper@gmail.com>
11954
bb3129bd
UD
11955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11956
0275fff8
UD
11957 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11958 prediction.
11959 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11960
2fa2ae85
UD
11961 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11962 Remove unused variable magic_bits.
11963 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11964
fc2ee42a
LD
11965 * string/strnlen.c: Define and use STRNLEN macro.
11966 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11967 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11969 * wcsmbs/wcslen.c: Define and use WCSLEN.
11970 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11971 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11972 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11973 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11974 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11975 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11976 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11977
ce7dd29f
LD
119782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11979
11980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11981 strnlen-sse2-no-bsf.
11982 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11984 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11985 Add strnlen support.
11986 (USE_AS_STRNLEN): New macro.
11987 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11988 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11989 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11990 * sysdeps/x86_64/wcslen.S: New file.
11991
979c70a3
MZ
119922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11993
11994 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11995 XMM-moves are used for copying on small sizes.
11996
2d09f82f
LD
119972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11998
11999 * wcsmbs/Makefile (strop-tests): Add wcschr.
12000 * wcsmbs/test-wcschr.c: New file.
12001 * string/test-strchr.c: Update.
12002 Add wcschr support.
12003 (WIDE): New macro.
12004
619fccca
LD
120052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12006
2d09f82f 12007 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12008 * wcsmbs/test-wcslen.c: New file.
12009 * string/test-strlen.c: Update.
12010 Add wcslen support.
12011 (WIDE): New macro.
12012
09f699ea
UD
120132011-10-23 Ulrich Drepper <drepper@gmail.com>
12014
12015 * po/it.po: Update from translation team.
12016
95584d3b
LD
120172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12018
12019 * sysdeps/x86_64/wcscmp.S: Update.
12020 Fix wrong comparison semantics.
12021 wcscmp shall use signed comparison not unsigned.
12022 Don't use substraction to avoid overflow bug.
12023 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12024 * wcsmbc/wcscmp.c: Likewise.
12025 * string/test-strcmp.c: Likewise.
12026 Add new tests to check cases with negative values.
12027
c8b3296b
UD
120282011-10-23 Ulrich Drepper <drepper@gmail.com>
12029
12030 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12031 * sysdeps/x86_64/dla.h: ...here. New file.
12032 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12041
246ad57a
AS
120422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12043
12044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12045 __ynl_finite aliases.
12046
a1a87169
UD
120472011-10-22 Ulrich Drepper <drepper@gmail.com>
12048
0d355eb7
UD
12049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12050
a1a87169
UD
12051 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12052 define DLA_FMA.
12053 [DLA_FMA] (EMULV): Use DLA_FMA.
12054 [DLA_FMA] (MUL12): Use EMULV.
12055 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12056 that are not needed.
12057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12064
ee2aafe0
AS
120652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12066
12067 * math/s_nan.c: Undef __nan.
12068 * math/s_nanf.c: Undef __nanf.
12069 * math/s_nanl.c: Undef __nanl.
12070 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12071 "math_private.h".
12072
bc62c2fb
UD
120732011-10-22 Ulrich Drepper <drepper@gmail.com>
12074
77425c63
UD
12075 * math/s_catan.c: Add branch predictions.
12076 * math/s_catanf.c: Likewise.
12077 * math/s_catanh.c: Likewise.
12078 * math/s_catanhf.c: Likewise.
12079 * math/s_catanhl.c: Likewise.
12080 * math/s_catanl.c: Likewise.
12081 * math/s_cexp.c: Likewise.
12082 * math/s_cexpf.c: Likewise.
12083 * math/s_cexpl.c: Likewise.
12084 * math/s_clog.c: Likewise.
12085 * math/s_clog10.c: Likewise.
12086 * math/s_clog10f.c: Likewise.
12087 * math/s_clog10l.c: Likewise.
12088 * math/s_clogf.c: Likewise.
12089 * math/s_clogl.c: Likewise.
12090 * math/s_csqrt.c: Likewise.
12091 * math/s_csqrtf.c: Likewise.
12092 * math/s_csqrtl.c: Likewise.
12093 * math/s_ctanf.c: Likewise.
12094 * math/s_ctanh.c: Likewise.
12095 * math/s_ctanhf.c: Likewise.
12096 * math/s_ctanhl.c: Likewise.
12097 * math/s_ctanl.c: Likewise.
12098
bc62c2fb
UD
12099 * math/math_private.h: Define __nan, __nanf, __nanl.
12100 * math/s_cacosh.c: Include <math_private.h>.
12101 * math/s_cacoshl.c: Likewise.
12102 * math/s_casinh.c: Likewise.
12103 * math/s_casinhf.c: Likewise.
12104 * math/s_casinhl.c: Likewise.
12105 * math/s_ccos.c: Rely entire on ccosh.
12106 * math/s_ccosf.c: Rely entire on ccoshf.
12107 * math/s_ccosl.c: Rely entirely on ccoshl.
12108 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12109 Remove tests for FE_INVALID.
12110 * math/s_ccoshf.c: Likewise.
12111 * math/s_ccoshl.c: Likewise.
12112 * math/s_csin.c: Likewise.
12113 * math/s_csinf.c: Likewise.
12114 * math/s_csinh.c Likewise.
12115 * math/s_csinhf.c: Likewise.
12116 * math/s_csinhl.c: Likewise.
12117 * math/s_csinl.c: Likewise.
12118 * math/s_ctan.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12120 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12121 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12122
8ec250a4
UD
121232011-10-21 Ulrich Drepper <drepper@gmail.com>
12124
c196fed8
UD
12125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12126 compilation problems.
12127
8ec250a4
UD
12128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12129 __builtin_expect.
12130
8d4f46c6
UD
121312011-10-20 Ulrich Drepper <drepper@gmail.com>
12132
ed72b654
UD
12133 * sysdeps/i386/configure.in: Test for -mfma4 option.
12134 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12135 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12136 COMMON_CPUID_INDEX_80000001.
12137 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12138 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12139 use it if FMA3 is not supported.
12140 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12141
8d4f46c6
UD
12142 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12143 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12144
d45c60c2
AS
121452011-10-20 Andreas Schwab <schwab@redhat.com>
12146
12147 [BZ #12892]
12148 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12149 it would create a cycle with a link time dependency.
12150
d9a4d2ab
UD
121512011-10-19 Ulrich Drepper <drepper@gmail.com>
12152
855d1560
UD
12153 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12154 instruction.
12155 * string/Makefile (strop-tests): Add rawmemchr.
12156 * string/test-rawmemchr.c: New file.
12157
d9a4d2ab
UD
12158 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12160 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12161 when compiling str{,n}casecmp and when AVX is available. Hook up
12162 new optimized code in initializers.
12163
8f3b1ffe
AS
121642011-10-19 Andreas Schwab <schwab@redhat.com>
12165
12166 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12167 __feraiseexcept instead of feraiseexcept.
12168
d38f1dba
UD
121692011-10-18 Ulrich Drepper <drepper@gmail.com>
12170
d9a8d0ab
UD
12171 * math/math_private.h: Define defaults for libc_fetestexcept and
12172 libc_feupdateenv.
12173 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12174 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12175 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12176 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12177 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12178 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12179 libc_fetestexcept and libc_feupdateenv.
12180
4855e3dd
UD
12181 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12182 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12183 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12184 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12185 libc_feholdexcept_setround.
12186
581d30e3
UD
12187 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12188 Add s_nearbyint-c and s_nearbyintf-c.
12189 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12190 nearbyintf inlines.
12191 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12192 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12193 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12194 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12195
d38f1dba
UD
12196 * math/math_private.h: Define defaults for libc_fegetround,
12197 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12198 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12199 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12201 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12202 standard functions.
12203 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12204 Remove comments and hacks for old compiler versions.
12205 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12206 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12207 libc_feholdexceptl.
12208
caa6c9d8
AS
122092011-10-18 Andreas Schwab <schwab@redhat.com>
12210
12211 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12212 (__feraiseexcept_renamed): Add __NTH.
12213 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12214 namespace violations.
12215
97c066e6
UD
122162011-10-17 Ulrich Drepper <drepper@gmail.com>
12217
99ce7b04
UD
12218 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12219
1004d182
UD
12220 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12221
228a984d
UD
12222 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12223 recently added interfaces.
12224 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12225
c8553a6a
UD
12226 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12227 about macro parameter expansion.
12228
ed22dcf6
UD
12229 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12230 __NO_MATH_INLINES is defined. Cleanups.
12231
12232 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12233 and __floorf is target has SSE4.1.
12234 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12235 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12236 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12237 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12238
b171c137
UD
12239 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12240 name.
12241 (floorf): Likewise.
12242
97c066e6
UD
12243 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12244
629f62ef
AS
122452011-10-17 Andreas Schwab <schwab@redhat.com>
12246
49a43d80
AS
12247 * misc/sys/cdefs.h: Fix last change.
12248
629f62ef
AS
12249 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12250 database lookup.
12251
e453f6cd
UD
122522011-10-16 Ulrich Drepper <drepper@gmail.com>
12253
aa78043a
UD
12254 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12255
ad0f5cad
UD
12256 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12262 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12263 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12264 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12265 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12266 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12267 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12268 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12269 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12270 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12271 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12272 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12273 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12274 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12275 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12276 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12277 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12278
12279 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12280 ceil, ceilf, floor, floorf.
12281
12282 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12283 Perform IRELATIVE relocations last.
12284
e453f6cd
UD
12285 * elf/do-rel.h: Add another parameter nrelative, replacing the
12286 local variable with the same name. Change name of the function
12287 to end in Rel or Rela (uppercase).
12288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12289 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12290 elf_dynamic_do_##reloc function.
12291
fd5bdc09
UD
122922011-10-15 Ulrich Drepper <drepper@gmail.com>
12293
79b195b5
UD
12294 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12295 is sufficient, at least on modern CPUs.
12296
d4a28569
UD
12297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12298
b61099b5
UD
12299 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12301
bcf01e6d
UD
12302 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12303 __expl_finite.
12304 * math/bits/math-finite.h: Add entries for exp.
12305 * math/e_expl.c: Add __*_finite alias.
12306 * sysdeps/i386/fpu/e_exp.S: Likewise.
12307 * sysdeps/i386/fpu/e_expf.S: Likewise.
12308 * sysdeps/i386/fpu/e_expl.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12310 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12314 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12316
ba1a0d59
UD
12317 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12318 is sufficient, at least on modern CPUs.
12319
fd5bdc09
UD
12320 * ctype/ctype-info.c (__ctype_init): Define.
12321 * include/ctype.h (__ctype_init): Declare.
12322 (__ctype_b_loc): The variable is always initialized.
12323 (__ctype_toupper_loc): Likewise.
12324 (__ctype_tolower_loc): Likewise.
12325 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12326 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12327
7872cfb0
AS
123282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12329
b468825a
AS
12330 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12331
7872cfb0
AS
12332 * configure.in: Also look in $cxxmachine/include for C++ system
12333 headers.
12334
be13f7bf
LD
123352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12336
12337 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12338 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12339 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12340 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12341 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12342 (USE_AS_WMEMCMP): New macro.
12343 Fixing indents.
12344 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12345 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12346 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12347 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12349 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12350 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12351 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12352 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12353 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12354 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12355 (USE_AS_WMEMCMP): New macro.
12356 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12357 * sysdeps/string/test-memcmp.c: Update.
12358 Fix simple_wmemcmp.
12359 Add new tests.
12360 * wcsmbs/wmemcmp.c: Update.
12361 (WMEMCMP): New macro.
12362 Fix overflow bug.
12363
556a2007
AJ
123642011-10-12 Andreas Jaeger <aj@suse.de>
12365
12366 [BZ #13268]
12367 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12368
538faaa7
UD
123692011-10-15 Ulrich Drepper <drepper@gmail.com>
12370
ab6737ff
UD
12371 * libio/iofwide.c (do_length): Avoid warning.
12372
538faaa7
UD
12373 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12374
396a21b1
UD
123752011-10-14 Ulrich Drepper <drepper@gmail.com>
12376
cdf2901f
UD
12377 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12378
38ad40ce
UD
12379 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12380 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12381 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12382 * sysdeps/i386/i686/fpu/e_log.S: New file.
12383 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12384 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12385
396a21b1
UD
12386 * ctype/ctype.h: Add support for inlined isXXX functions when
12387 compiling C++ code.
12388
6b1f68c9
AS
123892011-10-14 Andreas Schwab <schwab@redhat.com>
12390
349290c0
AS
12391 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12392
6b1f68c9
AS
12393 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12394
f2282d42
RM
123952011-10-13 Roland McGrath <roland@hack.frob.com>
12396
12397 [BZ #13291]
12398 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12399
5298ffa8
AS
124002011-10-13 Andreas Schwab <schwab@redhat.com>
12401
714fad23
AS
12402 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12403 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12404 feraiseexcept.
12405
81dcc7fb
AS
12406 * sysdeps/x86_64/memrchr.S: Check for zero size.
12407
5298ffa8
AS
12408 * string/stratcliff.c: Add memrchr tests.
12409
951fbcec
LD
124102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12411
12412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12413 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12414 rawmemchr-sse2 rawmemchr-sse2-bsf.
12415 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12416 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12417 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12418 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12419 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12420 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12421 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12422 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12423 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12424 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12425 * string/memrchr.c (MEMRCHR): New macro.
12426
0ac5ae23
UD
124272011-10-12 Ulrich Drepper <drepper@gmail.com>
12428
12429 Add integration with gcc's -ffinite-math-only and optimize wrapper
12430 functions in libm.
12431 * Versions.def: Define GLIBC_2.15 version for libm.
12432 * math/Makefile (headers): Add bits/math-finite.h.
12433 * math/bits/math-finite.h: New file.
12434 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12435 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12436 * math/e_acoshl.c: Add __*_finite alias.
12437 * math/e_acosl.c: Likewise.
12438 * math/e_asinl.c: Likewise.
12439 * math/e_atan2l.c: Likewise.
12440 * math/e_atanhl.c: Likewise.
12441 * math/e_coshl.c: Likewise.
12442 * math/e_exp10.c: Likewise.
12443 * math/e_exp10f.c: Likewise.
12444 * math/e_exp10l.c: Likewise.
12445 * math/e_exp2l.c: Likewise.
12446 * math/e_fmodl.c: Likewise.
12447 * math/e_gammal_r.c: Likewise.
12448 * math/e_hypotl.c: Likewise.
12449 * math/e_j0l.c: Likewise.
12450 * math/e_j1l.c: Likewise.
12451 * math/e_jnl.c: Likewise.
12452 * math/e_lgammal_r.c: Likewise.
12453 * math/e_log10l.c: Likewise.
12454 * math/e_log2l.c: Likewise.
12455 * math/e_logl.c: Likewise.
12456 * math/e_powl.c: Likewise.
12457 * math/e_sinhl.c: Likewise.
12458 * math/e_sqrtl.c: Likewise.
12459 * math/e_scalb.c: Completely rewritten and optimized.
12460 * math/e_scalbf.c: Likewise.
12461 * math/e_scalbl.c: Likewise.
12462 * math/w_acos.c: Likewise.
12463 * math/w_acosf.c: Likewise.
12464 * math/w_acosl.c: Likewise.
12465 * math/w_acosh.c: Likewise.
12466 * math/w_acoshf.c: Likewise.
12467 * math/w_acoshl.c: Likewise.
12468 * math/w_asin.c: Likewise.
12469 * math/w_asinf.c: Likewise.
12470 * math/w_asinl.c: Likewise.
12471 * math/w_atan2.c: Likewise.
12472 * math/w_atan2f.c: Likewise.
12473 * math/w_atan2l.c: Likewise.
12474 * math/w_atanh.c: Likewise.
12475 * math/w_atanhf.c: Likewise.
12476 * math/w_atanhl.c: Likewise.
12477 * math/w_exp10.c: Likewise.
12478 * math/w_exp10f.c: Likewise.
12479 * math/w_exp10l.c: Likewise.
12480 * math/w_fmod.c: Likewise.
12481 * math/w_fmodf.c: Likewise.
12482 * math/w_fmodl.c: Likewise.
12483 * math/w_j0.c: Likewise.
12484 * math/w_j0f.c: Likewise.
12485 * math/w_j0l.c: Likewise.
12486 * math/w_j1.c: Likewise.
12487 * math/w_j1f.c: Likewise.
12488 * math/w_j1l.c: Likewise.
12489 * math/w_jn.c: Likewise.
12490 * math/w_jnf.c: Likewise.
12491 * math/w_log.c: Likewise.
12492 * math/w_logf.c: Likewise.
12493 * math/w_logl.c: Likewise.
12494 * math/w_log10.c: Likewise.
12495 * math/w_log10f.c: Likewise.
12496 * math/w_log10l.c: Likewise.
12497 * math/w_log2.c: Likewise.
12498 * math/w_log2f.c: Likewise.
12499 * math/w_log2l.c: Likewise.
12500 * math/w_pow.c: Likewise.
12501 * math/w_powf.c: Likewise.
12502 * math/w_powl.c: Likewise.
12503 * math/w_remainder.c: Likewise.
12504 * math/w_remainderf.c: Likewise.
12505 * math/w_remainderl.c: Likewise.
12506 * math/w_scalb.c: Likewise.
12507 * math/w_scalbf.c: Likewise.
12508 * math/w_scalbl.c: Likewise.
12509 * math/w_sqrt.c: Likewise.
12510 * math/w_sqrtf.c: Likewise.
12511 * math/w_sqrtl.c: Likewise.
12512 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12513 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12514 used.
12515 * math/math_private.h: Declare __kernel_standard_f.
12516 * math/w_cosh.c: Remove cruft and optimize a bit.
12517 * math/w_coshf.c: Likewise.
12518 * math/w_coshl.c: Likewise.
12519 * math/w_exp2.c: Likewise.
12520 * math/w_exp2f.c: Likewise.
12521 * math/w_exp2l.c: Likewise.
12522 * math/w_hypot.c: Likewise.
12523 * math/w_hypotf.c: Likewise.
12524 * math/w_hypotl.c: Likewise.
12525 * math/w_lgamma.c: Likewise.
12526 * math/w_lgamma_r.c: Likewise.
12527 * math/w_lgammaf.c: Likewise.
12528 * math/w_lgammaf_r.c: Likewise.
12529 * math/w_lgammal.c: Likewise.
12530 * math/w_lgammal_r.c: Likewise.
12531 * math/w_sinh.c: Likewise.
12532 * math/w_sinhf.c: Likewise.
12533 * math/w_sinhl.c: Likewise.
12534 * math/w_tgamma.c: Likewise.
12535 * math/w_tgammaf.c: Likewise.
12536 * math/w_tgammal.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12539 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12540 Minor optimizations. Pretty printing. Remove cruft.
12541 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12542 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12543 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12544 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12545 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12546 * sysdeps/i386/fpu/e_asin.S: Likewise.
12547 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12548 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12549 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12550 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12551 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12552 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12553 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12554 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12555 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12556 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12557 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12558 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12559 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12560 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12561 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12562 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12563 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12564 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12565 * sysdeps/i386/fpu/e_log.S: Likewise.
12566 * sysdeps/i386/fpu/e_log10.S: Likewise.
12567 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12568 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12569 * sysdeps/i386/fpu/e_log2.S: Likewise.
12570 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12571 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12572 * sysdeps/i386/fpu/e_logf.S: Likewise.
12573 * sysdeps/i386/fpu/e_logl.S: Likewise.
12574 * sysdeps/i386/fpu/e_pow.S: Likewise.
12575 * sysdeps/i386/fpu/e_powf.S: Likewise.
12576 * sysdeps/i386/fpu/e_powl.S: Likewise.
12577 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12578 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12579 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12580 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12581 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12582 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12583 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12584 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12585 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12595 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12597 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12599 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12607 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12608 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12609 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12610 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12611 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12612 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12613 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12614 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12615 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12616 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12617 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12618 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12619 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12620 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12621 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12622 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12623 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12624 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12625 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12626 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12627 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12666 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12669 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12671 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12677 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12678 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12679 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12680 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12681 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12682 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12683 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12684 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12685 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12686 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12687 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12688 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12689 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12690 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12691 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12692 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12693 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12694 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12695 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12696 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12697 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12698 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12699 (__isnanf): Likewise.
12700 (__isinf_ns): Likewise.
12701 (__isinf_nsf): Likewise.
12702 (__finite): Likewise.
12703 (__finitef): Likewise.
12704 (__ieee754_sqrt): Define as macro.
12705 (__ieee754_sqrtf): Define as macro.
12706 (__ieee754_sqrtl): Define as macro.
12707 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12708 inlined copy.
12709 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12710 __FINITE_MATH_ONLY__ consistent.
12711 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12712
12cc2fcd
AS
127132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12714
a843a204
AS
12715 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12716 of rawmemchr.
12717
12cc2fcd
AS
12718 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12719
c853acd5
UD
127202011-10-09 Ulrich Drepper <drepper@gmail.com>
12721
12722 * po/ja.po: Update from translation team.
12723
c658d255
RM
127242011-10-08 Roland McGrath <roland@hack.frob.com>
12725
110946e4
RM
12726 * locale/programs/locarchive.c (prepare_address_space): New function.
12727 (create_archive, enlarge_archive, open_archive): Use it.
12728
50604220
RM
12729 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12730 inside [SHARED], where it is used.
12731
c658d255
RM
12732 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12733
12734 * nss/getent.c (netgroup_keys): Remove unused variable.
12735 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12736
6a621eb7
UD
127372011-10-08 Ulrich Drepper <drepper@gmail.com>
12738
7edb55ce
UD
12739 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12740 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12742 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12743 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12744 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12745 * math/Makefile (libm-calls): Add s_isinf_ns.
12746 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12747 * math/multc3.c: Likewise.
12748 * math/s_casin.c: Likewise.
12749 * math/s_casinf.c: Likewise.
12750 * math/s_casinl.c: Likewise.
12751 * math/s_ccos.c: Likewise.
12752 * math/s_ccosf.c: Likewise.
12753 * math/s_ccosl.c: Likewise.
12754 * math/s_ctan.c: Likewise.
12755 * math/s_ctanf.c: Likewise.
12756 * math/s_ctanh.c: Likewise.
12757 * math/s_ctanhf.c: Likewise.
12758 * math/s_ctanhl.c: Likewise.
12759 * math/s_ctanl.c: Likewise.
12760 * math/w_fmod.c: Likewise.
12761 * math/w_fmodf.c: Likewise.
12762 * math/w_fmodl.c: Likewise.
12763 * math/w_remainder.c: Likewise.
12764 * math/w_remainderf.c: Likewise.
12765 * math/w_remainderl.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12767 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12768 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12770 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12771 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12772 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12773 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12774
187da0ae
UD
12775 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12776 of the number.
12777 * stdio-common/printf_fphex.c: Likewise.
12778 * stdio-common/printf_size.c: Likewise.
12779
9277c064
UD
12780 * math/e_exp10.c: Include math_private.h using <...> not "...".
12781 * math/e_exp10f.c: Likewise.
12782 * math/e_exp10l.c: Likewise.
12783 * math/e_exp2l.c: Likewise.
12784 * math/e_j0l.c: Likewise.
12785 * math/e_j1l.c: Likewise.
12786 * math/e_jnl.c: Likewise.
12787 * math/e_lgammal_r.c: Likewise.
12788 * math/e_rem_pio2l.c: Likewise.
12789 * math/e_scalb.c: Likewise.
12790 * math/e_scalbf.c: Likewise.
12791 * math/e_scalbl.c: Likewise.
12792 * math/k_cosl.c: Likewise.
12793 * math/k_sinl.c: Likewise.
12794 * math/k_tanl.c: Likewise.
12795 * math/s_cacoshf.c: Likewise.
12796 * math/s_catan.c: Likewise.
12797 * math/s_catanf.c: Likewise.
12798 * math/s_catanh.c: Likewise.
12799 * math/s_catanhf.c: Likewise.
12800 * math/s_catanhl.c: Likewise.
12801 * math/s_catanl.c: Likewise.
12802 * math/s_ccosh.c: Likewise.
12803 * math/s_ccoshf.c: Likewise.
12804 * math/s_ccoshl.c: Likewise.
12805 * math/s_cexp.c: Likewise.
12806 * math/s_cexpf.c: Likewise.
12807 * math/s_cexpl.c: Likewise.
12808 * math/s_clog.c: Likewise.
12809 * math/s_clog10.c: Likewise.
12810 * math/s_clog10f.c: Likewise.
12811 * math/s_clog10l.c: Likewise.
12812 * math/s_clogf.c: Likewise.
12813 * math/s_clogl.c: Likewise.
12814 * math/s_csin.c: Likewise.
12815 * math/s_csinf.c: Likewise.
12816 * math/s_csinh.c: Likewise.
12817 * math/s_csinhf.c: Likewise.
12818 * math/s_csinhl.c: Likewise.
12819 * math/s_csinl.c: Likewise.
12820 * math/s_csqrt.c: Likewise.
12821 * math/s_csqrtf.c: Likewise.
12822 * math/s_csqrtl.c: Likewise.
12823 * math/s_ctan.c: Likewise.
12824 * math/s_ctanf.c: Likewise.
12825 * math/s_ctanh.c: Likewise.
12826 * math/s_ctanhf.c: Likewise.
12827 * math/s_ctanhl.c: Likewise.
12828 * math/s_ctanl.c: Likewise.
12829 * math/s_ldexp.c: Likewise.
12830 * math/s_ldexpf.c: Likewise.
12831 * math/s_ldexpl.c: Likewise.
12832 * math/s_significand.c: Likewise.
12833 * math/s_significandf.c: Likewise.
12834 * math/s_significandl.c: Likewise.
12835 * math/w_acos.c: Likewise.
12836 * math/w_acosf.c: Likewise.
12837 * math/w_acosh.c: Likewise.
12838 * math/w_acoshf.c: Likewise.
12839 * math/w_acoshl.c: Likewise.
12840 * math/w_acosl.c: Likewise.
12841 * math/w_asin.c: Likewise.
12842 * math/w_asinf.c: Likewise.
12843 * math/w_asinl.c: Likewise.
12844 * math/w_atan2.c: Likewise.
12845 * math/w_atan2f.c: Likewise.
12846 * math/w_atan2l.c: Likewise.
12847 * math/w_atanh.c: Likewise.
12848 * math/w_atanhf.c: Likewise.
12849 * math/w_atanhl.c: Likewise.
12850 * math/w_cosh.c: Likewise.
12851 * math/w_coshf.c: Likewise.
12852 * math/w_coshl.c: Likewise.
12853 * math/w_dremf.c: Likewise.
12854 * math/w_exp10.c: Likewise.
12855 * math/w_exp10f.c: Likewise.
12856 * math/w_exp10l.c: Likewise.
12857 * math/w_exp2.c: Likewise.
12858 * math/w_exp2f.c: Likewise.
12859 * math/w_fmod.c: Likewise.
12860 * math/w_fmodf.c: Likewise.
12861 * math/w_fmodl.c: Likewise.
12862 * math/w_hypot.c: Likewise.
12863 * math/w_hypotf.c: Likewise.
12864 * math/w_hypotl.c: Likewise.
12865 * math/w_j0.c: Likewise.
12866 * math/w_j0f.c: Likewise.
12867 * math/w_j0l.c: Likewise.
12868 * math/w_j1.c: Likewise.
12869 * math/w_j1f.c: Likewise.
12870 * math/w_j1l.c: Likewise.
12871 * math/w_jn.c: Likewise.
12872 * math/w_jnf.c: Likewise.
12873 * math/w_jnl.c: Likewise.
12874 * math/w_lgamma.c: Likewise.
12875 * math/w_lgamma_r.c: Likewise.
12876 * math/w_lgammaf.c: Likewise.
12877 * math/w_lgammaf_r.c: Likewise.
12878 * math/w_lgammal.c: Likewise.
12879 * math/w_lgammal_r.c: Likewise.
12880 * math/w_log.c: Likewise.
12881 * math/w_log10.c: Likewise.
12882 * math/w_log10f.c: Likewise.
12883 * math/w_log10l.c: Likewise.
12884 * math/w_log2.c: Likewise.
12885 * math/w_log2f.c: Likewise.
12886 * math/w_log2l.c: Likewise.
12887 * math/w_logf.c: Likewise.
12888 * math/w_logl.c: Likewise.
12889 * math/w_pow.c: Likewise.
12890 * math/w_powf.c: Likewise.
12891 * math/w_powl.c: Likewise.
12892 * math/w_remainder.c: Likewise.
12893 * math/w_remainderf.c: Likewise.
12894 * math/w_remainderl.c: Likewise.
12895 * math/w_scalb.c: Likewise.
12896 * math/w_scalbf.c: Likewise.
12897 * math/w_scalbl.c: Likewise.
12898 * math/w_sinh.c: Likewise.
12899 * math/w_sinhf.c: Likewise.
12900 * math/w_sinhl.c: Likewise.
12901 * math/w_sqrt.c: Likewise.
12902 * math/w_sqrtf.c: Likewise.
12903 * math/w_sqrtl.c: Likewise.
12904 * math/w_tgamma.c: Likewise.
12905 * math/w_tgammaf.c: Likewise.
12906 * math/w_tgammal.c: Likewise.
12907
6a621eb7
UD
12908 * po/ja.po: Update from translation team.
12909
bf582445
AJ
129102011-09-29 Andreas Jaeger <aj@suse.de>
12911
f9efbf3a
AJ
12912 [BZ #13179]
12913 * sunrpc/netname.c (netname2host): Fix logic.
12914
bf582445
AJ
12915 [BZ #6779]
12916 [BZ #6783]
12917 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12918 correctly.
12919 * math/w_remainder.c (__remainder): Likewise.
12920 * math/w_remainderf.c (__remainderf): Likewise.
12921 * math/libm-test.inc (remainder_test): Add test cases.
12922
48693bea
AK
129232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12924
12925 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12926 sdiv_qrnnd.
12927
42622229
LD
129282011-10-07 Ulrich Drepper <drepper@gmail.com>
12929
12930 * string/test-memcmp.c: Avoid unncessary #defines.
12931 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12932
093ecf92
LD
129332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12934
12935 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12936 Use new sse2 version for core i3 - i7 as it's faster
12937 than sse42 version.
12938 (bit_Prefer_PMINUB_for_stringop): New.
12939 * sysdeps/x86_64/rawmemchr.S: Update.
12940 Replace with faster SSE2 version.
12941 * sysdeps/x86_64/memrchr.S: New file.
12942 * sysdeps/x86_64/memchr.S: Update.
12943 Replace with faster SSE2 version.
12944
fde56e5c
MP
129452011-09-12 Marek Polacek <mpolacek@redhat.com>
12946
12947 * elf/dl-load.c (lose): Add cast to avoid warning.
12948
21fd49a9
UD
129492011-10-07 Ulrich Drepper <drepper@gmail.com>
12950
5a06e643
UD
12951 * po/ca.po: Update from translation team.
12952
684ae515
UD
12953 * inet/getnetgrent_r.c: Hook up nscd.
12954 * nscd/Makefile (routines): Add nscd_netgroup.
12955 (nscd-modules): Add netgroupcache.
12956 (CFLAGS-netgroupcache.c): Define.
12957 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12958 (cache_search): Add const to second parameter.
12959 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12960 INNETGR.
12961 (dbs): Add netgrdb entry.
12962 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12963 (verify_persistent_db): Handle netgrdb.
12964 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12965 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12966 GETFDNETGR.
12967 (netgroup_response_header): Define.
12968 (innetgroup_response_header): Define.
12969 (datahead): Add netgroup_response_header and innetgroup_response_header
12970 elements.
12971 * nscd/nscd.conf: Add entries for netgroup cache.
12972 * nscd/nscd.h (dbtype): Add netgrdb.
12973 (_PATH_NSCD_NETGROUP_DB): Define.
12974 (netgroup_iov_disabled): Declare.
12975 (xmalloc, xcalloc, xrealloc): Move declarations here.
12976 (cache_search): Adjust prototype.
12977 Add netgroup-related prototypes.
12978 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12979 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12980 (__nscd_innetgr): Declare.
12981 * nscd/selinux.c (perms): Use access_vector_t as element type and
12982 add netgroup-related initializers.
12983 * nscd/netgroupcache.c: New file.
12984 * nscd/nscd_netgroup.c: New file.
12985 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12986 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12987 For four parameters use innetgr.
12988 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12989 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12990 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12991 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12992
21fd49a9
UD
12993 * nscd/connections.c (register_traced_file): Don't register file
12994 for disabled databases.
12995
054c0457
UD
129962011-10-06 Ulrich Drepper <drepper@gmail.com>
12997
32b63198
UD
12998 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12999
054c0457
UD
13000 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13001 from tree and freeing node.
13002
64031225
JO
130032011-09-25 Jiri Olsa <jolsa@redhat.com>
13004
13005 * nss/nsswitch.c (__nss_database_lookup): Handle
13006 nss_parse_service_list out of memory case.
13007
0490345c
JO
130082011-09-15 Jiri Olsa <jolsa@redhat.com>
13009
13010 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13011 out of memory case.
13012
3a62d00d
AS
130132011-10-04 Andreas Schwab <schwab@redhat.com>
13014
13015 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13016 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13017 pass it down.
13018 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13019 elf_machine_rela, elf_machine_lazy_rel.
13020 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13021 (ELF_DYNAMIC_DO_REL): Likewise.
13022 (ELF_DYNAMIC_DO_RELA): Likewise.
13023 (ELF_DYNAMIC_RELOCATE): Likewise.
13024 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13025 to ELF_DYNAMIC_DO_REL.
13026 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13027 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13028 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13029 elf_machine_rela.
13030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13031 skip_ifunc, don't call ifunc function if non-zero.
13032 (elf_machine_rela): Likewise.
13033 (elf_machine_lazy_rel): Likewise.
13034 (elf_machine_lazy_rela): Likewise.
13035 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13036 (elf_machine_lazy_rel): Likewise.
13037 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13038 Likewise.
13039 (elf_machine_lazy_rel): Likewise.
13040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13041 Likewise.
13042 (elf_machine_lazy_rel): Likewise.
13043 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13044 (elf_machine_lazy_rel): Likewise.
13045 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13046 (elf_machine_lazy_rel): Likewise.
13047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13048 (elf_machine_lazy_rel): Likewise.
13049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13050 (elf_machine_lazy_rel): Likewise.
13051 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13052 (elf_machine_lazy_rel): Likewise.
13053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13054 (elf_machine_lazy_rel): Likewise.
13055
68577918
UD
130562011-09-28 Ulrich Drepper <drepper@gmail.com>
13057
13058 * nss/nss_files/files-init.c (_nss_files_init): Use static
13059 initialization for all the *_traced_file variables.
13060
68822d74
AS
130612011-09-28 Andreas Schwab <schwab@redhat.com>
13062
13063 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13064
2056100b
RM
130652011-09-27 Roland McGrath <roland@hack.frob.com>
13066
13067 [BZ #13226]
13068 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13069
32c76b63
AS
130702011-09-27 Andreas Schwab <schwab@redhat.com>
13071
13072 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13073 Reread the line before reparsing it.
13074
bf972c9d
AS
130752011-09-26 Andreas Schwab <schwab@redhat.com>
13076
13077 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13078
e057a1b5
JM
130792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13080 Maxim Kuvyrkov <maxim@codesourcery.com>
13081 Joseph Myers <joseph@codesourcery.com>
13082
13083 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13084 if needed for __stack_chk_guard.
13085
bc7e1c36
RM
130862011-09-19 Roland McGrath <roland@hack.frob.com>
13087
ecb1482f
RM
13088 * sysdeps/posix/spawni.c (script_execute): Always define it.
13089 It will be optimized away if unused.
13090 (maybe_script_execute): New function.
13091 (__spawni): Call it.
13092
bc7e1c36
RM
13093 * Makerules: Don't include tls.make.
13094 (config-tls): Always set to thread.
13095 * tls.make.c: File removed.
13096
1c3b002b
MF
130972011-09-19 Mike Frysinger <vapier@gentoo.org>
13098
13099 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13100 * config.make.in (CPPFLAGS-config): New substituted variable.
13101
2840865d
UD
131022011-09-15 Ulrich Drepper <drepper@gmail.com>
13103
88738eb6
UD
13104 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13105
cbf645a6 13106 [BZ #13192]
2840865d
UD
13107 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13108 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13109
b402e91a
RM
131102011-09-15 Roland McGrath <roland@hack.frob.com>
13111
13112 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13113 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13114 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13115 (CALL_FAIL): Likewise.
13116 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13117 (CALL_FAIL): Macro removed.
13118 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13119
4c1a1f71
UD
131202011-09-15 Ulrich Drepper <drepper@gmail.com>
13121
13122 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13123 for __FINITE_MATH_ONLY__ == 1.
13124
edc121be
AS
131252011-09-15 Andreas Schwab <schwab@redhat.com>
13126
13127 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13128 __ieee754_sqrt instead of sqrt.
13129 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13130 __ieee754_sqrtf instead of sqrtf.
13131 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13132 __floorf instead of floorf.
13133 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13134 __floorf, __truncf instead of floorf, truncf.
13135
cd205654
UD
131362011-09-14 Ulrich Drepper <drepper@gmail.com>
13137
ee4d0315
UD
13138 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13139
cd205654
UD
13140 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13141 __extern_always_inline.
13142 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13143 32-bit.
13144
48b67d71
AS
131452011-09-14 Andreas Schwab <schwab@redhat.com>
13146
13147 * elf/rtld.c (dl_main): Also relocate in dependency order when
13148 doing symbol dependency testing.
13149
1ae12c75
AS
131502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13151
13152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13153 Always define `refsym'.
13154
995a80df
AS
131552011-09-13 Andreas Schwab <schwab@redhat.com>
13156
e529793b
AS
13157 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13158 (__FD_ELT): Renamed from __FDELT.
13159 * misc/bits/select2.h (__FD_ELT): Likewise.
13160 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13161 __FD_MASK instead of __FDELT, __FDMASK.
13162 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13163 Likewise.
13164 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13165 Likewise.
13166
52d4fef8
AS
13167 * elf/Makefile (gen-ldd): Fix pattern.
13168
995a80df
AS
13169 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13170 (init_tls): Likewise.
13171
8682f8b0
UD
131722011-09-12 Ulrich Drepper <drepper@gmail.com>
13173
13174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13175
de82006d
AS
131762011-09-12 Andreas Schwab <schwab@redhat.com>
13177
a7c8e6a1
AS
13178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13179 `struct cmsghdr *' instead of `void *'.
13180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13181 Likewise.
13182
0f31fe77
AS
131832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13184
13185 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13186 if non-absolute.
13187 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13188 ldd_rewrite_script.
0f31fe77 13189
32b4c839
UD
131902011-09-11 Ulrich Drepper <drepper@gmail.com>
13191
83cd1420
UD
13192 * configure.in: Remove --with-tls option.
13193 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13194 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13195 out in case it is missing.
13196 * sysdeps/ia64/elf/configure.in: Likewise.
13197 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13198 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13199 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13200 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13201 * sysdeps/sh/elf/configure.in: Likewise.
13202 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13203 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13204 * sysdeps/x86_64/elf/configure.in: Likewise.
13205 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13206 * sysdeps/mach/hurd/tls.h: Likewise.
13207
633f745d
UD
13208 [BZ #13067]
13209 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13210
f318beb8
UD
13211 [BZ #13090]
13212 * configure.in: Fix use of AC_INIT.
13213
32b4c839
UD
13214 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13215
3ce1f295
UD
132162011-09-10 Ulrich Drepper <drepper@gmail.com>
13217
bb016596
UD
13218 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13219 __set_errno.
8e58439c
UD
13220 * malloc/hooks.c: Likewise.
13221
aebae053 13222 [BZ #11929]
02d46fc4
UD
13223 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13224 variables statically.
13225 (narenas): Initialize.
13226 (list_lock): Initialize.
bb016596
UD
13227 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13228 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13229 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13230 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13231 Add initializers to main_arena and mp_.
13232 (malloc_state): Remove pagesize member. Change all users to use
13233 GLRO(dl_pagesize).
13234
13235 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13236 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13237 is always initialized.
13238
22a89187
UD
13239 * malloc/malloc.c: Removed unused configurations and dead code.
13240 * malloc/arena.c: Likewise.
13241 * malloc/hooks.c: Likewise.
02d46fc4 13242 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13243
d063d164
UD
13244 * include/tls.h: Removed. USE___THREAD must always be defined.
13245 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13246 * elf/dl-libc.c: Likewise.
13247 * elf/dl-tsd.c: Likewise.
13248 * include/errno.h: Likewise.
13249 * include/netdb.h: Likewise.
13250 * include/resolv.h: Likewise.
13251 * inet/herrno-loc.c: Likewise.
13252 * inet/herrno.c: Likewise.
13253 * malloc/arena.c: Likewise.
13254 * malloc/hooks.c: Likewise.
13255 * malloc/malloc.c: Likewise.
13256 * resolv/res-state.c: Likewise.
13257 * resolv/res_libc.c: Likewise.
13258 * sysdeps/i386/dl-machine.h: Likewise.
13259 * sysdeps/ia64/dl-machine.h: Likewise.
13260 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13261 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13262 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13263 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13264 * sysdeps/sh/dl-machine.h: Likewise.
13265 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13266 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13267 * sysdeps/unix/i386/sysdep.S: Likewise.
13268 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13269 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13274 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13278 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13279 * sysdeps/x86_64/dl-machine.h: Likewise.
13280 * tls.make.c: Likewise.
13281
3ce1f295
UD
13282 * configure.in: Remove --with-__thread option. Make tests for
13283 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13284 tls_model attribute fail if no support is available. Remove
13285 USE_IN_LIBIO.
13286 * Makeconfig: Adjust for dropped configure option. All features are
13287 now mandatory.
13288 * Makerules: Likewise.
13289 * Versions.def: Likewise.
13290 * argp/argp-fmtstream.c: Likewise.
13291 * argp/argp-fmtstream.h: Likewise.
13292 * argp/argp-help.c: Likewise.
13293 * assert/assert.c: Likewise.
13294 * config.h.in: Likewise.
13295 * config.make.in: Likewise.
13296 * configure: Likewise.
13297 * configure.in: Likewise.
13298 * csu/Versions: Likewise.
13299 * csu/init.c: Likewise.
13300 * elf/tst-audit2.c: Likewise.
13301 * elf/tst-tls10.c: Likewise.
13302 * elf/tst-tls10.h: Likewise.
13303 * elf/tst-tls11.c: Likewise.
13304 * elf/tst-tls12.c: Likewise.
13305 * elf/tst-tls14.c: Likewise.
13306 * elf/tst-tlsmod11.c: Likewise.
13307 * elf/tst-tlsmod12.c: Likewise.
13308 * elf/tst-tlsmod13.c: Likewise.
13309 * elf/tst-tlsmod13a.c: Likewise.
13310 * elf/tst-tlsmod14a.c: Likewise.
13311 * elf/tst-tlsmod15b.c: Likewise.
13312 * elf/tst-tlsmod16a.c: Likewise.
13313 * elf/tst-tlsmod16b.c: Likewise.
13314 * elf/tst-tlsmod7.c: Likewise.
13315 * elf/tst-tlsmod8.c: Likewise.
13316 * elf/tst-tlsmod9.c: Likewise.
13317 * gmon/gmon.c: Likewise.
13318 * grp/fgetgrent_r.c: Likewise.
13319 * grp/putgrent.c: Likewise.
13320 * hurd/fopenport.c: Likewise.
13321 * include/libc-symbols.h: Likewise.
13322 * include/tls.h: Likewise.
13323 * intl/gettextP.h: Likewise.
13324 * intl/loadinfo.h: Likewise.
13325 * locale/global-locale.c: Likewise.
13326 * locale/localeinfo.h: Likewise.
13327 * mach/devstream.c: Likewise.
13328 * malloc/arena.c: Likewise.
13329 * malloc/set-freeres.c: Likewise.
13330 * misc/err.c: Likewise.
13331 * misc/getttyent.c: Likewise.
13332 * misc/mntent_r.c: Likewise.
13333 * posix/getopt.c: Likewise.
13334 * posix/wordexp.c: Likewise.
13335 * pwd/fgetpwent_r.c: Likewise.
13336 * resolv/Versions: Likewise.
13337 * resolv/res_hconf.c: Likewise.
13338 * shadow/fgetspent_r.c: Likewise.
13339 * shadow/putspent.c: Likewise.
13340 * stdio-common/printf_fphex.c: Likewise.
13341 * stdio-common/tmpfile.c: Likewise.
13342 * stdlib/abort.c: Likewise.
13343 * stdlib/fmtmsg.c: Likewise.
13344 * sunrpc/auth_unix.c: Likewise.
13345 * sunrpc/clnt_perr.c: Likewise.
13346 * sunrpc/clnt_tcp.c: Likewise.
13347 * sunrpc/clnt_udp.c: Likewise.
13348 * sunrpc/clnt_unix.c: Likewise.
13349 * sunrpc/openchild.c: Likewise.
13350 * sunrpc/svc_simple.c: Likewise.
13351 * sunrpc/svc_tcp.c: Likewise.
13352 * sunrpc/svc_udp.c: Likewise.
13353 * sunrpc/svc_unix.c: Likewise.
13354 * sunrpc/xdr.c: Likewise.
13355 * sunrpc/xdr_array.c: Likewise.
13356 * sunrpc/xdr_rec.c: Likewise.
13357 * sunrpc/xdr_ref.c: Likewise.
13358 * sunrpc/xdr_stdio.c: Likewise.
13359
1248c1c4
PB
133602011-09-09 Ulrich Drepper <drepper@gmail.com>
13361
13362 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13363
133642011-07-03 Andreas Jaeger <aj@suse.de>
13365
13366 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13367 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13368 regenerate with gen-libm-tests.pl.
13369
133702010-05-12 Petr Baudis <pasky@suse.cz>
13371
13372 [BZ #11589]
13373 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13374 around j0() zero points by switching to j1().
13375 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13379
f22e1074
UD
133802011-09-09 Ulrich Drepper <drepper@gmail.com>
13381
f19009c1
UD
13382 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13383 instead of 0.
13384 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13385 instead of 0. .
13386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13387 Patch in part by Pavel Roskin <proski@gnu.org>.
13388
3f8cc204
UD
13389 [BZ #13138]
13390 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13391 realloc.
13392 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13393 Free memory block if necessary.
13394
f22e1074
UD
13395 [BZ #12847]
13396 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13397 be NULL. Don't lock in this case.
13398
0a2349f9
RM
133992011-09-09 Roland McGrath <roland@hack.frob.com>
13400
13401 * elf/elf.h (ELFOSABI_GNU): New macro.
13402 (ELFOSABI_LINUX): Define to that.
13403
f3cdd467
DZ
134042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13405
13406 * string/strncat.c (strncat): Undef the symbol in case it has been
13407 defined in bits/string.h.
13408
74718d13
UD
134092011-09-09 Ulrich Drepper <drepper@gmail.com>
13410
633e9e0f
UD
13411 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13412
0a2349f9 13413 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13414 link map.
13415
f9924780
AJ
134162011-08-17 Andreas Jaeger <aj@suse.de>
13417
13418 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13419
7f5517aa
PP
134202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13421 Ian Lance Taylor <iant@google.com>
13422
13423 * math/libm-test.inc (lround_test): New testcase.
13424 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13425
762011fe
UD
134262011-09-08 Ulrich Drepper <drepper@gmail.com>
13427
92963737
UD
13428 * Makefile: Remove support for automatic cvs check-ins.
13429 * Makerules: Likewise.
13430 * config.make.in: Likewise.
13431 * configure.in: Likewise.
13432 * intl/Makefile: Likewise.
13433 * locale/Makefile: Likewise.
13434 * po/Makefile: Likewise.
13435 * posix/Makefile: Likewise.
13436 * sysdeps/gnu/Makefile: Likewise.
13437 * sysdeps/mach/hurd/Makefile: Likewise.
13438 * sysdeps/sparc/sparc32/Makefile: Likewise.
13439
b0727fd8
JS
13440 [BZ #13118]
13441 * posix/Makefile (bug-regex32-ENV): Define.
13442 Patch by John Stanley <jpsinthemix@verizon.net>.
13443
a0f33f99
UD
13444 * misc/Makefile (headers): Add bits/select2.h.
13445 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13446 * misc/bits/select2.h: New file.
13447 * include/bits/select2.h: New file.
13448 * debug/Makefile (routines): Add fdelt_chk.
13449 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13450 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13451 FD_ISSET.
13452 * debug/fdelt_chk.c: New file.
13453
762011fe
UD
13454 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13455 * wcsmbs/test-wmemcmp.c: Likewise.
13456 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13457 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13458
134592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13460
13461 * string/Makefile (strop-tests): Add memcmp.
13462 * string/test-wmemcmp.c: New file.
13463 * string/test-memcmp.c: Add wmemcmp support.
13464
7f513ec8
RM
134652011-09-08 Roland McGrath <roland@hack.frob.com>
13466
0442afb4
RM
13467 [BZ #13153]
13468 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13469 2011-07-19 change.
13470
7f513ec8
RM
13471 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13472 garbage value in a __mach_port_mod_refs call in the cases of the
13473 task-self and thread-self ports.
13474
a12b2239
ST
134752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13476
13477 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13478
610f9ab4
AS
134792011-09-08 Andreas Schwab <schwab@redhat.com>
13480
7f513ec8 13481 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13482
48882a1a
LD
134832011-09-07 Ulrich Drepper <drepper@gmail.com>
13484
b49865be
UD
13485 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13486
fdc86bc9
UD
13487 * elf/dl-libc.c (dlerror_run): Pass back error code from
13488 dl_catch_error.
13489
c966526a
UD
13490 [BZ #13123]
13491 * elf/dl-load.c (lose): Free l_origin if it is valid.
13492
48882a1a
LD
13493 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13494 names.
13495 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13496 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13500 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13501
77a2a8b4
AZ
135022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13503
13504 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13505 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13506 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13507 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13508 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13509 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13510 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13511 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13512 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13513 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13514
24f579d8
AM
135152011-08-15 Alan Modra <amodra@gmail.com>
13516
13517 [BZ #13092]
13518 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13519 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13520 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13521 ppc_mcount to static-only-routines.
13522 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13523 __mcount_internal.
13524 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13525 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13526
3d4837df
UD
135272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13528
13529 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13530 for finite and infinity parameters.
13531
22700377
WS
135322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13533
13534 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13535 and add nop instructions for throughput optimization.
13536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13537
5025581e
WS
135382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13539
13540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13541 aligned copy for power7 with vector-scalar instructions.
13542 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13543
08a300c9
L
135442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13545
13546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13547 AVX check.
13548
59178ef9
AS
135492011-09-07 Andreas Schwab <schwab@redhat.com>
13550
13551 [BZ #13144]
13552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13553 last change.
13554
e38ba7ab
UD
135552011-09-07 Ulrich Drepper <drepper@gmail.com>
13556
13557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13558 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13559 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13560 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13561 clock_gettime.
13562
d53a73ac
UD
135632011-09-06 Ulrich Drepper <drepper@gmail.com>
13564
fc8bffcc
UD
13565 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13566 Forgot to demangle the pointer.
13567
ceaa0c5d
UD
13568 * sysdeps/i386/sysdep.h: Define atom_text_section.
13569 * sysdeps/x86_64/sysdep.h: Likewise.
13570 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13571 section with atom_text_section.
13572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13574 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13575 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13576 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13577
a77d3c17
UD
13578 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13580 already be defined. Change to take two parameters and don't assign
13581 result to variable. Adjust all users.
13582 Define INTERNAL_GETTIME if not already defined.
13583 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13584 call.
13585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13586 HAVE_CLOCK_GETTIME_VSYSCALL.
13587 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13588
d53a73ac
UD
13589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13590 gettimeofday vsyscall, just use time.
13591
a8f84144
AS
135922011-09-06 Andreas Schwab <schwab@redhat.com>
13593
13594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13595 <errno.h>.
13596
ef606249
UD
135972011-09-06 Ulrich Drepper <drepper@gmail.com>
13598
13599 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13600 syscall on x86-64.
13601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13602 syscall.
13603 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13604 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13605 syscall if possible.
13606
6585cb60
UD
136072011-09-05 Ulrich Drepper <drepper@gmail.com>
13608
13609 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13610 e_ident. Don't pass to find_mapsXX.
13611 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13612
a5f524e4
LD
136132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13614
13615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13616 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13617 * sysdeps/x86_64/multiarch/strchr.S: Update.
13618 Check bit_slow_BSF bit.
13619 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13620 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13621 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13622
554881ef
UD
136232011-09-05 Ulrich Drepper <drepper@gmail.com>
13624
d96de963
UD
13625 [BZ #13134]
13626 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13627 before glibc 2.15.
13628 (tryshell): Define.
13629 (__spawni): Change last parameter to be flag. Test
13630 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13631 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13632 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13633 * posix/spawni.c: Likewise.
13634 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13635 * posix/spawnp.c: Likewise. Change normal version to use
13636 SPAWN_XFLAGS_USE_PATH.
13637 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13638 SPAWN_XFLAGS_TRY_SHELL.
13639
d48e5868
UD
13640 [BZ #13150]
13641 * posix/glob.h: Remove gcc 1.x support.
13642
554881ef
UD
13643 [BZ #13068]
13644 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13645
693fb948
LD
136462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13647
13648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13649 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13650 strrchr-sse2-bsf
13651 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13652 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13653 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13654 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13655 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13656 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13657
1b48c537
UD
136582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13659
49d42c37
UD
13660 * sysdeps/x86_64/wcscmp.S: New file.
13661
1b48c537
UD
13662 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13663 wcscmp-c wcscmp-sse2
13664 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13665 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13666 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13667 * wcsmbs/wcscmp.c: Allow renaming.
13668
15c95c5d
DM
136692011-09-05 David S. Miller <davem@davemloft.net>
13670
13671 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13672 stack slot, rather than the struct return pointer slot.
13673 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13674 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13676 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13677
2f0ad8f3
UD
136782011-09-05 Ulrich Drepper <drepper@gmail.com>
13679
d88ae418
UD
13680 * po/ja.po: Update from translation team.
13681
2f0ad8f3
UD
13682 [BZ #13144]
13683 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13684 kernel in 64-bit binaries.
13685
5f4318d1
DM
136862011-09-01 David S. Miller <davem@davemloft.net>
13687
13688 * elf/elf.h (HWCAP_SPARC_*): Move to..
13689 * sysdeps/sparc/sysdep.h: this new file and add new values.
13690 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13691 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13692 _DL_HWCAP_COUNT to 24.
13693 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13694 entries.
13695 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13696 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13697 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13699 instead of magic constants.
13700 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13701
3ba57516
DM
137022011-08-31 David S. Miller <davem@davemloft.net>
13703
13704 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13706 Reimplement to do errno handling inline.
13707 (SYSCALL_ERROR_HANDLER): New macro.
13708 (__SYSCALL_STRING): Do not do errno handling in asm.
13709 (__CLONE_SYSCALL_STRING): Delete.
13710 (__INTERNAL_SYSCALL_STRING): Delete.
13711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13712 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13713 (PSEUDO): Reimplement to do errno handling inline.
13714 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13715 (SYSCALL_ERROR_HANDLER): New macro.
13716 (__SYSCALL_STRING): Do not do errno handling in asm.
13717 (__CLONE_SYSCALL_STRING): Delete.
13718 (__INTERNAL_SYSCALL_STRING): Delete.
13719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13720 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13721 i386.
13722 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13723 (inline_syscall*): Add 'err' argument.
13724 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13725 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13726 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13727 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13728
13729 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13730 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13731
2bc17433
AS
137322011-08-30 Andreas Schwab <schwab@redhat.com>
13733
13734 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13735
fbeb5f4d
JO
137362011-08-29 Jiri Olsa <jolsa@redhat.com>
13737
13738 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13739 directive.
13740
ad69cc26
DM
137412011-08-24 David S. Miller <davem@davemloft.net>
13742
13743 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13744
39dd69df
AS
137452011-08-24 Andreas Schwab <schwab@redhat.com>
13746
13747 * elf/Makefile: Add rules to build and run unload8 test.
13748 * elf/unload8.c: New file.
13749 * elf/unload8mod1.c: New file.
13750 * elf/unload8mod1x.c: New file.
13751 * elf/unload8mod2.c: New file.
13752 * elf/unload8mod3.c: New file.
13753
13754 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13755 it wasn't used.
13756
2c0b250a
DM
137572011-08-23 David S. Miller <davem@davemloft.net>
13758
13759 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13760 subtract stack bias.
13761 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13762 %sp not %fp in calculations.
13763 (_JMPBUF_UNWINDS_ADJ): Likewise.
13764
22044b48
DM
13765 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13766 (aio_suspend): Call it to force an exception region around the
13767 AIO_MISC_WAIT() invocation.
13768
2cae4995
AS
137692011-08-23 Andreas Schwab <schwab@redhat.com>
13770
13771 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13772 backslash.
13773
873a772e
AJ
137742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13775
13776 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13777 protection macro.
13778 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13779 and <dl-machine.h>.
13780 (Elf64_FuncDesc): Remove.
13781
25ad0df1
DM
137822011-08-22 David S. Miller <davem@davemloft.net>
13783
13784 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13785 sigaltstack check, add missing cfi directives.
13786 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13787 missing cfi directives, and sigaltstack handling.
13788
e888bcbe
AS
137892011-08-16 Andreas Schwab <schwab@redhat.com>
13790
13791 [BZ #11724]
13792 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13793 object is seen twice.
13794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13795
13796 * elf/Makefile (distribute): Add tst-initorder2.c.
13797 (tests): Add tst-initorder2.
13798 (modules-names): Add tst-initorder2a tst-initorder2b
13799 tst-initorder2c tst-initorder2d. Add rules to build them.
13800 ($(objpfx)tst-initorder2.out): New rule.
13801 * elf/tst-initorder2.c: New file.
13802 * elf/tst-initorder2.exp: New file.
13803
87162f46
AS
138042011-08-22 Andreas Schwab <schwab@redhat.com>
13805
70538b7f
AS
13806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13807
f55ffe58
AS
13808 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13809 dependencies back to end of function.
13810
87162f46
AS
13811 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13812 $(elfobjdir)/ld.so.
13813
91b392a4
UD
138142011-08-21 Ulrich Drepper <drepper@gmail.com>
13815
13816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13817 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13819 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13820 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13821 of __vdso_gettimeofday.
13822 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13823 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13824 attribute_hidden.
13825 (_libc_vdso_platform_setup): Remove initialization of
13826 __vdso_gettimeofday and __vdso_time.
13827
5c43483f
UD
138282011-08-20 Ulrich Drepper <drepper@gmail.com>
13829
775a77e7
UD
13830 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13831 and fgetc_unlocked.
13832 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13833 getc_unlocked.
89f447ed 13834
49c74ba9
UD
13835 * elf/dl-open.c (add_to_global): Report additions to the global scope
13836 for LD_DEBUG=scopes.
13837 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13838 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13839
5c43483f
UD
13840 [BZ #13114]
13841 * stdio-common/Makefile (tests): Add bug24.
13842 * stdio-common/bug24.c: New file.
13843
a101b025
AJ
138442011-08-19 Andreas Jaeger <aj@suse.de>
13845
13846 [BZ #13114]
13847 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13848 non-existant file when using close-on-exec mode.
13849
c88f1766
UD
138502011-08-20 Ulrich Drepper <drepper@gmail.com>
13851
0276a718
UD
13852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13853 the very first instruction.
13854
c88f1766
UD
13855 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13856 the CFI state in the end.
13857 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13858 inclusion of dl-trampoline.h.
13859 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13860
51ccffa0
AS
138612011-08-19 Andreas Schwab <schwab@redhat.com>
13862
94d7165f
AS
13863 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13864 expectations for long double.
13865
51ccffa0
AS
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13867 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13868
fd708658 138692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13870
13871 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13872 artificual limit depends upon the system page size.
13873
44f0a71e
UD
138742011-08-17 Ulrich Drepper <drepper@gmail.com>
13875
13876 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13877 * resolv/Makefile: Define CFLAGS-libresolv.
13878
8de79a24
AS
138792011-08-17 Andreas Schwab <schwab@redhat.com>
13880
13881 * nss/makedb.c (compute_tables): Make variables used in nested
13882 function static.
13883
27724598
UD
138842011-08-17 Ulrich Drepper <drepper@gmail.com>
13885
c5305d88
UD
13886 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13887 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13888 if buffer was too small.
13889
27724598
UD
13890 * elf/pldd.c (main): Attach to all threads in the process.
13891 Rewrite /proc handling to use *at functions.
13892
076fe015
UD
138932011-08-16 Ulrich Drepper <drepper@gmail.com>
13894
174baab3
UD
13895 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13896 specifies first scope to show.
13897 (dl_open_worker): Update callers. Move printing scope of new
13898 object to before the relocation.
44f0a71e 13899 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13900 * sysdeps/generic/ldsodefs.h: Update declaration.
13901
076fe015
UD
13902 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13903 string for the scope number.
13904
a60df2c3
UD
139052011-08-14 Ulrich Drepper <drepper@gmail.com>
13906
13907 * nscd/servicescache.c (cache_addserv): Make sure written is always
13908 initialized.
13909
5e4287d1
RM
139102011-08-14 Roland McGrath <roland@hack.frob.com>
13911
85ae0589
RM
13912 * sysdeps/i386/i486/bits/atomic.h
13913 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13914 statement expression, so as to suppress "set but not used" warning.
13915 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13916
69f63097
RM
13917 * string/strncat.c (STRNCAT): Use prototype definition.
13918
675456ef
RM
13919 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13920 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13921 -Iprograms here.
13922 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13923 (localedef-modules): Add localedef.
13924 (locale-modules): Add locale.
13925
5e4287d1
RM
13926 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13927 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13928 to avoid a warning.
13929
9c96ff23
DM
139302011-08-14 David S. Miller <davem@davemloft.net>
13931
13932 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13933 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13934
f9ddf089
UD
139352011-08-13 Ulrich Drepper <drepper@gmail.com>
13936
44f0a71e 13937 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13938 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13939 * elf/rtld.c (dl_main): Set l_name of vDSO.
13940 Call _dl_show_scope when DL_DEBUG_SCOPES.
13941 (process_dl_debug): Recognize scopes flag and also set it for all.
13942 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13943 Declare _dl_show_scope.
13944
1dc27704
UD
13945 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13946 (do_dlopen): Pass caller_dlopen to dl_open.
13947 (__libc_dlopen_mode): Initialize caller_dlopen.
13948
f9ddf089
UD
13949 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13950 of libc. Make tolower call locale-independent. Optimize a bit by
13951 using isdigit instead of isalnum.
13952 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13953
9ac533d3
UD
139542011-08-12 Ulrich Drepper <drepper@gmail.com>
13955
13956 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13957 was a dependency or dynamically loaded.
13958
89edf2e9
UD
139592011-08-11 Ulrich Drepper <drepper@gmail.com>
13960
8e999d29
UD
13961 * intl/l10nflist.c: Allow architecture-specific pop function.
13962 * sysdeps/x86_64/l10nflist.c: New file.
13963
89edf2e9
UD
13964 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13965 classification.
13966
14d96785
AS
139672011-08-10 Andreas Schwab <schwab@redhat.com>
13968
13969 * include/dirent.h: Add libc_hidden_proto for scandirat and
13970 scandirat64. Don't declare __scandirat64.
13971 * dirent/scandirat.c: Add libc_hidden_def.
13972 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13973 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13974
6761ac04
DM
139752011-08-10 David S. Miller <davem@davemloft.net>
13976
13977 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13978 enum.
13979 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13980 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13982
c55fbd1e
UD
139832011-08-09 Ulrich Drepper <drepper@gmail.com>
13984
13985 * Versions.def [libc]: Add GLIBC_2.15.
13986 * dirent/Makefile (routines): Add scandirat and scandirat64.
13987 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13988 GLIBC_2.15.
13989 * dirent/dirent.h: Declare scandirat and scandirat64.
13990 * dirent/scandirat.c: New file.
13991 * dirent/scandirat64.c: New file.
13992 * sysdeps/wordsize-64/scandirat.c: New file.
13993 * sysdeps/wordsize-64/scandirat64.c: New file.
13994 * dirent/opendir.c: Define opendirat.
13995 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13996 using scandirat.
13997 * dirent/scandir64.c: Adjust for scandir.c change.
13998 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13999 __scandirat64, and __scandir_cancel_handler.
14000 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14001 additional parameter and use openat instead of open (outside of ld.so).
14002 Add new __opendir as wrapper around __opendirat.
14003 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14004 here without requiring old scandirat implementation.
14005
879165f2
UD
140062011-08-08 Ulrich Drepper <drepper@gmail.com>
14007
14008 * dirent/scandir.c (cancel_handler): Renamed to
14009 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14010 defined. Adjust users.
14011 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14012 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14013
cb7e923b
UD
140142011-08-04 Ulrich Drepper <drepper@gmail.com>
14015
16292edd
UD
14016 * string/test-string.h (IMPL): Use __STRING to expand name and then
14017 stringify it.
14018
cb7e923b
UD
14019 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14020 of cleanups.
14021
cff82933
LD
140222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14023
14024 * string/Makefile: Update.
14025 (strop-tests): Append strncat.
14026 * string/test-wcscmp.c: New file.
14027 New comprehensive test for wcscmp.
14028 * string/test-strcmp.c: Update.
14029 (WIDE): New define.
14030
9be9bfcc
AS
140312011-07-22 Andreas Schwab <schwab@redhat.com>
14032
14033 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14034 line.
14035
2e96f1c7
AS
140362011-07-26 Andreas Schwab <schwab@redhat.com>
14037
14038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14039 encoding to ACE if AI_IDN.
14040
85188888
JJ
140412011-08-01 Jakub Jelinek <jakub@redhat.com>
14042
14043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14044 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14045
5fa16e9b
LD
140462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14047
14048 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14049 Fix overflow bug in strncat.
14050 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14051
14052 * string/test-strncat.c: Update.
14053 Add new tests for checking overflow bugs.
14054
140552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14056
14057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14058 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14059 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14060 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14062 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14063 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14064 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14065 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14066
14067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14068 (USE_AS_STRCAT): Define.
14069 Add strcat and strncat support.
14070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14071
8c1a459f
AS
140722011-07-25 Andreas Schwab <schwab@redhat.com>
14073
14074 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14075 __n bigger than INT_MAX+1.
14076 (__strncmp_g): Likewise.
14077
bba33c28
UD
140782011-07-23 Ulrich Drepper <drepper@gmail.com>
14079
798be72d
UD
14080 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14081 * libio/stido.h: Likewise.
14082
8accd4dc
UD
14083 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14084 (AF_NFC): Define.
14085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14086 (AF_NFC): Define.
14087
cbff0d96
UD
14088 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14089 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14090 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14091 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14092 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14093
9191c04a
UD
14094 [BZ #13021]
14095 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14096 installed.
14097
bba33c28
UD
14098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14099 typo.
14100 (_dl_x86_64_save_sse): Likewise.
14101
90f139dd
UD
141022011-07-22 Ulrich Drepper <drepper@gmail.com>
14103
1aae088a
UD
14104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14105 OSXSAVE.
14106 (_dl_x86_64_save_sse): Likewise.
14107
8e2045f5
UD
14108 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14109
90f139dd
UD
14110 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14111
1d002f25
AS
141122011-07-21 Andreas Schwab <schwab@redhat.com>
14113
14114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14115 change.
14116 (_dl_x86_64_save_sse): Use correct AVX check.
14117
21137f89
UD
141182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14119
14120 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14121 bug in strncpy/strncat.
14122 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14123
a65c0b7a
UD
141242011-07-21 Ulrich Drepper <drepper@gmail.com>
14125
14126 * string/tester.c (test_strcat): Add tests for different alignments
14127 of source and destination.
14128 (test_strncat): Likewise.
14129
6986b98a
UD
141302011-07-20 Ulrich Drepper <drepper@gmail.com>
14131
90bb2039
UD
14132 [BZ #12852]
14133 * posix/glob.c (glob): Check passed in values before using them in
14134 expressions to avoid some overflows.
14135 (glob_in_dir): Likewise.
14136
5644ef54
UD
14137 [BZ #13007]
14138 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14139 check for AVX enablement so that we don't crash with old kernels and
14140 new hardware.
14141 * elf/tst-audit4.c: Add same checks here.
14142 * elf/tst-audit6.c: Likewise.
14143
14144 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14145
bfc9dc9b
AS
141462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14147
14148 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14149
702e64bb
UD
141502011-07-20 Ulrich Drepper <drepper@gmail.com>
14151
14152 * po/cs.po: Update from translation team.
14153 * po/bg.po: Likewise.
14154
295e904f
MP
141552011-07-12 Marek Polacek <mpolacek@redhat.com>
14156
14157 * misc/sys/cdefs.h: Add support for const attribute.
14158 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14159 to gnu_dev_{major,minor,makedev} functions.
14160
3ff94596
MP
141612011-07-20 Marek Polacek <mpolacek@redhat.com>
14162
14163 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14164
28b59fca
AS
141652011-07-20 Andreas Schwab <schwab@redhat.com>
14166
14167 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14168 strlen results.
14169
19df733e
AK
141702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14171
14172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14173 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14174 register in order to avoid conflicts with the soft frame pointer
14175 being held in r11 when necessary.
14176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14177 (INTERNAL_VSYSCALL_NCS): Likewise.
14178
c8835729
MP
141792011-07-14 Marek Polacek <mpolacek@redhat.com>
14180
14181 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14182 * elf/dl-fini.c (_dl_fini): Adjust caller.
14183 * elf/dl-close.c (_dl_close_worker): Likewise.
14184 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14185
b902330c
MP
141862011-07-15 Marek Polacek <mpolacek@redhat.com>
14187
8991e135
MP
14188 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14189 "aux_cache->nlibs < 0".
14190
b902330c
MP
14191 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14192 in the reload-count case.
14193
99710781
LD
141942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14195
14196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14197 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14198 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14199 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14200 * sysdeps/x86_64/multiarch/strcat.S: New file.
14201 * sysdeps/x86_64/multiarch/strncat.S: New file.
14202 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14203 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14204 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14205 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14206 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14207 (USE_AS_STRCAT): Define.
14208 Add strcat and strncat support.
14209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14210 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14211 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14212 * string/strncat.c: Update.
14213 (USE_AS_STRNCAT): Define.
14214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14215 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14216 and i7.
14217 * sysdeps/x86_64/multiarch/init-arch.h
14218 (bit_Prefer_PMINUB_for_stringop): New.
14219 (index_Prefer_PMINUB_for_stringop): Likewise.
14220 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14221 bit_Prefer_PMINUB_for_stringop.
14222
7dc6bd90
UD
142232011-07-19 Ulrich Drepper <drepper@gmail.com>
14224
14225 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14226 buffer64.
14227 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14228 of casting of buffer.
14229 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14230 buffer32 and buffer64.
14231 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14232 writes instead of casting of buffer.
14233 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14234 buffer32.
14235 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14236 casting of buffer.
14237
e0e72284
AS
142382011-07-19 Andreas Schwab <schwab@redhat.com>
14239
14240 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14241
feb1eb0b
UD
142422011-07-19 Ulrich Drepper <drepper@gmail.com>
14243
14244 * nscd/nscd.c (termination_handler): Don't do anything for a database
14245 if it has not yet been initialized.
14246
298711ff
UD
142472011-07-18 Ulrich Drepper <drepper@gmail.com>
14248
14249 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14250
142512011-07-15 Marek Polacek <mpolacek@redhat.com>
14252
14253 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14254
f9d68389
UD
142552011-07-18 Ulrich Drepper <drepper@gmail.com>
14256
14257 * po/nl.po: Update from translation team.
14258 * po/sv.po: Likewise.
14259
db290cf5
RM
142602011-07-16 Roland McGrath <roland@hack.frob.com>
14261
14262 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14263 now disallowed by GCC.
5c550700 14264
fd5e21c7
RM
14265 * configure.in (use-default-link): Default to yes if a test -shared
14266 link meets our qualifications.
14267 * configure: Regenerated.
14268
5c550700
RM
14269 * config.make.in (output-format): New variable.
14270 * configure.in: Check for ld --print-output-format support.
14271 * configure: Regenerated.
14272 * Makerules ($(common-objpfx)format.lds)
14273 [$(output-format) != unknown]: Just use $(output-format),
14274 instead of the linker-script munging.
14275
9fa2c032
RM
142762011-07-14 Roland McGrath <roland@hack.frob.com>
14277
a6928d51
RM
14278 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14279 of $(common-objpfx)shlib.lds.
14280 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14281
661607b3
RM
14282 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14283 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14284
9fa2c032
RM
14285 * configure.in (-z relro check): Adjust test code to add a large
14286 writable data section after it.
14287 * configure: Regenerated.
14288
defe9061
RM
142892011-07-11 Roland McGrath <roland@hack.frob.com>
14290
14291 * configure.in (-z relro check): Fix test code to make the variable
14292 truly const.
14293 * configure: Regenerated.
14294
319b9ad4
UD
142952011-07-11 Ulrich Drepper <drepper@gmail.com>
14296
14297 * nscd/nscd.h (struct traced_file): Define.
14298 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14299 elements. Add traced_files.
14300 (inotify_fd): Declare.
14301 (register_traced_file): Declare.
14302 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14303 (inotify_fd): Export.
14304 (resolv_conf_descr): Remove.
14305 (nscd_init): Move inotify descriptor creation to main.
14306 Don't register files for notification here.
14307 (register_traced_file): New function.
14308 (invalidate_cache): Don't use reset_res to determine whether to call
14309 res_init, go through the list of registered files.
14310 (main_loop_poll): The inotify descriptors are now stored in the
14311 structures for the traced files.
14312 (main_loop_epoll): Likewise
14313 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14314 to __nss_disable_nscd.
14315 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14316 for a database anymore. Check the records for all the registered
14317 files instead.
14318 * nss/Makefile (libnss_files-routines): Add files-init.
14319 (libnss_db-routines): Add db-init.
14320 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14321 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14322 * nss/nss_db/db-init.c: New file.
14323 * nss/nss_files/files-init.c: New file.
14324 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14325 __nss_lookup_function.
14326 (__nss_lookup_function): Call nss_load_library.
14327 (nss_load_all_libraries): New function.
14328 (__nss_disable_nscd): Take parameter with callback function for files
14329 to register. Set is_nscd. Load all the DSOs for the NSS modules
14330 used for the cached services.
14331 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14332 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14333 options for features to all the files in nscd.
14334
14335 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14336
23bee3e8
RM
143372011-07-10 Roland McGrath <roland@hack.frob.com>
14338
14339 * csu/elf-init.c (__libc_csu_init): Comment typo.
14340
46a5b7f0
UD
143412011-07-09 Ulrich Drepper <drepper@gmail.com>
14342
14343 * po/pl.po: Update from translation team.
14344 * po/ja.po: Likewise.
14345 * po/ru.po: Likewise.
14346 * po/ko.po: Likewise.
14347 * po/fr.po: Likewise.
14348
d30cf5bb
RM
143492011-07-09 Roland McGrath <roland@hack.frob.com>
14350
113ddea4
RM
14351 * configure.in (.ctors/.dtors header and trailer check):
14352 Use an empirical test on a built program.
14353 * configure: Regenerated.
14354
574920b4
RM
14355 * configure.in (-z relro check): Use an empirical test on a built DSO.
14356 Detect, but do not require, on ia64.
14357 * configure: Regenerated.
14358
d30cf5bb
RM
14359 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14360 Update tests that use readelf to use $READELF instead.
14361 * configure: Regenerated.
14362
8538fdb3
UD
143632011-07-08 Ulrich Drepper <drepper@gmail.com>
14364
14365 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14366 if the result is not used.
14367
04d08991
AJ
143682011-07-05 Andreas Jaeger <aj@suse.de>
14369
14370 [BZ#9696]
14371 * stdlib/tst-strtod.c: Add testcase.
14372
de283087
AD
143732011-07-07 Ulrich Drepper <drepper@gmail.com>
14374
4e5f31c8 14375 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14376 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14377 The latter has a higher limit. Take additional parameter to pass to
14378 the new function.
14379 (__pathconf): Pass file to __statfs_link_max.
14380 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14381 __statfs_link_max.
14382 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14383 __statfs_link_max.
14384
de283087
AD
14385 [BZ #12868]
14386 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14387 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14388 Handle Lustre.
14389 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14390 (__statfs_filesize_max): Likewise.
14391 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14392
c75fa153
AJ
143932011-07-05 Andreas Jaeger <aj@suse.de>
14394
14395 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14396
1a544854
UD
143972011-07-06 Marek Polacek <mpolacek@redhat.com>
14398
14399 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14400 `status' variable.
14401 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14402 Likewise.
14403
6f0eec67
UD
144042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14405
14406 * Makefile (strop-tests): Add strncat.
14407 * string/test-strncat.c: New file.
14408
aae30307
UD
144092011-06-30 Marek Polacek <mpolacek@redhat.com>
14410
14411 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14412
c0cfb5eb
UD
144132011-06-21 Andreas Jaeger <aj@suse.de>
14414
14415 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14416 Copy rule from iconvdata/Makefile.
14417
01636b21
UD
144182011-07-06 Ulrich Drepper <drepper@gmail.com>
14419
14420 [BZ #12922]
14421 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14422 but no long options are defined, just return 'W'.
14423
9895c8bc
UD
144242011-06-22 Marek Polacek <mpolacek@redhat.com>
14425
14426 [BZ #9696]
14427 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14428
5d4cf042
UD
144292011-07-06 Ulrich Drepper <drepper@gmail.com>
14430
14431 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14432 netgroups to read.
960e5535 14433 (innetgr): Likewise.
5d4cf042 14434
751eb97e
RM
144352011-07-05 Roland McGrath <roland@hack.frob.com>
14436
14437 * config.make.in (install_root): Default to $(DESTDIR).
14438
f15f1e45
UD
144392011-07-05 Ulrich Drepper <drepper@gmail.com>
14440
14441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14442
4e34ac6a
RM
144432011-07-02 Roland McGrath <roland@hack.frob.com>
14444
5e9b6af4
RM
14445 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14446
84f9ea0f
RM
14447 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14448 containing directory rather than embedding absolute directory names.
14449
ea5ee9f7
RM
14450 * scripts/check-local-headers.sh: Rewritten using awk.
14451 Match by word, not by line. Print error messages for matches.
14452 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14453
1b74661a
RM
14454 * Makerules [shlib-lds-flags empty]:
14455 ($(common-objpfx)libc_pic.opts): New target.
14456 ($(common-objpfx)libc_pic.os.clean): New target.
14457 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14458
14459 * config.make.in (OBJCOPY): New variable.
14460 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14461 * configure: Regenerated.
14462
f781ef40
RM
14463 * config.make.in (use-default-link): New variable.
14464 * configure.in (use_default_link): Grok --with-default-link to set it.
14465 * configure: Regenerated.
14466 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14467 (shlib-lds, shlib-lds-flags): Define to empty.
14468
2d4fa81e
RM
14469 * Makerules (shlib-lds): New variable.
14470 (shlib-lds-flags): New variable.
14471 (build-shlib, build-moduile, build-module-asneeded): Use it.
14472 ($(common-objpfx)libc.so): Use $(shlib-lds).
14473 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14474 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14475
31fffa6b
RM
14476 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14477 DT_FLAGS/DT_FLAGS_1 with zero flags.
14478
4e34ac6a
RM
14479 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14480 linker script munging.
14481
fcfc776b
UD
144822011-07-02 Ulrich Drepper <drepper@gmail.com>
14483
14484 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14485 as 128-bit value.
14486 * crypt/sha512.c (sha512_process_block): Perform total addition using
14487 128-bit if possible.
14488 (__sha512_finish_ctx): Likewise.
14489 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14490 as 64-bit value.
14491 * crypt/sha256.c (SWAP64): Define.
14492 (sha256_process_block): Perform total addition using 64-bit if
14493 possible.
14494 (__sha256_finish_ctx): Likewise.
14495
99231d9a
UD
144962011-07-01 Ulrich Drepper <drepper@gmail.com>
14497
14498 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14499 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14500 * nscd/hstcache.c (cache_addhst): Likewise.
14501 * nscd/grpcache.c (cache_addgr): Likewise.
14502 * nscd/aicache.c (addhstaiX): Likewise
14503 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14504
445b4a53
TK
145052011-07-01 Thorsten Kukuk <kukuk@suse.de>
14506
14507 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14509 * nscd/hstcache.c (cache_addhst): Likewise.
14510 * nscd/grpcache.c (cache_addgr): Likewise.
14511 * nscd/aicache.c (addhstaiX): Likewise
14512
6d4d8e8e
AS
145132011-07-01 Andreas Schwab <schwab@redhat.com>
14514
14515 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14516 domain only when needed.
14517
89f654c5
AS
145182011-06-30 Andreas Schwab <schwab@redhat.com>
14519
14520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14521 is always restored.
14522
cf3b23ff
UD
145232011-06-29 Ulrich Drepper <drepper@gmail.com>
14524
14525 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14526 are re-adding the entry.
14527 * nscd/servicescache.c (cache_addserv): Likewise.
14528
751626f9
AJ
145292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14530
14531 * sysdeps/generic/dl-irel.h: fix protection against multiple
14532 inclusions.
14533 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14534
9113ea1f
UD
145352011-06-28 Ulrich Drepper <drepper@gmail.com>
14536
5c0b8d90
UD
14537 [BZ #12935]
14538 * malloc/memusage.sh: Fix quoting in message.
14539 * debug/xtrace.sh: Likewise.
14540
9113ea1f
UD
14541 * configure.in: Remove support for --experimental-malloc option, make
14542 it the default.
14543 * config.make.in: Likewise.
14544 * malloc/Makefile: Likewise.
14545
a4172181
AS
145462011-06-27 Andreas Schwab <schwab@redhat.com>
14547
14548 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14549 two-byte characters.
14550
78a7eee7
RM
145512011-06-27 Roland McGrath <roland@hack.frob.com>
14552
62bede13
RM
14553 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14554 AC_CACHE_CHECK invocation.
14555 * configure: Regenerated.
14556
78a7eee7
RM
14557 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14558
5ce33a62
UD
145592011-06-27 Ulrich Drepper <drepper@gmail.com>
14560
034807a9
UD
14561 [BZ #12350]
14562 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14563 bit from old_res_options.
14564
4902da17
UD
14565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14566
5ce33a62
UD
14567 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14568 value type for setfct.
14569
c2344f56
L
145702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14571
14572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14573 __gettimeofday instead of gettimeofday.
14574
68468076
UD
145752011-06-26 Ulrich Drepper <drepper@gmail.com>
14576
14577 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14578
acb0d739
L
145792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14580
14581 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14582
14583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14584 info.
14585
8912479f
L
145862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14587
14588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14589 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14590 strcpy-sse2-unaligned strncpy-sse2-unaligned
14591 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14592 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14593 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14594 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14595 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14597 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14598 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14599 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14600 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14601 (STRCPY): Support SSE2 and SSSE3 versions.
14602
d5495a11
UD
146032011-06-24 Ulrich Drepper <drepper@gmail.com>
14604
14605 [BZ #12874]
14606 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14607 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14608 kernels which artificially limit size of requests.
14609
0b1cbaae
L
146102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14611
14612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14613 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14614 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14615 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14616 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14617 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14618 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14619 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14620 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14622 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14623 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14624 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14625 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14626 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14628 Enable unaligned load optimization for Intel Core i3, i5 and i7
14629 processors.
14630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14631 Define.
14632 (index_Fast_Unaligned_Load): Define.
14633 (HAS_FAST_UNALIGNED_LOAD): Define.
14634
07f494a0
MP
146352011-06-23 Marek Polacek <mpolacek@redhat.com>
14636
14637 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14638
fa3fc0fe
UD
146392011-06-22 Ulrich Drepper <drepper@gmail.com>
14640
14641 [BZ #12907]
14642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14643 until it is clear that the information is realy needed.
14644 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14645
e12df166
AS
146462011-06-22 Andreas Schwab <schwab@redhat.com>
14647
14648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14649
852eb34d
UD
146502011-06-22 Ulrich Drepper <drepper@gmail.com>
14651
84e2a551
UD
14652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14653 /sys/devices/system/cpu/online if it is usable.
14654
852eb34d
UD
14655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14656 reading the information from the /proc filesystem to once a second.
14657
6e502e19
UD
146582011-06-21 Andreas Jaeger <aj@suse.de>
14659
14660 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14661 NULL after inclusion of kernel headers.
14662
75d39ff2
UD
146632011-06-21 Ulrich Drepper <drepper@gmail.com>
14664
51f9aa6a
UD
14665 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14666 calls to internal_setent.
14667
c0244a9d
UD
14668 [BZ #12885]
14669 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14670 addresses using gethostbyname4_r ignore IPv4 addresses.
14671
c5e3c2ae
UD
14672 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14673 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14674
75d39ff2
UD
14675 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14676
42675c6f
DM
146772011-06-20 David S. Miller <davem@davemloft.net>
14678
14679 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14680 inclusions.
14681 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14682
14683 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14684 (elf_irel): Use it.
14685 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14686 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14687 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14688 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14689 * sysdeps/x86_64/dl-irel.h: Likewise.
14690
14691 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14692 * elf/dl-sym.c: Likewise.
14693
57912a71
UD
146942011-06-15 Ulrich Drepper <drepper@gmail.com>
14695
14696 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14697 need to dereference resplen2.
14698
ee22793d
AS
146992011-06-14 Andreas Schwab <schwab@redhat.com>
14700
14701 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14702
a9e836b0
UD
147032011-06-15 Ulrich Drepper <drepper@gmail.com>
14704
77fb9117
UD
14705 * Makeconfig: Define vardbdir and inst_vardbdir.
14706 * nss/Makefile: Add rules to install db-Makefile.
14707
40c1b22c
UD
14708 * nss/nss_db/db-XXX.c: Cleanup.
14709
9f2da732
UD
14710 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14711 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14712 GLIBC_PRIVATE.
14713 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14714 * nss/makedb.c: Implement -g option to specify that value strings
14715 are generated and should not be added to table iterated over for
14716 get*ent calls.
14717 * nss/nss_db/db-initgroups.c: New file.
14718
82e9a1f7
UD
14719 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14720 interface.
14721
c41af17e
UD
14722 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14723 (internal_getgrouplist): Adjust to name change.
14724 Update use_initgroups_entry if this is not the first call.
14725 * nss/databases.def: Add initgroups entry.
14726
a9e836b0
UD
14727 * nss/makedb.c (compute_tables): Check result of multiple hash table
14728 sizes to minimize maximum chain length.
14729
2666d441
UD
147302011-06-14 Ulrich Drepper <drepper@gmail.com>
14731
14732 * Versions.def: Add entry for libnss_db.
14733 * shlib-versions: Likewise.
14734 * nss/Makefile: Add rules to build libnss_db.
14735 * nss/Versions: Add libnss_db information. Organize libnss_files
14736 entries better.
14737 * nss/db-Makefile: Add gshadow support. Change rules for the new
14738 makedb progra. Some minor improvements to generate smaller files.
14739 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14740 here from...
14741 * nss/makedb.c: ...here.
14742 Improve database format to be smaller and require less memory at
14743 runtime.
14744 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14745 db anymore.
14746 * nss/nss_db/db-netgrp.c: Likewise.
14747 * nss/nss_db/db-open.c: Likewise.
14748 * nss/nss_files/flies-XXX.x: Adjust comments.
14749 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14750 * nss/nss_files/files-grp.c: Likewise.
14751 * nss/nss_files/files-hosts.c: Likewise.
14752 * nss/nss_files/files-network.c: Likewise.
14753 * nss/nss_files/files-proto.c: Likewise.
14754 * nss/nss_files/files-pwd.c: Likewise.
14755 * nss/nss_files/files-rpc.c: Likewise.
14756 * nss/nss_files/files-service.c: Likewise.
14757 * nss/nss_files/files-sgrp.c: Likewise.
14758 * nss/nss_files/files-spwd.c: Likewise.
14759 * nss/nss_db/db-alias.c: Removed.
14760 * nss/nss_db/dummy-db.h: Removed.
14761
9ee76b5a
UD
147622011-06-02 Ulrich Drepper <drepper@gmail.com>
14763
14764 * nss/makedb.c: Rewritten to not use database library.
14765 * nss/Makefile: Update to build new makedb program.
14766
c71ca1f8
AJ
147672011-06-14 Andreas Jaeger <aj@suse.de>
14768
14769 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14770 memset declaration.
14771
3154bfb8
UD
147722011-06-10 Andreas Schwab <schwab@redhat.com>
14773
14774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14775 tmpbuf.
14776
b350afab
RM
147772011-06-10 Roland McGrath <roland@hack.frob.com>
14778
decd4e50
RM
14779 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14780 * elf/Makefile ($(objpfx)ld.so): Likewise.
14781
5615eaf2
RM
14782 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14783 Don't list ld.so twice in dependencies.
14784
14785 * posix/bug-regex31.c: Include <stdlib.h>.
14786
14787 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14788
14789 * nis/nss_compat/compat-spwd.c
14790 (getspent_next_nss_netgr): Remove unused variable.
14791 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14792
14793 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14794 nonmembers" output to use the right array.
14795
14796 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14797
14798 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14799
14800 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14801 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14802 * catgets/gencat.c (read_input_file): Likewise.
14803 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14804
14805 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14806 variable definition inside #if's controlling its use.
14807
14808 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14809
14810 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14811
14812 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14813
14814 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14815 unreachable code.
14816
14817 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14818
b68e08db
RM
14819 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14820 * configure: Regenerated.
14821
b350afab
RM
14822 * Makerules: Revert last change.
14823 * elf/Makefile: Likewise.
14824
28368601
RM
148252011-06-09 Roland McGrath <roland@hack.frob.com>
14826
14827 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14828 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14829 (reloc-link): Likewise.
14830
11988f8f
UD
148312011-06-09 Ulrich Drepper <drepper@gmail.com>
14832
14833 * elf/Makefile: Add rules to build pldd.
14834 * elf/pldd.c: New file.
14835 * elf/pldd-xx.c: New file.
14836
e80fab37
UD
148372011-06-07 Ulrich Drepper <drepper@gmail.com>
14838
14839 * version.h: Update for 2.15 development version.
14840
9b849836
DM
148412011-06-07 David S. Miller <davem@davemloft.net>
14842
14843 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14844 ifuncs.
14845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14846 elf_machine_lazy_rel): Likewise.
14847 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14849 elf_machine_lazy_rel): Likewise.
14850 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14851 dl_hwcap via passed in argument.
14852 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14853 Likewise.
14854
5a31b283
AK
148552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14856
14857 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14858
069e52f8
RM
148592011-06-06 Roland McGrath <roland@hack.frob.com>
14860
14861 [BZ #12849]
14862 * manual/fdl-1.1.texi: New file, verbatim from:
14863 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14864 * manual/lgpl-2.1.texi: New file, verbatim from:
14865 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14866 * manual/Makefile (licenses): New variable, list those new file names.
14867 (texis): Use it.
14868 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14869
14870 * manual/fdl.texi: File removed.
14871 * manual/lesser.texi: File removed.
14872 * manual/libc.texinfo (Copying, Documentation License):
14873 Use new @include file names, put @appendix directive before @include.
14874
f16846a5
JJ
148752011-06-04 Jakub Jelinek <jakub@redhat.com>
14876
14877 [BZ #12841]
14878 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14879 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14880 (mq_open): Add __NTH.
14881
3d29045b
L
148822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14883
14884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14885 Assume Intel Core i3/i5/i7 processor if AVX is available.
14886
8c297311
UD
148872011-05-31 Ulrich Drepper <drepper@gmail.com>
14888
14889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14890 typo.
14891
c8fc0c91
UD
148922011-05-31 Andreas Schwab <schwab@redhat.com>
14893
14894 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14895 memory. Use alloca_account. Fix memory leak when retrying.
14896
5b27a807
UD
148972011-05-31 Ulrich Drepper <drepper@gmail.com>
14898
356f8bc6
UD
14899 * version.h (RELEASE): Bump for 2.14 release.
14900 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14901
5b27a807
UD
14902 * config.make.in (RANLIB): Remove entry.
14903
01f16ab0
UD
149042011-05-30 Ulrich Drepper <drepper@gmail.com>
14905
41fce8bd
UD
14906 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14907 (libc.pot): Work around missing support for .ksh extension in xgettext.
14908
4769ae77
UD
14909 [BZ #12684]
14910 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14911 if both request failed.
14912 (send_dg): In case of server errors clear resplen or *resplen2.
14913
6b1e7d19
UD
14914 [BZ #12454]
14915 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14916 when there are multiple maps.
14917 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14918 (_dl_fini): Remove test here.
14919
01f16ab0
UD
14920 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14921
b1ebd700
UD
149222011-05-29 Ulrich Drepper <drepper@gmail.com>
14923
7ae22829
UD
14924 [BZ #12350]
14925 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14926 bit from old_res_options.
14927 (gaih_inet): Likewise.
14928
553149f6 14929 [BZ #11099]
18a84741 14930 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14931 as signed.
14932
652ffab1
UD
14933 * resolv/res_init.c (res_setoptions): Make the code more compact.
14934
16985fd0
UD
14935 [BZ #11558]
14936 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14937 set RES_USEVC.
14938
0464f746
UD
14939 [BZ #11634]
14940 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14941
7d17596c
UD
14942 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14943
cf6bbbd7
UD
14944 [BZ #11781]
14945 * malloc/malloc.h: Declare malloc hook variables as volatile.
14946
13f1ab36
UD
14947 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14948 in last patch.
14949
b1ebd700
UD
14950 [BZ #11799]
14951 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14952 raise in the comment.
80e2212d
UD
14953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14955 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14956
ce67228d
UD
149572011-05-28 Ulrich Drepper <drepper@gmail.com>
14958
8887a920
UD
14959 [BZ #12811]
14960 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14961 grow the buffers more if it already has to be sufficient.
14962 (build_wcs_upper_buffer): Likewise.
14963 * posix/regexec.c (check_matching): Likewise.
14964 (clean_state_log_if_needed): Likewise.
14965 (extend_buffers): Don't enlarge buffers beyond size of the input
14966 buffer.
14967 Patches mostly by Emil Wojak <emil@wojak.eu>.
14968 * posix/bug-regex32.c: New file.
14969 * posix/Makefile (tests): Add bug-regex32.
14970
4f031072
UD
14971 * locale/findlocale.c (_nl_find_locale): Return right away if
14972 _nl_explode_name failed.
14973 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14974
d0478f0c
UD
14975 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14976
de81b246
UD
14977 * debug/xtrace.sh: Unify messages.
14978 * malloc/memusage.sh: Likewise.
14979
c738465a
UD
14980 [BZ #12813]
14981 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14982 time symbol from vDSO. Substitute with vsyscall if not available.
14983 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14984 __vdso_time.
14985
f1f929d7
UD
14986 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14987 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14988 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14989 Add sendmmsg and internal_sendmmsg.
14990 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14991 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14992 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14993
ce67228d
UD
14994 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14995 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14997
e57420c6
UD
149982011-05-27 Ulrich Drepper <drepper@gmail.com>
14999
a8509ca5
UD
15000 [BZ #12813]
15001 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15002 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15003 available.
15004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15005 __vdso_getcpu.
15006
e57420c6
UD
15007 [BZ #12814]
15008 * iconvdata/Makefile (tests): Add bug-iconv9.
15009 * iconvdata/bug-iconv9.c: New file.
15010
4d07db15
AS
150112011-05-27 Andreas Schwab <schwab@redhat.com>
15012
15013 [BZ #12814]
15014 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15015
ea486f69
JJ
150162011-05-25 Jakub Jelinek <jakub@redhat.com>
15017
15018 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15019 (struct user_regs_struct): Change intcs field back to cs.
15020
6f038433
UD
150212011-05-25 Ulrich Drepper <drepper@gmail.com>
15022
15023 * po/ja.po: Update from translation team.
15024
67f86a25
UD
150252011-05-23 Ulrich Drepper <drepper@gmail.com>
15026
15027 [BZ #12795]
15028 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15029 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15030
def7fbd6
AS
150312011-05-20 Andreas Schwab <schwab@redhat.com>
15032
15033 * stdlib/longlong.h: Update from GCC.
15034
f50ef8f1
AS
150352011-05-23 Andreas Schwab <schwab@redhat.com>
15036
15037 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15038 parameter name.
15039 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15040 Add parameter name.
15041 (__sysconf): Pass it down.
15042
de7ce8f1
UD
150432011-05-22 Ulrich Drepper <drepper@gmail.com>
15044
f2962a71
UD
15045 [BZ #12671]
15046 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15047 some situations.
15048 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15049 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15050 add in in __libc_use_alloca calls. Adjust callers.
15051 (glob): Use malloc in some situations.
15052
de7ce8f1
UD
15053 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15054 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15055 pltexit.
15056
aec84f53
UD
150572011-05-21 Ulrich Drepper <drepper@gmail.com>
15058
05bb4a68
UD
15059 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15060 and CLOCK_BOOTTIME_ALARM.
15061
7ea72f99
UD
15062 [BZ #12782]
15063 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15064 is returned.
15065
7e4afad5
UD
15066 * string/_strerror.c (__strerror_r): Print negative errors as signed
15067 numbers.
15068
8e211fec
UD
15069 [BZ #12777]
15070 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15071 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15072 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15073
f7d82dc9
UD
15074 * configure.in: Fix typo in redirection and correct removal of test
15075 files in two cases.
15076
cc9e536d
UD
15077 [BZ #12788]
15078 * locale/setlocale.c (new_composite_name): Fix test to check for
15079 identical name of all categories.
15080
aec84f53
UD
15081 [BZ #12792]
15082 * libio/filedoalloc.c (local_isatty): New function.
15083 (_IO_file_doallocate): Use local_isatty.
15084 * stdio-common/perror.c (perror): In case a new stream is used
15085 forward the stream error.
15086 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15087 error flag.
15088
78e64fdc
RT
150892011-05-20 Ulrich Drepper <drepper@gmail.com>
15090
34a9094f
UD
15091 [BZ #11869]
15092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15093 alloca.
15094 * include/alloca.h (extend_alloca_account): Define.
15095
78e64fdc
RT
15096 [BZ #11857]
15097 * posix/regex.h: Fix comments with documentation of user-accessible
15098 fields after compilation and describe correct free'ing of pattern
15099 after re_compile_pattern.
15100 Patch by Reuben Thomas <rrt@sc3d.org>.
15101
457bddfc
RA
151022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15103
15104 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15105 and -mno-altivec to prevent the compiler from using Altivec and/or
15106 VSX instructions when the corresponding registers are not available.
15107
a4527b51
AS
151082011-05-19 Andreas Schwab <schwab@redhat.com>
15109
15110 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15111
ed690b2f
UD
151122011-05-19 Ulrich Drepper <drepper@gmail.com>
15113
15114 * libio/freopen.c (freopen): Use __dup2, not dup2.
15115 * libio/freopen64.c (freopen64): Likewise.
15116
8db73634
L
151172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15118
15119 [BZ #12775]
15120 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15121 * math/Makefile (tests): Add test-powl.
15122 (CFLAGS-test-powl.c): Define.
15123 * math/test-powl.c: New file.
15124
0a197a9d
L
151252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15126
15127 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15128
ee30c380
UD
151292011-05-17 Ulrich Drepper <drepper@gmail.com>
15130
15131 [BZ #11837]
15132 * iconvdata/gb18030.c: Update to GB18020-2005.
15133
6ce75379
UD
151342011-05-16 Ulrich Drepper <drepper@gmail.com>
15135
a4b89fd8
AR
15136 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15137 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15138 Patch by Aharon Robbins <arnold@skeeve.com>.
15139
ea389b12
UD
15140 [BZ #11892]
15141 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15142 on the stack.
15143
68a3f91f
UD
15144 [BZ #11895]
15145 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15146 through underflows.
15147
15cc7dd1
UD
15148 [BZ #12766]
15149 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15150 point to strings before performing equality test for error_one_per_line
15151 mode.
15152
f3799213
UD
15153 [BZ #11697]
15154 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15155
d79a9c94
UD
15156 [BZ #11820]
15157 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15158 (struct user_fpregs_struct): Avoid __uint*_t types.
15159
56e5eb46
UD
15160 [BZ #6420]
15161 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15162 symbol info. Use it instead of calling _dl_addr locally.
15163 (lock_and_info): New function.
15164 (tr_freehook): Call lock_and_info and pass symbol info as additional
15165 parameter to tr_where.
15166 (tr_mallochook): Likewise.
15167 (tr_reallochook): Likewise.
15168 (tr_memalignhook): Likewise.
15169
6ce75379
UD
15170 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15171 used and couldn't be at all thread-safe.
15172
f8a3b5bf
UD
151732011-05-15 Ulrich Drepper <drepper@gmail.com>
15174
94b7cc37
UD
15175 * libio/freopen.c (freopen): Don't close old file descriptor
15176 before the new one is opened. Instead dup the new file descriptor
15177 to the old one after the new stream is created.
15178 * libio/freopen64.c (freopen64): Likewise.
15179 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15180 * libio/fileops.c (_IO_new_file_close_it): Handle new
15181 _IO_FLAGS2_NOCLOSE flag.
15182 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15183 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15184 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15185 _IO_FLAGS2_NOCLOSE flag.
15186 * include/unistd.h: Add hidden_proto for dup3.
15187 Define __have_dup3.
15188 * io/dup3.c: Define hidden symbol.
15189 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15190
bd25564e
UD
15191 [BZ #7101]
15192 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15193 when an incomplete long option is used.
15194 * posix/tst-getopt_long1.c: New file.
15195 * posix/Makefile (tests): Add tst-getopt_long1.
15196
c84cfef4
UD
15197 [BZ #10138]
15198 * scripts/config.guess: Update from autoconf-2.68.
15199 * scripts/config.sub: Likewise.
15200
3b85df27
UD
15201 [BZ #10157]
15202 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15203 tests into ...
15204 (has_cpuclock): ...this. New function.
15205 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15206 macro here based on has_cpuclock code.
15207
15a856b1
UD
15208 [BZ #10149]
15209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15210 First byte (not low byte) is now always NUL.
15211 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15212
05f399e6
UD
15213 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15214 Use non-cancelable interfaces.
15215
10a52685 15216 [BZ #9809]
94ecc67d
UD
15217 * locale/iso-639.def: Add entry for Sorani.
15218
f8a3b5bf
UD
15219 [BZ #11901]
15220 * include/stdlib.h: Move include protection to the right place.
15221 Define abort_msg_s. Declare __abort_msg with it.
15222 * stdlib/abort.c (__abort_msg): Adjust type.
15223 * assert/assert.c (__assert_fail_base): New function. Majority
15224 of code from __assert_fail. Allocate memory for __abort_msg with
15225 mmap.
15226 (__assert_fail): Now call __assert_fail_base.
15227 * assert/assert-perr.c: Remove bulk of implementation. Use
15228 __assert_fail_base.
15229 * include/assert.hL Declare __assert_fail_base.
15230 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15231 mmap.
15232 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15233
1af4e298
UD
152342011-05-14 Ulrich Drepper <drepper@gmail.com>
15235
f8a3b5bf 15236 [BZ #11952]
d26dfc60
MG
15237 [BZ #12453]
15238 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15239 until all modules are registered in the DTV.
15240 * elf/Makefile: Add rules to build and run tst-tls19.
15241 * elf/tst-tls19.c: New file.
15242 * elf/tst-tls19mod1.c: New file.
15243 * elf/tst-tls19mod2.c: New file.
15244 * elf/tst-tls19mod3.c: New file.
15245 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15246
2fc54d6f
UD
15247 [BZ #12083]
15248 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15249 correctly.
15250
98d76b46
UD
15251 [BZ #12601]
15252 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15253 two-byte sequence errors.
15254 * iconvdata/Makefile (tests): Add bug-iconv8.
15255 * iconvdata/bug-iconv8.c: New file.
15256
da3c19ef
UD
15257 [BZ #12626]
15258 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15259 buf2 definition.
15260
ca408c15
UD
15261 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15262
d6f67f7d
UD
15263 [BZ #12432]
15264 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15265 (dummy_getcfa): New function.
15266 (init): Get _Unwind_GetCFA address, use dummy if not found.
15267 (backtrace_helper): In recursion check, also check whether CFA changes.
15268 (__backtrace): Completely initialize arg.
15269
1af4e298 15270 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15271 storing incomplete byte sequence in state object. Avoid testing for
15272 guaranteed too small input if we know there is enough data available.
1af4e298 15273
da62f81b
AS
152742011-05-11 Andreas Schwab <schwab@redhat.com>
15275
15276 * Makeconfig (+link-pie): Indent.
15277 * Rules (binaries-pie): Define if $(have-fpie) and
15278 $(build-shared).
15279 (binaries-shared): Also filter out $(binaries-pie).
15280 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15281 * nscd/Makefile (others-pie): Add nscd.
15282 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15283 ($(objpfx)nscd): Remove command override.
15284 * login/Makefile (others-pie): Add pt_chown.
15285 ($(objpfx)pt_chown): Remove command override.
15286 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15287 remove command overrides.
15288
fcabc0f8
UD
152892011-05-13 Ulrich Drepper <drepper@gmail.com>
15290
20030ae6
UD
15291 * libio/tst_putwc.c: Fix error messages.
15292
fcabc0f8
UD
15293 [BZ #12724]
15294 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15295 currently writing and seek to current position when not.
15296 * libio/Makefile (tests): Add bug-fclose1.
15297 * libio/bug-fclose1.c: New file.
15298
320a5dc0
PB
152992011-05-12 Ulrich Drepper <drepper@gmail.com>
15300
15301 [BZ #12511]
15302 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15303 don't set DF_1_NODELETE here.
15304 (do_lookup_x): When entering new entry test for copy relocation
15305 and if necessary set DF_1_NODELETE flag.
15306 * elf/tst-unique4.cc: New file.
15307 * elf/tst-unique4.h: New file.
15308 * elf/tst-unique4lib.cc: New file.
15309 * elf/Makefile: Add rules to build and run tst-unique4.
15310 Patch by Piotr Bury <pbury@goahead.com>.
15311
22836f52
UD
153122011-05-11 Ulrich Drepper <drepper@gmail.com>
15313
f574184a
UD
15314 [BZ #12052]
15315 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15316
e1fb097f
UD
15317 [BZ #12625]
15318 * misc/mntent_r.c (addmntent): Flush the stream after the output
15319
22836f52
UD
15320 [BZ #12393]
15321 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15322 (is_trusted_path_normalize): Skip initial colon. Append slash
15323 to empty buffer. Duplicate is_trusted_path code but allow
15324 constructed patch to be prefix.
15325 (is_dst): Allow $ORIGIN followed by /.
15326 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15327 Correct testing of result of is_trusted_path_normalize
15328 (decompose_rpath): Fix warning.
15329
7b3b0b2a
UD
153302011-05-10 Ulrich Drepper <drepper@gmail.com>
15331
15332 [BZ #11257]
15333 * grp/initgroups.c (internal_getgrouplist): When we found the service
15334 list through the initgroups entry in nsswitch.conf do not always
15335 continue on a successful lookup. Don't always use the
eac80ce2 15336 __nss_group_database value if it is set.
7b3b0b2a
UD
15337 * nss/nsswitch.conf (initgroups): Change action for successful db
15338 lookup to continue for compatibility.
15339
2a81eaa5
UD
153402011-05-09 Ulrich Drepper <drepper@gmail.com>
15341
be97a69e
UD
15342 [BZ #11532]
15343 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15344 and CP774 modules.
15345 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15346 and CP774 modules.
15347 * iconvdata/tst-tables.sh: Likewise.
15348 * iconvdata/cp770.c: New file.
15349 * iconvdata/cp771.c: New file.
15350 * iconvdata/cp772.c: New file.
15351 * iconvdata/cp773.c: New file.
15352 * iconvdata/cp774.c: New file.
15353 * iconvdata/testdata/CP770: New file.
15354 * iconvdata/testdata/CP770..UTF8: New file.
15355 * iconvdata/testdata/CP771: New file.
15356 * iconvdata/testdata/CP771..UTF8: New file.
15357 * iconvdata/testdata/CP772: New file.
15358 * iconvdata/testdata/CP772..UTF8: New file.
15359 * iconvdata/testdata/CP773: New file.
15360 * iconvdata/testdata/CP773..UTF8: New file.
15361 * iconvdata/testdata/CP774: New file.
15362 * iconvdata/testdata/CP774..UTF8: New file.
15363
15364 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15365 END CHARMAP line.
15366 * iconvdata/gen-8bit-gap.sh: Likewise.
15367 * iconvdata/gen-8bit.sh: Likewise.
15368
c1e9e399
UD
15369 * locale/iso-639.def: Add ary entry.
15370
24c55fb3 15371 [BZ #11258]
96b4b1b0
UD
15372 * locale/C-translit.h.in: Add U20A1 transliteration.
15373
bdc2f971
KB
15374 [BZ #12178]
15375 * locale/iso-639.def: Add wae entry.
15376 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15377
2952b117
UD
15378 [BZ #12545]
15379 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15380 for n.
15381
2a81eaa5
UD
15382 [BZ #12711]
15383 * locale/C-translit.h.in: Add entry for U20B9.
15384 Patch by pravin.d.s@gmail.com.
15385
28377d1b
UD
153862011-05-08 Ulrich Drepper <drepper@gmail.com>
15387
7fb90fb8
UD
15388 [BZ #12713]
15389 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15390 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15391 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15392 in rtld. Use *stat64.
7fb90fb8 15393 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15394 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15395 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15396 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15397 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15398 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15399 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15400 __fstatat64 macros.
7fb90fb8
UD
15401 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15402 * dirent/rewinddir.c: Add libc_hidden_def.
15403 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15404 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15405
28377d1b
UD
15406 * include/dirent.h (__alloc_dir): Add flags parameter.
15407 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15408 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15409 __alloc_dir.
15410 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15411 from fdopendir if O_CLOEXEC is already set.
15412
66bdbaa4
AM
154132011-03-15 Alan Modra <amodra@gmail.com>
15414
15415 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15416 l_tls_firstbyte_offset non-zero. Save padding offset in
15417 l_tls_firstbyte_offset for later use.
15418 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15419 freeing static tls block.
15420
95721191
JN
154212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15422
15423 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15424 where #ifdef was intended. The intent is to prevent ARG_MAX from
15425 being defined by the kernel headers.
15426
f87dfb1f
UD
154272011-05-07 Ulrich Drepper <drepper@gmail.com>
15428
15429 [BZ #12734]
15430 * resolv/resolv.h: Define RES_NOTLDQUERY.
15431 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15432 no-tld-query and set RES_NOTLDQUERY.
15433 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15434 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15435 modern BIND to search name as TLD unless forbidden.
15436
47c3cd7a
UD
154372011-05-07 Petr Baudis <pasky@suse.cz>
15438 Ulrich Drepper <drepper@gmail.com>
15439
15440 [BZ #12393]
15441 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15442 (is_trusted_path): ...to here.
c1e9ea35 15443 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15444 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15445 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15446
8a35c912
PP
154472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15448
15449 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15450 __BEGIN/__END_DECLS.
15451
acd41f47
UD
154522011-05-06 Ulrich Drepper <drepper@gmail.com>
15453
15454 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15455 NSS_STATUS_NOTFOUND if no record was found.
15456
597df647
AS
154572011-05-05 Andreas Schwab <schwab@redhat.com>
15458
15459 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15460 (headers-not-in-tirpc): Remove rpc/netdb.h
15461 * resolv/netdb.h: Revert last change.
15462
b9af1301
PP
154632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15464
15465 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15466 circular dependency between libgcc.a and libc.a.
15467
4e34d5f5
AS
154682011-05-05 Andreas Schwab <schwab@redhat.com>
15469
15470 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15471 * nis/Makefile: Don't install rpcsvc/*.
15472 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15473 instead of <rpc/types.h>.
15474 (MAXHOSTNAMELEN): Define.
15475
00ee369c
AS
154762011-05-03 Andreas Schwab <schwab@redhat.com>
15477
15478 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15479
0b592a30
MB
154802011-04-28 Maciej Babinski <mbabinski@google.com>
15481
15482 [BZ #12714]
15483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15484 gethostbyname4_r when IPv6 results are possible.
15485
6e04cbbe
UD
154862011-05-02 Ulrich Drepper <drepper@gmail.com>
15487
15488 [BZ #12723]
15489 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15490 _PC_PIPE_BUF handling.
15491
e4ecafe0
BH
154922011-04-30 Bruno Haible <bruno@clisp.org>
15493
15494 [BZ #12717]
15495 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15496 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15497 to 'int'.
15498 * inet/getnameinfo.c (getnameinfo): Likewise.
15499
125ee683
UD
155002011-04-29 Ulrich Drepper <drepper@gmail.com>
15501
15502 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15503 to groups setting in database lookup.
15504 * nss/nsswitch.conf: Add initgroups entry.
15505
b722481a
EB
155062011-04-22 Ulrich Drepper <drepper@gmail.com>
15507
15508 [BZ #12685]
15509 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15510 mode string.
15511 Patch by Eric Blake <eblake@redhat.com>.
15512
4df46dbd
L
155132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15514
15515 * sunrpc/Makefile (need-export-routines): Add svc_run.
15516 (routines): Remove svc_run.
15517 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15518 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15519 * sunrpc/svc_run.c (svc_run): Likewise.
15520 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15521
e84142d2
UD
155222011-04-21 Ulrich Drepper <drepper@gmail.com>
15523
15524 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15525 problem in reallocation in last patch.
15526
877175d8
UD
155272011-04-20 Ulrich Drepper <drepper@gmail.com>
15528
15529 * sunrpc/Makefile: Move inclusion of Rules.
15530
ab8eed78
UD
155312011-04-19 Ulrich Drepper <drepper@gmail.com>
15532
15533 * nss/nss_files/files-initgroups.c: New file.
15534 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15535 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15536 _nss_files_initgroups_dyn.
15537
e3d8f584
RS
155382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15539
15540 * elf/elf.h (R_ARM_IRELATIVE): Define.
15541
af190f45
UD
155422011-04-19 Ulrich Drepper <drepper@gmail.com>
15543
15544 * po/ru.po: Update from translation team.
15545
53cf59ef
UD
155462011-04-17 Ulrich Drepper <drepper@gmail.com>
15547
15548 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15549 dependencies.
15550
4c559bcd
MF
155512011-02-06 Mike Frysinger <vapier@gentoo.org>
15552
15553 [BZ #12653]
15554 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15555 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15557 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15559
4420675c
AS
155602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15561
15562 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15563 differing bytes.
15564 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15567
75ea32ab
UD
155682011-04-17 Ulrich Drepper <drepper@gmail.com>
15569
15570 [BZ #12420]
15571 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15572 storing it.
15573 * stdlib/bug-getcontext.c: New file.
15574 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15575
27390476
AK
155762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15577
15578 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15579 instructions into .machine "z9-109".
15580 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15581 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15582
10442705
AK
155832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15584
15585 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15586 between environment variables and auxiliary vector.
15587
7b57bfe5
UD
155882011-04-16 Ulrich Drepper <drepper@gmail.com>
15589
15590 * Makefile: Add rules to build linkobj/libc.so.
15591 * include/libc-symbols.h: Define libc_hidden_nolink.
15592 * include/rpc/auth.h: Mark functions which are to be hidden.
15593 * include/rpc/auth_des.h: Likewise.
15594 * include/rpc/auth_unix.h: Likewise.
15595 * include/rpc/clnt.h: Likewise.
15596 * include/rpc/des_crypt.h: Likewise.
15597 * include/rpc/key_prot.h: Likewise.
15598 * include/rpc/pmap_clnt.h: Likewise.
15599 * include/rpc/pmap_prot.h: Likewise.
15600 * include/rpc/pmap_rmt.h: Likewise.
15601 * include/rpc/rpc_msg.h: Likewise.
15602 * include/rpc/svc.h: Likewise.
15603 * include/rpc/svc_auth.h: Likewise.
15604 * include/rpc/xdr.h: Likewise.
15605 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15606 * nss/Makefile: Likewise.
15607 * sunrpc/Makefile: Don't install headers. Build library with normal
15608 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15609 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15610 for the compat linking library. Remove use of INTDEF/INTUSE.
15611 * sunrpc/auth_none.c: Likewise.
15612 * sunrpc/auth_unix.c: Likewise.
15613 * sunrpc/authdes_prot.c: Likewise.
15614 * sunrpc/authuxprot.c: Likewise.
15615 * sunrpc/clnt_gen.c: Likewise.
15616 * sunrpc/clnt_perr.c: Likewise.
15617 * sunrpc/clnt_raw.c: Likewise.
15618 * sunrpc/clnt_simp.c: Likewise.
15619 * sunrpc/clnt_tcp.c: Likewise.
15620 * sunrpc/clnt_udp.c: Likewise.
15621 * sunrpc/clnt_unix.c: Likewise.
15622 * sunrpc/des_crypt.c: Likewise.
15623 * sunrpc/des_soft.c: Likewise.
15624 * sunrpc/get_myaddr.c: Likewise.
15625 * sunrpc/key_call.c: Likewise.
15626 * sunrpc/key_prot.c: Likewise.
15627 * sunrpc/netname.c: Likewise.
15628 * sunrpc/pm_getmaps.c: Likewise.
15629 * sunrpc/pm_getport.c: Likewise.
15630 * sunrpc/pmap_clnt.c: Likewise.
15631 * sunrpc/pmap_prot.c: Likewise.
15632 * sunrpc/pmap_prot2.c: Likewise.
15633 * sunrpc/pmap_rmt.c: Likewise.
15634 * sunrpc/publickey.c: Likewise.
15635 * sunrpc/rpc_cmsg.c: Likewise.
15636 * sunrpc/rpc_common.c: Likewise.
15637 * sunrpc/rpc_dtable.c: Likewise.
15638 * sunrpc/rpc_prot.c: Likewise.
15639 * sunrpc/rpc_thread.c: Likewise.
15640 * sunrpc/rtime.c: Likewise.
15641 * sunrpc/svc.c: Likewise.
15642 * sunrpc/svc_auth.c: Likewise.
15643 * sunrpc/svc_authux.c: Likewise.
15644 * sunrpc/svc_raw.c: Likewise.
15645 * sunrpc/svc_run.c: Likewise.
15646 * sunrpc/svc_simple.c: Likewise.
15647 * sunrpc/svc_tcp.c: Likewise.
15648 * sunrpc/svc_udp.c: Likewise.
15649 * sunrpc/svc_unix.c: Likewise.
15650 * sunrpc/svcauth_des.c: Likewise.
15651 * sunrpc/xcrypt.c: Likewise.
15652 * sunrpc/xdr.c: Likewise.
15653 * sunrpc/xdr_array.c: Likewise.
15654 * sunrpc/xdr_float.c: Likewise.
15655 * sunrpc/xdr_intXX_t.c: Likewise.
15656 * sunrpc/xdr_mem.c: Likewise.
15657 * sunrpc/xdr_rec.c: Likewise.
15658 * sunrpc/xdr_ref.c: Likewise.
15659 * sunrpc/xdr_sizeof.c: Likewise.
15660 * sunrpc/xdr_stdio.c: Likewise.
15661
e6c61494
UD
156622011-04-10 Ulrich Drepper <drepper@gmail.com>
15663
15664 [BZ #12650]
15665 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15666 * sysdeps/ia64/dl-tls.h: Likewise.
15667 * sysdeps/powerpc/dl-tls.h: Likewise.
15668 * sysdeps/s390/dl-tls.h: Likewise.
15669 * sysdeps/sh/dl-tls.h: Likewise.
15670 * sysdeps/sparc/dl-tls.h: Likewise.
15671 * sysdeps/x86_64/dl-tls.h: Likewise.
15672 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15673
34fe483e
AS
156742011-03-14 Andreas Schwab <schwab@redhat.com>
15675
15676 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15677 rpath element also skip the following colon.
15678 (expand_dynamic_string_token): Add is_path parameter and pass
15679 down to DL_DST_REQUIRED and _dl_dst_substitute.
15680 (decompose_rpath): Call expand_dynamic_string_token with
15681 non-zero is_path. Ignore empty rpaths.
15682 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15683 with zero is_path.
15684
f12a32e6
AS
156852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15686
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15688 Make cancelable.
15689
38a7d692
UD
156902011-04-09 Ulrich Drepper <drepper@gmail.com>
15691
15692 [BZ #12655]
15693 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15694 Patch by Filipe David Manana <fdmanana@apache.org>.
15695
e451d22b
AS
156962011-04-07 Andreas Schwab <schwab@redhat.com>
15697
15698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15699 Maintain aligned stack.
15700 (CHECK_RSP): Remove unused macro.
15701
dedc7c7b
UD
157022011-04-03 Ulrich Drepper <drepper@gmail.com>
15703
15704 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15705 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15706
94521213
UD
157072011-04-02 Ulrich Drepper <drepper@gmail.com>
15708
15709 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15710
8cb700c0 15711 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15712
0354e355
L
157132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15714
15715 [BZ #12518]
15716 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15717 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15718 * sysdeps/x86_64/memmove.c: New file.
15719 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15720 (memcpy): Renamed to ...
15721 (__new_memcpy): This.
15722 (memcpy): Provide GLIBC_2_14 memcpy.
15723 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15724 (memcpy): Provide GLIBC_2_2_5 memcpy.
15725
8593482f
UD
157262011-04-01 Ulrich Drepper <drepper@gmail.com>
15727
15728 [BZ #12631]
15729 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15730
81a5726b
AS
157312011-03-30 Andreas Schwab <schwab@redhat.com>
15732
15733 * misc/syncfs.c: New file.
15734 * misc/Makefile (routines): Add syncfs.
15735 * posix/unistd.h: Declare syncfs.
15736 * sysdeps/unix/syscalls.list: Add syncfs.
15737
00e5419f
AS
157382011-04-01 Andreas Schwab <schwab@redhat.com>
15739
15740 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15741 open_by_handle_at.
15742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15743 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15745 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15747 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15749
748876bf
UD
157502011-04-01 Ulrich Drepper <drepper@gmail.com>
15751
658e451d
UD
15752 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15753 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15754 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15756 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15759
748876bf
UD
15760 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15761 sync_file_range.c with -fexceptions.
15762 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15763 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15764 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15765 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15766 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15767 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15769 sync_file_range as cancellation point
15770 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15771 now a wrapper around __call_sync_file_range with cancellation handling.
15772 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15773 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15774 function name to __call_sync_file_range.
15775 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15776 Add call_sync_file_range.
748876bf 15777
6e63d5e1
AS
157782011-04-01 Andreas Schwab <schwab@redhat.com>
15779
15780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15781 bits/timex.h.
6e63d5e1 15782
46998f74
UD
157832011-04-01 Ulrich Drepper <drepper@gmail.com>
15784
4c1423ed
UD
15785 * iconv/iconv.h: Fix typo in comment.
15786 * io/fcntl.h: Likewise.
15787 * libio/stdio.h: Likewise.
15788 * posix/spawn.h: Likewise.
15789 * posix/unistd.h: Likewise.
15790 * stdlib/stdlib.h: Likewise.
15791 * time/time.h: Likewise.
15792 * wcsmbs/wchar.h: Likewise.
15793
158648c0
UD
15794 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15795 open_by_handle): Add.
15796 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15797 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15798 Augment a few comments.
15799 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15804 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15805 open_by_handle.
15806
46998f74
UD
15807 * io/fcntl.h (AT_EMPTY_PATH): Define.
15808
83fe108b
UD
158092011-03-30 Ulrich Drepper <drepper@gmail.com>
15810
15811 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15812 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15813 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15814 to...
15815 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15816 * Versions.def: Add GLIBC_2.14.
15817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15818 Export.
83fe108b 15819
bb242059
UD
158202011-03-22 Ulrich Drepper <drepper@gmail.com>
15821
15822 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15823 round counter.
15824 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15825
c97a1282
L
158262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15827
15828 [BZ #12597]
15829 * string/test-strncmp.c (do_page_test): New function.
15830 (check2): Likewise.
15831 (test_main): Call check2.
15832 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15833
2a115601
UD
158342011-03-20 Ulrich Drepper <drepper@gmail.com>
15835
15836 [BZ #12587]
15837 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15838 Handle cache information in CPU leaf 4.
15839 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15840
8126d904
UD
158412011-03-18 Ulrich Drepper <drepper@gmail.com>
15842
042c49c6 15843 [BZ #12583]
8126d904
UD
15844 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15845 character representation.
15846 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15847
ccfe366e
RA
158482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15849
15850 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15851 END(__isnan) to END(__isnanf) to match function entry point/label
15852 EALIGN(__isnanf,...).
15853
c6e13027
JJ
158542011-03-10 Jakub Jelinek <jakub@redhat.com>
15855
15856 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15857
33f85a3f
UD
158582011-03-10 Ulrich Drepper <drepper@gmail.com>
15859
028478fa
UD
15860 [BZ #12510]
15861 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15862 copy from the symbol referenced in the relocation to initialize the
15863 used variable.
15864 Patch by Piotr Bury <pbury@goahead.com>.
15865 * elf/Makefile: Add rules to build and tst-unique3.
15866 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15867 * elf/tst-unique3.cc: New file.
15868 * elf/tst-unique3.h: New file.
15869 * elf/tst-unique3lib.cc: New file.
15870 * elf/tst-unique3lib2.cc: New file.
15871
33f85a3f
UD
15872 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15873
03592fc7
MF
158742011-03-10 Mike Frysinger <vapier@gentoo.org>
15875
15876 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15877 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15878 to _start.
03592fc7 15879
6a5ee102
UD
158802011-03-06 Ulrich Drepper <drepper@gmail.com>
15881
15882 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15883 to-be-loaded object along a path to loader is ld.so.
15884
7e4ba49c
HJ
158852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15886 Ulrich Drepper <drepper@gmail.com>
15887
15888 * sysdeps/x86_64/memset.S: After aligning destination, code
15889 branches to different locations depending on the value of
15890 misalignment, when multiarch is enabled. Fix this.
15891
158922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15893
15894 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15895 Set _x86_64_preferred_memory_instruction for AMD processsors.
15896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15897 Set bit_Prefer_SSE_for_memop for AMD processors.
15898
13a804de
UD
158992011-03-04 Ulrich Drepper <drepper@gmail.com>
15900
15901 * libio/fmemopen.c (fmemopen): Optimize a bit.
15902
9d25c392
AS
159032011-03-03 Andreas Schwab <schwab@redhat.com>
15904
15905 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15906
a5543c6a
RM
159072011-03-03 Roland McGrath <roland@redhat.com>
15908
15909 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15910
012d35f7
DM
159112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15912
7e4ba49c 15913 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15914 __bzero_ultra1 instead of __memset_ultra1.
15915
4bff6e01
AS
159162011-02-23 Andreas Schwab <schwab@redhat.com>
15917 Ulrich Drepper <drepper@gmail.com>
15918
15919 [BZ #12509]
15920 * include/link.h (struct link_map): Add l_orig_initfini.
15921 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15922 returning unsuccessfully.
15923 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15924 close of a file loaded at startup, restore the original l_initfini
15925 list.
15926 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15927 list, store the pointer.
15928 * elf/Makefile ($(objpfx)noload-mem): New rule.
15929 (noload-ENV): Define.
15930 (tests): Add $(objpfx)noload-mem.
15931 * elf/noload.c: Include <memcheck.h>.
15932 (main): Call mtrace. Close all opened handles.
15933
f2092faf
AS
159342011-02-17 Andreas Schwab <schwab@redhat.com>
15935
15936 [BZ #12454]
15937 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15938 dependencies are missing.
15939
6c8a2e88
ST
159402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15941
f2092faf 15942 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15943 Hurd needs munmap.
15944 * sysdeps/mach/hurd/ifreq.h: New file.
15945
84a42118
PB
159462011-01-27 Petr Baudis <pasky@suse.cz>
15947 Ulrich Drepper <drepper@gmail.com>
15948
071f805e 15949 [BZ 12445]#
84a42118
PB
15950 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15951 to extend_alloca().
15952 * stdio-common/bug23.c: New file.
15953 * stdio-common/Makefile (tests): Add bug23.
15954
e23fe25b
AS
159552010-09-28 Andreas Schwab <schwab@redhat.com>
15956 Ulrich Drepper <drepper@gmail.com>
15957
15958 [BZ #12489]
15959 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15960 before performing relro protection. At old place add assertion
15961 to make sure nothing changed.
15962
d3f02e10
NS
159632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15964 Glauber de Oliveira Costa <glommer@gmail.com>
15965
15966 * elf/elf.h: Add new ARM TLS relocs.
15967
d55fd7a5
RA
159682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15969
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15971 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15972 cast from r3.
15973 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15974 'tests' variable.
15975 * sysdeps/wordsize-64/tst-writev.c: New file.
15976
2206397e
RA
159772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15978
15979 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15980 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15981 insns in _dl_start to prevent a TOC reference before relocs are
15982 resolved.
15983
e9433893
UD
159842011-02-15 Ulrich Drepper <drepper@gmail.com>
15985
15986 [BZ #12469]
15987 * Makeconfig: Remove RANLIB definition.
15988 * Makerules: Don't use RANLIB.
15989 * aclocal.m4: Remove ranlib test.
15990 * configure.in: No need to check for ranlib.
15991 * elf/rtld-Rules: Don't use RANLIB.
15992
f75286c6
ST
159932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15994
8e31c82d
ST
15995 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15996 protection macro.
15997 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15998 inclusion protection macro.
15999
f75286c6
ST
16000 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16001 SIGRTMIN and SIGRTMAX and print information in that case only when
16002 SIGRTMIN is defined.
16003
c1d0e639
JJ
160042011-02-11 Jakub Jelinek <jakub@redhat.com>
16005
16006 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16007 arginfo fn returning -1.
16008
16009 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16010 and thousands string is zero terminated.
16011
edf9294e
AS
160122011-02-03 Andreas Schwab <schwab@redhat.com>
16013
16014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16015 sysdeps/unix/sysv/linux/bits/socket.h.
16016
2b7e92df
ST
160172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16018
edf9294e
AS
16019 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16020 (__CPU_COUNT): Remove old macros.
16021 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16022 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16023 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16024 (__sched_cpualloc, __sched_cpufree): Add declarations.
16025
a4c7ea7b
UD
160262011-02-05 Ulrich Drepper <drepper@gmail.com>
16027
16028 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16029 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16030 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16031 (readdhstai): Return value of addhstaiX call.
16032 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16033 (addgrbyX): Return value returned by cache_addgr.
16034 (readdgrbyname): Return value returned by addgrbyX.
16035 (readdgrbygid): Likewise.
16036 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16037 (addpwbyX): Return value returned by cache_addpw.
16038 (readdpwbyname): Return value returned by addhstbyX.
16039 (readdpwbyuid): Likewise.
16040 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16041 (addservbyX): Return value returned by cache_addserv.
16042 (readdservbyname): Return value returned by addservbyX:
16043 (readdservbyport): Likewise.
16044 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16045 (addhstbyX): Return value returned by cache_addhst.
16046 (readdhstbyname): Return value returned by addhstbyX.
16047 (readdhstbyaddr): Likewise.
16048 (readdhstbynamev6): Likewise.
16049 (readdhstbyaddrv6): Likewise.
16050 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16051 (readdinitgroups): Return value returned by addinitgroupsX.
16052 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16053 (prune_cache): Keep track of timeout value of re-added entries.
16054 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16055 * nscd/nscd.h: Adjust prototypes of readd* functions.
16056
a0bf67cc
RM
160572011-02-04 Roland McGrath <roland@redhat.com>
16058
16059 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16060 (nis_stats): Likewise.
16061 * nis/nis_modify.c (nis_modify): Likewise.
16062 * nis/nis_remove.c (nis_remove): Likewise.
16063 * nis/nis_add.c (nis_add): Likewise.
16064
16065 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16066
16067 * posix/fnmatch_loop.c: Add some consts.
16068
16069 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16070
435b95eb
L
160712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16072
16073 [BZ #12460]
16074 * config.make.in (config-cflags-novzeroupper): Define.
16075 * configure.in: Substitute libc_cv_cc_novzeroupper.
16076 * elf/Makefile (AVX-CFLAGS): Define.
16077 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16078 (CFLAGS-tst-auditmod4a.c): Likewise.
16079 (CFLAGS-tst-auditmod4b.c): Likewise.
16080 (CFLAGS-tst-auditmod6b.c): Likewise.
16081 (CFLAGS-tst-auditmod6c.c): Likewise.
16082 (CFLAGS-tst-auditmod7b.c): Likewise.
16083 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16084
8517b15e
UD
160852011-02-02 Ulrich Drepper <drepper@gmail.com>
16086
16087 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16088 function to the callback.
16089 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16090
10a656fe
AS
160912011-02-02 Andreas Schwab <schwab@redhat.com>
16092
16093 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16094 of errno.
16095
968dad0a
UD
160962011-01-19 Ulrich Drepper <drepper@gmail.com>
16097
9f94d2ea 16098 [BZ #11724]
968dad0a
UD
16099 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16100 of constructors.
16101 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16102 of destructors.
16103 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16104
16105 [BZ #11724]
16106 * elf/Makefile: Add rules to build and run new test.
16107 * elf/tst-initorder.c: New file.
16108 * elf/tst-initorder.exp: New file.
16109 * elf/tst-initordera1.c: New file.
16110 * elf/tst-initordera2.c: New file.
16111 * elf/tst-initordera3.c: New file.
16112 * elf/tst-initordera4.c: New file.
16113 * elf/tst-initorderb1.c: New file.
16114 * elf/tst-initorderb2.c: New file.
16115 * elf/tst-order-a1.c: New file.
16116 * elf/tst-order-a2.c: New file.
16117 * elf/tst-order-a3.c: New file.
16118 * elf/tst-order-a4.c: New file.
16119 * elf/tst-order-b1.c: New file.
16120 * elf/tst-order-b2.c: New file.
16121 * elf/tst-order-main.c: New file.
16122 New test case by George Gensure <werkt0@gmail.com>.
16123
86e92359
UD
161242010-10-01 Andreas Schwab <schwab@redhat.com>
16125
16126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16127 decoding ACE if AI_CANONIDN.
16128
5d5732b0
UD
161292011-01-18 Ulrich Drepper <drepper@gmail.com>
16130
16131 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16132
a77e8cbc
UD
161332011-01-17 Ulrich Drepper <drepper@gmail.com>
16134
6392473f
UD
16135 * version.h (RELEASE): Bump for 2.13 release.
16136 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16137
620a0529
UD
16138 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16139
18ba70a5
UD
16140 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16141 MADV_NOHUGEPAGE.
32465c3e
UD
16142 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16143 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16144 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16145 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16147 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16148
c0dafcf1
UD
16149 * posix/getconf.c: Update copyright year.
16150 * catgets/gencat.c: Likewise.
16151 * csu/version.c: Likewise.
16152 * debug/catchsegv.sh: Likewise.
16153 * debug/xtrace.sh: Likewise.
16154 * elf/ldconfig.c: Likewise.
16155 * elf/ldd.bash.in: Likewise.
16156 * elf/sprof.c (print_version): Likewise.
16157 * iconv/iconv_prog.c: Likewise.
16158 * iconv/iconvconfig.c: Likewise.
16159 * locale/programs/locale.c: Likewise.
16160 * locale/programs/localedef.c: Likewise.
16161 * malloc/memusage.sh: Likewise.
16162 * malloc/mtrace.pl: Likewise.
16163 * nscd/nscd.c (print_version): Likewise.
16164 * nss/getent.c: Likewise.
16165
a77e8cbc
UD
16166 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16167 PF_CAIF, and PF_ALG.
16168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16169
77e8bddf
AS
161702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16171
1f20b93a
AS
16172 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16173 (modules-names): Use them.
16174 (ifunc-test-modules, ifunc-pie-tests): Define.
16175 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16176 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16177 (test-extras): Likewise.
16178 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16179 $(compile-command.c).
16180 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16181 (all-built-dso): Define.
16182 (check-textrel.out, check-execstack.out): Depend on it.
16183
77e8bddf
AS
16184 * configure.in: Don't override --enable-multi-arch.
16185
bc425b33
UD
161862011-01-15 Ulrich Drepper <drepper@gmail.com>
16187
16188 [BZ #6812]
16189 * nscd/hstcache.c (tryagain): Define.
16190 (cache_addhst): Return tryagain not notfound for temporary errors.
16191 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16192 failed.
16193
794c3ad3
UD
161942011-01-14 Ulrich Drepper <drepper@gmail.com>
16195
70181fdd
UD
16196 [BZ #10563]
16197 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16198 to make the syscall.
16199 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16200
794c3ad3
UD
16201 [BZ #12378]
16202 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16203 and fall back to matching as normal character if the string ends before
16204 the matching ']' is found. This is what POSIX requires.
16205 * posix/testfnm.c: Adjust test result.
16206 * posix/globtest.sh: Adjust test result. Add new test.
16207 * posix/tst-fnmatch.input: Likewise.
16208 * posix/tst-fnmatch2.c: Add new test.
16209
68dc9497
AS
162102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16211
16212 * elf/Makefile (check-execstack): Revert last change. Depend on
16213 check-execstack.h.
16214 (check-execstack.h): New target.
16215 (generated): Add check-execstack.h.
16216 * elf/check-execstack.c: Include "check-execstack.h".
16217 (main): Revert last change.
16218 (handle_file): Return zero if GNU_STACK is absent and
16219 DEFAULT_STACK_PERMS doesn't include PF_X.
16220
451f001b
UD
162212011-01-13 Ulrich Drepper <drepper@gmail.com>
16222
cfa28e56
UD
16223 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16224 in child fails because the descriptor is already closed.
8cf8ce17
UD
16225 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16226 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16227 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16228
1086d70d
UD
16229 [BZ #12397]
16230 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16231 syscall.
16232
451f001b
UD
16233 [BZ #10484]
16234 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16235 temporary buffer used to handle multi lookups locally.
a85b5cb4 16236 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16237
08769175
UD
162382011-01-12 Ulrich Drepper <drepper@gmail.com>
16239
16240 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16241 loader is ld.so.
16242
5e49c52e
UD
162432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16244
16245 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16246 alignment for SSE2.
16247
60522a5f
UD
162482011-01-12 Ulrich Drepper <drepper@gmail.com>
16249
16250 [BZ #12394]
16251 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16252 characters. When rounding increased number of integer digits recompute
16253 number of groups.
16254 * stdio-common/tst-grouping.c: New file.
16255 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16256
f257bbd7
UD
162572011-01-09 Ulrich Drepper <drepper@gmail.com>
16258
16259 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16260 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16261
16262 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16263 void.
16264 * bits/select.h: Likewise.
16265
fa9c15cb
UD
162662011-01-08 Ulrich Drepper <drepper@gmail.com>
16267
16268 * po/ja.po: Update from translation team.
16269
16c2895f
DM
162702011-01-04 David S. Miller <davem@sunset.davemloft.net>
16271
16272 [BZ #11155]
16273 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16274 implementation just like for lxstat, fxstatat, et al.
16275
2543fef2
JM
162762010-12-27 Jim Meyering <meyering@redhat.com>
16277
16278 [BZ #12348]
16279 * posix/regexec.c (build_trtable): Return failure indication upon
16280 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16281
98727dbe
UD
162822010-12-25 Ulrich Drepper <drepper@gmail.com>
16283
5bd6dc5c
UD
16284 [BZ #12201]
16285 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16286 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16287 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16288 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16289
97983464
UD
16290 [BZ #12207]
16291 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16292
98727dbe
UD
16293 [BZ #12204]
16294 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16295 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16296
4a531bb0
L
162972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16300 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16301 script has SORT_BY_INIT_PRIORITY.
16302 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16303 NO_CTORS_DTORS_SECTIONS is defined.
16304 * elf/soinit.c: Likewise.
16305 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16306 NO_CTORS_DTORS_SECTIONS is defined.
16307 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16308 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16309 * sysdeps/sh/init-first.c: Likewise.
16310 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16311
07eb4b71
UD
163122010-12-24 Ulrich Drepper <drepper@gmail.com>
16313
16314 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16315 always use the slow path.
16316
30950a5f
RA
163172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16318
16319 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16320 similar rule which adds the sysdep directories to the header search in
16321 order to pick up the correct platform stackinfo.h.
16322 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16323 perform test if it is, otherwise return successfully without testing.
16324 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16325 DEFAULT_STACK_PERMS define in stackinfo.h.
16326 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16327 defined in stackinfo.h.
16328 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16329 DEFAULT_STACK_PERMS defined in stackinfo.h.
16330 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16331 * sysdeps/ia64/stackinfo.h: Likewise.
16332 * sysdeps/s390/stackinfo.h: Likewise.
16333 * sysdeps/sh/stackinfo.h: Likewise.
16334 * sysdeps/sparc/stackinfo.h: Likewise.
16335 * sysdeps/x86_64/stackinfo.h: Likewise.
16336 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16337 PF_X for powerpc64. Retain PF_X for powerpc32.
16338
db753e2c
UD
163392010-12-19 Ulrich Drepper <drepper@gmail.com>
16340
14b697f7
UD
16341 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16342 accurately.
db753e2c
UD
16343 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16344 GETDENTS_64BIT_ALIGNED.
16345
28300719
UD
163462010-12-14 Ulrich Drepper <dreper@gmail.com>
16347
14b697f7 16348 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16349
4f197237
AS
163502010-12-10 Andreas Schwab <schwab@redhat.com>
16351
dbb0472f
AS
16352 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16353 _GNU_SOURCE.
16354
4f197237
AS
16355 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16356 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16357 Remove __restrict.
16358 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16359 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16360
fb88ac72
UD
163612010-12-09 Ulrich Drepper <drepper@gmail.com>
16362
16363 [BZ #11655]
16364 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16365 are initialized.
16366
42acbb92
JJ
163672010-12-09 Jakub Jelinek <jakub@redhat.com>
16368
16369 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16370
c038d98d
UD
163712010-12-03 Ulrich Drepper <drepper@gmail.com>
16372
16373 * po/it.po: Update from translation team.
16374
3a4a2499
L
163752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16376
16377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16378 unused codes.
16379
1e24cf6e
UD
163802010-11-30 Ulrich Drepper <drepper@gmail.com>
16381
16382 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16383
a7690819
AS
163842010-11-24 Andreas Schwab <schwab@redhat.com>
16385
16386 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16387 specially.
16388 (gaih_getanswer_slice): Likewise.
16389
3bf8d1b1
JJ
163902010-10-20 Jakub Jelinek <jakub@redhat.com>
16391
16392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16393
6db52fbb
PB
163942010-05-31 Petr Baudis <pasky@suse.cz>
16395
16396 [BZ #11149]
16397 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16398 silently even in the chroot mode.
16399
eaca7569
UD
164002010-11-22 Ulrich Drepper <drepper@gmail.com>
16401
16402 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16403 last patch a bit. Pretty printing
16404
3056dcdb
UD
164052010-05-31 Petr Baudis <pasky@suse.cz>
16406
16407 [BZ #10085]
16408 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16409 initialization of skip_initgroups_dyn.
16410
cf7c9078
UD
164112010-11-19 Ulrich Drepper <drepper@gmail.com>
16412
16413 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16414 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16415
a1fb5e3e
UD
164162010-11-16 Ulrich Drepper <drepper@gmail.com>
16417
16418 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16419
3540d66b
AS
164202010-11-11 Andreas Schwab <schwab@redhat.com>
16421
16422 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16423 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16424 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16425 ($(objpfx)tst-fnmatch-mem): New rule.
16426 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16427 * posix/tst-fnmatch.c (main): Call mtrace.
16428
13b69574
L
164292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16430
16431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16432 Support Intel processor model 6 and model 0x2c.
16433
da93d214
LM
164342010-11-10 Luis Machado <luisgpm@br.ibm.com>
16435
16436 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16437 signed comparison.
16438
8ca52c6e
L
164392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16440
16441 [BZ #12205]
16442 * string/test-strncasecmp.c (check_result): New function.
16443 (do_one_test): Use it.
16444 (check1): New function.
16445 (test_main): Use it.
16446 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16447 Support strcasecmp and strncasecmp.
16448
69da074d
UD
164492010-11-08 Ulrich Drepper <drepper@gmail.com>
16450
16451 [BZ #12194]
16452 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16453 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16454
ff02d528
L
164552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16456
16457 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16458 IFUNC support.
16459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16460 memset-x86-64.
16461 * sysdeps/x86_64/multiarch/bzero.S: New file.
16462 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16463 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16464 * sysdeps/x86_64/multiarch/memset.S: New file.
16465 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16467 Set bit_Prefer_SSE_for_memop for Intel processors.
16468 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16469 Define.
16470 (index_Prefer_SSE_for_memop): Define.
16471 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16472
344d0b54
LM
164732010-11-04 Luis Machado <luisgpm@br.ibm.com>
16474
16475 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16476 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16477
c0dde15b
UD
164782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 [BZ #12191]
16481 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16482 (__x86_64_raw_data_cache_size_half): Likewise.
16483 (__x86_64_raw_shared_cache_size): Likewise.
16484 (__x86_64_raw_shared_cache_size_half): Likewise.
16485
16486 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16487 (__x86_64_raw_data_cache_size_half): Likewise.
16488 (__x86_64_raw_shared_cache_size): Likewise.
16489 (__x86_64_raw_shared_cache_size_half): Likewise.
16490 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16491 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16492 and __x86_64_raw_shared_cache_size_half. Round
16493 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16494 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16495 to multiple of 256 bytes.
16496
0e516e0e
MS
164972010-11-03 Ulrich Drepper <drepper@gmail.com>
16498
16499 [BZ #12167]
16500 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16501 of inacessible symlinks. Verify result of symlink before returning it.
16502 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16503 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16504
0e012e87
ER
165052010-10-28 Erich Ritz <erichritz@gmail.com>
16506
16507 * math/math.h (isinf): Fix typo in comment.
16508
de0ff7bc
UD
165092010-11-01 Ulrich Drepper <drepper@gmail.com>
16510
16511 * po/da.po: Update from translation team.
16512
fa41c84d
UD
165132010-10-26 Ulrich Drepper <drepper@gmail.com>
16514
16515 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16516 is added to the list.
16517
f0967738
AK
165182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16519 Ulrich Drepper <drepper@gmail.com>
16520
16521 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16522 the global list here. Move code to...
16523 (_dl_add_to_namespace_list): ...here. New function.
16524 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16525 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16526 * elf/dl-load.c (lose): Don't remove the element from the list.
16527 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16528 (_dl_map_object): Likewise.
16529
165302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16531
16532 [BZ #12159]
16533 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16534 into all bytes of SSE register.
16535 Patch by Richard Li <richardpku@gmail.com>.
16536
f0967738 165372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16538
16539 [BZ #12140]
16540 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16541 perturbing.
16542
d0b9e94f
MB
165432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16544
16545 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16546 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16547 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16548 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16550 submachine.
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16552
8e9f92e9
AS
165532010-10-22 Andreas Schwab <schwab@redhat.com>
16554
16555 * include/dlfcn.h (__RTLD_SECURE): Define.
16556 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16557 mode & __RTLD_SECURE instead.
16558 (open_path): Rename preloaded parameter to secure.
16559 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16560 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16561 * elf/dl-deps.c (openaux): Likewise.
16562 * elf/rtld.c (struct map_args): Remove is_preloaded.
16563 (map_doit): Don't use it.
16564 (dl_main): Likewise.
16565 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16566 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16567
bc96fbda
AS
165682010-09-09 Andreas Schwab <schwab@redhat.com>
16569
16570 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16571 (sysd-rules-targets): Remove duplicates.
16572 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16573 rtld-%.$o dependency.
16574
22cd1c9b
AS
165752010-10-18 Andreas Schwab <schwab@redhat.com>
16576
16577 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16578 _dl_map_object do it.
16579
18edac48
UD
165802010-10-19 Ulrich Drepper <drepper@gmail.com>
16581
16582 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16583 fast fma builtins, define the macros in the C99 standard.
16584 (FP_FAST_FMAF): Likewise.
16585 (FP_FAST_FMAL): Likewise.
16586 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16587
16588 * bits/mathdef.h: Update copyright year.
16589 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16590
d2050124
MM
165912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16592
16593 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16594 builtins, define the macros in the C99 standard.
16595 (FP_FAST_FMAF): Likewise.
16596 (FP_FAST_FMAL): Likewise.
16597 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16598 multiply/add.
16599 (FP_FAST_FMAF): Likewise.
16600
475facd1
JJ
166012010-10-15 Jakub Jelinek <jakub@redhat.com>
16602
16603 [BZ #3268]
16604 * math/libm-test.inc (fma_test): Some new testcases.
16605 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16606 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16607 y and infinite z. Do multiplication by C already in long double.
16608 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16610 y and infinite z. Do bitwise or of inexact bit into u.d.
16611 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16612 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16613 * sysdeps/i386/fpu/s_fma.S: Removed.
16614 * sysdeps/i386/fpu/s_fmal.S: Removed.
16615
7c08a05c
JJ
166162010-10-16 Jakub Jelinek <jakub@redhat.com>
16617
16618 [BZ #3268]
16619 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16621 computation is not scheduled after fetestexcept. Fix value
16622 of minimum denormal long double.
16623
f3f7372d
JJ
166242010-10-14 Jakub Jelinek <jakub@redhat.com>
16625
16626 [BZ #3268]
16627 * math/libm-test.inc (fma_test): Add some more tests.
16628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16629 correctly.
16630
14d43591
AS
166312010-10-15 Andreas Schwab <schwab@redhat.com>
16632
16633 * scripts/data/localplt-s390-linux-gnu.data: New file.
16634 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16635
5e908464
JJ
166362010-10-13 Jakub Jelinek <jakub@redhat.com>
16637
16638 [BZ #3268]
16639 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16640 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16641 instead of dbl-64.
16642 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16643 inlines.
16644 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16646 if one of x and y is very large and the other is subnormal.
16647 * sysdeps/s390/fpu/s_fmaf.c: New file.
16648 * sysdeps/s390/fpu/s_fma.c: New file.
16649 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16650 * sysdeps/powerpc/fpu/s_fma.S: New file.
16651 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16652 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16653 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16654
166552010-10-12 Jakub Jelinek <jakub@redhat.com>
16656
16657 [BZ #3268]
16658 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16659 fma tests.
16660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16661 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16662 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16663 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16664 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16665 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16667
b833d51f
UD
166682010-10-12 Ulrich Drepper <drepper@redhat.com>
16669
16670 [BZ #12078]
16671 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16672 * posix/bug-regex31.input: Add test case.
16673
1751705d
UD
166742010-10-11 Ulrich Drepper <drepper@gmail.com>
16675
e9b9cbf5
UD
16676 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16677 * posix/bug-regex31.input: New file.
16678
16679 [BZ #12078]
16680 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16681 (parse_sub_exp): Fix last change, use postorder.
16682
ef06edbe
UD
16683 * posix/bug-regex31.c: New file.
16684 * posix/Makefile: Add rules to build and run bug-regex31.
16685
a129c80d
UD
16686 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16687
16688 [BZ #12078]
16689 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16690
b76b818e
UD
16691 [BZ #12108]
16692 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16693 to have entries in sys_siglist.
16694
1751705d
UD
16695 [BZ #12093]
16696 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16697 be NULL.
16698
9ff8d36f
JJ
166992010-10-07 Jakub Jelinek <jakub@redhat.com>
16700
16701 [BZ #3268]
16702 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16703 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16704 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16705 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16706 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16707 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16708 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16709 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16710 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16711 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16712 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16713 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16714 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16715 * math/ftestexcept.c (fetestexcept): Likewise.
16716 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16717 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16718 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16719 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16720 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16721 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16722 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16723
af325969
UD
167242010-10-11 Ulrich Drepper <drepper@gmail.com>
16725
c579b202 16726 [BZ #12107]
af325969
UD
16727 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16728 newline.
16729
67a67b95
UD
167302010-10-06 Ulrich Drepper <drepper@gmail.com>
16731
16732 * string/bug-strstr1.c: New file.
16733 * string/Makefile: Add rules to build and run bug-strstr1.
16734
5fb308bc
EB
167352010-10-05 Eric Blake <eblake@redhat.com>
16736
16737 [BZ #12092]
16738 * string/str-two-way.h (two_way_long_needle): Always clear memory
16739 when skipping input due to the shift table.
16740
45db99c7
UD
167412010-10-03 Ulrich Drepper <drepper@gmail.com>
16742
3b111893
UD
16743 [BZ #12005]
16744 * malloc/mcheck.c: Handle large requests.
16745
45db99c7
UD
16746 [BZ #12077]
16747 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16748 for strncmp and strncasecmp.
16749 * string/stratcliff.c: Add tests for strcmp and strncmp.
16750 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16751
cf7a1eb8
NI
167522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16753
16754 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16755 __set_fpscr.
16756
6484ba5e
AJ
167572010-09-30 Andreas Jaeger <aj@suse.de>
16758
16759 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16760 (CGROUP_SUPER_MAGIC): Define.
16761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16762 Handle btrfs and cgroup file systems.
16763 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16764 Likewise.
16765
91c42559
LM
167662010-09-27 Luis Machado <luisgpm@br.ibm.com>
16767
16768 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16769 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16770
87a97932
AK
167712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16772
16773 [BZ #12067]
16774 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16775 trying to locate the ELF header.
16776
c21cc9bc
AS
167772010-09-27 Andreas Schwab <schwab@redhat.com>
16778
16779 [BZ #11611]
16780 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16781 Mask out sign-bit copies when constructing f_fsid.
16782
315970f6
PB
167832010-09-24 Petr Baudis <pasky@suse.cz>
16784
16785 * debug/stack_chk_fail_local.c: Add missing licence exception.
16786 * debug/warning-nop.c: Likewise.
16787
1ac7a2c7
JM
167882010-09-15 Joseph Myers <joseph@codesourcery.com>
16789
16790 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16791 implementing getdents64 using getdents syscall, set d_type if
16792 __ASSUME_GETDENTS32_D_TYPE.
16793
56801c50
AS
167942010-09-16 Andreas Schwab <schwab@redhat.com>
16795
16796 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16797 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16798
dda51327
UD
167992010-09-21 Ulrich Drepper <drepper@redhat.com>
16800
16801 [BZ #12037]
16802 * posix/unistd.h: Undo change of feature selection for ftruncate from
16803 2010-01-11.
16804
8ffcee4a
UD
168052010-09-20 Ulrich Drepper <drepper@redhat.com>
16806
a545ecd9 16807 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16808 detection.
16809
e24f0a8b
AS
168102010-09-20 Andreas Schwab <schwab@redhat.com>
16811
16812 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16813 fanotify_mark.
16814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16815
7291c56f
AS
168162010-09-14 Andreas Schwab <schwab@redhat.com>
16817
16818 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16819 variables after CHECK_SP call.
16820 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16821
bc5fb037
AS
168222010-09-13 Andreas Schwab <schwab@redhat.com>
16823 Ulrich Drepper <drepper@redhat.com>
16824
16825 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16826 re-relocationg ld.so.
16827 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16828 _dl_init_paths call.
16829 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16830 here anymore.
16831
e66e7419
UD
168322010-09-14 Ulrich Drepper <drepper@redhat.com>
16833
16834 * resolv/res_init.c (__res_vinit): Count the default server we added.
16835
c044aa75
CLT
168362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16837 Ulrich Drepper <drepper@redhat.com>
16838
16839 [BZ #11968]
16840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16841 (____longjmp_chk): Use %ebx for saving value across system call.
16842 Add unwind info.
16843
32cf4069
AS
168442010-09-06 Andreas Schwab <schwab@redhat.com>
16845
16846 * manual/Makefile: Don't mix pattern rules with normal rules.
16847
817328ee
AS
168482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16849
16850 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16851 operation.
16852 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16853 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16854 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16855 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16857 Likewise.
16858
29fddf61
UD
168592010-09-04 Ulrich Drepper <drepper@redhat.com>
16860
16861 [BZ #11979]
16862 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16863 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16864
0959ffc9
UD
168652010-09-02 Ulrich Drepper <drepper@redhat.com>
16866
16867 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16868 * sysdeps/x86_64/addmul_1.S: Likewise.
16869 * sysdeps/x86_64/lshift.S: Likewise.
16870 * sysdeps/x86_64/mul_1.S: Likewise.
16871 * sysdeps/x86_64/rshift.S: Likewise.
16872 * sysdeps/x86_64/sub_n.S: Likewise.
16873 * sysdeps/x86_64/submul_1.S: Likewise.
16874
ece29840
ST
168752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16876
0959ffc9
UD
16877 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16878 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16879 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16880 * bits/sched.h [__need_schedparam]
ece29840 16881 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16882 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16883 (__defined_schedparam): Define to 1.
ece29840
ST
16884 (__sched_param): New structure, identical to sched_param.
16885 (__need_schedparam): Undefine.
16886
e53a31fe
MF
168872010-08-31 Mike Frysinger <vapier@gentoo.org>
16888
fdc0c10d
MF
16889 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16890 (epoll_create1): Declare.
16891
e53a31fe
MF
16892 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16893
a726d796
AS
168942010-08-31 Andreas Schwab <schwab@redhat.com>
16895
16896 [BZ #7066]
16897 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16898 shifting retval into place.
16899
2f3e3dc7
UD
169002010-09-01 Ulrich Drepper <drepper@redhat.com>
16901
f2933da9
UD
16902 * nis/rpcsvc/nis.h: Update copyright notice.
16903 * nis/rpcsvc/nis.x: Likewise.
16904 * nis/rpcsvc/nis_callback.h: Likewise.
16905 * nis/rpcsvc/nis_callback.x: Likewise.
16906 * nis/rpcsvc/nis_object.x: Likewise.
16907 * nis/rpcsvc/nis_tags.h: Likewise.
16908 * nis/rpcsvc/yp.h: Likewise.
16909 * nis/rpcsvc/yp.x: Likewise.
16910 * nis/rpcsvc/ypupd.h: Likewise.
16911 * nis/yp_xdr.c: Likewise.
16912 * nis/ypupdate_xdr.c: Likewise.
16913
2f3e3dc7
UD
16914 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16915 mainly the body of pmap_getport. Add parameters to specify timeouts.
16916 (pmap_getport): Use __libc_rpc_getport.
16917 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16918 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16919 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16920
f3dcc2f9
AS
169212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16922
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16924 fanotify_mark.
16925
6d34eb5b
RM
169262010-08-27 Roland McGrath <roland@redhat.com>
16927
16928 * sysdeps/i386/i686/multiarch/Makefile
16929 (CFLAGS-varshift.c): New variable.
16930
9ea3de11
UD
169312010-08-27 Ulrich Drepper <drepper@redhat.com>
16932
c96d23fc
UD
16933 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16934 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16935
9ea3de11
UD
16936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16937
16938 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16939
623aac7f
L
169402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16941
16942 * sysdeps/x86_64/strlen.S: Unroll the loop.
16943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16944 strlen-sse2 strlen-sse2-bsf.
16945 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16946 __strlen_no_bsf if bit_Slow_BSF is set.
16947 (__strlen_sse42): Removed.
16948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16949 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16950
8b2b7715
RM
169512010-08-25 Roland McGrath <roland@redhat.com>
16952
16953 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16954 * sysdeps/x86_64/multiarch/varshift.c: New file.
16955 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16956 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16957 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16958 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16959
e73015f2
L
169602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16961
16962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16963 strlen-sse2 strlen-sse2-bsf.
16964 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16965 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16966 (__strlen_sse2): Removed.
16967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16970 bit_Slow_BSF for Atom.
16971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16972 (index_Slow_BSF): Define.
16973 (HAS_SLOW_BSF): Define.
16974
df24a73e
UD
169752010-08-25 Ulrich Drepper <drepper@redhat.com>
16976
16977 [BZ #10851]
16978 * resolv/res_init.c (__res_vinit): When no server address at all
16979 is given default to loopback.
16980
f2ac4868
RM
169812010-08-24 Roland McGrath <roland@redhat.com>
16982
09055553
RM
16983 * configure.in: Remove config-name.h generation.
16984 * configure: Regenerated.
16985 * config-name.in: File removed.
16986 * scripts/config-uname.sh: New file.
16987 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16988 ($(objdir)config-name.h): New target.
16989
f2ac4868
RM
16990 * sunrpc/rpc_parse.h: Avoid nested comment.
16991
73f27d5e
RH
169922010-08-24 Richard Henderson <rth@redhat.com>
16993 Ulrich Drepper <drepper@redhat.com>
16994 H.J. Lu <hongjiu.lu@intel.com>
16995
16996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16998 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16999 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17000 _mm_alignr_epi8 with _mm_loadu_si128.
17001 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17002 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17003 (__m128i_shift_right): Removed.
17004 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17005 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17006 * sysdeps/x86_64/multiarch/varshift.h: New file.
17007 * sysdeps/x86_64/multiarch/varshift.S: New file.
17008
84b9230c
MF
170092010-08-21 Mike Frysinger <vapier@gentoo.org>
17010
17011 * configure.in: Move assembler checks to before sysdep dir checking.
17012
9bbd0ddc
PB
170132010-08-20 Petr Baudis <pasky@suse.cz>
17014
17015 * LICENSES: Sync the sunrpc license.
17016
9da4bb31
UD
170172010-08-19 Ulrich Drepper <drepper@redhat.com>
17018
a7ab6ec8
UD
17019 * sunrpc/auth_des.c: Update copyright notice once again.
17020 * sunrpc/auth_none.c: Likewise.
17021 * sunrpc/auth_unix.c: Likewise.
17022 * sunrpc/authdes_prot.c: Likewise.
17023 * sunrpc/authuxprot.c: Likewise.
17024 * sunrpc/bindrsvprt.c: Likewise.
17025 * sunrpc/clnt_gen.c: Likewise.
17026 * sunrpc/clnt_perr.c: Likewise.
17027 * sunrpc/clnt_raw.c: Likewise.
17028 * sunrpc/clnt_simp.c: Likewise.
17029 * sunrpc/clnt_tcp.c: Likewise.
17030 * sunrpc/clnt_udp.c: Likewise.
17031 * sunrpc/clnt_unix.c: Likewise.
17032 * sunrpc/des_crypt.c: Likewise.
17033 * sunrpc/des_soft.c: Likewise.
17034 * sunrpc/get_myaddr.c: Likewise.
17035 * sunrpc/getrpcport.c: Likewise.
17036 * sunrpc/key_call.c: Likewise.
17037 * sunrpc/key_prot.c: Likewise.
17038 * sunrpc/openchild.c: Likewise.
17039 * sunrpc/pm_getmaps.c: Likewise.
17040 * sunrpc/pm_getport.c: Likewise.
17041 * sunrpc/pmap_clnt.c: Likewise.
17042 * sunrpc/pmap_prot.c: Likewise.
17043 * sunrpc/pmap_prot2.c: Likewise.
17044 * sunrpc/pmap_rmt.c: Likewise.
17045 * sunrpc/rpc/auth.h: Likewise.
17046 * sunrpc/rpc/auth_unix.h: Likewise.
17047 * sunrpc/rpc/clnt.h: Likewise.
17048 * sunrpc/rpc/des_crypt.h: Likewise.
17049 * sunrpc/rpc/key_prot.h: Likewise.
17050 * sunrpc/rpc/netdb.h: Likewise.
17051 * sunrpc/rpc/pmap_clnt.h: Likewise.
17052 * sunrpc/rpc/pmap_prot.h: Likewise.
17053 * sunrpc/rpc/pmap_rmt.h: Likewise.
17054 * sunrpc/rpc/rpc.h: Likewise.
17055 * sunrpc/rpc/rpc_des.h: Likewise.
17056 * sunrpc/rpc/rpc_msg.h: Likewise.
17057 * sunrpc/rpc/svc.h: Likewise.
17058 * sunrpc/rpc/svc_auth.h: Likewise.
17059 * sunrpc/rpc/types.h: Likewise.
17060 * sunrpc/rpc/xdr.h: Likewise.
17061 * sunrpc/rpc_clntout.c: Likewise.
17062 * sunrpc/rpc_cmsg.c: Likewise.
17063 * sunrpc/rpc_common.c: Likewise.
17064 * sunrpc/rpc_cout.c: Likewise.
17065 * sunrpc/rpc_dtable.c: Likewise.
17066 * sunrpc/rpc_hout.c: Likewise.
17067 * sunrpc/rpc_main.c: Likewise.
17068 * sunrpc/rpc_parse.c: Likewise.
17069 * sunrpc/rpc_parse.h: Likewise.
17070 * sunrpc/rpc_prot.c: Likewise.
17071 * sunrpc/rpc_sample.c: Likewise.
17072 * sunrpc/rpc_scan.c: Likewise.
17073 * sunrpc/rpc_scan.h: Likewise.
17074 * sunrpc/rpc_svcout.c: Likewise.
17075 * sunrpc/rpc_tblout.c: Likewise.
17076 * sunrpc/rpc_util.c: Likewise.
17077 * sunrpc/rpc_util.h: Likewise.
17078 * sunrpc/rpcinfo.c: Likewise.
17079 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17080 * sunrpc/rpcsvc/key_prot.x: Likewise.
17081 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17082 * sunrpc/rpcsvc/mount.x: Likewise.
17083 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17084 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17085 * sunrpc/rpcsvc/rex.x: Likewise.
17086 * sunrpc/rpcsvc/rstat.x: Likewise.
17087 * sunrpc/rpcsvc/rusers.x: Likewise.
17088 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17089 * sunrpc/rpcsvc/spray.x: Likewise.
17090 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17091 * sunrpc/rtime.c: Likewise.
17092 * sunrpc/svc.c: Likewise.
17093 * sunrpc/svc_auth.c: Likewise.
17094 * sunrpc/svc_authux.c: Likewise.
17095 * sunrpc/svc_raw.c: Likewise.
17096 * sunrpc/svc_run.c: Likewise.
17097 * sunrpc/svc_simple.c: Likewise.
17098 * sunrpc/svc_tcp.c: Likewise.
17099 * sunrpc/svc_udp.c: Likewise.
17100 * sunrpc/svc_unix.c: Likewise.
17101 * sunrpc/svcauth_des.c: Likewise.
17102 * sunrpc/xcrypt.c: Likewise.
17103 * sunrpc/xdr.c: Likewise.
17104 * sunrpc/xdr_array.c: Likewise.
17105 * sunrpc/xdr_float.c: Likewise.
17106 * sunrpc/xdr_mem.c: Likewise.
17107 * sunrpc/xdr_rec.c: Likewise.
17108 * sunrpc/xdr_ref.c: Likewise.
17109 * sunrpc/xdr_sizeof.c: Likewise.
17110 * sunrpc/xdr_stdio.c: Likewise.
17111
9da4bb31
UD
17112 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17113 handling.
17114
bdaa77bc
AS
171152010-08-19 Andreas Schwab <schwab@redhat.com>
17116
17117 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17118
fe2f79db
LM
171192010-08-19 Luis Machado <luisgpm@br.ibm.com>
17120
17121 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17122 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17123 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17124 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17125 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17126 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17127 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17128 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17129 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17130 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17131 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17132 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17133 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17134 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17135
b9b42ee0
AB
171362010-07-26 Anton Blanchard <anton@samba.org>
17137
17138 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17139 * malloc/arena.c (heap_trim): Likewise.
17140
1c06ba31
UD
171412010-08-16 Ulrich Drepper <drepper@redhat.com>
17142
17143 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17144 here. Not...
17145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17146 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17147
f8392f40
L
171482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17149
17150 * sysdeps/i386/elf/Makefile: New file.
17151
3162f12e
AS
171522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17153
17154 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17155 from fanotify_init.
17156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17158
28c90b2c
UD
171592010-08-15 Ulrich Drepper <drepper@redhat.com>
17160
17161 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17162 of strncasecmp_l.
1feccb6c 17163 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17164
ca6bb004
UD
171652010-08-14 Ulrich Drepper <drepper@redhat.com>
17166
e9f82e0d
UD
17167 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17168 strncase_l-nonascii.
17169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17170 Add strncase_l-ssse3.
17171 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17172 * sysdeps/x86_64/strcmp.S: Likewise.
17173 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17174 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17175 * sysdeps/x86_64/strncase.S: New file.
17176 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17177 * sysdeps/x86_64/strncase_l.S: New file.
17178 * string/Makefile (strop-tests): Add strncasecmp.
17179 * string/test-strncasecmp.c: New file.
17180
17181 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17182 warning.
17183
ca6bb004
UD
17184 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17185 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17186
052fa7b3
AS
171872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17188
17189 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17190
962dba78
UD
171912010-08-12 Ulrich Drepper <drepper@redhat.com>
17192
17193 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17194 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17195 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17196
bebff237
AM
171972010-05-01 Alan Modra <amodra@gmail.com>
17198
17199 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17200 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17201 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17202 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17203 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17204 tidying. Don't tail-call __sigjmp_save for static lib.
17205 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17206 save location.
17207 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17208 (CALL_MCOUNT): Add eh info, and nop after bl.
17209 (TAIL_CALL_SYSCALL_ERROR): New macro.
17210 (PSEUDO_RET): Use it.
17211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17212 Correct save location of integer regs and cr.
17213 (_dl_profile_resolve): Correct cr save location. Delete nops
17214 after bl when SHARED. Reduce cfi size a little by better
17215 placement of cfi directives.
17216 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17217 make a stack frame. Instead use parm save area as a temp.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17219 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17221 Don't make a stack frame for parent, use parm save area.
17222 Increase child stack frame to 112 bytes. Don't save unused reg,
17223 and adjust reg usage. Set up cfi on error recovery and
17224 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17226 (__makecontext): Add dummy nop after jump to exit.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17228 Use correct parm save area and cr save, reduce stack frame.
17229 Correct cfi for possible PSEUDO_RET frame setup.
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17231 Branch to local label emitted by PSEUDO_RET rather than
17232 __syscall_error.
17233
02637374
AS
172342010-08-12 Andreas Schwab <schwab@redhat.com>
17235
17236 [BZ #11904]
17237 * locale/programs/locale.c (print_assignment): New function.
17238 (show_locale_vars): Use it.
17239
c3e2f19b
UD
172402010-08-11 Ulrich Drepper <drepper@redhat.com>
17241
3cdaa6ad
UD
17242 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17243 field.
17244 (struct statfs64): Likewise.
17245 (_STATFS_F_FLAGS): Define.
17246 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17247 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17248 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17249 (ST_VALID): Define locally.
17250 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17251 __statvfs_getflags, use the provided value.
17252 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17253 __ASSUME_STATFS_F_FLAGS.
17254
754f7da3
UD
17255 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17256
10b3bedc
UD
17257 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17258 Add sys/fanotify.h.
17259 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17260 fanotify_mask for GLIBC_2.13.
17261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17262 fanotify_init and fanotify_mark.
17263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17264 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17265
c08fb0d7
UD
17266 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17267 Add prlimit.
17268 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17269 prlimit64 for GLIBC_2.13.
17270 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17271 prlimit64.
17272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17273 syscall.
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17275 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17276 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17277 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17279 add prlimit alias.
17280 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17281
15bac72b
UD
17282 [BZ #11903]
17283 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17284 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17285
c3e2f19b
UD
17286 * nss/Makefile: Add rules to build and run tst-nss-test1.
17287 * shlib-versions: Add entry for libnss_test1.
17288 * nss/nss_test1.c: New file.
17289 * nss/tst-nss-test1.c: New file.
17290
17291 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17292 (__nss_configure_lookup): Set appropriate entry in
17293 __nss_configure_lookup to true.
17294 * nss/nsswitch.h: Define enum with indeces of databases in
17295 databases and __nss_database_custom arrays. Declare
17296 __nss_database_custom.
17297 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17298 to avoid using nscd when custom rules are installed.
17299 * nss/getXXbyYY_r.c: Likewise.
17300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17301
17302 * nss/nss_files/files-parse.c: Whitespace fixes.
17303
f15ce4d8
UD
173042010-08-09 Ulrich Drepper <drepper@redhat.com>
17305
17306 [BZ #11883]
17307 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17308 * posix/fnmatch_loop.c: Likewise.
17309
d22e4cc9
AK
173102010-07-17 Andi Kleen <ak@linux.intel.com>
17311
17312 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17313 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17314 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17315 * Versions.def [GLIBC_2.13]: Add.
17316
805bc17d
UD
173172010-08-06 Ulrich Drepper <drepper@redhat.com>
17318
17319 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17320 Also fail if tpwd after pwuid call is NULL.
17321
5a42321d
ST
173222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17323
17324 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17325 when converting to ms.
17326
fd3ebeda
ST
173272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17328
17329 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17330 EOPNOTSUPP errors with ENOTTY.
17331 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17332 EOPNOTSUPP errors with ENOTTY.
17333
73507d3a
UD
173342010-07-31 Ulrich Drepper <drepper@redhat.com>
17335
17336 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17337 Add strcasecmp_l-ssse3.
17338 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17339 strcasecmp.
17340 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17341 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17342 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17343
fe36dd02
UD
173442010-07-30 Ulrich Drepper <drepper@redhat.com>
17345
66f6765a
UD
17346 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17347
42e08a54
UD
17348 * string/Makefile (strop-tests): Add strcasecmp.
17349 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17350 strcasecmp_l-nonascii.
17351 (gen-as-const-headers): Add locale-defines.sym.
17352 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17353 * sysdeps/x86_64/strcasecmp.S: New file.
17354 * sysdeps/x86_64/strcasecmp_l.S: New file.
17355 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17356 * sysdeps/x86_64/locale-defines.sym: New file.
17357 * string/test-strcasecmp.c: New file.
17358
fe36dd02
UD
17359 * string/test-strcasestr.c: Test both ends of the range of characters.
17360 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17361
48cbc0d6
RM
173622010-07-29 Roland McGrath <roland@redhat.com>
17363
76e6d6bc 17364 [BZ #11856]
48cbc0d6
RM
17365 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17366
880113d9
UD
173672010-07-27 Ulrich Drepper <drepper@redhat.com>
17368
17369 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17370 for ld.so.
17371
deb9cabb
AS
173722010-07-27 Andreas Schwab <schwab@redhat.com>
17373
17374 * manual/memory.texi (Malloc Tunable Parameters): Document
17375 M_PERTURB.
17376
1c7570ff
RM
173772010-07-26 Roland McGrath <roland@redhat.com>
17378
17379 [BZ #11840]
17380 * configure.in (-fgnu89-inline check): Set and substitute
17381 gnu89_inline, not libc_cv_gnu89_inline.
17382 * configure: Regenerated.
17383 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17384
24fb0f88
UD
173852010-07-26 Ulrich Drepper <drepper@redhat.com>
17386
17387 * string/test-strnlen.c: New file.
17388 * string/Makefile (strop-tests): Add strnlen.
17389 * string/tester.c (test_strnlen): Add a few more test cases.
17390 * string/tst-strlen.c: Better error reporting.
17391
17392 * sysdeps/x86_64/strnlen.S: New file.
17393
8e96b93a
UD
173942010-07-24 Ulrich Drepper <drepper@redhat.com>
17395
17396 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17397 lower-latency instructions.
17398
dbc676d4
UD
173992010-07-23 Ulrich Drepper <drepper@redhat.com>
17400
17401 * string/test-strcasestr.c: New file.
17402 * string/test-strstr.c: New file.
17403 * string/Makefile (strop-tests): Add strstr and strcasestr.
17404 * string/str-two-way.h: Don't undefine MAX.
17405 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17406
f6a31e0e
AS
174072010-07-21 Andreas Schwab <schwab@redhat.com>
17408
17409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17410 strcasestr-nonascii.
17411 (CFLAGS-strcasestr-nonascii.c): Define.
17412 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17413 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17414 Remove unused attribute.
17415
5dbc3b6c
RM
174162010-07-20 Roland McGrath <roland@redhat.com>
17417
17418 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17419 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17420 ld.so.cache was broken. With it, there is no way to disable dsocaps
17421 like LD_HWCAP_MASK can disable hwcaps.
17422
23d101d8
EPM
174232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17424
17425 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17426
cc9f2e47
UD
174272010-07-16 Ulrich Drepper <drepper@redhat.com>
17428
17429 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17430 call in strcasestr.
17431 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17432 __strcasestr_sse42_nonascii.
17433 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17434 strcasestr-nonascii.c.
17435 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17436
77c1b069
LM
174372010-06-15 Luis Machado <luisgpm@br.ibm.com>
17438
17439 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17440 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17441 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17442 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17443
440566c3
UD
174442010-07-09 Ulrich Drepper <drepper@redhat.com>
17445
17446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17447 fcntl.
17448
5be9d05d
AS
174492010-07-06 Andreas Schwab <schwab@redhat.com>
17450
c30b7ee2 17451 [BZ #11577]
5be9d05d
AS
17452 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17453 dl_signal_cerror.
17454
8a492a67
UD
174552010-07-06 Ulrich Drepper <drepper@redhat.com>
17456
17457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17458 _PC_PIPE_BUF using F_GETPIPE_SZ.
17459
713df3d5
RM
174602010-07-05 Roland McGrath <roland@redhat.com>
17461
17462 * manual/arith.texi (Rounding Functions): Fix rint description
17463 implicit in round description.
17464
702e8f14
UD
174652010-07-02 Ulrich Drepper <drepper@redhat.com>
17466
17467 * elf/Makefile: Fix linking for a few tests to make recent linker
17468 happy.
17469
52ed8be9
AS
174702010-06-30 Andreas Schwab <schwab@redhat.com>
17471
17472 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17473 $(common-objpfx)libc_nonshared.a.
17474
f47c9a11
LM
174752010-06-21 Luis Machado <luisgpm@br.ibm.com>
17476
17477 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17478 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17479 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17480 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17481 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17482 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17483 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17484 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17499 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17500 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17501 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17502 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17503 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17504 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17505 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17506 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17507 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17508 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17509 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17510 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17525
6fb8cbcb
L
175262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17527
17528 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17529 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17530 * string/memmove.c (memmove): Renamed to ...
17531 (MEMMOVE): ...this. Default to memmove.
17532 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17533 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17534 (END_CHK): Define.
17535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17536 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17537 mempcpy-ssse3-back memmove-ssse3-back.
17538 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17541 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17542 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17543 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17544 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17545 * sysdeps/x86_64/multiarch/memmove.c: New file.
17546 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17547 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17548 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17549 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17550 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17551 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17552 Define.
17553 (index_Fast_Copy_Backward): Define.
17554 (HAS_ARCH_FEATURE): Define.
17555 (HAS_FAST_REP_STRING): Define.
17556 (HAS_FAST_COPY_BACKWARD): Define.
17557
4e733bac 175582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17559
17560 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17561 Restore proper fallback handling.
17562
63c4ed22
UD
175632010-06-19 Ulrich Drepper <drepper@redhat.com>
17564
ac2b484c
UD
17565 [BZ #11701]
17566 * posix/group_member.c (__group_member): Correct checking loop.
17567
63c4ed22
UD
17568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17569 OOM in getpwuid_r correctly. Return error number when the caller
17570 should return, otherwise -1.
17571 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17572 call returning > 0 value.
17573 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17574
765ade4b
AS
175752010-06-07 Andreas Schwab <schwab@redhat.com>
17576
17577 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17578 libc_nonshared.a from targets in modules-names.
17579
80da2e09
KS
175802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17581
17582 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17583 requires it.
17584
158db122
LM
175852010-06-10 Luis Machado <luisgpm@br.ibm.com>
17586
17587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17590 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17591
caa78cf8
AS
175922010-06-02 Andreas Schwab <schwab@redhat.com>
17593
17594 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17595
b2ef2c01
UD
175962010-06-14 Ulrich Drepper <drepper@redhat.com>
17597
17598 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17599 and F_GETPIPE_SZ.
17600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17604 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17605 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17606
fbd643b6
RM
176072010-06-14 Roland McGrath <roland@redhat.com>
17608
17609 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17610
f32f2869
JJ
176112010-06-07 Jakub Jelinek <jakub@redhat.com>
17612
17613 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17614 __REDIRECT followed by __THROW.
17615 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17616 * posix/getopt.h (getopt): Likewise.
17617
2a50c078
EPM
176182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17619
17620 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17621 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17622 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17623 in AT_FLAGS.
17624 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17625 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17626
eb5ad2eb
LM
176272010-05-28 Luis Machado <luisgpm@br.ibm.com>
17628
17629 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17630
3c88fe1e
L
176312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17632
17633 [BZ #11640]
17634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17635 Properly check family and model.
17636
d2f73151
TY
176372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17638
17639 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17640
ebd2e13d
LM
176412010-05-24 Luis Machado <luisgpm@br.ibm.com>
17642
17643 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17644
b32b8b45
UD
176452010-05-21 Ulrich Drepper <drepper@redhat.com>
17646
17647 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17648 symbol reference.
17649
9acbe24d
AS
176502010-05-19 Andreas Schwab <schwab@redhat.com>
17651
17652 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17653 symbol reference.
17654
f0ccf6ea
AS
176552010-05-21 Andreas Schwab <schwab@redhat.com>
17656
3d04ff3a
AS
17657 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17658 and internal_recvmmsg.
17659 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17660 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17661 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17662 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17663
f0ccf6ea
AS
17664 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17665 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17666 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17667
5b08ac57
AS
176682010-05-20 Andreas Schwab <schwab@redhat.com>
17669
17670 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17671
4828935d
LM
176722010-05-17 Luis Machado <luisgpm@br.ibm.com>
17673
17674 POWER7 optimizations.
17675 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17676 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17677
373d545e
UD
176782010-05-19 Ulrich Drepper <drepper@redhat.com>
17679
17680 * version.h: Update for 2.13 development version.
17681
21a2b1ae
AS
176822010-05-12 Andrew Stubbs <ams@codesourcery.com>
17683
17684 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17685 exceptions. Return 0.
17686
3f7dcb2b
RM
176872010-05-07 Roland McGrath <roland@redhat.com>
17688
17689 * elf/ldconfig.c (main): Add a const.
17690
5f24d53a 176912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17692
a160f8d8
UD
17693 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17694 (args_options): Add no-idn option.
17695 (ahosts_keys_int): Add idn_flags to ai_flags.
17696 (parse_option): Handle 'i' option to clear idn_flags.
17697
5f24d53a
UD
17698 * malloc/malloc.c (_int_free): Possible race in the most recently
17699 added check. Only act on the data if no current modification
17700 happened.
265bb1ce
UD
17701
17702See ChangeLog.17 for earlier changes.